gcc/testsuite/gcc.dg/torture/pr29446.c
raw| 1 | /* { dg-do compile } */ |
| 2 | |
| 3 | void f(_Bool D917, int j0, int ubound1, int ubound5) |
| 4 | { |
| 5 | int i, j = j0; |
| 6 | int (*abc)[3]; |
| 7 | i = 1; |
| 8 | while (1) |
| 9 | { |
| 10 | if (j <= 3) |
| 11 | while (1) |
| 12 | { |
| 13 | if (i != j) |
| 14 | { |
| 15 | if (ubound1 <= 0) |
| 16 | return; |
| 17 | (*abc)[1] = 0; |
| 18 | } |
| 19 | else |
| 20 | { |
| 21 | if (j > ubound1) |
| 22 | return; |
| 23 | if (ubound5 <= 0) |
| 24 | return; |
| 25 | } |
| 26 | j = j + 1; |
| 27 | if (D917) |
| 28 | break; |
| 29 | } |
| 30 | i = i + 1; |
| 31 | } |
| 32 | } |