From: Eric Botcazou Date: Thu, 9 Jun 2016 21:50:55 +0000 (+0000) Subject: * df-problems.c (df_note_bb_compute): Guard use of DF_INSN_INFO_GET. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa3df32d7c0e53b0c487bf2cc31479b8b49e60aa;p=gcc.git * df-problems.c (df_note_bb_compute): Guard use of DF_INSN_INFO_GET. From-SVN: r237279 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b27dd3f8df6..d1fcd18815d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-06-09 Eric Botcazou + + * df-problems.c (df_note_bb_compute): Guard use of DF_INSN_INFO_GET. + 2016-06-09 Vladimir Makarov Jiong Wang diff --git a/gcc/df-problems.c b/gcc/df-problems.c index 132c1276e89..290281ccd4f 100644 --- a/gcc/df-problems.c +++ b/gcc/df-problems.c @@ -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);