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
This commit is contained in:
Richard Henderson 2004-10-27 20:53:31 -07:00 committed by Richard Henderson
parent 744e6f334d
commit 0da34ce409
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2004-10-27 Richard Henderson <rth@redhat.com>
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 <pinskia@physics.uc.edu>
PR other/18186

View File

@ -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)