This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] C++ EH question
- From: law at redhat dot com
- To: Jason Merrill <jason at redhat dot com>
- Cc: rth at redhat dot com, gcc at gcc dot gnu dot org
- Date: Tue, 25 Mar 2003 07:02:50 -0700
- Subject: Re: [tree-ssa] C++ EH question
- Reply-to: law at redhat dot com
In message <wvl3clcnd9u dot fsf at prospero dot boston dot redhat dot com>, Jason Merrill writes:
>There are three cases for the handler operand of a TRY_CATCH_EXPR:
>
>case CATCH_EXPR: (possibly wrapped in a COMPOUND_EXPR)
> This is a try/catch construct, with a sequence of CATCH_EXPRs, one for
> each catch block.
OK.
>case EX_FILTER_EXPR:
> This is an exception specification.
But what is an "exception specification"? How is it used? How is it
different from a CATCH_EXPR with a set of CATCH_TYPES?
>default:
> This is a cleanup.
OK.
Jeff