[Bug c++/53650] [4.7/4.8 Regression] large array causes huge memory use

david at doublewise dot net gcc-bugzilla@gcc.gnu.org
Wed Jun 13 18:45:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53650

David Stone <david at doublewise dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at doublewise dot net

--- Comment #2 from David Stone <david at doublewise dot net> 2012-06-13 18:44:18 UTC ---
Turns out that contrary to my previous report, optimizations don't actually
solve the memory use problem, they just slow it down significantly. Several
hours into compilation, memory use was at ~2 GiB and still growing (very
slowly). It seems that maybe it uses just as much memory, it just takes much,
much longer to get there.



More information about the Gcc-bugs mailing list