re PR bootstrap/55048 (libjava bootstrap failure on trunk after LRA merge)

2012-10-24  Vladimir Makarov  <vmakarov@redhat.com>

	PR bootstrap/55048
	* lra-constraints.c (update_ebb_live_info): Skip
	non-NOTE_INSN_BASIC_BLOCK notes.

From-SVN: r192770
This commit is contained in:
Vladimir Makarov 2012-10-24 15:35:12 +00:00 committed by Vladimir Makarov
parent 7780fd2a13
commit 911598e362
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2012-10-24 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/55048
* lra-constraints.c (update_ebb_live_info): Skip
non-NOTE_INSN_BASIC_BLOCK notes.
2012-10-24 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/55010

View File

@ -4300,6 +4300,10 @@ update_ebb_live_info (rtx head, rtx tail)
curr_insn = prev_insn)
{
prev_insn = PREV_INSN (curr_insn);
/* We need to process empty blocks too. They contain
NOTE_INSN_BASIC_BLOCK referring for the basic block. */
if (NOTE_P (curr_insn) && NOTE_KIND (curr_insn) != NOTE_INSN_BASIC_BLOCK)
continue;
curr_bb = BLOCK_FOR_INSN (curr_insn);
if (curr_bb != prev_bb)
{