https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102949
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- > Hm, I tried --target=sparcv8-sun-solaris2.11 but that seems to fail to > reproduce any vectorization with -O2 -ftree-vectorize. If I add -mvis I get > something > that could resemble the code you quote: sparcv8-sun-solaris2.11 creates a SPARC V8 default configuration, while the regular sparc-sun-solaris2.11 is SPARC V8+, i.e. SPARC with V9 extensions (which includes -mvis).