This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C] Fix GNU extern inline heuristic again (fix C++ memory usage regression)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 27 Aug 2007 14:29:49 +0000 (UTC)
- Subject: Re: [PATCH][C] Fix GNU extern inline heuristic again (fix C++ memory usage regression)
- References: <Pine.LNX.4.64.0708271509250.4343@s68.fhfr.qr>
On Mon, 27 Aug 2007, Richard Guenther wrote:
> This fixes the memory usage regression with C++ I was seeing. It does so
> by moving the decision on whether to disregard inline limits to the
> frontend(s) and storing this knowledge in the function decl.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, the ~25% compile-time
> regression on some C++ testcases is gone.
>
> Ok for mainline?
The C front-end changes are OK.
--
Joseph S. Myers
joseph@codesourcery.com