This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH]: testsuite XFAIL pr11832.c and pr33009.c on (x86 && ilp32 && pic)
- From: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: janis187 at us dot ibm dot com
- Date: Sun, 25 May 2008 13:48:35 -0400 (EDT)
- Subject: [PATCH]: testsuite XFAIL pr11832.c and pr33009.c on (x86 && ilp32 && pic)
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" } */