This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix markup in gcc.dg/vect/vect-cond-reduc-3.c
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Nov 2019 10:57:16 +0000
- Subject: [committed] Fix markup in gcc.dg/vect/vect-cond-reduc-3.c
gcc.dg/vect/vect-cond-reduc-3.c had been failing on
arm-linux-gnueabihf since the test was added, because the test needs
support for VEC_COND_EXPR <float cmp float, int, int> whereas the target
only supports VEC_COND_EXPRs in which all modes are the same. (I have
a fix for that, but it's not really stage 3 material.)
Tested on arm-linux-gnueabihf, aarch64-linux-gnu and x86_64-linux-gnu.
Applied as obvious.
Richard
2019-11-22 Richard Sandiford <richard.sandiford@arm.com>
gcc/testsuite/
* gcc.dg/vect/vect-cond-reduc-3.c: Require vect_cond_mixed
rather than vect_condition.
Index: gcc/testsuite/gcc.dg/vect/vect-cond-reduc-3.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/vect-cond-reduc-3.c 2019-10-31 17:15:22.610537252 +0000
+++ gcc/testsuite/gcc.dg/vect/vect-cond-reduc-3.c 2019-11-22 10:55:51.642277792 +0000
@@ -1,6 +1,6 @@
/* Disabling epilogues until we find a better way to deal with scans. */
/* { dg-additional-options "--param vect-epilogues-nomask=0" } */
-/* { dg-require-effective-target vect_condition } */
+/* { dg-require-effective-target vect_cond_mixed } */
/* { dg-require-effective-target vect_float } */
#include "tree-vect.h"