diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20020720-1.x | 13 |
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 { |