From 99a2782c86a5ee88f7dab3814094f5d638009079 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Thu, 8 Nov 2001 23:23:29 +0000 Subject: [PATCH] pa.c (emit_move_sequence): Fix SUBREG expression to use proper byte offset when... * pa.c (emit_move_sequence): Fix SUBREG expression to use proper byte offset when extending a constant from SImode to DImode. From-SVN: r46864 --- gcc/ChangeLog | 6 ++++++ gcc/config/pa/pa.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6535209c971..69199a74e36 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 8ae8617fceb..f3d9070af6a 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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;