From: clyon Date: Fri, 4 Mar 2016 08:43:27 +0000 (+0000) Subject: 2016-03-04 Christophe Lyon X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcdd684e42d6fea04571bb52abb145c2dd717b5b;p=thirdparty%2Fgcc.git 2016-03-04 Christophe Lyon * gcc.dg/torture/pr69951.c: Accept argc==0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233962 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dfa91cdefdc0..8f4ae416e00c 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 cb46fefccdb2..be9a0272c998 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;