PR target/55941
* lower-subreg.c (simple_move): Check dest mode instead of src mode.
From-SVN: r196071
+2013-02-14 Richard Henderson <rth@redhat.com>
+
+ PR target/55941
+ * lower-subreg.c (simple_move): Check dest mode instead of src mode.
+
2013-02-14 Steven Bosscher <steven@gcc.gnu.org>
* collect2-aix.h: Define F_LOADONLY.
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))