pr69951.c: Accept argc==0.

2016-03-04  Christophe Lyon  <christophe.lyon@linaro.org>

	* gcc.dg/torture/pr69951.c: Accept argc==0.

From-SVN: r233962
This commit is contained in:
Christophe Lyon 2016-03-04 08:43:27 +00:00 committed by Christophe Lyon
parent e9a35493b0
commit 08455559f4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-03-04 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.dg/torture/pr69951.c: Accept argc==0.
2016-03-04 Richard Biener <rguenther@suse.de>
PR c++/70054

View File

@ -9,7 +9,7 @@ extern int d __attribute__((alias("c")));
int main(int argc)
{
int *p, *q;
if (argc)
if (argc >= 0)
p = &c, q = &d;
else
p = &b, q = &d;