--- gcc/tree-profile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/tree-profile.cc b/gcc/tree-profile.cc index ce679130ca0..f329be84ad2 100644 --- a/gcc/tree-profile.cc +++ b/gcc/tree-profile.cc @@ -784,8 +784,8 @@ isolate_expression (conds_ctx &ctx, basic_block p, vec<basic_block>& out) infinitely. If this should happen, we should bail out and give up instrumentation for the function altogether. It is possible no such CFGs exist, so for now this is an assert. */ - if (bitmap_equal_p (prev, expr) || bitmap_count_bits (expr) < 2) - gcc_assert (false); + gcc_assert (!bitmap_equal_p (prev, expr)); + gcc_assert (bitmap_count_bits (expr) > 2); bitmap_copy (prev, expr); const unsigned NGlen = NG.length (); -- 2.30.2