Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.1
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr24225.c
blob: 4161c31bf73e9f4654aa82a70aeacebc2f8663eb [
file
] [
log
] [
blame
]
/* 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
;
}
}