This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Error compiling Linux kernel 2.1.66 with egcs-2.90.18
- To: Stefan Meixner (none) <stefan at emskopp dot a dot shuttle dot de>
- Subject: Re: Error compiling Linux kernel 2.1.66 with egcs-2.90.18
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 27 Nov 1997 00:47:02 -0800
- cc: egcs-bugs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199711270808.JAA16610@emskopp.a.shuttle.de>you write:
>
> Hi,
>
> egcs-2.90.18 971122 does not compile Linux kernel 2.1.66 for me.
> I get the following :
>
> gcc -D__KERNEL__ -I/users/stefan/kernel/linux/include -Wall -Wno-sign-compa
> re -Wstrict-prototypes -O2 -fno-exceptions -fomit-frame-pointer -pipe -m4
> 86 -DCPU=486 -c -o process.o process.c
This is a bug in an asm inside process.c. It is not a bug in egcs.
It worked with gcc-2.7 and older versions of egcs because they did not do a
good job at discovering loop invariants. Newer versions of egcs find more
loop invariants and as a result expose problems with the asm in process.c
jeff