[patch] fortran/*: Fix typos.
Kazu Hirata
kazu@codesourcery.com
Fri Dec 16 05:50:00 GMT 2005
Hi,
Committed as obvious.
Kazu Hirata
2005-12-16 Kazu Hirata <kazu@codesourcery.com>
* dependency.c, resolve.c, trans-array.c: Fix comment typos.
* gfortran.texi: Fix typos.
Index: fortran/dependency.c
===================================================================
--- fortran/dependency.c (revision 108623)
+++ fortran/dependency.c (working copy)
@@ -176,7 +176,7 @@ gfc_is_same_range (gfc_array_ref * ar1,
/* Some array-returning intrinsics can be implemented by reusing the
- data from one of the array arguments. For example, TRANPOSE does
+ data from one of the array arguments. For example, TRANSPOSE does
not necessarily need to allocate new data: it can be implemented
by copying the original array's descriptor and simply swapping the
two dimension specifications.
Index: fortran/gfortran.texi
===================================================================
--- fortran/gfortran.texi (revision 108623)
+++ fortran/gfortran.texi (working copy)
@@ -962,7 +962,7 @@ The value of the conversion can be queri
@code{CONVERT} works between big- and little-endian for
@code{INTEGER} values of all supported kinds and for @code{REAL}
-on IEEE sytems of kinds 4 and 8. Conversion between different
+on IEEE systems of kinds 4 and 8. Conversion between different
``extended double'' types on different architectures such as
m68k and x86_64, which gfortran
supports as @code{REAL(KIND=10)} will probably not work.
Index: fortran/resolve.c
===================================================================
--- fortran/resolve.c (revision 108623)
+++ fortran/resolve.c (working copy)
@@ -288,7 +288,7 @@ resolve_contained_fntype (gfc_symbol * s
/*Fortran 95 Draft Standard, page 51, Section 5.1.1.5, on the Character type,
lists the only ways a character length value of * can be used: dummy arguments
- of proceedures, named constants, and function results in external functions.
+ of procedures, named constants, and function results in external functions.
Internal function results are not on that list; ergo, not permitted. */
if (sym->ts.type == BT_CHARACTER)
Index: fortran/trans-array.c
===================================================================
--- fortran/trans-array.c (revision 108623)
+++ fortran/trans-array.c (working copy)
@@ -673,7 +673,7 @@ gfc_trans_allocate_temp_array (stmtblock
}
-/* Generate code to tranpose array EXPR by creating a new descriptor
+/* Generate code to transpose array EXPR by creating a new descriptor
in which the dimension specifications have been reversed. */
void
More information about the Gcc-patches
mailing list