]> gcc.gnu.org Git - gcc.git/commitdiff
sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
authorMark Mitchell <mark@codesourcery.com>
Thu, 15 Mar 2001 20:48:48 +0000 (20:48 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 15 Mar 2001 20:48:48 +0000 (20:48 +0000)
* sdbout.c (sdbout_symbol): Use DECL_RTL_SET_P, SET_DECL_RTL.
(sdbout_parms): Likewise.

From-SVN: r40514

gcc/ChangeLog
gcc/sdbout.c

index 086126495b5d0e7d69da804247b675d1e6998f01..ad5fd8ba907da8d7f39f3377fc858ccc777093ae 100644 (file)
@@ -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
index 944651f3dddf9e8f641657d5c35cc78a7199babd..34181a5545561bd7c2910189e15990ecebf2e888 100644 (file)
@@ -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))
          {
This page took 0.08131 seconds and 5 git commands to generate.