This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] (checked in) fix gcc.dg/vect/vect-dv-2.c
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 19 May 2005 16:16:16 -0700
- Subject: [testsuite] (checked in) fix gcc.dg/vect/vect-dv-2.c
Auto-vectorization tests should never specify "dg-do run". The default
action is "run" if the test hardware supports vector instructions,
"compile" otherwise. This gets rid of a failure when the test is run on
a PowerPC system without VMX hardware. I'm checking it in on mainline.
2005-05-19 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/vect/vect-dv-2.c: Remove dg-do directive.
Index: gcc/testsuite/gcc.dg/vect/vect-dv-2.c
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/gcc.dg/vect/vect-dv-2.c,v
retrieving revision 1.2
diff -u -p -r1.2 vect-dv-2.c
--- gcc/testsuite/gcc.dg/vect/vect-dv-2.c 3 May 2005 00:19:38 -0000 1.2
+++ gcc/testsuite/gcc.dg/vect/vect-dv-2.c 19 May 2005 19:47:24 -0000
@@ -1,4 +1,3 @@
-/* { dg-do run } */
/* { dg-require-effective-target vect_int } */
#include <stdarg.h>