From 684c69a32b7a1f254d947714b021445d7672f526 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 16 Feb 2004 19:06:27 +0100 Subject: [PATCH] * gcc.c-torture/execute/20020720-1.x: XFAIL on SPARC with -fPIC. From-SVN: r77908 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.c-torture/execute/20020720-1.x | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 49cec6a71d3..86a946d2091 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-02-16 Eric Botcazou + + * gcc.c-torture/execute/20020720-1.x: XFAIL on SPARC with -fPIC. + 2004-02-15 Mark Mitchell 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 2520c74f2b4..1f7137b153a 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 {