repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c/56980
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr24225.c
blob
4161c31bf73e9f4654aa82a70aeacebc2f8663eb
1
/* This was an ICE caused by the compiler-generated stack save/restore
2
statements around s[b]. */
3
/* { dg-do compile } */
4
/* { dg-options "-O1 -fprofile-arcs" } */
5
6
int
7
foo
(
int
a
,
int
b
)
8
{
9
if
(
a
)
10
return
1
;
11
{
12
int
s
[
b
];
13
return
0
;
14
}
15
}