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> Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
* c-decl.c (duplicate_decls): Copy DECL_MODE too. * c-decl.c (duplicate_decls): Copy DECL_MODE too.
...@@ -32,8 +37,8 @@ Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com> ...@@ -32,8 +37,8 @@ Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com> Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
* config/pa/pa.md (height reduction patterns): Add checks for * config/pa/pa.md (height reduction patterns): Add checks for
overlapping operands to avoid semantic-destroying splits for overlapping operands to avoid semantic-destroying splits for
height reduction patterns. height reduction patterns.
Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br> Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
...@@ -67,13 +72,13 @@ Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk> ...@@ -67,13 +72,13 @@ Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com> Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
* Makefile.in (genattrtab): Don't use (HOST_RTLANAL). * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
* rtl.h (rtx_equal_p): Move prototype. * rtl.h (rtx_equal_p): Move prototype.
* rtl.c (rtx_equal_function_value_matters): Move from * rtl.c (rtx_equal_function_value_matters): Move from
rtlanal.c rtlanal.c
(rtx_equal_p): Likewise. (rtx_equal_p): Likewise.
* rtlanal.c (rtx_equal_function_value_matters): Delete. * rtlanal.c (rtx_equal_function_value_matters): Delete.
(rtx_equal_p): Likewise. (rtx_equal_p): Likewise.
Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com> Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
......
...@@ -3416,10 +3416,13 @@ decode_rtx_const (mode, x, value) ...@@ -3416,10 +3416,13 @@ decode_rtx_const (mode, x, value)
switch (GET_CODE (value->un.addr.base)) switch (GET_CODE (value->un.addr.base))
{ {
case SYMBOL_REF: case SYMBOL_REF:
case LABEL_REF:
/* Use the string's address, not the SYMBOL_REF's address, /* Use the string's address, not the SYMBOL_REF's address,
for the sake of addresses of library routines. for the sake of addresses of library routines. */
For a LABEL_REF, compare labels. */ 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); value->un.addr.base = XEXP (value->un.addr.base, 0);
default: 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