This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR45709
On Sat, 18 Sep 2010, H.J. Lu wrote:
> On Sat, Sep 18, 2010 at 4:32 AM, Richard Guenther <rguenther@suse.de> wrote:
> >
> > This fixes PR45709 - when we end up splitting an edge inserting
> > on it during PHI argument copying we have to use the new edge
> > for updating the PHI arg.
> >
> > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to
> > trunk and branches.
> >
> > Richard.
> >
> > 2010-09-18 ?Richard Guenther ?<rguenther@suse.de>
> >
> > ? ? ? ?PR tree-optimization/45709
> > ? ? ? ?* tree-inline.c (copy_phis_for_bb): Fixup new_edge when
> > ? ? ? ?we splitted it.
> >
> > ? ? ? ?* g++.dg/torture/pr45709.C: New testcase.
> >
>
> Could you please fix 4.4 branch?
Testing on 4.3 branch revealed an ICE that I don't understand,
see also last comment in the audit trail. I'll try a better
patch on monday.
Richard.