This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix 18163, finally


Nth version.  I had also noticed that complex float test cases were
failing on Alpha, and the last version of the patch that I posted 
didn't fix it.  This does.  It should also fix the ia64 problem that
Andreas reported, but that I could not reproduce.


r~


        * expr.c (emit_group_load): Don't go force temporary for memory
        or concat source.
        (emit_group_store): Similarly.

Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.736
diff -c -p -d -r1.736 expr.c
*** expr.c	26 Oct 2004 23:17:57 -0000	1.736
--- expr.c	28 Oct 2004 03:50:04 -0000
*************** emit_group_load (rtx dst, rtx orig_src, 
*** 1571,1577 ****
  
    gcc_assert (GET_CODE (dst) == PARALLEL);
  
!   if (!SCALAR_INT_MODE_P (m) && m != BLKmode)
      {
        enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_src));
        if (imode == BLKmode)
--- 1571,1578 ----
  
    gcc_assert (GET_CODE (dst) == PARALLEL);
  
!   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)
*************** emit_group_store (rtx orig_dst, rtx src,
*** 1745,1751 ****
  
    gcc_assert (GET_CODE (src) == PARALLEL);
  
!   if (!SCALAR_INT_MODE_P (m) && m != BLKmode)
      {
        enum machine_mode imode = int_mode_for_mode (GET_MODE (orig_dst));
        if (imode == BLKmode)
--- 1746,1753 ----
  
    gcc_assert (GET_CODE (src) == PARALLEL);
  
!   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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]