RFC: Rework local variable clean-up code and use try-finally

Andrew Pinski pinskia@gmail.com
Thu Jul 8 20:30:00 GMT 2010


On Thu, Jul 8, 2010 at 1:26 PM, Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:
> Dear Daniel,
> example
> try_fin = build2 (TRY_FINALLY_EXPR, void_type_node, stmt1, stmt2);
>
> from what I have understood, mudflap must be enabled to have this.  To
> be honest, I do not even know if it is or not for gfortran

No you don't need mudflap enabled to get TRY_FINALLY_EXPR working, the
gimplifier and tree-eh will lower them correctly to how it is supposed
to be and works correctly with a goto out of the try_finally block.

Thanks,
Andrew Pinski



More information about the Fortran mailing list