summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-15 20:48:48 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-15 20:48:48 +0000
commit2f52aa25d35be3450d8ccf38d8490ae89b8a107a (patch)
treedf9471a0dd32e8a45f247dbd76f211e30e92b091
parent1de479ada5281fcfc511f1c3897bd229c54a9828 (diff)
downloadgcc-2f52aa25d35be3450d8ccf38d8490ae89b8a107a.tar.gz
* sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
(sdbout_parms): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40514 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sdbout.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 086126495b5..ad5fd8ba907 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-15 Mark Mitchell <mark@codesourcery.com>
+
+ * sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
+ (sdbout_parms): Likewise.
+
Thu Mar 15 12:57:14 2001 Jeffrey A Law (law@cygnus.com)
* reload1.c (reload_cse_simplify_set): For LOAD_EXTEND_OP, do not
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 944651f3ddd..34181a55455 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))
{