blob: 4161c31bf73e9f4654aa82a70aeacebc2f8663eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* This was an ICE caused by the compiler-generated stack save/restore
statements around s[b]. */
/* { dg-do compile } */
/* { dg-options "-O1 -fprofile-arcs" } */
int
foo (int a, int b)
{
if (a)
return 1;
{
int s [b];
return 0;
}
}
|