[Bug ipa/122456] [16 regression] LTO+profiledbootstrap failure on aarch64 since r16-4604-g8b9cd6490ce507

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 16 07:31:04 GMT 2025


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

--- Comment #32 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:3dfd545671f0b3ffb2bd5166637381665fea7ebb

commit r16-6154-g3dfd545671f0b3ffb2bd5166637381665fea7ebb
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Dec 8 10:25:21 2025 +0100

    ipa/122456 - fix ICE during LTO profiledbootstrap

    When we have a speculated edge but we folded the call to
    __builtin_unreachable () then trying to update the cgraph ICEs
    in resolve_speculation because there's no symtab node for
    __builtin_unreachable (). Reject this resolving attempt similar
    as to when the callees decl were NULL or it were not semantically
    equivalent.

    I only have a LTRANS unit as testcase.

            PR ipa/122456
            * cgraph.cc (cgraph_edge::resolve_speculation): Handle
            a NULL symtab_node::get (callee_decl).


More information about the Gcc-bugs mailing list