diff options
author | Jason Merrill <merrill@gnu.org> | 1997-07-28 18:30:18 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1997-07-28 18:30:18 +0000 |
commit | 6a7a9f0156a41296bf8bccd423c5ec8c5cd32e2b (patch) | |
tree | f0ea595e6b5c70b108104c4ae0c22f325f116b40 /gcc/dwarfout.c | |
parent | 429baef53a9d160e88ce202a09c8d735524893b4 (diff) | |
download | gcc-6a7a9f0156a41296bf8bccd423c5ec8c5cd32e2b.zip gcc-6a7a9f0156a41296bf8bccd423c5ec8c5cd32e2b.tar.gz gcc-6a7a9f0156a41296bf8bccd423c5ec8c5cd32e2b.tar.bz2 |
x
From-SVN: r14543
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 9ee63f6..d03234f 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -2141,7 +2141,7 @@ location_attribute (rtl) if (! is_pseudo_reg (rtl) && (GET_CODE (rtl) != MEM || ! is_pseudo_reg (XEXP (rtl, 0)))) - output_loc_descriptor (eliminate_regs (rtl, 0, NULL_RTX, 0)); + output_loc_descriptor (rtl); ASM_OUTPUT_LABEL (asm_out_file, end_label); } @@ -2395,6 +2395,12 @@ location_or_const_value_attribute (decl) if (rtl == NULL_RTX) return; + rtl = eliminate_regs (rtl, 0, NULL_RTX, 0); +#ifdef LEAF_REG_REMAP + if (leaf_function) + leaf_renumber_regs_insn (DECL_RTL (decl)); +#endif + switch (GET_CODE (rtl)) { case CONST_INT: |