From 68be5a06c09744911b3d4608d242c0d0c4425e73 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 16 Dec 2003 23:56:56 +0000 Subject: [PATCH] 981223-1.x: Add -mb-step to command line options on ia64-*-* instead of XFAILing the test case. * 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 | 5 +++++ gcc/testsuite/gcc.c-torture/compile/981223-1.x | 16 +++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7895c1d3adfb..5c85f0730dee 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-12-16 Zack Weinberg + + * 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 * testsuite/gcc.dg/altivec-10.c: Test vec_cmple and vec_all_numeric. diff --git a/gcc/testsuite/gcc.c-torture/compile/981223-1.x b/gcc/testsuite/gcc.c-torture/compile/981223-1.x index f8d2aa6f938a..0c5e8b16bd05 100644 --- a/gcc/testsuite/gcc.c-torture/compile/981223-1.x +++ b/gcc/testsuite/gcc.c-torture/compile/981223-1.x @@ -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 -- 2.47.2