This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR66314
- From: Richard Biener <rguenther at suse dot de>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 1 Jun 2015 15:55:18 +0200 (CEST)
- Subject: Re: [PATCH] Fix PR66314
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1505291237080 dot 30088 at zhemvz dot fhfr dot qr> <CAMe9rOoTqJmayq1mSV-DzYSYuWj2+qHdTn6y45aYQMupi-z+6w at mail dot gmail dot com>
On Fri, 29 May 2015, H.J. Lu wrote:
> On Fri, May 29, 2015 at 3:39 AM, Richard Biener <rguenther@suse.de> wrote:
> >
> > This fixes jump threading which fails to update the loop ownership
> > of duplicated blocks (and was probably just lucky that loops were
> > fixed up usually). The blocks of the jump thread path always belong to
> > the loop of the final threading destination.
> >
> > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress.
> >
> > Richard.
> >
> > 2015-05-29 Richard Biener <rguenther@suse.de>
> >
> > PR tree-optimization/66314
> > * tree-ssa-threadupdate.c (create_block_for_threading): Add
> > parameter that says which loop the new block belongs to.
> > (ssa_create_duplicates): Blocks duplicated for the threaded
> > path belong to the loop of the thread destination.
> >
>
> This caused:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66340
Reverted for now.