non-local goto optimization
Nathan Sidwell
nathan@codesourcery.com
Mon May 21 10:42:00 GMT 2007
Eric Botcazou wrote:
>> Do you have another suggestion as to how to do this? I don't see one that
>> is immediately obvious beyond having expand_builtin_unwind set a global.
>
> Yes, that's a bit annoying. I can think of a few hacks (setting/clearing
> TREE_USED on the DECL of BUILT_IN_UNWIND_INIT) but it's a bit extreme.
>
> So it seems that we really need a new flag in struct function after all.
> But I would rather name it "calls_unwind_init" like a few others and invoke
> the new has_nonexceptional_receiver predicate directly from reload.
Is this version ok? Sorry for the long delay.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070521/fb11f9ad/attachment.ksh>
More information about the Gcc-patches
mailing list