[Bug middle-end/124353] High memory usage building nodejs-24.11.1

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 4 01:07:16 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124353

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
except.cc:357 (init_eh_for_function)                   817k:  0.1%     4504k: 
0.2%        0 :  0.0%        0 :  0.0%      133k

So there was 133k functions.


toplev.cc:766 (realloc_for_line_map)                   275M: 21.0%        0 : 
0.0%      181M: 11.6%      111M: 59.8%      205k



gimple-expr.cc:446 (create_tmp_var_raw)                  0 :  0.0%       21M: 
0.9%        0 :  0.0%        0 :  0.0%      146k

That is a lot of temporary decls. I wonder how many do we really need.


More information about the Gcc-bugs mailing list