[Bug jit/110063] Leaks from gcc driver accumulate when calling gcc_jit_context_compile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110063 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME
[Bug jit/110063] Leaks from gcc driver accumulate when calling gcc_jit_context_compile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110063 --- Comment #1 from Eliaz Pitavy --- Adding ctx.set_bool_option(GCC_JIT_BOOL_OPTION_SELFCHECK_GC, 1); reduces the memory leak to 733302 bytes leaked in 5589 allocations. Adding ctx.set_bool_use_external_driver(1); reduces the memory leak to 171