Commit 576fe41a by Richard Henderson Committed by Richard Henderson

re PR target/55941 (Strange copy of double (in struct) to stack)

PR target/55941
        * lower-subreg.c (simple_move): Check dest mode instead of src mode.

From-SVN: r196071
parent 9b2f0394
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.
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment