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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrea Pinski <[email protected]>:

https://gcc.gnu.org/g:69df283ec02b039bc962c590565c39e20576ca07

commit r17-4146-g69df283ec02b039bc962c590565c39e20576ca07
Author: Andrea Pinski <[email protected]>
Date:   Thu Sep 10 12:38:56 2026 -0700

    genmatch: Fix gen_checking [PR127308]

    I accidently was comparing the id rather than identifier of the
    possible values.  This does not cause any issue currently as there
    was no use of CONVERT_EXPR/NOP_EXPR as one of the possible values.

    Pushed as obvious after bootstrap/test on x86_64-linux-gnu.

            PR middle-end/127308

    gcc/ChangeLog:

            * genmatch.cc (operator==): Move earlier.
            (c_code_id::gen_checking):  Correct the check for
CONVERT_EXPR/NOP_EXPR.

    Signed-off-by: Andrea Pinski <[email protected]>

Reply via email to