This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ...  */
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]