$ svn up -r157834 ~/src/gcc ... $ make -C ~/src/gcc install ... $ time g++ -std=c++0x -O2 -c test.cpp -g real 4m47.882s user 4m47.226s sys 0m0.577s $ time g++ -std=c++0x -O2 -c test.cpp real 0m28.247s user 0m27.935s sys 0m0.282s
For comparison: $ svn up -r157833 ~/src/gcc ... $ make -C ~/src/gcc install ... $ time g++ -std=c++0x -O2 -c test.cpp -g real 0m38.055s user 0m37.476s sys 0m0.475s $ time g++ -std=c++0x -O2 -c test.cpp real 0m28.149s user 0m27.861s sys 0m0.278s -- Summary: -g option became very slow after r157834 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: roman at binarylife dot net GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43632