This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: -fomit-frame-pointer is evil
- From: Carlo Wood <carlo at alinoe dot com>
- To: root <root at ibe dot miee dot ru>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Dec 2001 16:25:06 +0100
- Subject: Re: -fomit-frame-pointer is evil
- References: <200112281156.OAA06109@ibe.miee.ru>
On Fri, Dec 28, 2001 at 02:56:34PM +0300, root wrote:
> Hello there guys,
> seems like i`ve narrowed down the cause of gcc build failure
> the difference between CFLAGS="-Os -pipe -fomit-frame-pointer"
> and "-Os -pipe" seems to kill gcc build on unwind-dw2.c due
> to segfault on the second stage.
> this is all about gcc-3.0.3
>
> regards, Samium Gromoff
I once reported a problem a-like and narrowed that
down to the combination of -fdefer-pop -fomit-frame-pointer
Can you check if your problem also is caused by
that combination? Thus, use
CFLAGS="-pipe -fdefer-pop -fomit-frame-pointer"
It might still be the same problem - that never was fixed.
--
Carlo Wood <carlo@alinoe.com>