blob: f3e3f5794393b75f5b429d55fa7eb5ef2ddfc76b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* PR tree-optimization/80109 */
/* { dg-do compile } */
/* { dg-require-effective-target alloca } */
/* { dg-options "-O2 -Walloca-larger-than=126812070" } */
void
g (int *p)
{
extern void f (void *);
void *q = __builtin_alloca (p); /* { dg-warning "passing argument 1" } */
/* { dg-warning "unbounded use of 'alloca'" "unbounded" { target *-*-* } 11 } */
f (q);
}
|