This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: comment fixlet in cgraphunit.c


This comment in cgraphunit.c refers to
cgraph_varpool_finalize_variable, but I couldn't find that anywhere.
I think cgraph_varpool_finalize_decl was meant instead.
Is this correct?  The appended patch fixes the comment.

Tom

2005-03-27  Tom Tromey  <tromey@redhat.com>

	* cgraphunit.c: Fixed comment.

Index: cgraphunit.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cgraphunit.c,v
retrieving revision 1.96
diff -u -r1.96 cgraphunit.c
--- cgraphunit.c 22 Mar 2005 20:53:22 -0000 1.96
+++ cgraphunit.c 27 Mar 2005 23:00:26 -0000
@@ -34,7 +34,7 @@
 
       (There is one exception needed for implementing GCC extern inline function.)
 
-    - cgraph_varpool_finalize_variable
+    - cgraph_varpool_finalize_decl
 
       This function has same behavior as the above but is used for static
       variables.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]