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-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20020926-1.c
blob
260e844549a8deca9b5bf51b4942921d4da65de3
1
/* PR c/7160 */
2
/* Verify that the register-to-stack converter properly handles
3
branches without return value containing function calls. */
4
5
extern
int
gi
;
6
7
extern
int
foo1
(
int
,
int
);
8
extern
void
foo2
(
int
,
int
);
9
extern
float
foo3
(
int
);
10
11
float
bar
(
int
i1
,
int
i2
)
12
{
13
int
i3
;
14
15
if
(
i2
) {
16
i3
=
foo1
(
i1
,
gi
);
17
foo2
(
i1
,
i3
);
18
}
19
else
20
return
foo3
(
i2
);
21
}