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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:5d5bed0caef4570c255f35343be00e314dd8a08d

commit r16-340-g5d5bed0caef4570c255f35343be00e314dd8a08d
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Thu May 1 08:31:18 2025 -0700

    expand: Remove unsignedp argument from get_compare_parts [PR118090]

    While helping Eikansh with a patch to ccmp, it was noticed that the
    result stored in the up pointer that gets passed to get_compare_parts
    was unused on all call sites.
    It was always unused since get_compare_parts was added in
    r8-1717-gf580a969d7fbab. It looks it was not noticed it became unused
    when rcode was set via get_compare_parts and in RTL, the signedness is
    part of the comparison.

            PR middle-end/118090
    gcc/ChangeLog:

            * ccmp.cc (get_compare_parts): Remove the up argument.
            (expand_ccmp_next): Update call to get_compare_parts.
            (expand_ccmp_expr_1): Likewise.

    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>
  • [Bug middle-end/118090] unsigne... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to