Hello! Vectorizer testsuite assumes 128bit vector widths. AVX breaks this assumption and that results in various spurious testsuite failures.
Attached patch clears all failures on AVX target. 2011-05-09 Uros Bizjak <ubiz...@gmail.com> * lib/target-supports.exp (check_vect_support_and_set_flags) <i?86-*-*, x86_64-*-*>: Add -mprefer-avx128 to DEFAULT_VECTCFLAGS. Uros. Index: lib/target-supports.exp =================================================================== --- lib/target-supports.exp (revision 173569) +++ lib/target-supports.exp (working copy) @@ -3845,6 +3845,8 @@ set dg-do-what-default run } elseif { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } { lappend DEFAULT_VECTCFLAGS "-msse2" + # FIXME: Vectorizer testsuite assumes 128bit vector widths. + lappend DEFAULT_VECTCFLAGS "-mprefer-avx128" if { [check_effective_target_sse2_runtime] } { set dg-do-what-default run } else {