From b47f8cfcfc9a9c198ce1450359965f37bed2e0c9 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 7 Jun 2001 13:23:34 +0200 Subject: Thu Jun 7 13:20:14 CEST 2001 Jan Hubicka * expr.c (copy_blkmode_from_reg): Fix operand_subword_force call. Thu Jun 7 12:12:58 CEST 2001 Jan Hubicka * toplev.c (rest_of_compilation): Call split_all_insns before reg-stack and shorten-branches. Do shorten-branches after reg-stack. * final.c (shorten_branches): Remove insn splitting code. From-SVN: r42956 --- gcc/expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/expr.c') diff --git a/gcc/expr.c b/gcc/expr.c index 7fb0654..aaaab7a 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -2200,7 +2200,8 @@ copy_blkmode_from_reg (tgtblk, srcreg, type) (the first time through). */ if (xbitpos % BITS_PER_WORD == 0 || xbitpos == big_endian_correction) - src = operand_subword_force (srcreg, xbitpos / BITS_PER_WORD, BLKmode); + src = operand_subword_force (srcreg, xbitpos / BITS_PER_WORD, + GET_MODE (srcreg)); /* We need a new destination operand each time bitpos is on a word boundary. */ -- cgit v1.1