]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/20020503-1.c
re PR target/6542 (Internal compiler error when building libgcc for sparc-elf)
[gcc.git] / gcc / testsuite / gcc.dg / 20020503-1.c
1 /* PR target/6542
2 This testcase caused ICE on SPARC because the function uses no registers
3 after optimizing, so even if -mflat make all registers not permitted
4 for leaf functions, the function was still leaf, but LEAF_REG_REMAP
5 returned -1 for some registers (like %o0). */
6 /* { dg-do compile } */
7 /* { do-options "-O2 -g" } */
8 /* { do-options "-O2 -g -mflat" { target sparc*-*-* } } */
9
10 void foo (char *a, char *b, char *c, char *d)
11 {
12 }
This page took 0.037195 seconds and 5 git commands to generate.