This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH to clean up EH code
- To: jason_merrill at redhat dot com
- Subject: Re: C++ PATCH to clean up EH code
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 21 May 2001 11:12:01 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <m3r8xiyc9w.fsf@prospero.cambridge.redhat.com>
>>>>> "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