https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120604
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2025-06-10
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
Target Milestone|--- |16.0
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #6)
> Simply do
>
> diff = (unsigned HOST_WIDE_INT)ct - (unsigned HOST_WIDE_INT)cf;
>
> (and in the other place), or use unsigned for 'diff' in the first place.
TYWM Richard, I have a patch that implements the above suggestion.