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] java/*.c: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

2004-11-27  Kazu Hirata  <kazu@cs.umass.edu>

	* class.c, decl.c, expr.c: Fix comment typos.

Index: class.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/class.c,v
retrieving revision 1.216
diff -u -d -p -r1.216 class.c
--- class.c	25 Nov 2004 07:03:54 -0000	1.216
+++ class.c	27 Nov 2004 20:45:00 -0000
@@ -1609,7 +1609,7 @@ make_class_data (tree type)
 	  && ! flag_keep_inline_functions
 	  && optimize)
 	continue;
-      /* Even if we have a decl, we don't necessaily have the code.
+      /* Even if we have a decl, we don't necessarily have the code.
 	 This can happen if we inherit a method from a superclass for
 	 which we don't have a .class file.  */
       if (METHOD_DUMMY (method))
Index: decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/decl.c,v
retrieving revision 1.205
diff -u -d -p -r1.205 decl.c
--- decl.c	26 Nov 2004 18:04:45 -0000	1.205
+++ decl.c	27 Nov 2004 20:45:01 -0000
@@ -256,7 +256,7 @@ check_local_unnamed_variable (tree best,
 	 new VAR_DECL.  
 
 	 ???: As long as verification is correct, this will be a
-	 compatible type.  But maybe we should create a dummy vribale
+	 compatible type.  But maybe we should create a dummy variable
 	 and replace all references to it with the DECL and a
 	 NOP_EXPR.
       */
Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/expr.c,v
retrieving revision 1.212
diff -u -d -p -r1.212 expr.c
--- expr.c	26 Nov 2004 18:04:45 -0000	1.212
+++ expr.c	27 Nov 2004 20:45:01 -0000
@@ -2055,7 +2055,7 @@ build_known_method_ref (tree method, tre
   if (is_compiled_class (self_type))
     {
       /* With indirect dispatch we have to use indirect calls for all
-	 publically visible methods or gcc will use PLT indirections
+	 publicly visible methods or gcc will use PLT indirections
 	 to reach them.  We also have to use indirect dispatch for all
 	 external methods.  */
       if (! flag_indirect_dispatch 


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