gcc/testsuite/gcc.dg/pr83972.c
raw| 1 | /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */ |
| 2 | /* { dg-options "-O1 -fschedule-insns -fselective-scheduling -fsel-sched-pipelining -fvar-tracking-assignments -funroll-loops -fno-tree-dominator-opts -w" } */ |
| 3 | |
| 4 | int s7, p0; |
| 5 | |
| 6 | void |
| 7 | i0 (int ke) |
| 8 | { |
| 9 | while (ke < 1) |
| 10 | { |
| 11 | if (s7 == 0) |
| 12 | p0 = 0; |
| 13 | else |
| 14 | { |
| 15 | if (p0 == 0) |
| 16 | s7 = 0; |
| 17 | |
| 18 | if (!!s7 || !!p0) |
| 19 | s7 = 0; |
| 20 | else |
| 21 | p0 = 0; |
| 22 | } |
| 23 | |
| 24 | ++ke; |
| 25 | } |
| 26 | } |