arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr96691.c
bloba254cc7da79b6b8bb55c19531d60cdc7aa4eb6b3
1 /* PR tree-optimization/96691 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-times " \\\| 123;" 1 "optimized" } } */
5 /* { dg-final { scan-tree-dump-times " \\\& 123;" 1 "optimized" } } */
6 /* { dg-final { scan-tree-dump-times " \\\^ -315;" 1 "optimized" } } */
7 /* { dg-final { scan-tree-dump-times " \\\^ 314;" 1 "optimized" } } */
8 /* { dg-final { scan-tree-dump-not " \\\^ 321;" "optimized" } } */
9 /* { dg-final { scan-tree-dump-not " = ~" "optimized" } } */
11 int
12 foo (int x)
14 return (~x | 123) ^ 321;
17 int
18 bar (int x)
20 return (~x & 123) ^ 321;