re PR middle-end/46629 (Failed to build 200.sixtrack in SPEC CPU 2000)

PR middle-end/46629
	* cfgexpand.c (maybe_cleanup_end_of_block): Test NEXT_INSN (insn)
	instead of insn with any_condjump_p.

From-SVN: r167108
This commit is contained in:
Jakub Jelinek 2010-11-24 09:57:37 +01:00 committed by Jakub Jelinek
parent 19804c9217
commit 8a269cb779
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-11-24 Jakub Jelinek <jakub@redhat.com>
PR middle-end/46629
* cfgexpand.c (maybe_cleanup_end_of_block): Test NEXT_INSN (insn)
instead of insn with any_condjump_p.
2010-11-24 Mingjie Xing <mingjie.xing@gmail.com>
* config/mips/loongson.md: Change the description comment of the file

View File

@ -1695,7 +1695,7 @@ maybe_cleanup_end_of_block (edge e, rtx last)
insn = PREV_INSN (insn);
if (JUMP_P (NEXT_INSN (insn)))
{
if (!any_condjump_p (insn))
if (!any_condjump_p (NEXT_INSN (insn)))
{
gcc_assert (BARRIER_P (NEXT_INSN (NEXT_INSN (insn))));
delete_insn (NEXT_INSN (NEXT_INSN (insn)));