GCSE

Nathan Sidwell nathan@codesourcery.com
Mon Feb 21 21:21:00 GMT 2005


jfj wrote:
> Hi.
> 
> I have a program that uses computed gotos.
> Should I use -fno-gcse?
> 
> The situation is that there is one very important function with computed
> gotos and about 300 others without!
> Isn't there a way to disable fgcse for that one function and allow it for
> the rest of the code?
> 
> With fno-gcse the program is about 0.3% faster, so I can't tell for sure
> what's the right thing to do here.

break the file into two parts, one that can be -fgcse'd and one that
can be -fno-gcse'd

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-help mailing list