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]

[committed] Fix vect_intness in a few tests


One test tests for integer vectorisation so requires vect_int.  Two others
already had the dg-require-effective-target, but it was before the dg-do
rather than after.

Tested on mips64-linux-gnu, where it fixes the vect.exp failures.
Applied as obvious.

Thanks,
Richard


gcc/testsuite/
	* gcc.dg/vect/pr57705.c: Require vect_int.
	* gcc.dg/vect/pr58508.c: Fix order of dg-require-effective-target line.
	* gcc.dg/vect/vect-alias-check.c: Likewise.

Index: gcc/testsuite/gcc.dg/vect/pr57705.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/pr57705.c	2014-01-19 09:52:07.761437971 +0000
+++ gcc/testsuite/gcc.dg/vect/pr57705.c	2014-01-19 09:52:07.973439322 +0000
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target vect_int } */
 
 #include "tree-vect.h"
 
Index: gcc/testsuite/gcc.dg/vect/pr58508.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/pr58508.c	2014-01-19 09:52:07.776438067 +0000
+++ gcc/testsuite/gcc.dg/vect/pr58508.c	2014-01-19 09:52:07.973439322 +0000
@@ -1,5 +1,5 @@
-/* { dg-require-effective-target vect_int } */
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_int } */
 
 
 /* The GCC vectorizer generates loop versioning for the following loop
Index: gcc/testsuite/gcc.dg/vect/vect-alias-check.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-alias-check.c	2014-01-19 09:52:07.776438067 +0000
+++ gcc/testsuite/gcc.dg/vect/vect-alias-check.c	2014-01-19 09:52:07.974439329 +0000
@@ -1,5 +1,5 @@
-/* { dg-require-effective-target vect_int } */
 /* { dg-do compile } */
+/* { dg-require-effective-target vect_int } */
 /* { dg-additional-options "--param=vect-max-version-for-alias-checks=2" } */
 
 /* A test case showing four potential alias checks between a[i] and b[0], b[1],


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