This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.0.1 miscompiles Linux 2.0.33
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: egcs 1.0.1 miscompiles Linux 2.0.33
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 09 Mar 1998 11:04:33 -0700
- cc: christof dot petig at wtal dot de, linux-kernel at vger dot rutgers dot edu, egcs at cygnus dot com, torvalds at transmeta dot com, paubert at iram dot es
- Reply-To: law at cygnus dot com
In message <199803091514.PAA20382@phal.cygnus.co.uk>you write:
> > Note that even with that fix, this asm is still has the potential to
> > cause problems, especially when compiling with -fno-strength-reduce.
>
> You most likely mean -fno-omit-frame-pointer here.
> (This is probably obvious to experienced gcc hackers,
> but others might get confused.)
No, I meant -fno-strength-reduce.
Because of the old strength-reduction problem, the Linux kernel is
set up to build with -fno-strength-reduce. Turning off strength
reduction tends to create the indexed addressing modes which are
causing the problems.
Jeff