From 69deb6e055c718a94929ffd3012b149c461bb9a0 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 18 Nov 2001 19:08:43 +0000 Subject: * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL. From-SVN: r47148 --- gcc/sdbout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/sdbout.c') diff --git a/gcc/sdbout.c b/gcc/sdbout.c index ab0a0d8..f8bd744 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. -- cgit v1.1