Code generation bug with -fomit-frame-pointer

Alex Waugh alex at
Tue Dec 16 14:34:45 PST 2003

In message <3FDF6B21.3010207 at>
          Nick Burrett <nick at> wrote:

> James Bursa wrote:
> > I think I have tracked down a code generation bug with the 
> > -fomit-frame-pointer option. This is with CVS HEAD gccsdk.
> -fomit-frame-pointer makes no sense on RISC OS hence I'm not surprised 
> that it doesn't work.  The compiler should supply a warning to such effect.

I'd prefer that either it was an error not a warning, or it was a
warning but had no effect on code generation. Otherwise a configure
script might try a test compile with that option, and if no error was
given then assume it was safe to use.


Alex Waugh                                           alex at

PHP, Roots, Subversion, WebJames and more from

More information about the gcc mailing list