1 /* { dg-do compile } */
2 /* { dg-require-effective-target alloca } */
3 /* { dg-options "-Walloca-larger-than=5000 -O2" } */
5 extern void useit(char *);
8 foobar (unsigned short length
)
11 __SIZE_TYPE__ size
= (__SIZE_TYPE__
) length
;
14 pbuf
= (char *) __builtin_alloca(size
);
16 pbuf
= (char *) __builtin_malloc (size
);