Compile performance of Linux kernels in mainline gcc

Scott Robert Ladd coyote@coyotegulch.com
Sat Oct 30 14:25:00 GMT 2004


Giovanni Bajo wrote:
> While I do not necessarily agree, there have been some statements in the past
> about ignoring the compile time regression at -O2. The idea is that 4.0
> optimizes code much better (or: has many more optimizers) than 3.3, so we
> should not care that much if compilation time goes up a little. (of course,
> this does not affect 5000% regressions which are clearly bugs, etc.).

Why can commercial compilers produce faster code in less time? If their 
generated code is faster than GCC's, they are likely performing more 
optimizations, and therefore, by your logic, they should compile SLOWER 
than GCC.

But they don't.

-- 
Scott Robert Ladd
site: http://www.coyotegulch.com
blog: http://chaoticcoyote.blogspot.com



More information about the Gcc mailing list