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