From 9c1f1e5544aac5e42271397830b47787c5a408d7 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Fri, 28 Sep 2007 22:41:20 +0000 Subject: [PATCH] re PR target/33347 (gcc.c-torture/compile/20000804-1.c ICEs at -O3 -funroll-loops) 2007-09-28 Andrew Pinski PR target/33347 * config/spu/spu.c (spu_expand_insv): Call copy_rtx on the second argument to gen_selb. From-SVN: r128874 --- gcc/ChangeLog | 6 ++++++ gcc/config/spu/spu.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + 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 * 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)); } -- 2.30.2