summaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-13 03:28:13 +0000
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-13 03:28:13 +0000
commit778725bb221f705d653fb669367eeefd42445df6 (patch)
tree59971702035ebe1fb851b935b3c42eccd90dded2 /gcc/reorg.c
parent3bac43389144650f404ecf26f86f722641a82994 (diff)
downloadgcc-778725bb221f705d653fb669367eeefd42445df6.tar.gz
* genemit.c (gen_insn): Call gen_exp with a non-null used
when handling multiple insns. (gen_expand): Likewise. * reorg.c (emit_delay_sequence): Copy the delay slot insn. * config/sh/sh.md (ashrsi2_31+1): Copy operands[0]. (movsi_const_16bit+1): Copy operands[1]. (call_pcrel): Copy the call_site pattern. (call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r--gcc/reorg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 8c097dca412..dc3ce40bbf8 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -513,7 +513,7 @@ emit_delay_sequence (rtx insn, rtx list, int length)
for (li = list; li; li = XEXP (li, 1), i++)
{
- rtx tem = XEXP (li, 0);
+ rtx tem = copy_rtx (XEXP (li, 0));
rtx note, next;
/* Show that this copy of the insn isn't deleted. */