diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cdd7036a7fb..4037505e454 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2015-11-17 Bernd Schmidt + * regrename.c (record_out_operands): Terminate earlyclobbered + operands here. + PR target/66785 * regrename.c (record_operand_use): Keep track of failed operands and stop appending if we see any. diff --git a/gcc/regrename.c b/gcc/regrename.c index e126fcc7403..4d6eb372ddd 100644 --- a/gcc/regrename.c +++ b/gcc/regrename.c @@ -1558,6 +1558,8 @@ record_out_operands (rtx_insn *insn, bool earlyclobber, insn_rr_info *insn_info) cur_operand = insn_info->op_info + i; prev_open = open_chains; + if (earlyclobber) + scan_rtx (insn, loc, cl, terminate_write, OP_OUT); scan_rtx (insn, loc, cl, mark_write, OP_OUT); /* ??? Many targets have output constraints on the SET_DEST