Re: gcc-2.95 broken on PPC?

Jörn Engel
2003-04-10T21:31:11Z

On Thu, 10 April 2003 10:52:15 -0700, Dan Kegel wrote:
>
> Hi Wolfgang, when you say you see more problems with gcc-3.x
> compilers, what is x? I'd understand if you saw problems
> with gcc-3.0.*, but I had hoped that gcc-3.2.2 would compile
> good kernels for ppc.
> (Me, I'm still using Montavista Linux 2.0's gcc-2.95.3 to build my ppc
> kernels,
> but am looking for an excuse to switch to gcc-3.2.* or gcc-3.3.*.)

We've had a "problem" with 3.2. Some conditional new code looked like
this:

#define LONG_MACRO \
asm \
asm \
asm \
#ifdef FOO \
asm \
asm \
#else \
asm \
#endif \
asm \
asm

Interesting, isn't it? The fun part was that it was compiling cleanly
in 3.2, but not in 2.95.
Sadly, noone bothered to compile this with 2.95 for a long time.

Jörn

--
More computing sins are committed in the name of efficiency (without
necessarily achieving it) than for any other single reason - including
blind stupidity.
-- W. A. Wulf