On Thu, May 26, 2016 at 4:02 AM, Alan Modra <amo...@gmail.com> wrote:
> This fixes lack of bb_loop_depth info in some of the early parts of
> ira, which has been the case for quite some time.  All active branches
> return 0 from bb_loop_depth() in update_equiv_regs, but whether that
> actually causes mis-optimization anywhere but trunk is yet to be
> determined.
>
> I played a little with trying to consolidate this loop_optimizer_init
> call with one that occurs a little later, but ran into ICEs.  (We now
> have four calls to loop_optimizer_init in ira.c.)
>
> Bootstrapped and regression tested powerpc64le-linux and x86_64-linux.
> OK to apply?
>
>         PR rtl-optimization/71275
>         * ira.c (ira): Call loop_optimizer_init to set up bb_loop_depth
>         for update_equiv_regs and combine_and_move_insns.
>

This caused:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71531


-- 
H.J.

Reply via email to