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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110063
Bug ID: 110063
Summary: Leaks in gcc driver accumulate when calling
gcc_jit_context_compile
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal