This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] trans-expr.c: Fix comment typos.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 30 May 2005 11:32:16 -0400 (EDT)
- Subject: [patch] trans-expr.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2005-05-30 Kazu Hirata <kazu@cs.umass.edu>
* trans-expr.c: Fix comment typos.
Index: trans-expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/trans-expr.c,v
retrieving revision 1.46
diff -u -d -p -r1.46 trans-expr.c
--- trans-expr.c 30 May 2005 15:03:46 -0000 1.46
+++ trans-expr.c 30 May 2005 15:32:14 -0000
@@ -372,7 +372,7 @@ gfc_conv_variable (gfc_se * se, gfc_expr
}
else
{
- /* Dereference non-charcter scalar dummy arguments. */
+ /* Dereference non-character scalar dummy arguments. */
if ((sym->attr.dummy) && (!sym->attr.dimension))
se->expr = gfc_build_indirect_ref (se->expr);
@@ -383,7 +383,7 @@ gfc_conv_variable (gfc_se * se, gfc_expr
se->expr = gfc_build_indirect_ref (se->expr);
/* Dereference non-character pointer variables.
- These must be dummys or results or scalars. */
+ These must be dummies, results, or scalars. */
if ((sym->attr.pointer || sym->attr.allocatable)
&& ((sym->attr.dummy)
|| (sym->attr.function || sym->attr.result)