* g++.dg/Walloca1.C: Adjust dg-warning.
authorMarek Polacek <polacek@redhat.com>
Wed, 8 Mar 2017 12:58:01 +0000 (12:58 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 8 Mar 2017 12:58:01 +0000 (12:58 +0000)
From-SVN: r245975

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/Walloca1.C

index 7a539e6e5ca01f4fea01f6c38338d0aa54b04072..5824caf414bd896e76ca270f71f7e459a638d6fa 100644 (file)
@@ -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
index 23b97e83c9136fac3596675c32dbe7c781f2c540..818c6f0697ead7c427612a09b300960a60b23995 100644 (file)
@@ -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" }