This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] PR fortran/31593: Speed up loops with DO variables as procedure arguments
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: tobias dot schlueter at physik dot uni-muenchen dot de
- Date: Tue, 25 Aug 2009 13:48:51 +0200
- Subject: Re: [PATCH] PR fortran/31593: Speed up loops with DO variables as procedure arguments
Tobias,
> I assume the slowdown happens only with -fwhole-file?
Sorry to have been clear enough, the slowdown occurs with your
patch without using -fwhole-file. What I have noticed is the
same signature for the slowdown: a huge increase in calling
pow().
You can check it by using your favorite profiling tool on the
executable for air.f90 with/without your patch.
Cheers
Dominique