summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/20020503-1.c
blob: 3edc7cf98589fda327bc2ff72768454a31f31559 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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 } */
/* { dg-options "-O2 -g" } */

void foo (char *a, char *b, char *c, char *d)
{
}
OpenPOWER on IntegriCloud