From 22046c26d5fe71ee7040e5857a9730fea6614458 Mon Sep 17 00:00:00 2001 From: kazu Date: Fri, 16 Dec 2005 05:49:45 +0000 Subject: [PATCH] * dependency.c, resolve.c, trans-array.c: Fix comment typos. * gfortran.texi: Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108624 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/dependency.c | 2 +- gcc/fortran/gfortran.texi | 2 +- gcc/fortran/resolve.c | 2 +- gcc/fortran/trans-array.c | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 0d364d4..94980f8 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2005-12-16 Kazu Hirata + + * dependency.c, resolve.c, trans-array.c: Fix comment typos. + * gfortran.texi: Fix typos. + 2005-12-14 Erik Edelmann PR fortran/18197 diff --git a/gcc/fortran/dependency.c b/gcc/fortran/dependency.c index d3a486e..4a79560 100644 --- a/gcc/fortran/dependency.c +++ b/gcc/fortran/dependency.c @@ -176,7 +176,7 @@ gfc_is_same_range (gfc_array_ref * ar1, gfc_array_ref * ar2, int n, int def) /* 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. diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index ea3ac24..b4f1bf9 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -962,7 +962,7 @@ The value of the conversion can be queried by using @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. diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index d9f0e77..de2da63 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -288,7 +288,7 @@ resolve_contained_fntype (gfc_symbol * sym, gfc_namespace * ns) /*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) diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c index 45c8351..a9981a3 100644 --- a/gcc/fortran/trans-array.c +++ b/gcc/fortran/trans-array.c @@ -673,7 +673,7 @@ gfc_trans_allocate_temp_array (stmtblock_t * pre, stmtblock_t * post, } -/* 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 -- 2.7.4