2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr54838.c
blob9ed92f9e1d26254ea113166bafb295c51f10292a
1 /* PR middle-end/54838 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fno-forward-propagate -ftracer" } */
5 void bar (void);
7 void
8 foo (void *b, int *c)
10 again:
11 switch (*c)
13 case 1:
14 if (!b)
16 bar ();
17 return;
19 goto again;
20 case 3:
21 if (!b)
22 goto again;