aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-08-01 14:10:26 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-08-01 14:10:26 -0700
commit75735872fa99db486ceb2a0ac4f098b061dbe240 (patch)
tree4648e27de4b3febcdc5c2a1670efd8736dc85de0
parent5671655ef929c56174f48355ba0e74e117006264 (diff)
downloadgcc-75735872fa99db486ceb2a0ac4f098b061dbe240.zip
gcc-75735872fa99db486ceb2a0ac4f098b061dbe240.tar.gz
gcc-75735872fa99db486ceb2a0ac4f098b061dbe240.tar.bz2
dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG, with auto-inc codes.
* dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG, with auto-inc codes. From-SVN: r102640
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/dwarf2out.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bb1325e..afd4b12 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2005-08-01 Richard Henderson <rth@redhat.com>
+ * dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG,
+ with auto-inc codes.
+
* config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE.
2005-08-01 Jan Hubicka <jh@suse.cz>
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index be2f557..d27e5fd 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -8640,7 +8640,7 @@ mem_loc_descriptor (rtx rtl, enum machine_mode mode, bool can_use_fbreg)
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 ... */