This commit was manufactured by cvs2svn to create branch

'gcc-3_1-branch'.

From-SVN: r53126
This commit is contained in:
No Author 2002-05-03 20:46:23 +00:00
parent 7079617c44
commit db007e7a8c
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
/* PR target/6542
This testcase caused ICE on SPARC because the function uses no registers
after optimizing, so even if -mflat make all registers not permitted
for leaf functions, the function was still leaf, but LEAF_REG_REMAP
returned -1 for some registers (like %o0). */
/* { dg-do compile } */
/* { do-options "-O2 -g" } */
/* { do-options "-O2 -g -mflat" { target sparc*-*-* } } */
void foo (char *a, char *b, char *c, char *d)
{
}