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  <rguent...@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 {

Reply via email to