gcc/testsuite/gcc.dg/pr83089.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target pthread } */ |
| 3 | /* { dg-options "-O2 -ftree-loop-if-convert -ftree-parallelize-loops=2" } */ |
| 4 | |
| 5 | int rl, s8; |
| 6 | |
| 7 | void |
| 8 | it (int zy, short int el) |
| 9 | { |
| 10 | int hb; |
| 11 | |
| 12 | while (el != 0) |
| 13 | { |
| 14 | hb = el; |
| 15 | for (rl = 0; rl < 200; ++rl) |
| 16 | { |
| 17 | for (s8 = 0; s8 < 2; ++s8) |
| 18 | { |
| 19 | } |
| 20 | if (s8 < 3) |
| 21 | zy = hb; |
| 22 | if (hb == 0) |
| 23 | ++s8; |
| 24 | zy += (s8 != -1); |
| 25 | } |
| 26 | el = zy; |
| 27 | } |
| 28 | } |