From patchwork Sat Oct 26 03:46:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 1184552 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-511810-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="hScw6Kn/"; dkim-atps=neutral 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 470RkN0KCBz9sPK for ; Sat, 26 Oct 2019 14:47:05 +1100 (AEDT) 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:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=g9eQzebJmcHYM3SL 0Oj1/YfuZlEnEunzyzTs3/F0uNZUGJjrdO0b7crLsBGnxeAz8TYRRapMlipo62he VAQtC6fhnzbdbEVmk81lfJX5lPjM+RqOtf/ickAjsQKB2JUHZ6rNPYsAcXpGGBcD DUhfuxjODK4+rwxsvlxmi7nPxr0= 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:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=J1P/Y/8sEtcxiPww1yYHhG J6IQc=; b=hScw6Kn/xQo3KrrHCKYrlEO3z90hPKslx2oLqKIiaI4W4gTq/sG0s/ 8t0+cpmLnW+PVVmy3MnNYHXeEpMTZY2nWNdRQFUJtLigIq1FQVC4v4zWNpV89N/i D0bLFzkqeYAq/YHLPWk9NTOSgs/oMKQR/a5NmA4NxrLOUwmJcf5a8= Received: (qmail 130568 invoked by alias); 26 Oct 2019 03:46:56 -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 128240 invoked by uid 89); 26 Oct 2019 03:46:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=perder, pero, free!, ebotcazouadacorecom X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 26 Oct 2019 03:46:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9C62856052; Fri, 25 Oct 2019 23:46:48 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id al9TJRPksBNV; Fri, 25 Oct 2019 23:46:48 -0400 (EDT) Received: from free.home (tron.gnat.com [IPv6:2620:20:4000:0:46a8:42ff:fe0e:e294]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPS id 5E8D956051; Fri, 25 Oct 2019 23:46:48 -0400 (EDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id x9Q3kXdb004502 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 26 Oct 2019 00:46:35 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org Cc: ebotzacou@adacore.com Subject: [FYI] fix cgraph comment Date: Sat, 26 Oct 2019 00:46:33 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 This comment cut&pasto fix was split out of another patch I'm about to contribute, as the current version of the patch no longer touches cgraph data structures. I'm checking it in as obvious. From: Eric Botcazou for gcc/ChangeLog * cgraph.c (cgraph_node::rtl_info): Fix cut&pasto in comment. * cgraph.h (cgraph_node::rtl_info): Likewise. --- gcc/cgraph.c | 2 +- gcc/cgraph.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 8b752d8380981..e83bf2001e257 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1846,7 +1846,7 @@ cgraph_node::local_info (tree decl) return &node->ultimate_alias_target ()->local; } -/* Return local info for the compiled function. */ +/* Return RTL info for the compiled function. */ cgraph_rtl_info * cgraph_node::rtl_info (const_tree decl) diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 733d616fb8c3a..a7f357f0b5c07 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -1381,7 +1381,7 @@ struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node /* Return local info for the compiled function. */ static cgraph_local_info *local_info (tree decl); - /* Return local info for the compiled function. */ + /* Return RTL info for the compiled function. */ static struct cgraph_rtl_info *rtl_info (const_tree); /* Return the cgraph node that has ASMNAME for its DECL_ASSEMBLER_NAME.