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
tree-optimization/111233 - loop splitting miscompile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr107447.c
blob
06f7b7b15ae7b138ea126be8ef10701f03814948
1
/* { dg-do compile } */
2
3
int
n
;
4
5
void
6
bar
(
int
,
int
);
7
8
__attribute__
((
noinline
,
returns_twice
))
int
9
zero
(
void
)
10
{
11
return
0
;
12
}
13
14
void
15
foo
(
void
)
16
{
17
(
void
)
zero
();
18
19
n
=
0
;
20
21
for
(;;)
22
bar
(
zero
(),
n
);
23
}