[PR 18143] thunk range

Jakub Jelinek jakub@redhat.com
Mon Nov 1 10:59:00 GMT 2004


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



More information about the Gcc mailing list