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-Tag: upstream/12.2.0~46516 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa3df32d7c0e53b0c487bf2cc31479b8b49e60aa;p=platform%2Fupstream%2Fgcc.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 b27dd3f..d1fcd18 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 132c127..290281c 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);