Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20011126-1.c
blob: ede938b00427b8e2445f1d7c6eb43261a590bad3 [
file
] [
log
] [
blame
]
/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff. */
int
a
=
1
;
int
main
()
{
long
long
s
;
s
=
a
;
if
(
s
<
0
)
s
=
-
2147483648LL
;
else
s
=
2147483647LL
;
if
(
s
<
0
)
abort
();
return
0
;
}