egcs and crazy optimizations

Steve Snyder (ssnyder@indy.net)
Wed, 02 Dec 1998 08:37:27 -0500 (EST)


>Does anyone know if the new egcs-1.1.1 fixes the old problem of compiling
>the kernel with crazy optimizations?

My experience with kernels v2.1.1xx and pgcc v1.1a (a derivative of egcs
v1.1a) is that "-O6 -fno-risc-const" works great on Intel P5/P6 kernels.

The "fno-risc-const" switch fixes an optimization problem which (I've read)
is caused by the small register set of the 80x86 CPUs.

YMMV.

*** Steve Snyder ***

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