OSDN Git Service

* pa.c (emit_move_sequence): Fix SUBREG expression to
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2001 23:23:29 +0000 (23:23 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2001 23:23:29 +0000 (23:23 +0000)
        use proper byte offset when extending a constant from
        SImode to DImode.

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

gcc/ChangeLog
gcc/config/pa/pa.c

index 6535209..69199a7 100644 (file)
@@ -1,3 +1,9 @@
+Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * pa.c (emit_move_sequence): Fix SUBREG expression to
+       use proper byte offset when extending a constant from
+       SImode to DImode.
+
 2001-11-09  Jakub Jelinek  <jakub@redhat.com>
 
        * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
index 8ae8617..f3d9070 100644 (file)
@@ -1634,7 +1634,7 @@ emit_move_sequence (operands, mode, scratch_reg)
              emit_insn (gen_zero_extendsidi2 (operands[0],
                                               gen_rtx_SUBREG (SImode,
                                                               operands[0],
-                                                              0)));
+                                                              4)));
            }
 
          return 1;