https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116208
Simon Martin <simartin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simartin at gcc dot gnu.org --- Comment #8 from Simon Martin <simartin at gcc dot gnu.org> --- Thanks sjames@ for tagging me in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105483. My hunch is that we end up printing the internal name because of the if (!DECL_LANG_SPECIFIC (t)) in error.cc's dump_function_name (in which case I think the bug can't really be fixed...), but I don't know how to be sure. How do you reproduce this? Are you configuring with --with-build-config=bootstrap-lto?