Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
loop-3b.c
blob: 3de322cf146785dd7bf620f19ed86f7aafd0ad88 [
file
] [
log
] [
blame
]
#include
<limits.h>
int
n
=
0
;
g
(
i
)
{
n
++;
}
f
(
m
)
{
int
i
;
i
=
m
;
do
{
g
(
i
*
4
);
i
-=
INT_MAX
/
8
;
}
while
(
i
>
0
);
}
main
()
{
f
(
INT_MAX
/
8
*
4
);
if
(
n
!=
4
)
abort
();
exit
(
0
);
}