This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Call purge_dead_edges when needed in fwprop (PR rtl-optimization/47366)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 20 Jan 2011 17:49:06 +0100
- Subject: Re: [PATCH] Call purge_dead_edges when needed in fwprop (PR rtl-optimization/47366)
- References: <20110120163227.GZ2724@tyan-ft48-01.lab.bos.redhat.com> <4D386471.8060203@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jan 20, 2011 at 09:36:01AM -0700, Jeff Law wrote:
> On 01/20/11 09:32, Jakub Jelinek wrote:
> > 2011-01-20 Jakub Jelinek <jakub@redhat.com>
> >
> > PR rtl-optimization/47366
> > * fwprop.c (forward_propagate_into): Return bool. If
> > any changes are made, -fnon-call-exceptions is used and
> > REG_EH_REGION note is present, call purge_dead_edges
> > and return true if it purged anything.
> > (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
> > any EH edges were purged.
> >
> > * g++.dg/opt/pr47366.C: New test.
> Any chance that fixes 47053 or 43695?
No, unfortunately. PR47053 ICEs during reassoc verification
(i.e. GIMPLE passes), and PR43695 doesn't even use -fnon-call-exceptions.
Jakub