This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[3.3 patch] XFAIL gcc.c-torture/execute/20020720-1.c for x86 with -fpic/-fPIC
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: gdr at integrable-solutions dot net
- Date: Sun, 2 Jan 2005 16:45:49 -0500 (EST)
- Subject: [3.3 patch] XFAIL gcc.c-torture/execute/20020720-1.c for x86 with -fpic/-fPIC
This test fails on x86-linux-gnu when using -fpic/-fPIC. As per PR
10348 and 14303, this is unlikely to be fixed in 3.3 so I'd like to
XFAIL it.
Ok for 3.3.x?
Thanks,
--Kaveh
2005-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/20020720-1.x: XFAIL for x86 when using
-fpic or -fPIC.
diff -rup orig/egcc-3.3-CVS20050102/gcc/testsuite/gcc.c-torture/execute/20020720-1.x egcc-3.3-CVS20050102/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
--- orig/egcc-3.3-CVS20050102/gcc/testsuite/gcc.c-torture/execute/20020720-1.x 2003-03-08 09:34:06.000000000 -0500
+++ egcc-3.3-CVS20050102/gcc/testsuite/gcc.c-torture/execute/20020720-1.x 2005-01-02 12:45:30.000000000 -0500
@@ -11,6 +11,19 @@
# and can make the optimization.
# Don't XFAIL at -O0, that should never fail.
+if { [istarget "i?86-*-*"] } {
+ set torture_eval_before_compile {
+ global compiler_conditional_xfail_data
+ set compiler_conditional_xfail_data {
+ "PR opt/10348" \
+ { "*-*-*" } \
+ { "-fpic" "-fPIC" } \
+ { "-O0" }
+ }
+ }
+ return 0
+}
+
set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {