From: Jason Merrill Date: Tue, 29 Jul 1997 05:38:55 +0000 (+0000) Subject: x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f52dcfe1eff325c2d9569071d15dc00215b09f0;p=gcc.git x From-SVN: r14552 --- diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 0c516a1a597..9d277395d72 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -6550,7 +6550,7 @@ add_location_or_const_value_attribute (die, decl) rtl = eliminate_regs (rtl, 0, NULL_RTX, 0); #ifdef LEAF_REG_REMAP if (leaf_function) - leaf_renumber_regs_insn (DECL_RTL (decl)); + leaf_renumber_regs_insn (rtl); #endif switch (GET_CODE (rtl)) diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index d03234ff8b0..8f094512681 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -2398,7 +2398,7 @@ location_or_const_value_attribute (decl) rtl = eliminate_regs (rtl, 0, NULL_RTX, 0); #ifdef LEAF_REG_REMAP if (leaf_function) - leaf_renumber_regs_insn (DECL_RTL (decl)); + leaf_renumber_regs_insn (rtl); #endif switch (GET_CODE (rtl))