Re: Kernel GCC Optimizations

folkert@vanheusden.com
Sat, 21 Dec 2002 23:10:56 +0100 (CET)


> > Is there any risk using -O3 instead of -O2 to compile the kernel, and why?
> * It might uncover subtle bugs that would otherwise not occur.

I wonder: for the sake of performance and good use of the precious clock-
cycles, shouldn't there be made a start of fixing those bugs? Assuming
that the bugs you're talking about are not compiler-bugs, they *are* bugs
in the code that should be fixed, shouldn't they?

> * Compiling with unusual options means that less people will know about
> any problems it causes you.

So, let's make it -O6 per default for 2.7.x/3.1.x?

Folkert
www.vanheusden.com/Linux

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/