Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / 20041002-1.c
blob9a07877fb1ae2e5bfd7175c7ca637e4e51cc008c
1 /* PR tree-optimization/16632
2 fold() failed to see the following "if" statements never trigger. */
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fdump-tree-ssa" } */
7 int
8 foo (int i)
10 if ((i | 3) == 1)
11 return 1;
12 return 0;
15 int
16 bar (int i)
18 if ((i & 4) == 2)
19 return 1;
20 return 0;
23 /* { dg-final { scan-tree-dump-times "if" 0 "ssa" } } */
24 /* { dg-final { cleanup-tree-dump "ssa" } } */