gcc/testsuite/gcc.c-torture/execute/pr58640.c
raw| 1 | void exit (int); |
| 2 | |
| 3 | int a, b, c, d = 1, e; |
| 4 | |
| 5 | static signed char |
| 6 | foo () |
| 7 | { |
| 8 | int f, g = a; |
| 9 | |
| 10 | for (f = 1; f < 3; f++) |
| 11 | for (; b < 1; b++) |
| 12 | { |
| 13 | if (d) |
| 14 | for (c = 0; c < 4; c++) |
| 15 | for (f = 0; f < 3; f++) |
| 16 | { |
| 17 | for (e = 0; e < 1; e++) |
| 18 | a = g; |
| 19 | if (f) |
| 20 | break; |
| 21 | } |
| 22 | else if (f) |
| 23 | continue; |
| 24 | return 0; |
| 25 | } |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | int |
| 30 | main () |
| 31 | { |
| 32 | foo (); |
| 33 | exit (0); |
| 34 | } |