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
- From: Richard Henderson <rth at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Guenther <rguenther at suse dot de>, Jakub Jelinek <jakub at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>, jh at suse dot cz, Andi Kleen <andi at firstfloor dot org>, Andrew Haley <aph at redhat dot com>, David Daney <ddaney at caviumnetworks dot com>, Xinliang David Li <davidxl at google dot com>, Chris Lattner <clattner at apple dot com>
- Date: Thu, 12 Aug 2010 09:28:29 -0700
- Subject: Re: PATCH: Turn on -fomit-frame-pointer by default for 32bit Linux/x86
- References: <AANLkTinbviPWO-hDfgL=31x=st_LA2frCPPYXtscEAhX@mail.gmail.com>
On 08/12/2010 09:19 AM, H.J. Lu wrote:
>> * config.gcc: Handle --enable-frame-pointer.
>>
>> * configure.ac: Add --enable-frame-pointer.
>> * configure: Regenerated.
>>
>> * config/i386/i386.c (override_options): If not optimize for
>> size, use -fomit-frame-pointer and -fasynchronous-unwind-tables
>> by default for 32-bit code unless configured with
>> --enable-frame-pointer.
>>
>
> Here is the updated patch. Any comments?
This patch is ok by me.
r~