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

--- Comment #28 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It doesn't help that the mangling issue doesn't have implementation in form of
a mangling ABI patch, that would help to figure out e.g. whether it either H or
CV-qualifiers ref-qualifiers.

Anyway, I think for the mangler the likely change on the GCC side is
--- gcc/cp/mangle.cc.jj 2024-01-10 12:19:08.068675921 +0100
+++ gcc/cp/mangle.cc    2024-01-11 22:55:14.112489966 +0100
@@ -1247,6 +1247,8 @@ write_nested_name (const tree decl)
            write_char ('R');
        }
     }
+  else if (DECL_XOBJ_MEMBER_FUNCTION_P (decl))
+    write_char ('H');

   /* Is this a template instance?  */
   if (tree info = maybe_template_info (decl))
but one would need to add support for the libiberty demangler as well.

Reply via email to