Re: [PATCH] Release function and edge summaries allocated with GGC.

2019-10-29 Thread Jan Hubicka
refox memory stats) Honza > Thanks, > Martin > From 8faffc371e5cc3610f18ff1e65f7f14af397233a Mon Sep 17 00:00:00 2001 > From: Martin Liska > Date: Tue, 29 Oct 2019 10:03:49 +0100 > Subject: [PATCH] Release function and edge summaries allocated with GGC. > > gcc/Cha

Re: [PATCH] Release function and edge summaries allocated with GGC.

2019-10-29 Thread Martin Liška
2001 From: Martin Liska Date: Tue, 29 Oct 2019 10:03:49 +0100 Subject: [PATCH] Release function and edge summaries allocated with GGC. gcc/ChangeLog: 2019-10-29 Martin Liska * ggc.h (ggc_alloc_no_dtor): New function. * ipa-fnsummary.c (ipa_free_fn_summary): Call destructor an

[PATCH] Release function and edge summaries allocated with GGC.

2019-10-29 Thread Martin Liška
Hi. The patch is about {symbol,edge}_summary simplification where ::release function is removed. Instead of it, one should use either delete operand (for heap summaries), or explicitly call destructor and ggc_free. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to b