[PATCH] Omit frame pointer and fix %ebp by default on x86 (take 3)
Andrew Haley
aph@redhat.com
Thu Aug 19 17:38:00 GMT 2004
Roger Sayle writes:
>
> On Tue, 17 Aug 2004, Andrew Haley wrote:
> > We're alrady forcing -fomit-frame-pointer whenever Java programs are
> > compiled. See http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01085.html.
>
> Of course, you mean -fno-omit-frame-pointer, and this currently only
> controls the building of libjava's C++ files. What's additionally
> required is for GCC to force the x86 backend to use frame pointers
> when compiling Java code.
It's not a problem.
libgcj.spec has this line:
*jc1: -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions
My question about when we should decide to break a user-visible
function in glibc still stands, though.
Andrew.
More information about the Gcc-patches
mailing list