From f8c5cff401b6a2a49d3b21b6df2496297d495b55 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 11 Feb 2008 09:54:33 +0100 Subject: [PATCH] re PR testsuite/35047 (some vectorisation tests fail with --with-arch=core2 or on i386-apple-darwin8.11.1) PR testsuite/35047 * gcc.dg/compat/vector-2_x.c: Add -mno-mmx for x86 targets. * gcc.dg/compat/vector-2_y.c: Ditto. Co-Authored-By: Richard Guenther From-SVN: r132235 --- gcc/ChangeLog | 2 +- gcc/testsuite/ChangeLog | 8 +++++++- gcc/testsuite/gcc.c-torture/execute/pr33992.c | 1 - gcc/testsuite/gcc.dg/compat/vector-2_x.c | 1 + gcc/testsuite/gcc.dg/compat/vector-2_y.c | 1 + 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a5fa886892e..578118ab946 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,5 @@ 2008-02-11 Uros Bizjak - Richard Guenther + Richard Guenther PR tree-optimization/33992 * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6919390d8dd..aa851c18042 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2008-02-11 Uros Bizjak - Richard Guenther + + PR testsuite/35047 + * gcc.dg/compat/vector-2_x.c: Add -mno-mmx for x86 targets. + * gcc.dg/compat/vector-2_y.c: Ditto. + +2008-02-11 Uros Bizjak + Richard Guenther PR tree-optimization/33992 * gcc.c-torture/execute/pr33992.c: New testcase. diff --git a/gcc/testsuite/gcc.c-torture/execute/pr33992.c b/gcc/testsuite/gcc.c-torture/execute/pr33992.c index c574596bbd6..743361061db 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr33992.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr33992.c @@ -9,7 +9,6 @@ bar (unsigned long long i) void __attribute__((always_inline)) foo (unsigned long long *r) - { int i; diff --git a/gcc/testsuite/gcc.dg/compat/vector-2_x.c b/gcc/testsuite/gcc.dg/compat/vector-2_x.c index 42881330557..de5f29c2688 100644 --- a/gcc/testsuite/gcc.dg/compat/vector-2_x.c +++ b/gcc/testsuite/gcc.dg/compat/vector-2_x.c @@ -1,4 +1,5 @@ /* { dg-options "-w" } */ +/* { dg-options "-w -mno-mmx" { target { i?86-*-* x86_64-*-* } } } */ #ifndef SKIP_ATTRIBUTE diff --git a/gcc/testsuite/gcc.dg/compat/vector-2_y.c b/gcc/testsuite/gcc.dg/compat/vector-2_y.c index b04f9f64985..10d7a064532 100644 --- a/gcc/testsuite/gcc.dg/compat/vector-2_y.c +++ b/gcc/testsuite/gcc.dg/compat/vector-2_y.c @@ -1,4 +1,5 @@ /* { dg-options "-w" } */ +/* { dg-options "-w -mno-mmx" { target { i?86-*-* x86_64-*-* } } } */ #ifndef SKIP_ATTRIBUTE -- 2.30.2