aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/mangle.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/mangle.cc b/gcc/cp/mangle.cc
index 7d8f443..a04bc58 100644
--- a/gcc/cp/mangle.cc
+++ b/gcc/cp/mangle.cc
@@ -1247,6 +1247,9 @@ write_nested_name (const tree decl)
write_char ('R');
}
}
+ else if (DECL_DECLARES_FUNCTION_P (decl)
+ && DECL_XOBJ_MEMBER_FUNCTION_P (decl))
+ write_char ('H');
/* Is this a template instance? */
if (tree info = maybe_template_info (decl))