summaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-06-29 22:19:44 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1992-06-29 22:19:44 -0400
commit20912ad055cda5d3ac550685dc266b4e177a77b7 (patch)
tree39fe4fc417b6def53853dd251902c1c1d72f89fe /gcc/regclass.c
parentac88fc905530699fc3d38da015df0565d69eb0cd (diff)
downloadgcc-20912ad055cda5d3ac550685dc266b4e177a77b7.tar.gz
*** empty log message ***
From-SVN: r1353
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index fcc50c8676f..d11d249addf 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -616,6 +616,11 @@ regclass (f, nregs)
/* This makes one more setting of new insns's dest. */
reg_n_sets[REGNO (recog_operand[0])]++;
+ *recog_operand_loc[1] = recog_operand[0];
+ for (i = insn_n_dups[insn_code_number] - 1; i >= 0; i--)
+ if (recog_dup_num[i] == 1)
+ *recog_dup_loc[i] = recog_operand[0];
+
insn = PREV_INSN (newinsn);
continue;
}