https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117350
--- Comment #26 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andi Kleen <a...@gcc.gnu.org>: https://gcc.gnu.org/g:5e718a7a789b39ef877e0d66c7a6a85b54eb112f commit r15-5711-g5e718a7a789b39ef877e0d66c7a6a85b54eb112f Author: Andi Kleen <a...@gcc.gnu.org> Date: Thu Oct 31 10:26:16 2024 -0700 PR117350: Keep assembler name for abstract decls for autofdo autofdo looks up inline stacks and tries to match them with the profile data using their symbol name. Make sure all decls that can be in a inline stack have a valid assembler name. This fixes a bootstrap problem with autoprofiledbootstrap and LTO. 2024-10-30 Jason Merrill <ja...@redhat.com> Andrew Pinski <quic_apin...@quicinc.com> Andi Kleen <a...@gcc.gnu.org> gcc/ChangeLog: PR bootstrap/117350 * tree.cc (need_assembler_name_p): Keep assembler name for abstract declarations when autofdo is used.