This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A recent patch increased GCC's memory consumption!


Hi Honza,

Hmm,
looks like it is the vector change.  I wonder if we can't cut them down
to VARRAY memory usage and/or avoid aliasing datastructures at -O0
completely?

Of the three new VECs mentioned in the ChangeLog diff, reg_base_value tries to keep allocated memory for the next function to be compiled. See alias.c:2428.


The cgraph one shouldn't matter as it is allocated on heap and explicitly freed.

When you take stats, are you doing so after running GC?

Kazu Hirata


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]