[Bug tree-optimization/31756] New: Doesn't optimize the following (obvious) sequence
toon at moene dot indiv dot nluug dot nl
gcc-bugzilla@gcc.gnu.org
Sun Apr 29 13:56:00 GMT 2007
Given the following Fortran source:
SUBROUTINE SUB(A, B, N, M)
DIMENSION A(N, M), B(N, M)
DO I = 1, N
DO J = 1, M
A(I, J) = B(I, J)
ENDDO
ENDDO
END
It should be vectorized using the following compile time options:
-O2 -ftree-vectorize -ftree-vectorizer-verbose=2 -ftree-loop-linear
Unfortunately, it doesn't.
--
Summary: Doesn't optimize the following (obvious) sequence
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: toon at moene dot indiv dot nluug dot nl
GCC build triplet: idem
GCC host triplet: x64_86-unknown-gnu-linux
GCC target triplet: idem
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31756
More information about the Gcc-bugs
mailing list