From 432be037726df4531d105bb021dff268c92b0884 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 6 Nov 2004 19:54:40 +0100 Subject: [PATCH] simd-5.c: Do not XFAIL on SPARC 64-bit. * 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. From-SVN: r90184 --- 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 83ef0c7b491..22f1c31893a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-11-06 Eric Botcazou + + * 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 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 1575dc1a8d4..016cccd1e9f 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 4e7194792cd..21911d1ce62 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 bf7cfb37ef1..00000000000 --- 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 -- 2.30.2