diff options
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index e6fa4f68f8b..1d5500fe018 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -671,9 +671,9 @@ thread_single_edge (edge e) static basic_block dbds_ce_stop; static bool -dbds_continue_enumeration_p (basic_block bb, void *stop) +dbds_continue_enumeration_p (const_basic_block bb, const void *stop) { - return (bb != (basic_block) stop + return (bb != (const_basic_block) stop && bb != dbds_ce_stop); } |