On 10/18/18 2:10 AM, Robin Dapp wrote:
> Hi,
>
> I added a check before calling priority in restore_pattern. In the last
> version, not checking that would lead to assertion failure in priority
> since the insn might already have been scheduled.
>
> Bootstrapped and regtested on x86_64 and ppc8, regtested on s390x.
>
> Regards
> Robin
>
> --
>
> gcc/ChangeLog:
>
> 2018-10-16 Robin Dapp <rd...@linux.ibm.com>
>
> * haifa-sched.c (priority): Add force_recompute parameter.
> (apply_replacement): Call priority () with force_recompute = true.
> (restore_pattern): Likewise.
>
Still OK :-)
jeff