Re: Linux 2.0.3x & gcc 2.8

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 5 Feb 1998 14:44:28 +0000 (GMT)


> problem with the source code, as the optimizer is quite right in assuming
> that the variable we're modifying is a parameter on the stack and thus a
> change will not affect anything and thus it can be optimized away.
>
> I do hope that'll end up in 2.0.34, and it's already in 2.1.* anyways.

Its not. Until someone can explain why the original cast pointer as pointer
to volatile fix I tried didnt work I have to assume that gcc 2.8 has
broken volatile handling. I will never support a kernel built with a compiler
with any known volatile handling bug. Its _far_ too critical to the net code
that volatile and the __asm__ behaviour work as documented.

Alan