This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR66314


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]