Some aspect of GCC memory consumption increased by recent patch

Jan Hubicka jh@suse.cz
Wed Sep 29 13:55:00 GMT 2004


> Nathan Sidwell wrote:
> 
> > I've attached a patch which implements 16bit length and alloc
> >fields.  If I've understood the above numbers correctly, that should
> >remove 4*8073775 bytes (for the 2 case).  The patch sets the default length
> >to two.
> >
> >can you let me know how it works out?
> 
> it works out badly with some memory corruption.  Am investigating.

Actually it segfaulted for me but make clean ; make solved the problem.
It reduces usage to 199754076 bytes, 8034384 calls.

Honza
> 
> nathan
> 
> -- 
> Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
> nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk
> 
> 



More information about the Gcc-regression mailing list