From 5c416724e03238da11ea0d37e029ccd25824fa18 Mon Sep 17 00:00:00 2001 From: Dmitry Melnik Date: Thu, 11 Aug 2011 11:49:16 +0000 Subject: [PATCH] sel-sched-ir.c (invalidate_av_set): Remove the assert. 2011-08-11 Dmitry Melnik * sel-sched-ir.c (invalidate_av_set): Remove the assert. From-SVN: r177655 --- gcc/ChangeLog | 4 ++++ gcc/sel-sched-ir.c | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69c655ee6d9..322e85e6bc7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-08-11 Dmitry Melnik + + * sel-sched-ir.c (invalidate_av_set): Remove the assert. + 2011-08-11 Sergey Grechanik * sel-sched-ir.h (register_unavailable_p): Declare. diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c index 58aec1190f6..4fa283732cb 100644 --- a/gcc/sel-sched-ir.c +++ b/gcc/sel-sched-ir.c @@ -4284,14 +4284,13 @@ free_lv_sets (void) free_lv_set (bb); } -/* Initialize an invalid AV_SET for BB. - This set will be updated next time compute_av () process BB. */ +/* Mark AV_SET for BB as invalid, so this set will be updated the next time + compute_av() processes BB. This function is called when creating new basic + blocks, as well as for blocks (either new or existing) where new jumps are + created when the control flow is being updated. */ static void invalidate_av_set (basic_block bb) { - gcc_assert (BB_AV_LEVEL (bb) <= 0 - && BB_AV_SET (bb) == NULL); - BB_AV_LEVEL (bb) = -1; } -- 2.30.2