+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.
-# 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