From: Bernd Schmidt Date: Tue, 17 Nov 2015 21:24:38 +0000 (+0000) Subject: Ensure earlyclobbered operands go through a terminate_write stage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e85883d4007a91e3f90a532c9de3e77a39aa1bf3;p=gcc.git Ensure earlyclobbered operands go through a terminate_write stage. * regrename.c (record_out_operands): Terminate earlyclobbered operands here. From-SVN: r230500 --- 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