diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-07 21:01:46 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-07 21:01:46 +0000 |
commit | a075603c78f6520dcd415bf785bc952da5e25cb0 (patch) | |
tree | ed6cecc568776bc8f00902152f345d61a361cfa0 /gcc/expmed.c | |
parent | 825a7fb9aa8ce23af99bd42fed146b99c65f9d61 (diff) | |
download | gcc-a075603c78f6520dcd415bf785bc952da5e25cb0.tar.gz |
2010-03-07 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 157264
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@157266 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index ab42fd0a673..aa2409942d9 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -698,7 +698,7 @@ store_bit_field_1 (rtx str_rtx, unsigned HOST_WIDE_INT bitsize, and we will need the original value of op0 if insv fails. */ xop0 = gen_rtx_SUBREG (op_mode, SUBREG_REG (xop0), SUBREG_BYTE (xop0)); if (REG_P (xop0) && GET_MODE (xop0) != op_mode) - xop0 = gen_rtx_SUBREG (op_mode, xop0, 0); + xop0 = gen_lowpart_SUBREG (op_mode, xop0); /* If the destination is a paradoxical subreg such that we need a truncate to the inner mode, perform the insertion on a temporary and @@ -1542,7 +1542,7 @@ extract_bit_field_1 (rtx str_rtx, unsigned HOST_WIDE_INT bitsize, /* If op0 is a register, we need it in EXT_MODE to make it acceptable to the format of ext(z)v. */ if (REG_P (xop0) && GET_MODE (xop0) != ext_mode) - xop0 = gen_rtx_SUBREG (ext_mode, xop0, 0); + xop0 = gen_lowpart_SUBREG (ext_mode, xop0); if (MEM_P (xop0)) /* Get ref to first byte containing part of the field. */ xop0 = adjust_address (xop0, byte_mode, xoffset); |