summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-08 14:31:12 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-04-08 14:31:12 +0000
commit179eba089745516ac9d2167f9d146f5c04fc6813 (patch)
treeac54b2095fdb360131eb052b4695f96aa27961c6 /gcc
parent3b49899ca29b5bff39b7bf5052e1acfb385980b1 (diff)
downloadgcc-179eba089745516ac9d2167f9d146f5c04fc6813.tar.gz
* gfortran.texi: Fix typos. Follow spelling conventions.
* resolve.c, trans-expr.c, trans-stmt.c: Fix comment typos. Follow spelling conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112780 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/gfortran.texi6
-rw-r--r--gcc/fortran/resolve.c6
-rw-r--r--gcc/fortran/trans-expr.c2
-rw-r--r--gcc/fortran/trans-stmt.c2
5 files changed, 14 insertions, 8 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index e6db2efe197..c236ff17daf 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-08 Kazu Hirata <kazu@codesourcery.com>
+
+ * gfortran.texi: Fix typos. Follow spelling conventions.
+ * resolve.c, trans-expr.c, trans-stmt.c: Fix comment typos.
+ Follow spelling conventions.
+
2006-04-05 Roger Sayle <roger@eyesopen.com>
* dependency.c (get_no_elements): Delete function.
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 89c7770c0ac..07edb8a6b16 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -548,7 +548,7 @@ Environment variable forcing standard output to be line buffered (unix).
@chapter Runtime: Influencing runtime behavior with environment variables
@cindex Runtime
-The behaviour of the @command{gfortran} can be influenced by
+The behavior of the @command{gfortran} can be influenced by
environment variables.
Malformed environment variables are silently ignored.
@@ -610,7 +610,7 @@ this is also missing, the default is @file{/tmp}.
This environment variable controls wether all output is unbuffered.
If the first letter is @samp{y}, @samp{Y} or @samp{1}, all output is
unbuffered. This will slow down large writes. If the first letter is
-@samp{n}, @samp{N} or @samp{0}, output is bufferred. This is the
+@samp{n}, @samp{N} or @samp{0}, output is buffered. This is the
default.
@node GFORTRAN_SHOW_LOCUS
@@ -626,7 +626,7 @@ for runtime errors. The default is to print the location.
If the first letter is @samp{y}, @samp{Y} or @samp{1},
a plus sign is printed
-where permitted by the Fortran standard. If the first lettter
+where permitted by the Fortran standard. If the first letter
is @samp{n}, @samp{N} or @samp{0}, a plus sign is not printed
in most cases. Default is not to print plus signs.
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index 4831d799d70..bde11a5c595 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -701,7 +701,7 @@ procedure_kind (gfc_symbol * sym)
}
/* Check references to assumed size arrays. The flag need_full_assumed_size
- is non-zero when matching actual arguments. */
+ is nonzero when matching actual arguments. */
static int need_full_assumed_size = 0;
@@ -1342,7 +1342,7 @@ resolve_function (gfc_expr * expr)
&& expr->value.function.isym->generic_id != GFC_ISYM_PRESENT)
{
/* Array instrinsics must also have the last upper bound of an
- asumed size array argument. UBOUND and SIZE have to be
+ assumed size array argument. UBOUND and SIZE have to be
excluded from the check if the second argument is anything
than a constant. */
int inquiry;
@@ -4843,7 +4843,7 @@ resolve_fl_procedure (gfc_symbol *sym, int mp_flag)
/* Ensure that derived type for are not of a private type. Internal
module procedures are excluded by 2.2.3.3 - ie. they are not
- externally accessible and can access all the objects accesible in
+ externally accessible and can access all the objects accessible in
the host. */
if (!(sym->ns->parent
&& sym->ns->parent->proc_name->attr.flavor == FL_MODULE)
diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c
index 1e1802ed205..81e0a7c5d21 100644
--- a/gcc/fortran/trans-expr.c
+++ b/gcc/fortran/trans-expr.c
@@ -1712,7 +1712,7 @@ gfc_conv_aliased_arg (gfc_se * parmse, gfc_expr * expr, int g77)
temporary array has lbounds of zero and strides of one in all
dimensions, so this is very simple. The offset is only computed
outside the innermost loop, so the overall transfer could be
- optimised further. */
+ optimized further. */
info = &rse.ss->data.info;
tmp_index = gfc_index_zero_node;
diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c
index b3141ca84c7..6480a195bed 100644
--- a/gcc/fortran/trans-stmt.c
+++ b/gcc/fortran/trans-stmt.c
@@ -2650,7 +2650,7 @@ gfc_evaluate_where_mask (gfc_expr * me, forall_info * nested_forall_info,
gfc_conv_expr (&rse, me);
}
- /* Variable to evalate mask condition. */
+ /* Variable to evaluate mask condition. */
cond = gfc_create_var (mask_type, "cond");
if (mask && (cmask || pmask))
mtmp = gfc_create_var (mask_type, "mask");