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