aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2007-09-28 22:41:20 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-09-28 15:41:20 -0700
commit9c1f1e5544aac5e42271397830b47787c5a408d7 (patch)
treeefa6853b906f4ab2caf95390a97e3788eb57e4ba
parent9c7e83c1da7a5290b9dd80010d2ee31cfd5cb17d (diff)
downloadgcc-9c1f1e5544aac5e42271397830b47787c5a408d7.zip
gcc-9c1f1e5544aac5e42271397830b47787c5a408d7.tar.gz
gcc-9c1f1e5544aac5e42271397830b47787c5a408d7.tar.bz2
re PR target/33347 (gcc.c-torture/compile/20000804-1.c ICEs at -O3 -funroll-loops)
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. From-SVN: r128874
-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 e6277b7..70ddb71 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 2dd78a0..bf2e9e8 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));
}