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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <[email protected]>:

https://gcc.gnu.org/g:28bac52566bc4a42b1dcfb1dde0a12fe3b75ed36

commit r16-5683-g28bac52566bc4a42b1dcfb1dde0a12fe3b75ed36
Author: Tamar Christina <[email protected]>
Date:   Fri Nov 28 07:45:51 2025 +0000

    middle-end: check that the argument is an SSA_NAME before calling
get_gimple_for_ssa_name [PR122890]

    This checks if the arguments of the boolean operation
    are an SSA_NAME before we try to lookup their definition.

    gcc/ChangeLog:

            PR middle-end/122890
            * optabs.cc (emit_cmp_and_jump_insns): Check for SSA Name.

    gcc/testsuite/ChangeLog:

            PR middle-end/122890
            * g++.target/aarch64/pr122890.C: New test.

Reply via email to