https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79030
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |memory-hog Status|UNCONFIRMED |NEW Last reconfirmed| |2017-01-09 Component|other |c++ Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Can you figure out which pass / function uses so much memory? Does using -O1 help? The testcase is positively big, on x86_64 (with -m32) it uses >2GB of memory even at -O[01], that is, without -g! -fsyntax-only tops at 1.7GB already with reduced GC params, otherwise goes close to 2GB (so I mostly blame the C++ FE here).