This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A patch for linux 2.1.127


On Mon, 9 Nov 1998, Peter T. Breuer wrote:

> ...  All
> studies show that hand-optimizing code is a waste of effort 99.99% of
> the time, not least because it's unmaintainable.

Smells a bit like an excuse for lazyness. For sure you have cases where
the programmer 'knows it better' than the compiler and for sure such
cases happen during kernel programming. If you can't tell the compiler
that you are the boss, you get lost.

And a final point: If you know the kernel was written/tested/proven with
-O2 and the Makefiles explicitely set -O2, then using -O6 and complaining
its not running is just ignoring the fact that the 'author' knows it 
better.

Hans
<lermen@fgan.de>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]