This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Removal of more useless statements
- From: law at redhat dot com
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 24 Jun 2003 09:44:24 -0600
- Subject: Re: [tree-ssa] Removal of more useless statements
- Reply-to: law at redhat dot com
In message <wvl65mv8p5w.fsf@prospero.boston.redhat.com>, Jason Merrill writes:
>On Mon, 23 Jun 2003 16:23:11 -0600, law@redhat.com wrote:
>
>> ! /* If the body of a TRY_FINALLY is empty, then we can emit
>> ! the FINALLY block without the enclosing TRY_FINALLY_EXPR.
>> !
>> ! I don't think this is safe with TRY_CATCH_EXPR. Consider
>> ! if the CATCH block of a TRY_CATCH_EXPR is reached from
>> ! outside the TRY_CATCH_EXPR via a GOTO. */
>
>You can't do that in C++. I would expect other languages with EH to have
>similar restrictions.
OK. I'll consider that a non-issue and update the code appropriately.
jeff