On Tue, Jun 16, 2026 at 6:13 PM <[email protected]> wrote:
>
> From: MITSUNARI Shigeo <[email protected]>
>
> The Linaro tcwg CI flagged a stage2 bootstrap failure here:
>
>   expmed.cc: error: comparison of integer expressions of different
>   signedness: 'unsigned int' and 'int' [-Werror=sign-compare]
>
> seq_cost () returns unsigned, while classic_cost is int.
> I will fix it in the next revision by casting:
>
> -  if (quotient == NULL_RTX || seq_cost (insns, speed) > classic_cost)
> +  if (quotient == NULL_RTX || (int) seq_cost (insns, speed) > classic_cost)

I think it would be better to change classic_cost to unsigned rather
than add a cast.

Thanks,
Andrea

>
> I will fold this into v8 together with any review comments.

Reply via email to