aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/array.cc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2022-03-07 17:20:52 +0100
committerTobias Burnus <tobias@codesourcery.com>2022-03-07 17:20:52 +0100
commite3ca3e7993696affe95a3ea24c2b133c14a056e4 (patch)
tree4f61d79979da599849628008060ac91480ad4d87 /gcc/fortran/array.cc
parenta86ca83a1b1817457837540e0bc8dd26db75407c (diff)
downloadgcc-e3ca3e7993696affe95a3ea24c2b133c14a056e4.zip
gcc-e3ca3e7993696affe95a3ea24c2b133c14a056e4.tar.gz
gcc-e3ca3e7993696affe95a3ea24c2b133c14a056e4.tar.bz2
Fortran: Fix typos
gcc/fortran/ChangeLog: * array.cc (gfc_ref_dimen_size): Fix comment typo. * dump-parse-tree.cc (gfc_dump_c_prototypes): Likewise. * frontend-passes.cc (cfe_code): Likewise. * gfortran.texi: Likewise. * resolve.cc (generate_component_assignments): Likewise. * simplify.cc (gfc_simplify_this_image): Likewise. * trans-expr.cc (trans_scalar_class_assign, gfc_maybe_dereference_var): Likewise. * intrinsic.texi: Remove word duplication. * invoke.texi: Likewise.
Diffstat (limited to 'gcc/fortran/array.cc')
-rw-r--r--gcc/fortran/array.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/array.cc b/gcc/fortran/array.cc
index f1d92e0..eb9ed85 100644
--- a/gcc/fortran/array.cc
+++ b/gcc/fortran/array.cc
@@ -2420,7 +2420,7 @@ gfc_ref_dimen_size (gfc_array_ref *ar, int dimen, mpz_t *result, mpz_t *end)
gfc_free_expr(stride_expr);
}
- /* Calculate the number of elements via gfc_dep_differce, but only if
+ /* Calculate the number of elements via gfc_dep_difference, but only if
start and end are both supplied in the reference or the array spec.
This is to guard against strange but valid code like