]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
981223-1.x: Add -mb-step to command line options on ia64-*-* instead of XFAILing...
authorZack Weinberg <zack@codesourcery.com>
Tue, 16 Dec 2003 23:56:56 +0000 (23:56 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 16 Dec 2003 23:56:56 +0000 (23:56 +0000)
* gcc.c-torture/compile/981223-1.x: Add -mb-step to command line
options on ia64-*-* instead of XFAILing the test case.

From-SVN: r74720

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/981223-1.x

index 7895c1d3adfbba396eb33e3a2155129067598c4c..5c85f0730dee2df3701845b457a58a3199b6413e 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-16  Zack Weinberg  <zack@codesourcery.com>
+
+       * gcc.c-torture/compile/981223-1.x: Add -mb-step to command line
+       options on ia64-*-* instead of XFAILing the test case.
+
 2003-12-16  Hartmut Penner  <hpenner@de.ibm.com>
 
        * testsuite/gcc.dg/altivec-10.c: Test vec_cmple and vec_all_numeric.
index f8d2aa6f938a9f822d41f578185192e09df5c77c..0c5e8b16bd0546ce2d740bc2ed3eca97381529b7 100644 (file)
@@ -1,20 +1,14 @@
-# The problem on IA-64 is that the assembler emits
+# On IA-64 the assembler may emit
 #
 # Warning: Additional NOP may be necessary to workaround Itanium
 # processor A/B step errata
 #
 # This can be fixed by adding "-mb-step" to the command line, which
-# does in fact add the extra nop, if someone can tell me how to do
-# that for a c-torture compile test.
+# does in fact add the extra nop.
 
-set torture_eval_before_compile {
-
-    set compiler_conditional_xfail_data {
-        "need -mb-step" \
-        "ia64-*-*" \
-        { "-O2" "-O3" "-Os" } \
-        { "" }
+if [istarget "ia64-*-*"] {
+    set torture_eval_before_compile {
+        set option "$option -mb-step"
     }
 }
-
 return 0