A recent patch increased GCC's memory consumption in some cases!

Andrew Pinski pinskia@gmail.com
Sun Apr 22 22:39:00 GMT 2007


On 4/22/07, Jan Hubicka <jh@suse.cz> wrote:
> Hi,
> actually I can't make much sense of this memory usage increase. Looks
> like tree node sizes increased
> optabs.c:5369 (init_one_libfunc)                     118944:26.0% 0: 0.0%          0: 0.0%          0: 0.0%        531
> optabs.c:5369 (init_one_libfunc)                     152928:31.1% 0: 0.0%          0: 0.0%      16992: 3.2%        531
> 531 libfuncs are now taking 152Kb instead of 118 comparing

I think it was just by accident that the libfuncs would fit in
phi_node+3 operand slot.  Also I think extra_order_size_table needs to
be relooked at after my phi_node and the gimple_stmt patches as I
think we now put have some duplicates and the sizes have slightly
changed.

Thanks,
Andrew Pinski



More information about the Gcc-regression mailing list