diff options
author | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-07-28 18:30:18 +0000 |
---|---|---|
committer | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-07-28 18:30:18 +0000 |
commit | 34c82c404d2f0ec5a6b559a58c43f846d4ad8e6d (patch) | |
tree | f0ea595e6b5c70b108104c4ae0c22f325f116b40 /gcc/dwarfout.c | |
parent | 67fb6eaf192fe680e868866347c333a6077ca4cb (diff) | |
download | gcc-34c82c404d2f0ec5a6b559a58c43f846d4ad8e6d.tar.gz |
x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14543 138bc75d-0d04-0410-961f-82ee72b054a4
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 9ee63f6fb1b..d03234ff8b0 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: |