This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'. From-SVN: r53126
This commit is contained in:
parent
7079617c44
commit
db007e7a8c
|
@ -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)
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue