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