summaryrefslogtreecommitdiff
path: root/gcc/config/spu
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-28 22:41:20 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-28 22:41:20 +0000
commit71cd778d8497213dbe3c8517243542a9fd4feb38 (patch)
treeefa6853b906f4ab2caf95390a97e3788eb57e4ba /gcc/config/spu
parent5351f426c1397065418ae3b4956262a0258f005a (diff)
downloadgcc-71cd778d8497213dbe3c8517243542a9fd4feb38.tar.gz
2007-09-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR target/33347 * config/spu/spu.c (spu_expand_insv): Call copy_rtx on the second argument to gen_selb. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128874 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/spu')
-rw-r--r--gcc/config/spu/spu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index 2dd78a099ac..bf2e9e85417 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -637,7 +637,7 @@ spu_expand_insv (rtx ops[])
}
}
else
- emit_insn (gen_selb (dst, dst, shift_reg, mask));
+ emit_insn (gen_selb (dst, copy_rtx (dst), shift_reg, mask));
}