------- Comment #6 from jb at gcc dot gnu dot org  2007-05-29 17:51 -------
Reopening. This vectorizes only partly, with -ffast-math to boot. We should be
able to vectorize it without doing any "unsafe" math.

gfortran -O2 -ffast-math -march=native -mfpmath=sse -ftree-vectorize
-ftree-vectorizer-verbose=6 allocate-loop.f90

allocate-loop.f90:15: note: LOOP VECTORIZED.
allocate-loop.f90:14: note: LOOP VECTORIZED.
allocate-loop.f90:10: note: Vectorizing an unaligned access.
allocate-loop.f90:10: note: LOOP VECTORIZED.
allocate-loop.f90:9: note: not vectorized: data ref analysis failed D.1424_40 =
(*D.1371_14)[D.1423_39]
allocate-loop.f90:1: note: vectorized 3 loops in function.

and without -ffast-math:

gfortran -O2 -march=native -mfpmath=sse -ftree-vectorize
-ftree-vectorizer-verbose=6 allocate-loop.f90

allocate-loop.f90:15: note: not vectorized: unsupported use in stmt.
allocate-loop.f90:14: note: LOOP VECTORIZED.
allocate-loop.f90:10: note: not vectorized: unsupported use in stmt.
allocate-loop.f90:9: note: not vectorized: data ref analysis failed D.1424_40 =
(*D.1371_14)[D.1423_39]
allocate-loop.f90:1: note: vectorized 1 loops in function.


-- 

jb at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32131

Reply via email to