summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr53881-1.c
blob: 435d938a4009968e755803ab7d97b0679092d867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do compile } */
/* { dg-options "-O2" } */

int a, b;
void
fn1 ()
{
  int c;
  switch (a)
    {
    case 8:
      c = 0;
      goto Label;
    case 0:
    case 1:
Label:
      break;
    default:
      b = 0;
    }
}