From fa3df32d7c0e53b0c487bf2cc31479b8b49e60aa Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 9 Jun 2016 21:50:55 +0000 Subject: [PATCH] * df-problems.c (df_note_bb_compute): Guard use of DF_INSN_INFO_GET. From-SVN: r237279 --- gcc/ChangeLog | 4 ++++ gcc/df-problems.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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); -- 2.30.2