Commit 241a1bcc by Franz Sirl Committed by Richard Henderson

varasm.c (decode_rtx_const): Use XSTR to access the string of a SYMBOL_REF.

         * varasm.c (decode_rtx_const): Use XSTR to access the string
         of a SYMBOL_REF.

From-SVN: r30378
parent efd67b42
Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* varasm.c (decode_rtx_const): Use XSTR to access the string
of a SYMBOL_REF.
Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
* c-decl.c (duplicate_decls): Copy DECL_MODE too.
......
......@@ -3416,10 +3416,13 @@ decode_rtx_const (mode, x, value)
switch (GET_CODE (value->un.addr.base))
{
case SYMBOL_REF:
case LABEL_REF:
/* Use the string's address, not the SYMBOL_REF's address,
for the sake of addresses of library routines.
For a LABEL_REF, compare labels. */
for the sake of addresses of library routines. */
value->un.addr.base = XSTR (value->un.addr.base, 0);
break;
case LABEL_REF:
/* For a LABEL_REF, compare labels. */
value->un.addr.base = XEXP (value->un.addr.base, 0);
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment