alpha.c (alpha_expand_block_move): GET_MODE of tmp, not XEXP (tmp, 0).
authorJakub Jelinek <jakub@redhat.com>
Fri, 12 Jan 2001 20:44:15 +0000 (21:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 12 Jan 2001 20:44:15 +0000 (21:44 +0100)
* config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
not XEXP (tmp, 0).

From-SVN: r38960

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 9afec5b..0e30e46 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
+       not XEXP (tmp, 0).
+
 2001-01-12  DJ Delorie  <dj@redhat.com>
 
        * Makefile.in (bootstrap): rename stages to be mnemonic.  Add
index a4fe888..822e34f 100644 (file)
@@ -2923,7 +2923,7 @@ alpha_expand_block_move (operands)
       /* No appropriate mode; fall back on memory.  */
       orig_src = change_address (orig_src, GET_MODE (orig_src),
                                 copy_addr_to_reg (XEXP (orig_src, 0)));
-      src_align = GET_MODE_BITSIZE (GET_MODE (XEXP (tmp, 0)));
+      src_align = GET_MODE_BITSIZE (GET_MODE (tmp));
     }
 
   ofs = 0;
@@ -3077,7 +3077,7 @@ alpha_expand_block_move (operands)
         up by recognizing extra alignment information.  */
       orig_dst = change_address (orig_dst, GET_MODE (orig_dst),
                                 copy_addr_to_reg (XEXP (orig_dst, 0)));
-      dst_align = GET_MODE_BITSIZE (GET_MODE (XEXP (tmp, 0)));
+      dst_align = GET_MODE_BITSIZE (GET_MODE (tmp));
     }
 
   /* Write out the data in whatever chunks reading the source allowed.  */