From 9c770815ec8eb2119eb0c71bd621c2f8b1592f22 Mon Sep 17 00:00:00 2001
From: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 6 Nov 2004 18:54:40 +0000
Subject: [PATCH] 	* gcc.c-torture/compile/simd-5.c: Do not XFAIL on
 SPARC 64-bit. 	* gcc.c-torture/execute/20020227-1.x: Likewise. 	*
 gcc.c-torture/execute/simd-5.x: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90184 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/testsuite/ChangeLog                       |  6 +++++
 gcc/testsuite/gcc.c-torture/compile/simd-5.c  |  5 ----
 .../gcc.c-torture/execute/20020227-1.x        |  8 +++----
 gcc/testsuite/gcc.c-torture/execute/simd-5.x  | 23 -------------------
 4 files changed, 10 insertions(+), 32 deletions(-)
 delete mode 100644 gcc/testsuite/gcc.c-torture/execute/simd-5.x

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 83ef0c7b4915..22f1c31893a1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+	* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit.
+	* gcc.c-torture/execute/20020227-1.x: Likewise.
+	* gcc.c-torture/execute/simd-5.x: Remove.
+
 2004-11-06  Andrew Pinski  <pinskia@physics.uc.edu>
 
 	PR rtl-optimization/17933
diff --git a/gcc/testsuite/gcc.c-torture/compile/simd-5.c b/gcc/testsuite/gcc.c-torture/compile/simd-5.c
index 1575dc1a8d4c..016cccd1e9fa 100644
--- a/gcc/testsuite/gcc.c-torture/compile/simd-5.c
+++ b/gcc/testsuite/gcc.c-torture/compile/simd-5.c
@@ -1,8 +1,3 @@
-/* On SPARC64/SPARC-V9 it fails at -O0 and -O1, except with -m32. */
-/* { dg-xfail-if "PR target/9200" { "sparc64-*-*" "sparcv9-*-*" } { "-O0" "-O1" } { "-m32" } } */
-/* On regular SPARC it doesn't fail, except with -m64 at -O0 and -O1. */
-/* { dg-xfail-if "PR target/9200" { "sparc-*-*" } { "-m64 -O0" "-m64 -O1" } { "" } } */
-
 #define vector64 __attribute__((vector_size(8)))
 
 main(){
diff --git a/gcc/testsuite/gcc.c-torture/execute/20020227-1.x b/gcc/testsuite/gcc.c-torture/execute/20020227-1.x
index 4e7194792cd1..21911d1ce624 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20020227-1.x
+++ b/gcc/testsuite/gcc.c-torture/execute/20020227-1.x
@@ -3,25 +3,25 @@
 # sparc64/sparcv9 and mmix during April 2002.
 
 if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
-    # On sparc64/sparcv9 it doesn't fail at -O0/-O1, or at all with -m32.
+    # On sparc64/sparcv9 it doesn't fail at -O0/-O1/-O3, or at all with -m32.
     set torture_eval_before_execute {
         global compiler_conditional_xfail_data
         set compiler_conditional_xfail_data {
             "This test fails on 64-bit targets, see PR6221." \
             { "*-*-*" } \
-            { "-O2" "-O3" "-Os" } \
+            { "-O2" "-Os" } \
             { "-m32" }
         }
     }
 } elseif { [istarget "sparc-*-*"] } {
-    # Regular sparc fails with -m64, but not with -O0/-O1.
+    # Regular sparc fails with -m64, but not with -O0/-O1/-O3.
     set torture_eval_before_execute {
         global compiler_conditional_xfail_data
         set compiler_conditional_xfail_data {
             "This test fails on 64-bit targets, see PR6221." \
             { "*-*-*" } \
             { "-m64" } \
-            { "-O0" "-O1" }
+            { "-O0" "-O1" "-O3" }
         }
     }
 } elseif { [istarget "powerpc64-*-*"] || [istarget "x86_64-*-*"] } {
diff --git a/gcc/testsuite/gcc.c-torture/execute/simd-5.x b/gcc/testsuite/gcc.c-torture/execute/simd-5.x
deleted file mode 100644
index bf7cfb37ef1b..000000000000
--- a/gcc/testsuite/gcc.c-torture/execute/simd-5.x
+++ /dev/null
@@ -1,23 +0,0 @@
-if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
-    set torture_eval_before_compile {
-        global compiler_conditional_xfail_data
-        set compiler_conditional_xfail_data {
-            "PR middle-end/9200" \
-            { "*-*-*" } \
-            { "-O0" } \
-            { "-m32" }
-        }
-    }
-} elseif { [istarget "sparc-*-*"] } {
-    set torture_eval_before_compile {
-        global compiler_conditional_xfail_data
-        set compiler_conditional_xfail_data {
-            "PR middle-end/9200" \
-            { "*-*-*" } \
-            { "-m64" } \
-            { "-O1" "-O2" "-O3" "-Os" }
-        }
-    }
-}
-
-return 0
-- 
GitLab