http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48670
Summary: explosion in time and stack usage when using -ggdb Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: m...@use.net When compiling the attached preprocessed source with -O1 -ggdb, an explosion in memory usage occurs. If I remove the -ggdb, the problem doesn't happen. This seems to affect 32-bit targets more deeply: g++ -march=pentium4 -ggdb -O1 -c bts.i Oddly, the problem doesn't happen when running under valgrind. The problem does happen under gdb, though, so that's something.