diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-18 19:08:43 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-18 19:08:43 +0000 |
commit | 61ef20483a810bfb77b1e742557fc5624c4f39d2 (patch) | |
tree | c131e82c354b5847949148f9f50e4041bb686ae9 /gcc/sdbout.c | |
parent | 32a5ae5f43543f4d70da88f8b40679d5ef57163f (diff) | |
download | gcc-61ef20483a810bfb77b1e742557fc5624c4f39d2.tar.gz |
* sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47148 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r-- | gcc/sdbout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index ab0a0d89849..f8bd7447036 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -796,7 +796,7 @@ sdbout_symbol (decl, local) particular compilation. */ if (GET_CODE (value) == REG) { - regno = REGNO (DECL_RTL (decl)); + regno = REGNO (value); if (regno >= FIRST_PSEUDO_REGISTER) return; } @@ -809,8 +809,8 @@ sdbout_symbol (decl, local) if (REGNO (value) >= FIRST_PSEUDO_REGISTER) return; } - regno = REGNO (alter_subreg (&DECL_RTL (decl))); - value = DECL_RTL (decl); + regno = REGNO (alter_subreg (&value)); + SET_DECL_RTL (decl, value); } /* Don't output anything if an auto variable gets RTL that is static. |