linux-2.3.3 doesn't boot when compiled with egcs-2.93.22

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Mon May 24 10:49:00 GMT 1999


> But will Linus like that?

It is very easy to argue that the code in question is undefined in ISO
C, and that the "cast to word pointer" never was a gcc extension -
earlier gcc versions just weren't so smart to exploit aliasing in
optimizations.

Since Linus more or less accepted the existance of egcs (:-), he
should accept that egcs requires special options to properly support
unportable code.

If we have compiler-version dependent flags in kernel compilation,
perhaps this is also a chance to get rid of -fno-strength-reduce - is
this still needed?

Regards,
Martin


More information about the Gcc-bugs mailing list