2018-09-19 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr87342.c
blobba33fb4656e5d47f63b7ec3a29922214301701c1
1 /* { dg-do compile } */
3 int ix;
5 void
6 o6 (int rh)
8 if (rh == 0)
10 ix = 0;
11 while (ix < 1)
15 for (;;)
16 if (ix == 0)
17 while (rh < 1)
19 if (rh == 0)
21 __builtin_unreachable ();
23 kp:
24 if (ix == 0)
26 hk:
27 ix = 0;
31 while (rh < 1)
32 if (ix == 0)
33 goto kp;
35 while (rh < 1)
39 else
40 goto kp;
43 goto hk;