diff options
author | Jan Hubicka <jh@suse.cz> | 2004-09-14 22:09:47 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2004-09-14 20:09:47 +0000 |
commit | ab3b6795050315a7dbedca349f1185050fb73765 (patch) | |
tree | 6397ee052aebd577d0f3e62905e7359b951f1ba2 /gcc/cfg.c | |
parent | 72826319ff3c180fd7c549a31b16167128c8945a (diff) | |
download | gcc-ab3b6795050315a7dbedca349f1185050fb73765.zip gcc-ab3b6795050315a7dbedca349f1185050fb73765.tar.gz gcc-ab3b6795050315a7dbedca349f1185050fb73765.tar.bz2 |
* cfg.c (expunge_block): Revert previous change adding ggc_free call.
From-SVN: r87506
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r-- | gcc/cfg.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -266,7 +266,11 @@ expunge_block (basic_block b) unlink_block (b); BASIC_BLOCK (b->index) = NULL; n_basic_blocks--; - ggc_free (b); + /* We should be able to ggc_free here, but we are not. + The dead SSA_NAMES are left pointing to dead statements that are pointing + to dead basic blocks making garbage collector to die. + We should be able to release all dead SSA_NAMES and at the same time we should + clear out BB pointer of dead statements consistently. */ } /* Create an edge connecting SRC and DEST with flags FLAGS. Return newly |