https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70599
ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |compile-time-hog, | |memory-hog Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-08 CC| |ktkachov at gcc dot gnu.org Component|c++ |debug Ever confirmed|0 |1 --- Comment #2 from ktkachov at gcc dot gnu.org --- Confirmed that adding -g does indeed use up much more memory and gets killed by my machine too, whereas without -g it succeeds, producing an assembly file with 313851 lines. Generating debug info is known to increase memory usage, but I don't know if such an increase is expected for a file of type.