This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 0/9] separate shrink-wrapping
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Bernd Schmidt <bschmidt at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, dje dot gcc at gmail dot com
- Date: Wed, 29 Jun 2016 18:16:10 -0500
- Subject: Re: [PATCH 0/9] separate shrink-wrapping
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1465347472 dot git dot segher at kernel dot crashing dot org> <a576ff9b-a3c7-d4c6-cba7-73edc07fd428 at redhat dot com> <20160608151645 dot GA13163 at gate dot crashing dot org> <d0f1b73b-cfb6-da32-a0c4-f1ccab0578df at redhat dot com> <20160608172608 dot GC13163 at gate dot crashing dot org> <6e2f5e93-b5b1-2bcd-9b73-0a731f3d2ccd at redhat dot com>
On Thu, Jun 30, 2016 at 01:03:17AM +0200, Bernd Schmidt wrote:
> On 06/08/2016 07:26 PM, Segher Boessenkool wrote:
> >One thing I should try is put a USE of the saved registers at such
> >exits, maybe that helps those passes that now delete frame restores
> >to not do that.
>
> Have you had a chance to try this?
Not yet. I have tried to get dwarf2cfi not to complain when one path
entering a block has a restore and some other patch doesn't (and mark
the register as unavailable). That works great in most cases but it
seems sometimes this also then happens for exception handlers, which
is disastrous of course (and horrendous to debug).
The USE thing should be much easier, I might have results tomorrow,
if not, next week.
Segher