PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr53979-2.c
blobbe2607aea391254396b7342a3851f328a457e826
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-forwprop-details" } */
4 unsigned f(unsigned a, unsigned b)
6 unsigned t1 = a ^ b;
7 unsigned t2 = t1 | a;
8 return t2;
11 /* { dg-final { scan-tree-dump "gimple_simplified to t2_\[0-9\] = a_\[0-9\]*\\(D\\) | b_\[0-9\]*\\(D\\)" "forwprop1" } } */