1 /* PR tree-optimization/80109 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target alloca } */
4 /* { dg-skip-if "small address space" { "pdp11-*-*" } } */
5 /* { dg-options "-O2 -Walloca-larger-than=126812070" { target ptr32plus } } */
6 /* { dg-options "-O2 -Walloca-larger-than=12070" { target { ! ptr32plus } } } */
7 /* { dg-additional-options "-fpermissive" } */
12 extern void f (void *);
14 void *q
= __builtin_alloca (p
); /* { dg-warning "passing argument 1" } */
15 /* { dg-warning "unbounded use of 'alloca'" "unbounded" { target *-*-* } .-1 } */