On Fri, May 29, 2015 at 3:39 AM, Richard Biener <rguent...@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  <rguent...@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.

Reply via email to