diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-03-04 08:43:27 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2016-03-04 09:43:27 +0100 |
commit | 08455559f40b60c393c5b947ad383cbbfd4f6e87 (patch) | |
tree | 116536c59a21ba137a5ac22a71fb6f09d0e2e593 /gcc | |
parent | e9a35493b0811bd6dd2584dbe79e7e1dca4e1722 (diff) | |
download | gcc-08455559f40b60c393c5b947ad383cbbfd4f6e87.zip gcc-08455559f40b60c393c5b947ad383cbbfd4f6e87.tar.gz gcc-08455559f40b60c393c5b947ad383cbbfd4f6e87.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr69951.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dfa91cd..8f4ae41 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.dg/torture/pr69951.c b/gcc/testsuite/gcc.dg/torture/pr69951.c index cb46fef..be9a027 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; |