gcc/testsuite/gcc.dg/pr115092.c
raw| 1 | /* PR rtl-optimization/115092 */ |
| 2 | /* { dg-do run } */ |
| 3 | /* { dg-options "-O1 -fgcse -ftree-pre -fno-tree-dominator-opts -fno-tree-fre -fno-guess-branch-probability" } */ |
| 4 | |
| 5 | int a, b, c = 1, d, e; |
| 6 | |
| 7 | int |
| 8 | main () |
| 9 | { |
| 10 | int f, g = a; |
| 11 | b = -2; |
| 12 | f = -(1 >> ((c && b) & ~a)); |
| 13 | if (f <= b) |
| 14 | d = g / e; |
| 15 | return 0; |
| 16 | } |