non-local goto optimization

Eric Botcazou ebotcazou@libertysurf.fr
Wed Apr 25 21:48:00 GMT 2007


> 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.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list