From: Richard Henderson Date: Mon, 1 Aug 2005 21:10:26 +0000 (-0700) Subject: dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG, with auto-inc codes. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75735872fa99db486ceb2a0ac4f098b061dbe240;p=platform%2Fupstream%2Fgcc.git 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 --- 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 ... */