OSDN Git Service

* config/alpha/alpha.c (alpha_expand_block_move): GET_MODE of tmp,
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jan 2001 20:44:15 +0000 (20:44 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Jan 2001 20:44:15 +0000 (20:44 +0000)
not XEXP (tmp, 0).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38960 138bc75d-0d04-0410-961f-82ee72b054a4

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.  */