gcc/testsuite/gcc.target/i386/pr117105.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3 -fno-code-hoisting -fno-tree-fre -fno-tree-dominator-opts -fno-tree-pre -fno-tree-sra" } */ |
| 3 | int a; |
| 4 | struct b { |
| 5 | char c; |
| 6 | char d; |
| 7 | }; |
| 8 | int main() { |
| 9 | struct b e; |
| 10 | int f; |
| 11 | while (a) |
| 12 | if (f == e.d) |
| 13 | f = e.c = e.d & 1 >> e.d; |
| 14 | return 0; |
| 15 | } |