[Bug fortran/34568] Inplace algorithm too slow when using array notation

2008-01-02 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2008-01-02 16:15 --- (In reply to comment #1) Note that for last night's trunk, I get the following times [EMAIL PROTECTED] tmp]# /irun/bin/gfortran -static pr34568.f90 [EMAIL PROTECTED] tmp]# ./a.out 2.1826680 8.2267494 [EMA

[Bug fortran/34568] Inplace algorithm too slow when using array notation

2007-12-23 Thread kargl 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 -fdum