This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 2.95: Dec 19 patchkit


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]