[testsuite] Skip g++.dg/tree-prof/partition?.C, gcc.target/mips/save-restore-?.c on IRIX

Submitted by Rainer Orth on Feb. 10, 2011, 5:37 p.m.

Details

Message ID yddzkq34wpt.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth Feb. 10, 2011, 5:37 p.m.
Two sets of patches currently fail on IRIX as described in

target/46610	gcc.target/mips/save-restore-?.c ICEs on IRIX 6.5: unrecognizable insn
target/47683	g++.dg/tree-prof/partition[12].C FAIL on IRIX

The former hasn't seen any activity yet, the latter seems to be a
limitation of the SGI linker that I may be able to workaround in gas.
For the time being, the affected testcases create lots of testsuite
noise, so I'm skipping them.  xfailing them instead isn't really an
option since e.g. dg-final in save-restore-?.c would still show up as
ERRORs.

Tested with the appropriate runtest invocations, installed on mainline,
4.4 and 4.5 branches.

	Rainer


2011-02-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/46610
	* gcc.target/mips/save-restore-1.c: Skip on mips-sgi-irix6*.
	* gcc.target/mips/save-restore-3.c: Likewise.
	* gcc.target/mips/save-restore-4.c: Likewise.
	* gcc.target/mips/save-restore-5.c: Likewise.

	PR target/47683
	* g++.dg/tree-prof/partition1.C: Skip on mips-sgi-irix*.
	* g++.dg/tree-prof/partition2.C: Likewise.

Patch hide | download patch | download mbox

Index: gcc/testsuite/g++.dg/tree-prof/partition1.C
===================================================================
--- gcc/testsuite/g++.dg/tree-prof/partition1.C	(revision 170011)
+++ gcc/testsuite/g++.dg/tree-prof/partition1.C	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-require-effective-target freorder } */
 /* { dg-options "-O2 -freorder-blocks-and-partition" } */
+/* { dg-skip-if "PR target/47683" { mips-sgi-irix* } } */
 
 struct A { A () __attribute__((noinline)); ~A () __attribute__((noinline)); };
 A::A () { asm volatile ("" : : : "memory"); }
Index: gcc/testsuite/g++.dg/tree-prof/partition2.C
===================================================================
--- gcc/testsuite/g++.dg/tree-prof/partition2.C	(revision 170011)
+++ gcc/testsuite/g++.dg/tree-prof/partition2.C	(working copy)
@@ -1,6 +1,7 @@ 
 // PR middle-end/45458
 // { dg-require-effective-target freorder }
 // { dg-options "-fnon-call-exceptions -freorder-blocks-and-partition" }
+// { dg-skip-if "PR target/47683" { mips-sgi-irix* } }
 
 int
 main ()
Index: gcc/testsuite/gcc.target/mips/save-restore-1.c
===================================================================
--- gcc/testsuite/gcc.target/mips/save-restore-1.c	(revision 170011)
+++ gcc/testsuite/gcc.target/mips/save-restore-1.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* Check that we can use the save instruction to save varargs.  */
 /* { dg-options "(-mips16) isa_rev>=1 -mabi=32 -O2" } */
+/* { dg-skip-if "PR target/46610" { mips-sgi-irix6* } } */
 
 #include <stdarg.h>
 
Index: gcc/testsuite/gcc.target/mips/save-restore-3.c
===================================================================
--- gcc/testsuite/gcc.target/mips/save-restore-3.c	(revision 170011)
+++ gcc/testsuite/gcc.target/mips/save-restore-3.c	(working copy)
@@ -1,6 +1,7 @@ 
 /* Check that we can use the save instruction to save spilled arguments
    when the argument save area is out of range of a direct load or store.  */
 /* { dg-options "(-mips16) isa_rev>=1 -mabi=32 -O2" } */
+/* { dg-skip-if "PR target/46610" { mips-sgi-irix6* } } */
 
 void bar (int *);
 
Index: gcc/testsuite/gcc.target/mips/save-restore-4.c
===================================================================
--- gcc/testsuite/gcc.target/mips/save-restore-4.c	(revision 170011)
+++ gcc/testsuite/gcc.target/mips/save-restore-4.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* Check that we can use the save instruction to save $16, $17 and $31.  */
 /* { dg-options "(-mips16) isa_rev>=1 -mabi=32 -O2" } */
+/* { dg-skip-if "PR target/46610" { mips-sgi-irix6* } } */
 
 void bar (void);
 
Index: gcc/testsuite/gcc.target/mips/save-restore-5.c
===================================================================
--- gcc/testsuite/gcc.target/mips/save-restore-5.c	(revision 170011)
+++ gcc/testsuite/gcc.target/mips/save-restore-5.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* Check that we don't try to save the same register twice.  */
 /* { dg-options "(-mips16) isa_rev>=1 -mgp32 -O2" } */
+/* { dg-skip-if "PR target/46610" { mips-sgi-irix6* } } */
 
 int bar (int, int, int, int);
 void frob (void);