From patchwork Fri Feb 7 17:30:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 318140 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C52062C0078 for ; Sat, 8 Feb 2014 04:30:38 +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 :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=BRPwh3jCJGl5upDbLGZ3zUW6p8ZBReNHi29uVy+INkUGQI IiDCUOy8hprRUDPZ7+aqRk/WKHSHdJlYIRBtsKw/V7nEzdlncm10bGCA95iKvXnN DkI3PNlvvuX7K3TxffEqOjf2Q3++38VWdSq+In6iEk/HPMtbg4pvyj8SUfogw= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=JLjEo4LF7jX9IKsY1RFL1oB4w0M=; b=RNAqOIoN+IdShBbwPZHv Aj6SGSlHjYod8WecjLmvooYWQEdybyPA56QT8QOqR0KIr3PIlT9WLZaJsX4ytNWH Vu8OgIyrtTU/j0nfvZ799jOsNUme5OUxM2RwRvoGZGbR1ipFGKl4BOXhus8eUsid hsMj6f0ugNAkcB9/lxaQu5s= Received: (qmail 14957 invoked by alias); 7 Feb 2014 17:30:32 -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 14946 invoked by uid 89); 7 Feb 2014 17:30:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Feb 2014 17:30:30 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s17HUSFi002597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Feb 2014 12:30:28 -0500 Received: from stumpy.slc.redhat.com (ovpn-113-146.phx2.redhat.com [10.3.113.146]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s17HUS1c005049 for ; Fri, 7 Feb 2014 12:30:28 -0500 Message-ID: <52F51834.2090504@redhat.com> Date: Fri, 07 Feb 2014 10:30:28 -0700 From: Jeff Law User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: gcc-patches Subject: Fix more trivial comment typos X-IsSubscribed: yes I meant to install this a week or so ago, but got sidetracked by other more pressing issues. Installed on the trunk as obvious. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5703bb5..ce9c066 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-02-07 Jeff Law + + * ipa-inline.c (inline_small_functions): Fix typos. + 2014-02-07 Richard Sandiford * config/s390/s390-protos.h (s390_can_use_simple_return_insn) diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index ce24ea5..d304133 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1749,9 +1749,9 @@ inline_small_functions (void) continue; } - /* Heuristics for inlining small functions works poorly for - recursive calls where we do efect similar to loop unrolling. - When inliing such edge seems profitable, leave decision on + /* Heuristics for inlining small functions work poorly for + recursive calls where we do effects similar to loop unrolling. + When inlining such edge seems profitable, leave decision on specific inliner. */ if (cgraph_edge_recursive_p (edge)) { @@ -1779,10 +1779,11 @@ inline_small_functions (void) struct cgraph_node *outer_node = NULL; int depth = 0; - /* Consider the case where self recursive function A is inlined into B. - This is desired optimization in some cases, since it leads to effect - similar of loop peeling and we might completely optimize out the - recursive call. However we must be extra selective. */ + /* Consider the case where self recursive function A is inlined + into B. This is desired optimization in some cases, since it + leads to effect similar of loop peeling and we might completely + optimize out the recursive call. However we must be extra + selective. */ where = edge->caller; while (where->global.inlined_to)