Compiler uses a lot of memory for large initialized arrays

Nathan Sidwell nathan@codesourcery.com
Thu Dec 2 17:17:00 GMT 2004


Richard Guenther wrote:

> Or can't we seek in the asm output and overwrite previously written values?
> Might be slow, though.

Even if that were sensible, where will we remember the file offsets
of each and every element :)

nathan

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



More information about the Gcc mailing list