summaryrefslogtreecommitdiff
path: root/gcc/target-globals.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/target-globals.c')
-rw-r--r--gcc/target-globals.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/target-globals.c b/gcc/target-globals.c
index 43f9f4a0bb1..52ac2c02dfc 100644
--- a/gcc/target-globals.c
+++ b/gcc/target-globals.c
@@ -125,6 +125,7 @@ target_globals::~target_globals ()
/* default_target_globals points to static data so shouldn't be freed. */
if (this != &default_target_globals)
{
+ hard_regs->finalize ();
XDELETE (flag_state);
XDELETE (regs);
XDELETE (recog);