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!


On Sun, 17 Jul 2005, Jan Hubicka wrote:

> Also note the difference in between O2 and O3 results.  O2 seems to
> increase memory usage in non-GGC only that might be register allocator
> or something, but O3 seems to just inline more.  I am having very little
> time to look into it today, so just wild guess, but can your patch affect
> inlining decisions?

If having identical bit-field types in place of different ones (and so 
e.g. not having conversions between them) affects the optimizers in any 
way (e.g. if a conversion between two types of the same width is 
considered to affect function size), it could affect inlining.  The 
changes shouldn't affect code generation, so finding the first place code 
generation changes between the before and after compilers might help.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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