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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr80775.c
blob
df4d250687be2b13b29dddc620811ba2982cf202
1
/* PR middle-end/80775 ICE: -O3 produces ice in group_case_labels_stmt. */
2
/* { dg-do compile } */
3
/* { dg-options "-O3" } */
4
5
typedef
struct
{
short
a
; }
b
;
6
b c
[
10
];
7
int
d
,
e
,
f
,
g
,
h
;
8
int
9
i
(
void
)
10
{
11
f
=
0
;
12
for
(;
f
<
e
;
f
++) {
13
switch
(
g
) {
14
case
1
:
15
d
=
1
;
16
case
2
:
17
c
[
2
+
f
].
a
=
1
;
18
}
19
h
+=
c
[
f
].
a
;
20
}
21
}