comparison gcc/testsuite/gcc.dg/torture/pr87342.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile } */
2
3 int ix;
4
5 void
6 o6 (int rh)
7 {
8 if (rh == 0)
9 {
10 ix = 0;
11 while (ix < 1)
12 {
13 }
14
15 for (;;)
16 if (ix == 0)
17 while (rh < 1)
18 {
19 if (rh == 0)
20 {
21 __builtin_unreachable ();
22
23 kp:
24 if (ix == 0)
25 {
26 hk:
27 ix = 0;
28 }
29 }
30
31 while (rh < 1)
32 if (ix == 0)
33 goto kp;
34
35 while (rh < 1)
36 {
37 }
38 }
39 else
40 goto kp;
41 }
42
43 goto hk;
44 }