From 9ddca353b96f567da5733851dfb028ccdffb9156 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 14 Jul 1997 06:51:35 -0400 Subject: [PATCH] (rest_of_compilation): Call regset_release_memory. From-SVN: r14427 --- gcc/toplev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/toplev.c b/gcc/toplev.c index 9ca2f756cc2..1129281a09f 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -151,6 +151,7 @@ extern void init_reg_sets (); extern void dump_flow_info (); extern void dump_sched_info (); extern void dump_local_alloc (); +extern void regset_release_memory (); void rest_of_decl_compilation (); void error_with_file_and_line PVPROTO((char *file, int line, char *s, ...)); @@ -3471,6 +3472,9 @@ rest_of_compilation (decl) final_end_function (insns, asm_out_file, optimize); assemble_end_function (decl, fnname); fflush (asm_out_file); + + /* Release all memory held by regsets now */ + regset_release_memory (); }); /* Write DBX symbols if requested */