Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
binop-andeq1.c
blob: 2a92b8f95df8b2bcc544ee69d5958e743163dc2c [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
/* PR tree-optimization/111431 */
int
foo
(
int
a
)
{
int
b
=
a
==
2
;
return
(
a
&
b
);
}
/* { dg-final { scan-tree-dump-times "return 0" 1 "optimized" } } */