[PATCH] Fix must-not-throw regions with SJLJ exception handling

Richard Henderson rth@redhat.com
Fri Jan 21 17:36:00 GMT 2011


On 01/21/2011 09:16 AM, Ulrich Weigand wrote:
> 	* except.c (sjlj_assign_call_site_values): Move setting the
> 	crtl->uses_eh_lsda flag to ...
> 	(sjlj_mark_call_sites): ... here.
> 	(sjlj_emit_function_enter): Support NULL dispatch label.
> 	(sjlj_build_landing_pads): In a function with no landing pads
> 	that still has must-not-throw regions, generate code to register
> 	a personality function with empty LSDA.

Ok with,

> +   else if (function_needs_eh_personality (cfun))

!= eh_personality_none


r~



More information about the Gcc-patches mailing list