New problems with gcc-2.8.0 based code - NOW FIXED!

Andi Kleen ak@muc.de
Tue Dec 30 09:47:00 GMT 1997


Manfred Hollstein <manfred@s-direktnet.de> writes:
> 
> To summarize:
> 
>    - Kernel 2.1.76 built by egcs-971225 _and_ `-funroll-all-loops'
>      works OK!
>    - Kernel 2.1.76 built by egcs-971207 and -971215 and
>      `-funroll-all-loops' DOESN'T work (for egcs-971207 we did
>      the gcc-2.8.0 MERGE)!
>    - Kernel 2.1.76 built by egcs-1.0 (and all previous snapshots!)
>      and `-funroll-all-loops' works OK!
>    - Kernel 2.1.76 built by gcc-2.8.0-971211, -971213 and -971225
>      and `-funroll-all-loops' DOESN'T work!

I remember a bugfix between egcs 1.0 and 1.0.1 so that it treats 
__asm__ statements without output operands always as volatile. The Linux
kernel depends on this behaviour. If gcc 2.8.0 doesn't have this bugfix
it could be the cause for your problems.

-Andi



More information about the Gcc mailing list