annotate gcc/testsuite/gcc.dg/20020503-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* PR target/6542
kono
parents:
diff changeset
2 This testcase caused ICE on SPARC because the function uses no registers
kono
parents:
diff changeset
3 after optimizing, so even if -mflat make all registers not permitted
kono
parents:
diff changeset
4 for leaf functions, the function was still leaf, but LEAF_REG_REMAP
kono
parents:
diff changeset
5 returned -1 for some registers (like %o0). */
kono
parents:
diff changeset
6 /* { dg-do compile } */
kono
parents:
diff changeset
7 /* { dg-options "-O2 -g -mflat" { target sparc*-*-* } } */
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 void foo (char *a, char *b, char *c, char *d)
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 }