HUGE compilation time / memory requirement in compilation of single file

Jeff Sturm jsturm@one-point.com
Sat Sep 27 16:59:00 GMT 2003


On Sat, 27 Sep 2003, Janne Karhunen wrote:
> In both of these cases output seems valid, and program runs as
> it's supposed to. Tested gcc/g++ versions are 3.3 and 3.3.1. Both
> of these files compile just as you would expect them to, on any
> other compiler tried (icc, MSVC++, Forte). So the question is,
> can these be regarded as 'normal' behaviour, or should i start to
> build up a testcase out of them?

Obviously not "normal".  I wouldn't expect it and neither did you.

If you have a chance to try it on a development snapshot of 3.4, that
would be interesting and useful, since there has been considerable work
done on inlining.  Also, get a time report for the compilation (with -Q).

Jeff



More information about the Gcc mailing list