]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pr69951.c: Accept argc==0.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 4 Mar 2016 08:43:27 +0000 (08:43 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Fri, 4 Mar 2016 08:43:27 +0000 (09:43 +0100)
2016-03-04  Christophe Lyon  <christophe.lyon@linaro.org>

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

From-SVN: r233962

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr69951.c

index dfa91cdefdc092fe5be12b9eb492bb484d784085..8f4ae416e00ccdc534676381ff9ac3915d0c0776 100644 (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
index cb46fefccdb23041faed0f29142cad28997b5616..be9a0272c998389e27bd767df0ef39c0d7f9b040 100644 (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;