Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
binop-notand6.c
blob: 040efc92d4e182640ddc0df761415ace2b2e8410 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
int
foo
(
int
a
,
int
b
)
{
return
(
a
&
!
a
)
|
(
b
&
(
b
==
0
));
}
/* { dg-final { scan-tree-dump-times "return 0" 1 "optimized" } } */