repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR middle-end/30262
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
loop-3b.c
blob
3de322cf146785dd7bf620f19ed86f7aafd0ad88
1
#include <limits.h>
2
3
int
n
=
0
;
4
5
g
(
i
)
6
{
7
n
++;
8
}
9
10
f
(
m
)
11
{
12
int
i
;
13
i
=
m
;
14
do
15
{
16
g
(
i
*
4
);
17
i
-=
INT_MAX
/
8
;
18
}
19
while
(
i
>
0
);
20
}
21
22
main
()
23
{
24
f
(
INT_MAX
/
8
*
4
);
25
if
(
n
!=
4
)
26
abort
();
27
exit
(
0
);
28
}