https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117782
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to kugan from comment #6) > (In reply to Andrew Pinski from comment #5) > > Specifically see > > https://inbox.sourceware.org/gcc-patches/20241031204043.3231740-1-ak@linux. > > intel.com/T/#u . > > > > You need to figure out why need_assembler_name_p is return false for this > > decl which happens way before decl_assembler_name happens. > > Thanks Andrew. Looks like the same. > > I don't see this patch being committed though. I still see: > > /* Abstract decls do not need an assembler name. */ > if (DECL_ABSTRACT_P (decl)) > return false; > > in need_assembler_name_p Oh you are right, I followed up on the patch asking about why it was never pushed but the bug report was closed as fixed: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/670121.html