This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enable -fomit-frame-pointer on i386
> On Sat, Feb 07, 2004 at 07:01:19PM -0500, Jeff Sturm wrote:
>
> > > * i386.c (override_options): Enable -fomit-frame-pointer and
> > > -fasynchronous-unwind-tables by default on i386.
> >
> > Hmm... am I correct in thinking that backtrace() from glibc will not work
> > with -fomit-frame-pointer? That may be a problem for libjava.
>
> Just FYI, it will also make oprofile's call-graph mode near useless when
> this is adopted by the distributions. I realise that nobody will care
> when compared to the speed improvements, but it's certainly
> inconvenient.
oprofile can be turned to use dwarf2 based unwinding too. That would be
necessary to get it working on x86-64 anyway.
Honza
>
> regards,
> john