arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr94589-1.c
blob7e1aaaa7c728c5b51c652b0e3aba727e19c0c564
1 /* PR tree-optimization/94589 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
5 int
6 foo (int x)
8 return (x & 23) == x;
9 /* { dg-final { scan-tree-dump " & -24;" "optimized" } } */
10 /* { dg-final { scan-tree-dump-not " & 23;" "optimized" } } */
11 /* { dg-final { scan-tree-dump " == 0" "optimized" } } */
14 int
15 bar (int x)
17 return (x | 137) != 137;
18 /* { dg-final { scan-tree-dump " & -138;" "optimized" } } */
19 /* { dg-final { scan-tree-dump-not " \\| 137;" "optimized" } } */
20 /* { dg-final { scan-tree-dump " != 0" "optimized" } } */