1 /* PR tree-optimization/16632
2    fold() failed to see the following "if" statements never trigger.  */
3 
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fdump-tree-ssa" } */
6 
7 int
foo(int i)8 foo (int i)
9 {
10   if ((i | 3) == 1)
11     return 1;
12   return 0;
13 }
14 
15 int
bar(int i)16 bar (int i)
17 {
18   if ((i & 4) == 2)
19     return 1;
20   return 0;
21 }
22 
23 /* { dg-final { scan-tree-dump-times "if" 0 "ssa" } } */
24