Linux and EGCS

Jeffrey A Law law@cygnus.com
Mon Dec 15 22:21:00 GMT 1997


  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



More information about the Gcc mailing list