aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/class.c2
-rw-r--r--gcc/java/decl.c2
-rw-r--r--gcc/java/expr.c2
4 files changed, 7 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 74a18c9..43bdf68 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-27 Kazu Hirata <kazu@cs.umass.edu>
+
+ * class.c, decl.c, expr.c: Fix comment typos.
+
2004-11-26 Andrew Pinski <pinskia@physics.uc.edu>
PR java/18305
diff --git a/gcc/java/class.c b/gcc/java/class.c
index df398c7..2af0134 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -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))
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 103a112..5ec5d78 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -256,7 +256,7 @@ check_local_unnamed_variable (tree best, tree decl, tree type)
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.
*/
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 0fef94d..9df841b 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2055,7 +2055,7 @@ build_known_method_ref (tree method, tree method_type ATTRIBUTE_UNUSED,
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