From patchwork Mon Jul 22 17:45:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Stump X-Patchwork-Id: 260774 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 CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id CB5E42C0097 for ; Tue, 23 Jul 2013 03:46:27 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= default; b=GpMlpRXVO1xq9U06HBDgt8YGp+ILnTfhBl0sJIHRzk0qtWyP0OpVt JT6m6N8yy9er/6D06XWQfUP6NSdtWGUa675N3aSsazVNLZth5evNZKnKJA+xyAVp TXybFGGrU9VbsysQ4XIF5l46Gr6Ct8s98l4rXcnOosNDRab69W+/bE= 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 :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=default; bh=uxve4kUoDkE1IZ70VrghCr4asrE=; b=Nx+fIy3AxFz7niEfC+r8tk03tigf gkK0NdbjTdZCo2/qcb+BCjTrTOgUzuJAv1QikNkY0tk4rS0LlEYEfre+FaBz7iLG UuJsf8/mbGUhOSWIehiHmz+QpbjSFr79q/Oecc37ydY2UyECDxQTY2ibuY0AhhWb JBd5hlUm/Wc5Y+4= Received: (qmail 14863 invoked by alias); 22 Jul 2013 17: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 14820 invoked by uid 89); 22 Jul 2013 17:46:19 -0000 X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL, BAYES_50, FREEMAIL_FROM, KHOP_THREADED, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, RCVD_IN_HOSTKARMA_YE, RDNS_NONE, SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO qmta01.emeryville.ca.mail.comcast.net) (76.96.30.16) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 22 Jul 2013 17:45:51 +0000 Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta01.emeryville.ca.mail.comcast.net with comcast id 3TtR1m0021wfjNsA1Vljit; Mon, 22 Jul 2013 17:45:43 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta23.emeryville.ca.mail.comcast.net with comcast id 3Vlj1m0030BKwT48jVljV8; Mon, 22 Jul 2013 17:45:43 +0000 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [PATCH 1/*] Fix common typos. From: Mike Stump In-Reply-To: Date: Mon, 22 Jul 2013 10:45:43 -0700 Cc: =?utf-8?Q?Ond=C5=99ej_B=C3=ADlka?= , Message-Id: References: <20130721143204.GA27788@domone> <70DD9141-8A8F-4E68-97E8-F034C05F8BF6@comcast.net> To: Joseph S. Myers On Jul 21, 2013, at 2:09 PM, Joseph S. Myers wrote: > On Sun, 21 Jul 2013, Mike Stump wrote: > >> I've reviewed and applied the gcc/doc changes that were trivial. The >> only patches not applied were the ok->OK patches. > > *For formal documentation* such as gcc/doc, I think changing ok->OK is > appropriate; I agree. Formal prose is different, so here are the instances that I found in doc/*. Thanks for the review. Index: doc/tm.texi =================================================================== --- doc/tm.texi (revision 201137) +++ doc/tm.texi (working copy) @@ -4959,7 +4959,7 @@ the function prologue. Normally, the pr @cindex tail calls @deftypefn {Target Hook} bool TARGET_FUNCTION_OK_FOR_SIBCALL (tree @var{decl}, tree @var{exp}) -True if it is ok to do sibling call optimization for the specified +True if it is OK to do sibling call optimization for the specified call expression @var{exp}. @var{decl} will be the called function, or @code{NULL} if this is an indirect call. @@ -9861,7 +9861,7 @@ needed. @deftypefn {Target Hook} bool TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P (const_tree @var{fndecl}) @cindex inlining -This target hook returns @code{true} if it is ok to inline @var{fndecl} +This target hook returns @code{true} if it is OK to inline @var{fndecl} into the current function, despite its having target-specific attributes, @code{false} otherwise. By default, if a function has a target specific attribute attached to it, it will not be inlined. Index: target.def =================================================================== --- target.def (revision 201137) +++ target.def (working copy) @@ -1880,7 +1880,7 @@ needed.", DEFHOOK (function_attribute_inlinable_p, "@cindex inlining\n\ -This target hook returns @code{true} if it is ok to inline @var{fndecl}\n\ +This target hook returns @code{true} if it is OK to inline @var{fndecl}\n\ into the current function, despite its having target-specific\n\ attributes, @code{false} otherwise. By default, if a function has a\n\ target specific attribute attached to it, it will not be inlined.", @@ -2529,7 +2529,7 @@ The default value of this hook is based this is an indirect call. */ DEFHOOK (function_ok_for_sibcall, - "True if it is ok to do sibling call optimization for the specified\n\ + "True if it is OK to do sibling call optimization for the specified\n\ call expression @var{exp}. @var{decl} will be the called function,\n\ or @code{NULL} if this is an indirect call.\n\ \n\