diff options
author | Dmitry Melnik <dm@ispras.ru> | 2011-08-11 11:49:16 +0000 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2011-08-11 15:49:16 +0400 |
commit | 5c416724e03238da11ea0d37e029ccd25824fa18 (patch) | |
tree | fea2697f3afbb1bdd9ad64aa8faabe318147d832 /gcc | |
parent | cf3d58240b5981dd3b61a4606b6017d3a9b7c025 (diff) | |
download | gcc-5c416724e03238da11ea0d37e029ccd25824fa18.zip gcc-5c416724e03238da11ea0d37e029ccd25824fa18.tar.gz gcc-5c416724e03238da11ea0d37e029ccd25824fa18.tar.bz2 |
sel-sched-ir.c (invalidate_av_set): Remove the assert.
2011-08-11 Dmitry Melnik <dm@ispras.ru>
* sel-sched-ir.c (invalidate_av_set): Remove the assert.
From-SVN: r177655
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/sel-sched-ir.c | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 69c655e..322e85e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-08-11 Dmitry Melnik <dm@ispras.ru> + + * sel-sched-ir.c (invalidate_av_set): Remove the assert. + 2011-08-11 Sergey Grechanik <mouseentity@ispras.ru> * sel-sched-ir.h (register_unavailable_p): Declare. diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c index 58aec11..4fa2837 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; } |