This fixes a few failures on ARM and AArch64 due to a recent change in...
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 8 May 2017 12:38:52 +0000 (12:38 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 8 May 2017 12:38:52 +0000 (12:38 +0000)
This fixes a few failures on ARM and AArch64 due to a recent change in
alignment peeling by switching the vector cost model off.

Tested on AArch64, ARM and x64 - committed as obvious.

    testsuite/
* gcc.dg/vect/vect-44.c: Add -fno-vect-cost-model.
* gcc.dg/vect/vect-50.c: Likewise.

From-SVN: r247737

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-44.c
gcc/testsuite/gcc.dg/vect/vect-50.c

index df971bd..14f201b 100644 (file)
@@ -1,3 +1,8 @@
+2017-05-08  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       * testsuite/gcc.dg/vect/vect-44.c: Add -fno-vect-cost-model.
+       * gcc/testsuite/gcc.dg/vect/vect-50.c: Likewise.
+
 2017-05-07  Jeff Law  <law@redhat.com>
 
        Revert:
index 186f9cf..fbc5935 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_float } */
+/* { dg-options "-fno-vect-cost-model" } */
 
 #include <stdarg.h>
 #include "tree-vect.h"
index 78bfd8d..0d5febc 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-require-effective-target vect_float } */
+/* { dg-options "-fno-vect-cost-model" } */
 
 #include <stdarg.h>
 #include "tree-vect.h"