From patchwork Sun Aug 15 18:59:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 61755 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 44A1EB70AE for ; Mon, 16 Aug 2010 05:00:02 +1000 (EST) Received: (qmail 21959 invoked by alias); 15 Aug 2010 19:00:00 -0000 Received: (qmail 21951 invoked by uid 22791); 15 Aug 2010 19:00:00 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qy0-f175.google.com (HELO mail-qy0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 15 Aug 2010 18:59:54 +0000 Received: by qyk11 with SMTP id 11so2725166qyk.20 for ; Sun, 15 Aug 2010 11:59:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.106.149 with SMTP id x21mr2699162qao.16.1281898792562; Sun, 15 Aug 2010 11:59:52 -0700 (PDT) Received: by 10.229.182.18 with HTTP; Sun, 15 Aug 2010 11:59:52 -0700 (PDT) Date: Sun, 15 Aug 2010 20:59:52 +0200 Message-ID: Subject: [PATCH, doc]: Document -fomit-frame-pointer default change for 32bit Linux and Darwin targets. From: Uros Bizjak To: gcc-patches@gcc.gnu.org Cc: Gerald Pfeifer Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! Attached patch adds documentation about -fomit-frame-pointer default change on selected x86 targets. 2010-08-15 Uros Bizjak * doc/invoke.texi (-fomit-frame-pointer): Document that starting from GCC version 4.6, the default setting (when not optimizing for size) for 32-bit Linux x86 and 32-bit Darwin x86 targets has been changed to -fomit-frame-pointer. Patch was tested by make info. OK for mainline? Uros. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 163266) +++ doc/invoke.texi (working copy) @@ -5993,6 +5993,12 @@ whether a target machine supports this flag. @xref{Registers,,Register Usage, gccint, GNU Compiler Collection (GCC) Internals}. +Starting from GCC version 4.6, the default setting (when not optimizing for +size) for 32-bit Linux x86 and 32-bit Darwin x86 targets has been changed to +@option{-fomit-frame-pointer}. New behavior can be reverted back to +@option{-fno-omit-frame-pointer} by configuring GCC with the +@option{--enable-frame-pointer} configure option. + Enabled at levels @option{-O}, @option{-O2}, @option{-O3}, @option{-Os}. @item -foptimize-sibling-calls