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
libgcc: Fix a warning/error in libgcc2.c [PR117624]
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
unroll-1.c
blob
5606978539fed272ed9d2d67918e06b56f0052c8
1
/* { dg-options "-fgnu89-inline" } */
2
3
extern
void
abort
(
void
);
4
extern
void
exit
(
int
);
5
6
inline
int
7
f
(
int
x
)
8
{
9
return
(
x
+
1
);
10
}
11
12
int
13
main
(
void
)
14
{
15
int
a
=
0
;
16
17
while
( (
f
(
f
(
f
(
f
(
f
(
f
(
f
(
f
(
f
(
f
(
1
))))))))))) +
a
<
12
)
18
{
19
a
++;
20
exit
(
0
);
21
}
22
if
(
a
!=
1
)
23
abort
();
24
}