This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PR 18143] thunk range
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 1 Nov 2004 11:57:22 +0100
- Subject: Re: [PR 18143] thunk range
- References: <41860C95.5050002@codesourcery.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Nov 01, 2004 at 10:14:45AM +0000, Nathan Sidwell wrote:
> PR 18143 is about a problem with the newly restricted thunk range.
>
> Option 1 is to revert the restriction.
> Option 2 is to add a sorry.
>
> Option 1 is unarguably to be preferred, if it has no down sides.
> Unfortunately it does. Reverting the patch makes lang_decl bigger, and
> that impacts compile time -- by a surprising amount. I built
> --disable-checking compilers on both powerpc-apple-darwin and
> i686-pc-linux-gnu and then measured the -O0 compile time for QT. There
> was a 1% slowdown on both platforms. This is bad.
Speed is important, but not as important that we should add impose artificial
limits on the users IMHO.
So I'm for Option 1.
Jakub