On Thu, 2020-09-24 at 08:30 +0200, Jan Hubicka wrote: > Hi, > This patch makes ggc_delete to be paired with ggc_alloc_no_dtor. > I copy same scheme as used by Martin in ipa-fnsummary, that is > creating a > static member function create_ggc hidding the ugly bits and using it > in > ipa-modref.c. > > I also noticed that modref-tree leaks memory on destruction/collapse > method and > fixed that. > > Bootstrapped/regtested x86_64-linux.
It looks like you committed this as c9da53d6987af5f8ff68b58dd76a9fbc900a6a21. This appears to fix the issues seen with the GC with jit (PR jit/97169). With the previous commit, jit.sum had: # of expected passes 5751 # of unexpected failures 64 # of unresolved testcases 1 with a number of SIGSEGV showing up in the FAIL reports, whereas with c9da53d6987af5f8ff68b58dd76a9fbc900a6a21, jit.sum is restored to: # of expected passes 10854 Thanks! Dave