gfortran -O2 -fcray-pointer -ftree-vectorize -ftree-vectorizer-verbose=2 -c -v unal.f
There are several reports of "unsupported unaligned store" or "can't determine dependence between .." The loops which report "unaligned store" vectorize OK when taken in isolation. The reports of "can't determine dependence" appear to refer to the use of multiple sections of the same array. These sections cannot overlap unless there is a subscript range violation. Even if there were such a violation, it could be taken care of by changing the order. -- Summary: reports "unaligned store" and can't determine dependence Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tprince at computer dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32380