Message ID | 511D9459.4020406@twiddle.net |
---|---|
State | New |
Headers | show |
diff --git a/gcc/lower-subreg.c b/gcc/lower-subreg.c index 5bf6cc1..228d3a2 100644 --- a/gcc/lower-subreg.c +++ b/gcc/lower-subreg.c @@ -343,7 +343,7 @@ simple_move (rtx insn, bool speed_p) registers. That means that we can't decompose if this is a non-integer mode for which there is no integer mode of the same size. */ - mode = GET_MODE (SET_SRC (set)); + mode = GET_MODE (SET_DEST (set)); if (!SCALAR_INT_MODE_P (mode) && (mode_for_size (GET_MODE_SIZE (mode) * BITS_PER_UNIT, MODE_INT, 0) == BLKmode))