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