Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
vrp43.c
blob: f475354dcfe1e8210fed27e6c4f63cd086dd9e95 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-O2" } */
int
__attribute__
((
noinline
))
foo
(
int
i
)
{
if
(
i
!=
0
)
{
char
c
=
(
char
)
i
;
return
c
!=
0
;
}
return
0
;
}
extern
void
abort
(
void
);
int
main
()
{
if
(
foo
(
0xff00
))
abort
();
return
0
;
}