]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
20020720-1.x: XFAIL for x86 when using -fpic or -fPIC.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Mon, 3 Jan 2005 01:43:45 +0000 (01:43 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Mon, 3 Jan 2005 01:43:45 +0000 (01:43 +0000)
* gcc.c-torture/execute/20020720-1.x: XFAIL for x86 when using
-fpic or -fPIC.

From-SVN: r92821

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20020720-1.x

index e1d9b6f92f616b7344eda4d3098d2ca712a06c60..6d13be385287bb3350f8edb4583d5881efbaf727 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2004-12-21  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        PR c/14765
index 58e311c0d3cb6d99297ca0abd51ebd222054da41..4d1e27b91ec57dab1c74eb75aa52173a3f96ec23 100644 (file)
 #     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 {