> I tested trunk and an old 4.2.1 internal branch, and found the bug on > both, so anything in between would be affected too. It goes back at > least to this patch, which mostly fixed the bug: > > 2008-02-19 Christian Bruel <christian.br...@st.com> > Zdenek Dvorak <o...@ucw.cz> > > * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment.
OK, I tested it (a little) with trunk on SPARC/Solaris and SPARC64/Solaris and things look good as well. I won't be able to do a formal submission before at least one week so if you feel like beating me to it, go ahead. -- Eric Botcazou