Commit d0ccc658 by Richard Kenner Committed by Richard Kenner

optabs.c (expand_binop): In multi-word add cases, ensure XTARGET is copied to…

optabs.c (expand_binop): In multi-word add cases, ensure XTARGET is copied to TARGET if they are different.

	* optabs.c (expand_binop): In multi-word add cases, ensure
	XTARGET is copied to TARGET if they are different.

From-SVN: r65632
parent 29921faf
2003-04-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* optabs.c (expand_binop): In multi-word add cases, ensure
XTARGET is copied to TARGET if they are different.
2003-04-15 Olivier Hainque <hainque@act-europe.fr> 2003-04-15 Olivier Hainque <hainque@act-europe.fr>
* except.c (resolve_fixup_regions): Avoid dereferencing null pointer * except.c (resolve_fixup_regions): Avoid dereferencing null pointer
......
...@@ -1299,7 +1299,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods) ...@@ -1299,7 +1299,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
if (i == GET_MODE_BITSIZE (mode) / (unsigned) BITS_PER_WORD) if (i == GET_MODE_BITSIZE (mode) / (unsigned) BITS_PER_WORD)
{ {
if (mov_optab->handlers[(int) mode].insn_code != CODE_FOR_nothing) if (mov_optab->handlers[(int) mode].insn_code != CODE_FOR_nothing
|| ! rtx_equal_p (target, xtarget))
{ {
rtx temp = emit_move_insn (target, xtarget); rtx temp = emit_move_insn (target, xtarget);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment