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