2.95: Dec 19 patchkit
Richard Henderson
rth@redhat.com
Wed Dec 20 10:10:00 GMT 2000
On Wed, Dec 20, 2000 at 02:06:31PM +0000, Bernd Schmidt wrote:
> I've now reviewed the discussions around sjlj exceptions. It seems to me
> that your recent patch depends on another one installed by Andrew MacLeod
> on Aug 10, 1999 (which adds reachable_handlers). Otherwise I don't see
> how we'll get edges for sjlj exception handlers installed in the flow
> graph if we don't put exception handlers into nonlocal_goto_handler_labels.
No, reachable_handlers is only an optimization of
for (x = eh_list; x; x = XEXP (x, 1))
{
ptr = get_first_handler (NOTE_BLOCK_NUMBER (XEXP (x, 0)));
while (ptr)
{
make_label_edge (bb, ptr->handler_label,
EDGE_ABNORMAL | EDGE_EH | is_call);
ptr = ptr->next;
}
}
which creates fewer edges. We still have a stack of active
exception regions from which to collect handlers.
r~
More information about the Gcc-patches
mailing list