summaryrefslogtreecommitdiff
path: root/gcc/regrename.c
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-17 21:24:38 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-17 21:24:38 +0000
commite61dd417714fb2e938e4268550fce9cd2a2a1491 (patch)
treeb96395f3966432fdd296eafebf0b820a76bae828 /gcc/regrename.c
parent3c28a3eb1de65dfec722f0064f1c9cdba9f65dbf (diff)
downloadgcc-e61dd417714fb2e938e4268550fce9cd2a2a1491.tar.gz
Ensure earlyclobbered operands go through a terminate_write stage.
* regrename.c (record_out_operands): Terminate earlyclobbered operands here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230500 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regrename.c')
-rw-r--r--gcc/regrename.c2
1 files changed, 2 insertions, 0 deletions
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