This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]