aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 6038046..69d1670e 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -1157,8 +1157,10 @@ build_decl_overload_real (dname, parms, ret_type, tparms, targs,
TREE_CHAIN (parms));
}
}
+ else if (tparms)
+ OB_PUTC ('H');
else
- OB_PUTC ((tparms != NULL_TREE) ? 'H' : 'F');
+ OB_PUTC ('F');
if (tparms)
{