------- Comment #8 from ebotcazou at gcc dot gnu dot org 2005-12-08 08:32 ------- > Can you test the attached patch?
This kind of trick almost always works... > Unfortunrately it's relative to autovect-branch, but hopefully it would easily > apply to mainline/4.1. Unbootstrapped, hardly tested... ...and it works fine here.:-) And AFAICS the loop is correctly vectorized. Quickstrapped and vector-regtested on SPARC 32-bit and 64-bit, the vectorizer testsuite is now clean. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24378