This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Turn on -fomit-frame-pointer by default for 32bit Linux/x86
On Tue, Aug 3, 2010 at 8:13 AM, Daniel Jacobowitz <dan@codesourcery.com> wrote:
> On Tue, Aug 03, 2010 at 07:28:30AM -0700, H.J. Lu wrote:
>> Their codes won't work on ARM/MIPS nor on x86 with other
>> compilers. If this is a real problem, they can always turn it off.
>
> It is a real problem, there are many cases of it, and it only works if
> all the code in the system has frame pointers. ?Unpleasant, but that's
> the real world for you. ?This is something that matters to a lot of users.
>
Exactly. There is nothing there saying that all libraries on Linux/x86
must have frame pointers. On some systems, frame pointers are
omitted:
http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01128.html
There is nothing wrong with that.
--
H.J.