gcc/testsuite/gcc.dg/tree-ssa/forwprop-34.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O -fdump-tree-cddce1" } */ |
| 3 | |
| 4 | unsigned int |
| 5 | foo (unsigned int eax) |
| 6 | { |
| 7 | unsigned int edx = eax & 1; |
| 8 | edx ^= 1; |
| 9 | eax &= -2; |
| 10 | eax |= edx; |
| 11 | return eax; |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-tree-dump-times " = " 1 "cddce1" } } */ |
| 15 | /* { dg-final { scan-tree-dump " = eax_\[0-9\]+\\(D\\) \\^ 1;" "cddce1" } } */ |