This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Get rid of useless EH cleanups at -O0
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 15 Sep 2015 18:07:25 +0200
- Subject: Re: [patch] Get rid of useless EH cleanups at -O0
- Authentication-results: sourceware.org; auth=none
- References: <3327399 dot idjrO3F5jj at polaris>
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