https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80925
Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #30 from Rainer Orth <ro at gcc dot gnu.org> --- (In reply to Steve Ellcey from comment #22) Finally coming back to this... > Ranier Orth reported a failure on SPARC64 as well, here was my reply > to him. I don't know if your problem is the same without seeing the > specific failure. > > -- > > Looking at the checks at the end, I also see that SPARC does include > the 'Alignment' message and Aarch64 does not and that is handled by a > conditional check. > > I think the fix is to check for 'vectorized 4 loops' when we support > unaligned vector instructions (vect_hw_misalign is true) and check for > 'vectorized 3 loops' otherwise. Does that sound reasonable to you? I just successfully tested a patch along these lines on sparc-sun-solaris2.11 and i386-pc-solaris2.11: works fine. I'll also test on the gcc-8 branch which is likewise affected and then post to gcc-patches. Thanks for the suggestion. Rainer