* g++.dg/Walloca1.C: Adjust dg-warning.
From-SVN: r245975
This commit is contained in:
parent
f1a675e486
commit
6659fe59f3
|
@ -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
|
||||
|
|
|
@ -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" }
|
||||
|
|
Loading…
Reference in New Issue