Ten minutes to compile a simple c++ function

Mike Stump mrs@windriver.com
Thu Jun 15 16:40:00 GMT 2000


While repeating bugs may get them fixed faster, a way that might get
results faster would be to instead, compile up the compiler with
profiling information (or gcov) (see the manual), and post the results
(suitably trimmed) along with the testcase.  In fact, if you examine
the call graph in the debugger for the high use things, you should
even be able to find the code that is exponential.  Once pointed out
directly like this, people will often be able to `see' the problem,
and come up with a change that prevents the exponential stuff.

Just a thought.


More information about the Gcc-bugs mailing list