From patchwork Fri Jul 13 12:00:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix comment in cgraphunit.c From: Marek Polacek X-Patchwork-Id: 170869 Message-Id: <20120713120054.GC3468@redhat.com> To: GCC Patches Date: Fri, 13 Jul 2012 14:00:54 +0200 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.