aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 8ab79ef..6b2ea7e 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -3304,7 +3304,7 @@ get_decl_from_op (op, paddressp)
*paddressp = 0;
- if (GET_CODE (op) == REG)
+ if (GET_CODE (op) == REG && ORIGINAL_REGNO (op) >= FIRST_PSEUDO_REGISTER)
return REGNO_DECL (ORIGINAL_REGNO (op));
else if (GET_CODE (op) != MEM)
return 0;
@@ -3353,9 +3353,9 @@ output_asm_operand_names (operands, oporder, nops)
if (decl && DECL_NAME (decl))
{
- fprintf (asm_out_file, "%s %s%s",
- wrote ? "," : ASM_COMMENT_START, addressp ? "*" : "",
- IDENTIFIER_POINTER (DECL_NAME (decl)));
+ fprintf (asm_out_file, "%c%s %s%s",
+ wrote ? ',' : '\t', wrote ? "" : ASM_COMMENT_START,
+ addressp ? "*" : "", IDENTIFIER_POINTER (DECL_NAME (decl)));
wrote = 1;
}
}