diff options
Diffstat (limited to 'gcc/tree-ssa-loop-ch.c')
-rw-r--r-- | gcc/tree-ssa-loop-ch.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop-ch.c b/gcc/tree-ssa-loop-ch.c index f815c3c938e..a03dabd1fd1 100644 --- a/gcc/tree-ssa-loop-ch.c +++ b/gcc/tree-ssa-loop-ch.c @@ -59,8 +59,7 @@ should_duplicate_loop_header_p (basic_block header, struct loop *loop, if (header->aux) return false; - if (!header->succ) - abort (); + gcc_assert (header->succ); if (!header->succ->succ_next) return false; if (header->succ->succ_next->succ_next) @@ -118,8 +117,7 @@ duplicate_blocks (varray_type bbs_to_duplicate) preheader_edge = VARRAY_GENERIC_PTR_NOGC (bbs_to_duplicate, i); header = preheader_edge->dest; - if (!header->aux) - abort (); + gcc_assert (header->aux); header->aux = NULL; new_header = duplicate_block (header, preheader_edge); |