summaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index de5d3269266..b4a7f925287 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -1624,10 +1624,11 @@ sd_iterator_cond (sd_iterator_def *it_ptr, dep_t *dep_ptr)
sd_next_list (it_ptr->insn,
&it_ptr->types, &list, &it_ptr->resolved_p);
- it_ptr->linkp = &DEPS_LIST_FIRST (list);
-
if (list)
- continue;
+ {
+ it_ptr->linkp = &DEPS_LIST_FIRST (list);
+ continue;
+ }
}
*dep_ptr = NULL;