[PATCH]: testsuite XFAIL pr11832.c and pr33009.c on (x86 && ilp32 && pic)
Kaveh R. GHAZI
ghazi@caip.rutgers.edu
Sun May 25 19:01:00 GMT 2008
This patch XFAILs two testcases that fail with -frtl-abstract-sequences as
per PR33642 and/or PR36240 on x86 when using -m32 && -fpic. Tested on
x86_64-unknown-linux-gnu via "make check" with:
RUNTESTFLAGS="--target_board 'unix{-m32/-fPIC,-m32/-fpic,-m32,-fPIC,-fpic,}'"
to test the various combinations and the failures are bypassed in the
appropriate cases.
Okay for mainline?
Thanks,
--Kaveh
PS: I assume there's no problem with multiple dg-xfail-if commands in one
testcase. (?) I don't want to conflict with the existing xfail for
mips/ppc.
2008-05-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/compile/pr11832.c: XFAIL on (x86 && ilp32 && pic).
* gcc.c-torture/compile/pr33009.c: Likewise.
diff -rup orig/egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr11832.c egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr11832.c
--- orig/egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr11832.c 2008-05-13 02:02:42.000000000 +0200
+++ egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr11832.c 2008-05-25 19:18:06.000000000 +0200
@@ -1,6 +1,8 @@
/* { dg-do compile } */
/* Currently ICEs for MIPS and PowerPC; see PR33642. */
/* { dg-xfail-if "PR33642" { mips*-*-* powerpc*-*-linux* } { "*" } { "" } } */
+/* Currently ICEs for (x86 && ilp32 && pic). */
+/* { dg-xfail-if "PR33642/36240" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */
/* { dg-prune-output ".*internal compiler error.*" }
/* { dg-options "-frtl-abstract-sequences" } */
diff -rup orig/egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr33009.c egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr33009.c
--- orig/egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr33009.c 2008-05-13 02:02:42.000000000 +0200
+++ egcc-SVN20080525/gcc/testsuite/gcc.c-torture/compile/pr33009.c 2008-05-25 19:20:49.000000000 +0200
@@ -1,6 +1,8 @@
/* { dg-do compile } */
/* Currently ICEs for MIPS and PowerPC; see PR33642. */
/* { dg-xfail-if "PR33642" { mips*-*-* powerpc*-*-linux* } { "*" } { "" } } */
+/* Currently ICEs for (x86 && ilp32 && pic). */
+/* { dg-xfail-if "PR33642/36240" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */
/* { dg-prune-output ".*internal compiler error.*" }
/* { dg-options "-frtl-abstract-sequences" } */
More information about the Gcc-patches
mailing list