This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: find_basic-blocks memory leak fix
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: find_basic-blocks memory leak fix
- From: Richard Henderson <rth at redhat dot com>
- Date: Sun, 15 Jul 2001 14:15:45 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010715220633.C5914@atrey.karlin.mff.cuni.cz>
On Sun, Jul 15, 2001 at 10:06:33PM +0200, Jan Hubicka wrote:
> integrate causes us to memory leak the basic block structures; when the
> CFG is built before function is saved and then, at the end of compilation
> the function is again proceeded by find_basic_block that attempts to reuse
> the data structures already freed.
Um, how is this different from what is done in copy_insn_list?
Surely we don't do any optimization after save_for_inline?
r~