diff options
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 944651f..34181a5 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -771,10 +771,11 @@ sdbout_symbol (decl, local) /* If there was an error in the declaration, don't dump core if there is no RTL associated with the variable doesn't exist. */ - if (DECL_RTL (decl) == 0) + if (!DECL_RTL_SET_P (decl)) return; - DECL_RTL (decl) = eliminate_regs (DECL_RTL (decl), 0, NULL_RTX); + SET_DECL_RTL (decl, + eliminate_regs (DECL_RTL (decl), 0, NULL_RTX)); #ifdef LEAF_REG_REMAP if (current_function_uses_only_leaf_regs) leaf_renumber_regs_insn (DECL_RTL (decl)); @@ -1308,7 +1309,8 @@ sdbout_parms (parms) so that the debugging output will be accurate. */ DECL_INCOMING_RTL (parms) = eliminate_regs (DECL_INCOMING_RTL (parms), 0, NULL_RTX); - DECL_RTL (parms) = eliminate_regs (DECL_RTL (parms), 0, NULL_RTX); + SET_DECL_RTL (parms, + eliminate_regs (DECL_RTL (parms), 0, NULL_RTX)); if (PARM_PASSED_IN_MEMORY (parms)) { |