This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Save GGC garbage produced by gimplifier


On Fri, 3 Sep 2004 10:07:38 +0200, Jan Hubicka <hubicka@ucw.cz> wrote:

> I added following code to clean the pointers after gimplification (patch
> attached).  It has bootstrapped/regtested i686-pc-gnu-linux the gcac
> bootstrap is pending.

I don't think we need any of the information in the C++ language_function
after gimplification; is there a reason not to clear cdtor_label and
named_labels, too?

> +   local_names = NULL;

local_names is a tree varray, and this looks like a memory leak.  Please
free it first.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]