summaryrefslogtreecommitdiff
path: root/gcc/df-problems.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-09 21:50:55 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-06-09 21:50:55 +0000
commit4ca34a875a71400cc8e9768a35aaab3b5e9c1b91 (patch)
tree4e259ba821fccf3c3f04ad64e596baa7b173aaa3 /gcc/df-problems.c
parentb02d1ebcab1d6c18006e334d22c230466cf4d809 (diff)
downloadgcc-4ca34a875a71400cc8e9768a35aaab3b5e9c1b91.tar.gz
* df-problems.c (df_note_bb_compute): Guard use of DF_INSN_INFO_GET.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-problems.c')
-rw-r--r--gcc/df-problems.c6
1 files changed, 3 insertions, 3 deletions
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);