From: Richard Henderson Date: Thu, 28 Oct 2004 03:53:31 +0000 (-0700) Subject: re PR middle-end/18163 (libffi test case ICE's on darwin) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0da34ce409cd62755c3546f40693ee596cffddb2;p=gcc.git re PR middle-end/18163 (libffi test case ICE's on darwin) PR middle-end/18163 * expr.c (emit_group_load): Don't go force temporary for memory or concat source. (emit_group_store): Similarly. From-SVN: r89735 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b4ccf2c2d9..59a37942130 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-10-27 Richard Henderson + + PR middle-end/18163 + * expr.c (emit_group_load): Don't go force temporary for memory + or concat source. + (emit_group_store): Similarly. + 2004-10-27 Andrew Pinski PR other/18186 diff --git a/gcc/expr.c b/gcc/expr.c index f5abce705a0..bc19bc1cc17 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -1571,7 +1571,8 @@ emit_group_load (rtx dst, rtx orig_src, tree type ATTRIBUTE_UNUSED, int ssize) gcc_assert (GET_CODE (dst) == PARALLEL); - if (!SCALAR_INT_MODE_P (m) && m != BLKmode) + if (!SCALAR_INT_MODE_P (m) + && !MEM_P (orig_src) && GET_CODE (orig_src) != CONCAT) { enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_src)); if (imode == BLKmode) @@ -1745,7 +1746,8 @@ emit_group_store (rtx orig_dst, rtx src, tree type ATTRIBUTE_UNUSED, int ssize) gcc_assert (GET_CODE (src) == PARALLEL); - if (!SCALAR_INT_MODE_P (m) && m != BLKmode) + if (!SCALAR_INT_MODE_P (m) + && !MEM_P (orig_dst) && GET_CODE (orig_dst) != CONCAT) { enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_dst)); if (imode == BLKmode)