This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR66314
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 May 2015 16:24:28 -0700
- 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>
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
--
H.J.