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: C++ PATCH to clean up EH code


>>>>> "Jason" == Jason Merrill <jason_merrill@redhat.com> writes:

    Jason> It seemed pointless to me to have both a HANDLER tree code
    Jason> and another START_CATCH_STMT.  In addition to the
    Jason> redundancy problem, it led to problems with nesting
    Jason> consistency; we were failing to push and pop blocks and EH
    Jason> regions in LIFO order (though that doesn't currently break
    Jason> anything).  This patch cleans that up and removes a couple
    Jason> of redundant blocks.

Good.  I somewhat mindlessly created START_CATCH_STMT to represent
some piece of processing we normally did when generating RTL; your
cleanup is most excellent.

I think you need a c-tree.texi patch as well.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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