From: Vladimir Makarov Date: Tue, 23 Oct 2012 20:10:27 +0000 (+0000) Subject: lra-constraints.c (update_ebb_live_info): Process empty blocks. X-Git-Tag: releases/gcc-4.8.0~2594 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44b94bdb07afe93c07763c89e8b8ed025fbbd200;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66f303483125..89578c39be2c 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 ec48e9ea02cd..32ecfee7659f 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;