| 1 |
/* The automatically chosen stack guard value caused an ICE in that |
| 2 |
case. */ |
| 3 |
|
| 4 |
/* { dg-do compile } */ |
| 5 |
/* { dg-options "-O2 -mstack-size=4096" } */ |
| 6 |
|
| 7 |
extern void bar (char *); |
| 8 |
|
| 9 |
void |
| 10 |
foo () |
| 11 |
{ |
| 12 |
char a[2500]; |
| 13 |
bar (a); |
| 14 |
} /* { dg-warning "more than half" } */ |