From 75735872fa99db486ceb2a0ac4f098b061dbe240 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 1 Aug 2005 14:10:26 -0700 Subject: 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 --- gcc/ChangeLog | 3 +++ gcc/dwarf2out.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 + * 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 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 ... */ -- cgit v1.1