This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux and EGCS



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]