This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix leslie3d performance regression with -flto/-fwhole-program


Richard Guenther wrote:
> leslie3d terminates itself with STOP which translates to a noreturn
> function.  This causes our edge hot/cold prediction machinery to not
> apply any predictions based on paths to noreturn functions

> Bootstrapped and tested on x86_64-unknown-linux-gnu.
> Ok for trunk?

OK. Thanks for tracing this down and for the patch.
I think it is rather obvious.

(I only wonder a bit why that's a regression.)

Tobias

PS: Cross ref for gfortran readers: This patch has a sister middle-end
patch at http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00723.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]