Re: GCC3.0 Produce REALLY slower code!

From: Matthias Andree (
Date: Mon Jun 25 2001 - 04:16:57 EST

On Mon, 25 Jun 2001, Alexander V. Bilichenko wrote:

> Hello All!
> Some tests that I have recently check out.
> kernel compiled with 3.0 (2.4.5) function call: 1000000 iteration. 3% slower
> than 2.95.
> test example - hash table add/remove - 4% slower (compiled both
> with -O2 -march=i686).
> Why have this version been released?

Because it comes with various other improvements, among them better
error detection, better C++ support, integrated GCJ (but regretfully
still without Ada 95), to name a few reasons.

3% to 4% loss in a first release of a new major release is not a big
deal, although I found similar results on leafnode's texpire.
However, 3% do not warrant me spending my time complaining. Maybe some
optimization is missing, maybe other operations than the ones you
checked are faster. So there.

You might run an entire benchmark suite and report back, tough. :-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:11 EST