This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] java/*.c: Fix comment typos.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: java-patches at gcc dot gnu dot org
- Date: Sun, 28 May 2006 11:07:41 -0700
- Subject: [patch] java/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2006-05-28 Kazu Hirata <kazu@codesourcery.com>
* class.c, except.c, expr.c, java-gimplify.c: Fix comment
typos.
Index: java/class.c
===================================================================
--- java/class.c (revision 114167)
+++ java/class.c (working copy)
@@ -2606,7 +2606,7 @@ emit_register_classes (tree *list_p)
/* TARGET_USE_JCR_SECTION defaults to 1 if SUPPORTS_WEAK and
TARGET_ASM_NAMED_SECTION, else 0. Some targets meet those conditions
but lack suitable crtbegin/end objects or linker support. These
- targets can overide the default in tm.h to use the fallback mechanism. */
+ targets can override the default in tm.h to use the fallback mechanism. */
if (TARGET_USE_JCR_SECTION)
{
tree klass, t;
Index: java/except.c
===================================================================
--- java/except.c (revision 114167)
+++ java/except.c (working copy)
@@ -474,7 +474,7 @@ build_exception_object_ref (tree type)
return obj;
}
-/* If there are any handlers for this range, isssue end of range,
+/* If there are any handlers for this range, issue end of range,
and then all handler blocks */
void
expand_end_java_handler (struct eh_range *range)
Index: java/expr.c
===================================================================
--- java/expr.c (revision 114167)
+++ java/expr.c (working copy)
@@ -2023,7 +2023,7 @@ build_class_init (tree clas, tree expr)
/* Rewrite expensive calls that require stack unwinding at runtime to
- cheaper alternatives. The logic here performs thse
+ cheaper alternatives. The logic here performs these
transformations:
java.lang.Class.forName("foo") -> java.lang.Class.forName("foo", class$)
Index: java/java-gimplify.c
===================================================================
--- java/java-gimplify.c (revision 114167)
+++ java/java-gimplify.c (working copy)
@@ -276,7 +276,7 @@ java_gimplify_block (tree java_block)
block = make_node (BLOCK);
BLOCK_VARS (block) = decls;
- /* The TREE_USED flag on a block determines whether the debug ouput
+ /* The TREE_USED flag on a block determines whether the debug output
routines generate info for the variables in that block. */
TREE_USED (block) = 1;