This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Adjust g++.dg/vect/slp-pr56812.cc
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Apr 2013 10:34:09 +0200 (CEST)
- Subject: [PATCH] Adjust g++.dg/vect/slp-pr56812.cc
This adjusts g++.dg/vect/slp-pr56812.cc for targets that cannot
handle HW misaligned vector loads.
Tested on x86_64-unknown-linux-gnu, confirmed by Andreas that it
helps ia64 / powerpc.
Richard.
2013-04-08 Richard Biener <rguenther@suse.de>
* g++.dg/vect/slp-pr56812.cc: Adjust.
Index: gcc/testsuite/g++.dg/vect/slp-pr56812.cc
===================================================================
--- gcc/testsuite/g++.dg/vect/slp-pr56812.cc (revision 197480)
+++ gcc/testsuite/g++.dg/vect/slp-pr56812.cc (working copy)
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target vect_float } */
+/* { dg-require-effective-target vect_hw_misalign } */
/* { dg-additional-options "-O3 -funroll-loops -fvect-cost-model" } */
class mydata {