diff options
author | Marek Polacek <polacek@redhat.com> | 2017-03-08 12:58:01 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-03-08 12:58:01 +0000 |
commit | 6659fe59f3c39e991149fe60f17d0628d771a454 (patch) | |
tree | dd532ff7d351d5104c891ee06d65050e4011da60 | |
parent | f1a675e486155ebeb0abc90b73aa75d7079d9b58 (diff) | |
download | gcc-6659fe59f3c39e991149fe60f17d0628d771a454.zip gcc-6659fe59f3c39e991149fe60f17d0628d771a454.tar.gz gcc-6659fe59f3c39e991149fe60f17d0628d771a454.tar.bz2 |
* g++.dg/Walloca1.C: Adjust dg-warning.
From-SVN: r245975
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/Walloca1.C | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7a539e6..5824caf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-03-08 Marek Polacek <polacek@redhat.com> + + * g++.dg/Walloca1.C: Adjust dg-warning. + 2017-03-08 Andrew Haley <aph@redhat.com> PR tree-optimization/79943 diff --git a/gcc/testsuite/g++.dg/Walloca1.C b/gcc/testsuite/g++.dg/Walloca1.C index 23b97e8..818c6f0 100644 --- a/gcc/testsuite/g++.dg/Walloca1.C +++ b/gcc/testsuite/g++.dg/Walloca1.C @@ -3,4 +3,4 @@ /* { dg-options "-Walloca-larger-than=4207115063 -Wvla-larger-than=1233877270 -O2" } */ int a; -char *b = static_cast<char *>(__builtin_alloca (a)); // { dg-warning "argument to .alloca. may be too large" } +char *b = static_cast<char *>(__builtin_alloca (a)); // { dg-warning "argument to .alloca. may be too large|unbounded use of" } |