[Bug middle-end/122890] [16 regression] ICE in `tree_check` (from `expand_gimple_cond`)

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 28 07:46:29 GMT 2025


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 <tnfchris@gcc.gnu.org>:

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

commit r16-5683-g28bac52566bc4a42b1dcfb1dde0a12fe3b75ed36
Author: Tamar Christina <tamar.christina@arm.com>
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.


More information about the Gcc-bugs mailing list