From patchwork Mon Oct 21 15:46:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 285227 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 326F42C00C4 for ; Tue, 22 Oct 2013 02:46:25 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=kyY8biBYPkM99lHUnNBptqix93s+fsBQGKM8faTxeCg+qFpRI3I42 4GJFY4T0/xFnLelBoHPta2BZjMWIaOIrvLk66eybkUEQz5DVSpWBJyJGBrcfllvK iwg6TxSrfsEBmiAq6mCyCcGou3vP2iK5d/QbqCRfamic73cf0F04DE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=3k6sBgoEAhI5wbwtrXQmMEbZf8A=; b=gx/gUc+Zh46l0LEPuv9F 6sofo3/Y/bvlbdgsHrbRwz2D1LWcMtjbj+XZ7iFEEfOIMUNNebSOjOQk+LbHwqx+ wNV16SrQgM9xXE/4j/fU/e3E4m2a60fGvX4gGyM/PLELK3ZC4em+33HGMyNMm7lp aLrWTi6M1lpfeM5Lb4oL7rc= Received: (qmail 30141 invoked by alias); 21 Oct 2013 15:46:19 -0000 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 Received: (qmail 30128 invoked by uid 89); 21 Oct 2013 15:46:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS, T_TVD_MIME_NO_HEADERS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f179.google.com Received: from mail-pd0-f179.google.com (HELO mail-pd0-f179.google.com) (209.85.192.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 21 Oct 2013 15:46:17 +0000 Received: by mail-pd0-f179.google.com with SMTP id y10so4755009pdj.24 for ; Mon, 21 Oct 2013 08:46:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-type; bh=zPTAe1pZnPEc9XQ8CoPT/R1fwYSOLDfWMbrzLIxqiR4=; b=gOycxNHYLjVofodFS30f/NoXi0ihBhxys9l3V5Yg7qiUKjd7iGMK8TMuaa7BSU2N6T nXb5QVRioApM9wP8uX5LayVDBHThhVpHmC8eewX6pj8aggGj+4wgRIg5CzbZx40fQ2tH Vb8DcjrV07AU20i1hS9+oE/RfLw00X5DuWmDrsZMX1Qyc4mJVRMBjMu7IXOqbpz0w3Jg brsgndjMSSfegGEQhKGX5G0+UWJ+r23YJmZjxiLKjKVreax1JTYGs4xJhOupTyh8tJXV JUmVCCDvQe/Kwgqy1BtCiYARIMwutfUUjgI1m7rcn+zEaLKIasEt2XPKkjwiV/KyVlGy yceQ== X-Gm-Message-State: ALoCoQkwqgzftsL2hme+60ETM3pFblnSliVDrOLcnCI2xUsoc8VdlDC36DrHInSsFAj7RcmSrbNVa2DMht9gy0GJ5CnPij9LYBkUhblCiqg0HwUY8XCbsEsVv1XzFyU1DnzOuluuftQzMQ0hWjr0JGXlIvyGYzRYfXgxXf0yyOfLiTXe0G8+LuU8ESHVSg9t/8/lMRISFD/r9DvMHDXN0hEMKuixQOIelFAqOZO0o6BXlLcXyTgGqos= X-Received: by 10.68.65.199 with SMTP id z7mr17260808pbs.26.1382370375957; Mon, 21 Oct 2013 08:46:15 -0700 (PDT) Received: from iant-glaptop.roam.corp.google.com.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net. [71.133.8.30]) by mx.google.com with ESMTPSA id b3sm21680007pbu.38.2013.10.21.08.46.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 21 Oct 2013 08:46:15 -0700 (PDT) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org Subject: Doc patch RFA: Remove docs for -fno-default-inline Date: Mon, 21 Oct 2013 08:46:13 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes According to c.opt, the -fdefault-inline patch is ignored, and only exists for backward compatibility. The only use of flag_default_inline was removed by Honza here: http://gcc.gnu.org/ml/gcc-patches/2008-07/msg02104.html This patch removes the docs for -fdefault-inline. Bootstrapped on x86_64-unknown-linux-gnu. OK for mainline? Ian 2013-10-21 Ian Lance Taylor * doc/invoke.texi (Option Summary): Remove -fno-default-inline. (C++ Dialect Options): Likewise. (Optimize Options): Likewise. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 203894) +++ doc/invoke.texi (working copy) @@ -190,7 +190,7 @@ in the following sections. -frepo -fno-rtti -fstats -ftemplate-backtrace-limit=@var{n} @gol -ftemplate-depth=@var{n} @gol -fno-threadsafe-statics -fuse-cxa-atexit -fno-weak -nostdinc++ @gol --fno-default-inline -fvisibility-inlines-hidden @gol +-fvisibility-inlines-hidden @gol -fvtable-verify=@var{std|preinit|none} @gol -fvtv-counts -fvtv-debug @gol -fvisibility-ms-compat @gol @@ -385,7 +385,6 @@ Objective-C and Objective-C++ Dialects}. -flto-partition=@var{alg} -flto-report -flto-report-wpa -fmerge-all-constants @gol -fmerge-constants -fmodulo-sched -fmodulo-sched-allow-regmoves @gol -fmove-loop-invariants fmudflap -fmudflapir -fmudflapth -fno-branch-count-reg @gol --fno-default-inline @gol -fno-defer-pop -fno-function-cse -fno-guess-branch-probability @gol -fno-inline -fno-math-errno -fno-peephole -fno-peephole2 @gol -fno-sched-interblock -fno-sched-spec -fno-signed-zeros @gol @@ -2403,13 +2402,6 @@ In addition, these optimization, warning have meanings only for C++ programs: @table @gcctabopt -@item -fno-default-inline -@opindex fno-default-inline -Do not assume @samp{inline} for functions defined inside a class scope. -@xref{Optimize Options,,Options That Control Optimization}. Note that these -functions have linkage like inline functions; they just aren't -inlined by default. - @item -Wabi @r{(C, Objective-C, C++ and Objective-C++ only)} @opindex Wabi @opindex Wno-abi @@ -6822,14 +6814,6 @@ can use the following flags in the rare optimizations to be performed is desired. @table @gcctabopt -@item -fno-default-inline -@opindex fno-default-inline -Do not make member functions inline by default merely because they are -defined inside the class scope (C++ only). Otherwise, when you specify -@w{@option{-O}}, member functions defined inside class scope are compiled -inline by default; i.e., you don't need to add @samp{inline} in front of -the member function name. - @item -fno-defer-pop @opindex fno-defer-pop Always pop the arguments to each function call as soon as that function