http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52865
Bug #: 52865 Summary: GCC can't vectorize fortran loop but able to vectorize similar c-loop Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: izamya...@gmail.com Target: x86-64 Created attachment 27087 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27087 Fortran test That looks strange but the compiler behaves differently on O3 for attached test cases. Fortran can't vectorize loop which looks quite simple Is it expected behavior?