From: Richard Stallman Date: Sun, 31 Oct 1993 03:04:16 +0000 (+0000) Subject: (convert_move): When extending to multi-word register X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a81fee56a95764ef7040351599e20506c879fa6a;p=gcc.git (convert_move): When extending to multi-word register via its low word, clobber the whole thing. From-SVN: r5953 --- diff --git a/gcc/expr.c b/gcc/expr.c index 0b1eb55f71c..7bf47682cd5 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -874,6 +874,8 @@ convert_move (to, from, unsignedp) && ((code = can_extend_p (to_mode, word_mode, unsignedp)) != CODE_FOR_nothing)) { + if (GET_CODE (to) == REG) + emit_insn (gen_rtx (CLOBBER, VOIDmode, to)); convert_move (gen_lowpart (word_mode, to), from, unsignedp); emit_unop_insn (code, to, gen_lowpart (word_mode, to), equiv_code);