table memory.
* rtl.h (allocate_reg_info): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23384
138bc75d-0d04-0410-961f-
82ee72b054a4
Wed Oct 28 00:10:35 1998 Jeffrey A Law (law@cygnus.com)
+ * toplev.c (compile_file): Call allocate_reg_info to free register
+ table memory.
+ * rtl.h (allocate_reg_info): Declare.
+
* PROJECTS: Remove entry for local spilling.
* final.c (cleanup_subreg_operands): New function.
extern int max_parallel;
+/* Free up register info memory. */
+extern void allocate_reg_info PROTO((size_t, int, int));
+
/* recog.c */
extern int asm_noperands PROTO((rtx));
extern char *decode_asm_operands PROTO((rtx, rtx *, rtx **, char **, enum machine_mode *));
ASM_FILE_END (asm_out_file);
#endif
+
/* Language-specific end of compilation actions. */
finish_syntax:
lang_finish ();
&& (ferror (asm_out_file) != 0 || fclose (asm_out_file) != 0))
fatal_io_error (asm_file_name);
+ /* Free up memory for the benefit of leak detectors. */
+ allocate_reg_info (-1, 0, 0);
+
/* Print the times. */
if (! quiet_flag)