aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2007-09-28 22:41:20 +0000
committerAndrew Pinski <andrew_pinski@playstation.sony.com>2007-09-28 22:41:20 +0000
commitc9f44d6244235bb9b0b5c63e0615c753b43ca17d (patch)
treeefa6853b906f4ab2caf95390a97e3788eb57e4ba /gcc
parent1693be9a431c096e35471714ce7baef576f0c5a6 (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@128874 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/spu/spu.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e6277b792b4..70ddb711051 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2007-09-28 Chao-ying Fu <fu@mips.com>
* libgcc-std.ver: Add fixed-point routines to GCC_4.3.0 section.
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));
}