From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6439 invoked by alias); 3 Aug 2010 17:48:47 -0000 Received: (qmail 6430 invoked by uid 22791); 3 Aug 2010 17:48:46 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Aug 2010 17:48:12 +0000 Received: (qmail 8868 invoked from network); 3 Aug 2010 17:48:10 -0000 Received: from unknown (HELO ?192.168.0.105?) (mitchell@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Aug 2010 17:48:10 -0000 Message-ID: <4C585658.70206@codesourcery.com> Date: Tue, 03 Aug 2010 17:48:00 -0000 From: Mark Mitchell User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "H.J. Lu" CC: Richard Guenther , Jakub Jelinek , GCC Patches Subject: Re: PATCH: Turn on -fomit-frame-pointer by default for 32bit Linux/x86 References: <4C5823A1.3040407@codesourcery.com> <4C584DFC.8070907@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00223.txt.bz2 H.J. Lu wrote: >> If I could, I'd go back in time and eliminate ABIs that use frame >> pointers. The use of unwind tables is, IMHO, a clearly superior > The stack layout at function entry is the same as x86-64 psABI. I understand > the old backtrace codes depend on the frame pointer, but it isn't mandated > by the psABI. Sure, but the psABI document is less relevant than existing practice. I don't think it's relevant to this discussion. Let's not talk about it. The important issue is that there is a lot of code out there that probably assumes a frame pointer, and it will stop working. We have to weigh that against the fact that the code that doesn't stop working will run faster. Thanks, -- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713