From: Dmitry Melnik Date: Thu, 11 Aug 2011 11:49:16 +0000 (+0000) Subject: sel-sched-ir.c (invalidate_av_set): Remove the assert. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c416724e03238da11ea0d37e029ccd25824fa18;p=gcc.git 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 --- 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; }