mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 06:49:09 +02:00
middle-end/124552 - release hierarchical discriminator copyid allocator
The following releases it when the CFG is released. PR middle-end/124552 * function.cc (free_after_compilation): Free the copyid allocator.
This commit is contained in:
committed by
Richard Biener
parent
1a5d977667
commit
029f335b70
@@ -85,6 +85,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
#include "value-range.h"
|
||||
#include "gimple-range.h"
|
||||
#include "insn-attr.h"
|
||||
#include "hierarchical_discriminator.h"
|
||||
|
||||
/* So we can assign to cfun in this file. */
|
||||
#undef cfun
|
||||
@@ -217,6 +218,7 @@ free_after_compilation (struct function *f)
|
||||
f->cfg = NULL;
|
||||
f->curr_properties &= ~PROP_cfg;
|
||||
delete f->cond_uids;
|
||||
free_copyid_allocator (f);
|
||||
|
||||
regno_reg_rtx = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user