* cse.c (cse_insn): Copy SRC_CONST before putting it in the
REG_EQUAL note.
From-SVN: r26958
+1999-05-17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
+
+ * cse.c (cse_insn): Copy SRC_CONST before putting it in the
+ REG_EQUAL note.
+
1999-05-17 Mike Stump <mrs@wrs.com>
* rs6000/vxppc.h (CPP_SPEC): Fix support for vararg functions.
{
tem = find_reg_note (insn, REG_EQUAL, NULL_RTX);
+ /* Make sure that the rtx is not shared with any other insn. */
+ src_const = copy_rtx (src_const);
+
/* Record the actual constant value in a REG_EQUAL note, making
a new one if one does not already exist. */
if (tem)