diff options
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1567,10 +1567,11 @@ emit_group_load (rtx dst, rtx orig_src, tree type ATTRIBUTE_UNUSED, int ssize) { rtx *tmps, src; int start, i; + enum machine_mode m = GET_MODE (orig_src); gcc_assert (GET_CODE (dst) == PARALLEL); - if (!SCALAR_INT_MODE_P (GET_MODE (orig_src))) + if (!SCALAR_INT_MODE_P (m) && m != BLKmode) { enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_src)); if (imode == BLKmode) @@ -1740,10 +1741,11 @@ emit_group_store (rtx orig_dst, rtx src, tree type ATTRIBUTE_UNUSED, int ssize) { rtx *tmps, dst; int start, i; + enum machine_mode m = GET_MODE (orig_dst); gcc_assert (GET_CODE (src) == PARALLEL); - if (!SCALAR_INT_MODE_P (GET_MODE (orig_dst))) + if (!SCALAR_INT_MODE_P (m) && m != BLKmode) { enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_dst)); if (imode == BLKmode) |