Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git] / gcc / testsuite / g++.dg / Walloca1.C
blob818c6f0697ead7c427612a09b300960a60b23995
1 /* PR middle-end/79809 */
2 /* { dg-do compile } */
3 /* { dg-options "-Walloca-larger-than=4207115063 -Wvla-larger-than=1233877270 -O2" } */
5 int a;
6 char *b = static_cast<char *>(__builtin_alloca (a)); // { dg-warning "argument to .alloca. may be too large|unbounded use of" }