24d5b097 XG |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O2 -g" } */ |
2e969ce5 |
3 | /* { dg-require-effective-target alloca } */ |
24d5b097 |
4 | |
24d5b097 XG |
5 | int *p; |
6 | |
7 | void |
8 | test (int a) |
9 | { |
10 | if (a > 0) |
3d6cc50a |
11 | p = __builtin_alloca (4); |
24d5b097 |
12 | } |