Message ID | 20170308125632.GZ3172@redhat.com |
---|---|
State | New |
Headers | show |
diff --git gcc/testsuite/g++.dg/Walloca1.C gcc/testsuite/g++.dg/Walloca1.C index 23b97e8..818c6f0 100644 --- gcc/testsuite/g++.dg/Walloca1.C +++ 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" }