[patch] Get rid of useless EH cleanups at -O0

Bernd Schmidt bschmidt@redhat.com
Tue Sep 15 16:20:00 GMT 2015


On 09/14/2015 11:56 AM, Eric Botcazou wrote:
> 2015-09-14  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* tree-eh.c (lower_try_finally_dup_block): Clear location information
> 	on stack restore statements.
> 	(decide_copy_try_finally): Do not consider a stack restore statement as
> 	coming from sources.
>
>
> 2015-09-14  Eric Botcazou  <ebotcazou@adacore.com>
>
> 	* gnat.dg/array24.adb: New test.
>
Played with this a bit, this appears to be fine.


Bernd



More information about the Gcc-patches mailing list