diff options
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index f0df3da0371..b642643f3ae 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -557,10 +557,7 @@ noce_emit_move_insn (x, y) inner = XEXP (outer, 0); outmode = GET_MODE (outer); inmode = GET_MODE (inner); - bitpos = SUBREG_WORD (outer) * BITS_PER_WORD; - if (BYTES_BIG_ENDIAN) - bitpos += (GET_MODE_BITSIZE (inmode) - GET_MODE_BITSIZE (outmode)) - % BITS_PER_WORD; + bitpos = SUBREG_BYTE (outer) * BITS_PER_UNIT; store_bit_field (inner, GET_MODE_BITSIZE (outmode), bitpos, outmode, y, GET_MODE_BITSIZE (inmode), GET_MODE_BITSIZE (inmode)); |