From 44b94bdb07afe93c07763c89e8b8ed025fbbd200 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Tue, 23 Oct 2012 20:10:27 +0000 Subject: [PATCH] lra-constraints.c (update_ebb_live_info): Process empty blocks. 2012-10-23 Vladimir Makarov * lra-constraints.c (update_ebb_live_info): Process empty blocks. From-SVN: r192743 --- gcc/ChangeLog | 4 ++++ gcc/lra-constraints.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66f30348312..89578c39be2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-10-23 Vladimir Makarov + + * lra-constraints.c (update_ebb_live_info): Process empty blocks. + 2012-10-23 Richard Sandiford * expmed.c (store_split_bit_field): Update the calls to diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index ec48e9ea02c..32ecfee7659 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -4300,8 +4300,6 @@ update_ebb_live_info (rtx head, rtx tail) curr_insn = prev_insn) { prev_insn = PREV_INSN (curr_insn); - if (! INSN_P (curr_insn)) - continue; curr_bb = BLOCK_FOR_INSN (curr_insn); if (curr_bb != prev_bb) { @@ -4336,7 +4334,7 @@ update_ebb_live_info (rtx head, rtx tail) prev_bb = curr_bb; bitmap_and (&live_regs, &check_only_regs, df_get_live_out (curr_bb)); } - if (DEBUG_INSN_P (curr_insn)) + if (! NONDEBUG_INSN_P (curr_insn)) continue; curr_id = lra_get_insn_recog_data (curr_insn); remove_p = false; -- 2.30.2