https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54488
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- On x86_64-linux I still see >1GB used (watching top) on the 4.9 branch at -O1 and compilation takes about 8 minutes. Note that your compiler has checking enabled which at least makes the -ftime-report output unreliable. -O2 is not expected to deal very well with such large testcases (of course improving here is nice). LIM performs more expensive alias analysis at -O2 which may distort numbers here (to the worse, I don't expect that to improve things). I have now verified that on trunk and the 4.9 branch it is not LIM anymore that uses memory / compile-time. Thus this issue is fixed.