aboutsummaryrefslogtreecommitdiff
path: root/gcc/reorg.c
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2006-11-13 03:28:13 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2006-11-13 03:28:13 +0000
commit329b3cc384733e2f4df34f31b32600787398c798 (patch)
tree59971702035ebe1fb851b935b3c42eccd90dded2 /gcc/reorg.c
parent6d55dfe3a3317e05401df3a941e4ef2cdf7a86ed (diff)
downloadgcc-329b3cc384733e2f4df34f31b32600787398c798.zip
gcc-329b3cc384733e2f4df34f31b32600787398c798.tar.gz
gcc-329b3cc384733e2f4df34f31b32600787398c798.tar.bz2
genemit.c (gen_insn): Call gen_exp with a non-null used when handling multiple insns.
* 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. From-SVN: r118746
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 8c097dc..dc3ce40 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. */