This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux and EGCS
- To: Peter Schmid <schmid at ltoi dot iap dot physik dot tu-darmstadt dot de>
- Subject: Re: Linux and EGCS
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 15 Dec 1997 23:24:41 -0700
- Cc: egcs at cygnus dot com
- Reply-To: egcs at cygnus dot com
In message <Pine.A32.3.95.971216022651.18974A-100000@ltoi.iap.physik.tu-darms
tadt.de>you write:
> I applied the patch stmt.c (expand_asm_operands).
> I thought it would fix the problems compiling linux-2.1.72.
> The compilation crashes on process.c in the arch/i386/kernel
> directory. The compiler stops in the function flush_thread(void).
> The strange thing is the success of the compilation depends on the
> optimization level. Without optimization the compiler crashes, with -O
> it works, with -O2 it does not work and with -O2 -fno-strenght-reduce it
> works.
It's not meant to fix the crash -- it's meant to fix a code generation
error.
The crash is because the asm is bogus. We've been over this before.
jeff