* sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
From-SVN: r47148
This commit is contained in:
parent
aa99bd0979
commit
69deb6e055
@ -1,3 +1,7 @@
|
||||
Sun Nov 18 14:13:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
|
||||
|
||||
2001-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* c-decl.c (c_decode_option): Give deprecation warning for
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user