[Bug c++/124480] [16 regression] g++.dg/modules/pr99023_b.X FAILs
nshead at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 4 16:38:36 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124480
Nathaniel Shead <nshead at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nshead at gcc dot gnu.org
--- Comment #1 from Nathaniel Shead <nshead at gcc dot gnu.org> ---
I've not been able to reproduce the memory consumption issues on
x86_64-pc-linux-gnu (albeit a 64-bit compiler) configured with
--enable-gather-detailed-mem-stats. Result of '-fmem-report' notes a total
memory allocation of 76M for the process which is still well shy of 32-bit
address space usage. Notably this includes only two 2MB allocations (both for
the allocation of 'ord_loc_remap' in module_state::write_prepare_maps).
This testcase passes '--param ggc-min-expand=0'. Also passing '--param
ggc-min-heapsize=0' doesn't seem to change this much at all, while instead
removingthis flag drops total memory allocation to 69M.
I'll have see if I can try with a 32-bit compiler at some point and find if
there are differences there.
More information about the Gcc-bugs
mailing list