aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
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 /gcc/dwarf2out.c
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
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 ... */