This commit was manufactured by cvs2svn to create branch

'gcc-3_2-branch'.

From-SVN: r57567
This commit is contained in:
No Author 2002-09-27 01:13:28 +00:00
parent 72c2c436f0
commit 57268cd711
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
/* PR c/7160 */
/* Verify that the register-to-stack converter properly handles
branches without return value containing function calls. */
extern int gi;
extern int foo1(int, int);
extern void foo2(int, int);
extern float foo3(int);
float bar(int i1, int i2)
{
int i3;
if (i2) {
i3 = foo1(i1, gi);
foo2(i1, i3);
}
else
return foo3(i2);
}