Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / binop-andeq2.c
blob895262fc17e6aedbcd5eb1ea14864085b8da05e3
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 /* PR tree-optimization/111431 */
5 int
6 foo (int a)
8 int b = a == 1025;
9 return (a & b);
12 /* { dg-final { scan-tree-dump-not "return 0" "optimized" } } */
13 /* { dg-final { scan-tree-dump-not " & " "optimized" } } */
14 /* { dg-final { scan-tree-dump-times " == 1025;" 1 "optimized" } } */