This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix vect_intness in a few tests
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 19 Jan 2014 09:57:34 +0000
- Subject: [committed] Fix vect_intness in a few tests
- Authentication-results: sourceware.org; auth=none
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],