]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-40.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-ccp-40.c
CommitLineData
897a15f3
RS
1/* { dg-do compile } */
2/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4int foo(int x)
5{
6 int p = 7;
7 int q = p - (x & 5);
8 return q & 2;
9}
10
11/* { dg-final { scan-tree-dump "return 2;" "optimized" } } */