Re: [PATCH] Properly release symtab::m_clones.

2021-01-11 Thread Martin Liška
On 1/11/21 5:55 PM, Jan Hubicka wrote: The patch is about not using delete for a memory that is allocated by GGC. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: PR jit/98615 * symtab-clones.h (clone_i

Re: [PATCH] Properly release symtab::m_clones.

2021-01-11 Thread Jan Hubicka
> The patch is about not using delete for a memory that > is allocated by GGC. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin > > gcc/ChangeLog: > > PR jit/98615 > * symtab-clones.h (clone_info::release): Rele

[PATCH] Properly release symtab::m_clones.

2021-01-11 Thread Martin Liška
The patch is about not using delete for a memory that is allocated by GGC. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: PR jit/98615 * symtab-clones.h (clone_info::release): Release symtab::m