* df-problems.c (df_note_bb_compute): Guard use of DF_INSN_INFO_GET.

From-SVN: r237279
This commit is contained in:
Eric Botcazou 2016-06-09 21:50:55 +00:00 committed by Eric Botcazou
parent 5f225ef44a
commit fa3df32d7c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2016-06-09 Eric Botcazou <ebotcazou@adacore.com>
* df-problems.c (df_note_bb_compute): Guard use of DF_INSN_INFO_GET.
2016-06-09 Vladimir Makarov <vmakarov@redhat.com>
Jiong Wang <jiong.wang@arm.com>

View File

@ -3498,13 +3498,13 @@ df_note_bb_compute (unsigned int bb_index,
FOR_BB_INSNS_REVERSE (bb, insn)
{
if (!INSN_P (insn))
continue;
df_insn_info *insn_info = DF_INSN_INFO_GET (insn);
df_mw_hardreg *mw;
int debug_insn;
if (!INSN_P (insn))
continue;
debug_insn = DEBUG_INSN_P (insn);
bitmap_clear (do_not_gen);