From: Richard Kenner Date: Wed, 5 May 1993 18:37:24 +0000 (-0400) Subject: (convert_move): Make copy of operands for REG_EQUAL note to avoid sharing RTL if... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2abec1b739563b76ede2b39e9ecd5e2be2bd9b4f;p=gcc.git (convert_move): Make copy of operands for REG_EQUAL note to avoid sharing RTL if called later than RTL generation... (convert_move): Make copy of operands for REG_EQUAL note to avoid sharing RTL if called later than RTL generation, though probably not called after RTL generation. From-SVN: r4339 --- diff --git a/gcc/expr.c b/gcc/expr.c index 4b317cb446c..546555c5e7f 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -862,7 +862,7 @@ convert_move (to, from, unsignedp) end_sequence (); emit_no_conflict_block (insns, to, from, NULL_RTX, - gen_rtx (equiv_code, to_mode, from)); + gen_rtx (equiv_code, to_mode, copy_rtx (from))); return; }