aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gmail.com>2010-03-20 10:45:37 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2010-03-20 10:45:37 -0700
commit941ce52b945395aa8d97a1e06fe3b2b909860d20 (patch)
tree2a708dd74773ad5d0559f146426e581ec7156990
parentb8849663cfee62a5458940d18bfd0511f6377dc9 (diff)
downloadgcc-941ce52b945395aa8d97a1e06fe3b2b909860d20.zip
gcc-941ce52b945395aa8d97a1e06fe3b2b909860d20.tar.gz
gcc-941ce52b945395aa8d97a1e06fe3b2b909860d20.tar.bz2
re PR target/43156 (SPU-elf ICEs on simple programs)
2010-03-20 Andrew Pinski <pinskia@gmail.com> PR target/43156 * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED at the begining or end. (spu_expand_epilogue): Likewise. From-SVN: r157596
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/spu/spu.c10
2 files changed, 7 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d753fb3..d098df7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2010-03-20 Andrew Pinski <pinskia@gmail.com>
+
+ PR target/43156
+ * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED
+ at the begining or end.
+ (spu_expand_epilogue): Likewise.
+
2010-03-20 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/43438
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index 3e04c17..f2c1be6 100644
--- a/gcc/config/spu/spu.c
+++ b/gcc/config/spu/spu.c
@@ -1957,10 +1957,6 @@ spu_expand_prologue (void)
rtx scratch_reg_0, scratch_reg_1;
rtx insn, real;
- /* A NOTE_INSN_DELETED is supposed to be at the start and end of
- the "toplevel" insn chain. */
- emit_note (NOTE_INSN_DELETED);
-
if (flag_pic && optimize == 0)
crtl->uses_pic_offset_table = 1;
@@ -2066,7 +2062,6 @@ spu_expand_prologue (void)
}
}
- emit_note (NOTE_INSN_DELETED);
}
void
@@ -2077,10 +2072,6 @@ spu_expand_epilogue (bool sibcall_p)
rtx sp_reg = gen_rtx_REG (Pmode, STACK_POINTER_REGNUM);
rtx jump, scratch_reg_0;
- /* A NOTE_INSN_DELETED is supposed to be at the start and end of
- the "toplevel" insn chain. */
- emit_note (NOTE_INSN_DELETED);
-
if (spu_naked_function_p (current_function_decl))
return;
@@ -2125,7 +2116,6 @@ spu_expand_epilogue (bool sibcall_p)
emit_barrier_after (jump);
}
- emit_note (NOTE_INSN_DELETED);
}
rtx