diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-01-02 22:42:31 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-01-02 14:42:31 -0800 |
commit | 36579663a4c7dde7e8fe9ba08881f52bddc98774 (patch) | |
tree | 1c920bceeac5ffd62788c5e2ffe2669129d020bc /gcc/cfgloop.c | |
parent | e4796f1c880f4308700c8b019e5b4494a593ce70 (diff) | |
download | gcc-36579663a4c7dde7e8fe9ba08881f52bddc98774.zip gcc-36579663a4c7dde7e8fe9ba08881f52bddc98774.tar.gz gcc-36579663a4c7dde7e8fe9ba08881f52bddc98774.tar.bz2 |
c-typeck.c (finish_init): Free spelling_base before setting it again.
2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
* c-typeck.c (finish_init): Free spelling_base before
setting it again.
* cfgloop.c (flow_loops_find): Always free the sbitmap
headers.
* predict.c (estimate_probability): Free bbs after being
done with it.
From-SVN: r75337
Diffstat (limited to 'gcc/cfgloop.c')
-rw-r--r-- | gcc/cfgloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c index 43c52f2..37cf8f4 100644 --- a/gcc/cfgloop.c +++ b/gcc/cfgloop.c @@ -883,8 +883,6 @@ flow_loops_find (struct loops *loops, int flags) loop->num_nodes = flow_loop_nodes_find (loop->header, loop); } - sbitmap_free (headers); - /* Assign the loop nesting depth and enclosed loop level for each loop. */ loops->levels = flow_loops_level_compute (loops); @@ -900,6 +898,8 @@ flow_loops_find (struct loops *loops, int flags) free_dominance_info (CDI_DOMINATORS); } + sbitmap_free (headers); + loops->state = 0; #ifdef ENABLE_CHECKING verify_flow_info (); |