Re: [PATCH][RFC] PentiumPro/II split in x86 config

Mikael Pettersson (mikpe@csd.uu.se)
Tue, 28 May 2002 16:30:15 +0200


J.A. Magallon writes:
> Problem is that named initializers '.xx =' are ISO C99, so problably they
> are not supported in gcc till 3.0...the old way is working with older
> compilers.

"probably"? Why not check the facts. 2.95.3 implements ".name ="
initialisers, and 2.95.3 is also listed in 2.4.18's Documentation/Changes
as the oldest acceptable compiler.

I agree with Keith that we really should prefer standard C solutions
over gcc-specific hacks _when_they_exist_.

Also note that gcc is no longer the only compiler able to compile the
kernel. Intel claims that their icc6 compiler has correctly compiled 2.4.18
with only minor tweaks needed. They do implement inline asm() nowadays, but
alas not &&label and computed gotos.

/Mikael
-
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/