1 /* { dg-do compile } */
2 /* { dg-options "-Walloca-larger-than=5000 -O2" } */
4 extern void useit(char *);
7 foobar (unsigned short length
)
10 __SIZE_TYPE__ size
= (__SIZE_TYPE__
) length
;
13 pbuf
= (char *) __builtin_alloca(size
);
15 pbuf
= (char *) __builtin_malloc (size
);