1 /* PR target/51354 */
2 /* { dg-require-effective-target alloca } */
3 
4 extern void abort (void);
5 
6 typedef int __attribute__ ((aligned (32))) ai;
7 
8 void foo (int *x, ai * y);
9 
10 int
bar(int x)11 bar (int x)
12 {
13   if (x == 12346)
14     return 24;
15   ai i;
16   foo (__builtin_alloca (x), &i);
17   return 128;
18 }
19