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 Sun, 8 Feb 2004, Jan Hubicka wrote:
> > 2004-02-08 Jan Hubicka <jh@suse.cz>
> > * 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.
Yes, that will be one of problems. One can use dwarf2 unwinding using
and I think my system still has glibc I modified to do so while working
on x86-64 port. I guess I need to re-test the patch on different system
and figure out whether it will break libjava testsuite. That may be
quite unfortunate as we would need all to update glibc...
Honza
>
> Jeff