From patchwork Fri Jul 13 12:00:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 170869 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 7519D2C036A for ; Fri, 13 Jul 2012 22:01:29 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1342785690; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=jMnVy/4PAduO8tMWgLxoDfVYmzw=; b=Qcs2VfUCdGjpSt0 wjvuoKcYc0mJwH+n1/JCINumusJcsd5dW6zPq6zMxciiEIEJ7QaMxqMD6aRydqro 2QPYJ6s3unynOCiSTR3ariVNOB5y5ToVhIYE33lVDBv44jTH8QSWfCFuQKLHOJLy VP8ywEbDfShDfqFmGkqTE0n29axU= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=TQw52SrXbU58NsRd8MOgQboNh0At2HyKGGm9w1UgD4iOl5gMYNk+D7wOFdsNqC S8Bw5uEvHiOI6FceD3Zs0tbZTOYB6kQV+P1SD/EYo3GLyOS3CdX4jufQOk3f7gSv QXiausNjnlX3eRU8pk8Cn0uLAsfZi8n80isCSAZw9DqEQ=; Received: (qmail 7489 invoked by alias); 13 Jul 2012 12:01:19 -0000 Received: (qmail 7479 invoked by uid 22791); 13 Jul 2012 12:01:18 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, SPF_HELO_PASS, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Jul 2012 12:00:59 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6DC0wWs006007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Jul 2012 08:00:59 -0400 Received: from redhat.com (vpn-11-206.rdu.redhat.com [10.11.11.206]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6DC0tqx011064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 13 Jul 2012 08:00:58 -0400 Date: Fri, 13 Jul 2012 14:00:54 +0200 From: Marek Polacek To: GCC Patches Subject: [PATCH] Fix comment in cgraphunit.c Message-ID: <20120713120054.GC3468@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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 I think the comment at the start of the file is wrong, since it speaks about varpool_finalize_variable, but there's no such function (not even mentioned in CLs). I'd say the author meant varpool_finalize_decl. 2012-07-13 Marek Polacek * cgraphunit.c: Rename varpool_finalize_variable to varpool_finalize_decl in a comment. Marek --- gcc/cgraphunit.c.mp 2012-07-13 13:49:41.071591575 +0200 +++ gcc/cgraphunit.c 2012-07-13 13:49:50.715613502 +0200 @@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. (There is one exception needed for implementing GCC extern inline function.) - - varpool_finalize_variable + - varpool_finalize_decl This function has same behavior as the above but is used for static variables.