[Bug testsuite/52614] [4.8 Regression] Test failures in gcc.dg/vect: vectorizing unaligned access

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Wed Mar 21 13:01:00 GMT 2012


--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-03-21 12:57:54 UTC ---
I have posted the results for powerpc-apple-darwin9 with the patch in comment
#0 at http://gcc.gnu.org/ml/gcc-testresults/2012-03/msg02399.html . It shows
some remaining failures

FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c scan-tree-dump-times
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp
"basic block vectorized using SLP" 1

They are fixed with the following patch

   2011-01-05 08:39:45.000000000 +0100
2012-03-21 10:55:27.000000000 +0100
@@ -34,7 +34,7 @@ if ![is-effective-target powerpc_altivec

 # These flags are used for all targets.
-lappend DEFAULT_VECTCFLAGS "-O2" "-ftree-vectorize" "-fvect-cost-model"
+lappend DEFAULT_VECTCFLAGS "-O2" "-ftree-vectorize" "-fvect-cost-model"

 # If the target system supports vector instructions, the default action
 # for a test is 'run', otherwise it's 'compile'.  Save current default.

Note that I don't have write access to SVN, so someone will have to commit the
patches when approved.

Now I wonder if  '-fno-common' should not be the default when
'-ftree-vectorize' is used on the affected targets?

More information about the Gcc-bugs mailing list