gcc/testsuite/g++.dg/Walloca1.C
raw| 1 | /* PR middle-end/79809 - ICE in alloca_call_type, at gimple-ssa-warn-alloca.c */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-Walloca-larger-than=4207115063 -Wvla-larger-than=1233877270 -O2" } */ |
| 4 | |
| 5 | int a; |
| 6 | char *b = static_cast<char *>(__builtin_alloca (a)); |
| 7 | |
| 8 | // { dg-prune-output "argument to .alloca." } |