http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315
Bug ID: 58315 Summary: [4.8/4.9 Regression] Excessive memory use with -g Product: gcc Version: 4.8.1 Status: UNCONFIRMED Keywords: memory-hog Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Compiling the PPL testsuite, specifically MIP_Problem/mipproblem1.cc, with -O2 -g makes GCC use nearly 6GB of memory (followed by GAS needing 6.5GB of memory to assemble the result). Dropping -g results in instant gratification.