This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34568] Inplace algorithm too slow when using array notation
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2007 18:09:07 -0000
- Subject: [Bug fortran/34568] Inplace algorithm too slow when using array notation
- References: <bug-34568-15061@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from kargl at gcc dot gnu dot org 2007-12-23 18:09 -------
Both codes are invalid.
In suspect that in your inplace version, gfortran's dependency
analysis can't determine if the arrays overlap, so your getting
a copy of the array. You can see what is happening with the
-fdump-tree-original option.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34568