Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr31115.c
blob: 1395a34b3226264e8501bd9e3b359bd4bc6ecc47 [
file
] [
log
] [
blame
]
/* { dg-do run } */
extern
void
exit
(
int
);
extern
void
abort
();
void
foo
(
int
e1
)
{
if
(
e1
<
0
)
{
e1
=
-
e1
;
if
(
e1
>>=
4
)
{
if
(
e1
>=
1
<<
5
)
exit
(
0
);
}
}
}
int
main
()
{
foo
(-(
1
<<
9
));
abort
();
}