aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2004-02-16 19:06:27 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2004-02-16 18:06:27 +0000
commit684c69a32b7a1f254d947714b021445d7672f526 (patch)
tree241666a09eb3c0877603388fc26131ba5ecd29cd /gcc
parent835abbf7f0d0c581f6fd017d6bb48ed721a3596f (diff)
downloadgcc-684c69a32b7a1f254d947714b021445d7672f526.zip
gcc-684c69a32b7a1f254d947714b021445d7672f526.tar.gz
gcc-684c69a32b7a1f254d947714b021445d7672f526.tar.bz2
* gcc.c-torture/execute/20020720-1.x: XFAIL on SPARC with -fPIC.
From-SVN: r77908
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20020720-1.x13
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 49cec6a..86a946d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-02-16 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * gcc.c-torture/execute/20020720-1.x: XFAIL on SPARC with -fPIC.
+
2004-02-15 Mark Mitchell <mark@codesourcery.com>
PR c++/13971
diff --git a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
index 2520c74..1f7137b 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
+++ b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
@@ -11,6 +11,19 @@
# and can make the optimization.
# Don't XFAIL at -O0, that should never fail.
+if { [istarget "sparc*-*-*"] } {
+ 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 {