Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-40.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3
4 int 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" } } */