This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix ia64 rtl checking failure
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 1 Aug 2005 14:11:47 -0700
- Subject: fix ia64 rtl checking failure
Immediately above we have the autoinc codes FALLTHRU, with
commentary specifically saying that the subreg case handles
these as well. OF course, that's only true if we use the
generic access to the rtl, rather than the one specific to
SUBREG.
r~
* dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG,
with auto-inc codes.
Index: dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.609
diff -u -p -d -r1.609 dwarf2out.c
--- dwarf2out.c 1 Aug 2005 03:54:46 -0000 1.609
+++ dwarf2out.c 1 Aug 2005 21:09:05 -0000
@@ -8640,7 +8640,7 @@ mem_loc_descriptor (rtx rtl, enum machin
up an entire register. For now, just assume that it is
legitimate to make the Dwarf info refer to the whole register which
contains the given subreg. */
- rtl = SUBREG_REG (rtl);
+ rtl = XEXP (rtl, 0);
/* ... fall through ... */