From: Christophe Lyon Date: Fri, 4 Mar 2016 08:43:27 +0000 (+0000) Subject: pr69951.c: Accept argc==0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08455559f40b60c393c5b947ad383cbbfd4f6e87;p=gcc.git pr69951.c: Accept argc==0. 2016-03-04 Christophe Lyon * gcc.dg/torture/pr69951.c: Accept argc==0. From-SVN: r233962 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dfa91cdefdc..8f4ae416e00 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-03-04 Christophe Lyon + + * gcc.dg/torture/pr69951.c: Accept argc==0. + 2016-03-04 Richard Biener PR c++/70054 diff --git a/gcc/testsuite/gcc.dg/torture/pr69951.c b/gcc/testsuite/gcc.dg/torture/pr69951.c index cb46fefccdb..be9a0272c99 100644 --- a/gcc/testsuite/gcc.dg/torture/pr69951.c +++ b/gcc/testsuite/gcc.dg/torture/pr69951.c @@ -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;