PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / forwprop-34.c
blob9aadce6a6a32e7bf224e01878c3898c1515c48a1
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-cddce1" } */
4 unsigned int
5 foo (unsigned int eax)
7 unsigned int edx = eax & 1;
8 edx ^= 1;
9 eax &= -2;
10 eax |= edx;
11 return eax;
14 /* { dg-final { scan-tree-dump-times " = " 1 "cddce1" } } */
15 /* { dg-final { scan-tree-dump " = eax_\[0-9\]+\\(D\\) \\^ 1;" "cddce1" } } */