Commit ee3e2d3d by Jim Wilson

(sdbout_one_type): Use DECL_ASSEMBLER_NAME not

DECL_NAME for child_type that is a template type.

From-SVN: r7518
parent f97d29ce
......@@ -1110,7 +1110,12 @@ sdbout_one_type (type)
if (TREE_CODE (TYPE_NAME (child_type)) == IDENTIFIER_NODE)
child_type_name = TYPE_NAME (child_type);
else if (TREE_CODE (TYPE_NAME (child_type)) == TYPE_DECL)
child_type_name = DECL_NAME (TYPE_NAME (child_type));
{
child_type_name = DECL_NAME (TYPE_NAME (child_type));
if (child_type_name && template_name_p (child_type_name))
child_type_name
= DECL_ASSEMBLER_NAME (TYPE_NAME (child_type));
}
else
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment