diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2012-10-23 20:10:27 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2012-10-23 20:10:27 +0000 |
commit | 44b94bdb07afe93c07763c89e8b8ed025fbbd200 (patch) | |
tree | 95eda2dd99d756228e4cc3d3eaece226efea337b | |
parent | b8ab7fc8449c45ed105ef36e640ba43e6f6af6b4 (diff) | |
download | gcc-44b94bdb07afe93c07763c89e8b8ed025fbbd200.zip gcc-44b94bdb07afe93c07763c89e8b8ed025fbbd200.tar.gz gcc-44b94bdb07afe93c07763c89e8b8ed025fbbd200.tar.bz2 |
lra-constraints.c (update_ebb_live_info): Process empty blocks.
2012-10-23 Vladimir Makarov <vmakarov@redhat.com>
* lra-constraints.c (update_ebb_live_info): Process empty blocks.
From-SVN: r192743
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lra-constraints.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66f3034..89578c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-10-23 Vladimir Makarov <vmakarov@redhat.com> + + * lra-constraints.c (update_ebb_live_info): Process empty blocks. + 2012-10-23 Richard Sandiford <rdsandiford@googlemail.com> * expmed.c (store_split_bit_field): Update the calls to diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index ec48e9e..32ecfee 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; |