This is the mail archive of the
mailing list for the GNU Fortran project.
Re: [PATCH] Fix leslie3d performance regression with -flto/-fwhole-program
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 9 Jun 2011 14:06:03 +0200
- Subject: 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.)
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