diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-04-28 09:23:18 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-04-28 09:23:18 +0200 |
commit | 7ebd4a1d61993c0a75e9ff3098aded21ef04a4da (patch) | |
tree | d641ff976f89796d8dce005d9e24c81b03fbbadd /gcc/fortran/frontend-passes.cc | |
parent | ba39d2be0bab29cfb68cdb845b98353d11442244 (diff) | |
download | gcc-7ebd4a1d61993c0a75e9ff3098aded21ef04a4da.zip gcc-7ebd4a1d61993c0a75e9ff3098aded21ef04a4da.tar.gz gcc-7ebd4a1d61993c0a75e9ff3098aded21ef04a4da.tar.bz2 |
Fortran: Fix (mostly) comment typos
Only other changes are fixing the variable name a(b)breviated_modproc_decl
and a few typos in gfortran.texi.
gcc/fortran/ChangeLog:
* gfortran.texi: Fix typos.
* decl.cc: Fix typos in comments and in a variable name.
* arith.cc: Fix comment typos.
* check.cc: Likewise.
* class.cc: Likewise.
* dependency.cc: Likewise.
* expr.cc: Likewise.
* frontend-passes.cc: Likewise.
* gfortran.h: Likewise.
* intrinsic.cc: Likewise.
* iresolve.cc: Likewise.
* match.cc: Likewise.
* module.cc: Likewise.
* primary.cc: Likewise.
* resolve.cc: Likewise.
* simplify.cc: Likewise.
* trans-array.cc: Likewise.
* trans-decl.cc: Likewise.
* trans-expr.cc: Likewise.
* trans-intrinsic.cc: Likewise.
* trans-openmp.cc: Likewise.
* trans-stmt.cc: Likewise.
Diffstat (limited to 'gcc/fortran/frontend-passes.cc')
-rw-r--r-- | gcc/fortran/frontend-passes.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/frontend-passes.cc b/gcc/fortran/frontend-passes.cc index 9042898..136a292 100644 --- a/gcc/fortran/frontend-passes.cc +++ b/gcc/fortran/frontend-passes.cc @@ -424,9 +424,9 @@ copy_walk_reduction_arg (gfc_constructor *c, gfc_expr *fn) return fcn; } -/* Callback function for optimzation of reductions to scalars. Transform ANY +/* Callback function for optimization of reductions to scalars. Transform ANY ([f1,f2,f3, ...]) to f1 .or. f2 .or. f3 .or. ..., with ANY, SUM and PRODUCT - correspondingly. Handly only the simple cases without MASK and DIM. */ + correspondingly. Handle only the simple cases without MASK and DIM. */ static int callback_reduction (gfc_expr **e, int *walk_subtrees ATTRIBUTE_UNUSED, @@ -1455,7 +1455,7 @@ simplify_io_impl_do (gfc_code **code, int *walk_subtrees, } /* Optimize a namespace, including all contained namespaces. - flag_frontend_optimize and flag_fronend_loop_interchange are + flag_frontend_optimize and flag_frontend_loop_interchange are handled separately. */ static void |