Commit 0eb111c2 by Jim Wilson

(sdbout_one_type): Use DECL_ASSEMBLER_NAME if

DECL_LANG_SPECIFIC is set.

From-SVN: r7516
parent 3a83beef
......@@ -1147,8 +1147,14 @@ sdbout_one_type (type)
&& TREE_CODE (DECL_SIZE (tem)) == INTEGER_CST
&& TREE_CODE (DECL_FIELD_BITPOS (tem)) == INTEGER_CST)
{
char *name;
CONTIN;
PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_NAME (tem)));
if (DECL_LANG_SPECIFIC (tem))
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (tem));
else
name = IDENTIFIER_POINTER (DECL_NAME (tem));
PUT_SDB_DEF (name);
if (DECL_BIT_FIELD_TYPE (tem))
{
PUT_SDB_INT_VAL (TREE_INT_CST_LOW (DECL_FIELD_BITPOS (tem)));
......
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