From 9519d464cd28e6a04cc7dd8ea25b2c7c986a4769 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Fri, 4 Apr 2008 21:01:20 +0000 Subject: [PATCH] * gcc.dg/var-expand3.c: Skip for powerpc-linux if not on AltiVec HW. From-SVN: r133911 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/gcc.dg/var-expand3.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 634b1b41b38..1ce395a6829 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2008-04-04 Janis Johnson + * gcc.dg/var-expand3.c: Skip for powerpc-linux if not on AltiVec HW. + * gcc.dg/pr34856.c: Use -maltivec on powerpc linux. PR target/35620 diff --git a/gcc/testsuite/gcc.dg/var-expand3.c b/gcc/testsuite/gcc.dg/var-expand3.c index e82fb3ceb28..7930ad94dec 100644 --- a/gcc/testsuite/gcc.dg/var-expand3.c +++ b/gcc/testsuite/gcc.dg/var-expand3.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { powerpc*-*-* && powerpc_altivec_ok } } }} */ +/* { dg-do run { target { powerpc*-*-* && vmx_hw } } }} */ /* { dg-options "-O2 -funroll-loops -ffast-math -fvariable-expansion-in-unroller -maltivec -fdump-rtl-loop2" } */ #include "altivec.h" -- 2.30.2