https://gcc.gnu.org/g:51ea1dcc564680d4c3b04fea6851898d44ea065c
commit r17-679-g51ea1dcc564680d4c3b04fea6851898d44ea065c Author: Tobias Burnus <[email protected]> Date: Fri May 22 23:43:43 2026 +0200 Fortran: Fix .texi and comment typos gcc/fortran/ChangeLog: * dump-parse-tree.cc: Fix comment typo. * gfortran.texi: Fix typo. * intrinsic.texi: Likewise. * invoke.texi: Likewise. libgfortran/ChangeLog: * m4/matmul.m4: Fix comment typo. * generated/matmul_c10.c: Regenerate. * generated/matmul_c16.c: Regenerate. * generated/matmul_c17.c: Regenerate. * generated/matmul_c4.c: Regenerate. * generated/matmul_c8.c: Regenerate. * generated/matmul_i1.c: Regenerate. * generated/matmul_i16.c: Regenerate. * generated/matmul_i2.c: Regenerate. * generated/matmul_i4.c: Regenerate. * generated/matmul_i8.c: Regenerate. * generated/matmul_r10.c: Regenerate. * generated/matmul_r16.c: Regenerate. * generated/matmul_r17.c: Regenerate. * generated/matmul_r4.c: Regenerate. * generated/matmul_r8.c: Regenerate. Diff: --- gcc/fortran/dump-parse-tree.cc | 4 ++-- gcc/fortran/gfortran.texi | 8 ++++---- gcc/fortran/intrinsic.texi | 2 +- gcc/fortran/invoke.texi | 6 +++--- libgfortran/generated/matmul_c10.c | 2 +- libgfortran/generated/matmul_c16.c | 2 +- libgfortran/generated/matmul_c17.c | 2 +- libgfortran/generated/matmul_c4.c | 2 +- libgfortran/generated/matmul_c8.c | 2 +- libgfortran/generated/matmul_i1.c | 2 +- libgfortran/generated/matmul_i16.c | 2 +- libgfortran/generated/matmul_i2.c | 2 +- libgfortran/generated/matmul_i4.c | 2 +- libgfortran/generated/matmul_i8.c | 2 +- libgfortran/generated/matmul_r10.c | 2 +- libgfortran/generated/matmul_r16.c | 2 +- libgfortran/generated/matmul_r17.c | 2 +- libgfortran/generated/matmul_r4.c | 2 +- libgfortran/generated/matmul_r8.c | 2 +- libgfortran/m4/matmul.m4 | 2 +- 20 files changed, 26 insertions(+), 26 deletions(-) diff --git a/gcc/fortran/dump-parse-tree.cc b/gcc/fortran/dump-parse-tree.cc index 2bf1b75650b2..ea878099da53 100644 --- a/gcc/fortran/dump-parse-tree.cc +++ b/gcc/fortran/dump-parse-tree.cc @@ -4123,8 +4123,8 @@ gfc_dump_parse_tree (gfc_namespace *ns, FILE *file) show_namespace (ns); } -/* This part writes BIND(C) prototypes and declatations, and prototypes - for EXTERNAL preocedures, for use in a C programs. */ +/* This part writes BIND(C) prototypes and declarations, and prototypes + for EXTERNAL procedures, for use in a C programs. */ static void write_interop_decl (gfc_symbol *); static void write_proc (gfc_symbol *, bool); diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index a930cc1dc9c0..16553508a58b 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -1145,7 +1145,7 @@ variables, such as AIX, I/O is also performed as synchronous. On some systems, such as Darwin or Solaris, the POSIX thread library is always linked in, so asynchronous I/O is always performed. On other -sytems, such as Linux, it is necessary to specify @option{-pthread}, +systems, such as Linux, it is necessary to specify @option{-pthread}, @option{-lpthread} or @option{-fopenmp} during the linking step. @c --------------------------------------------------------------------- @@ -3308,7 +3308,7 @@ Tools, @url{http://chasm-interop.sourceforge.net/}. @cindex prototypes @cindex C prototypes The options @option{-fc-prototypes} can be used to write out C -declatations and function prototypes for @code{BIND(C)} entities. +declarations and function prototypes for @code{BIND(C)} entities. The same can be done for writing out prototypes for external procedures using @option{-fc-prototypes-external}, @pxref{Interoperability Options}. @@ -4550,7 +4550,7 @@ void (*accessor)(void **, int32_t *, void *, void *, size_t *, size_t *))} @item @emph{Description}: -Identification of access funtions across images is done using a unique hash. +Identification of access functions across images is done using a unique hash. For each given hash an accessor has to be registered. This routine is expected to register an accessor function pointer for the given hash in nearly constant time. I.e. it is expected to add the hash and accessor to a buffer and return. @@ -4634,7 +4634,7 @@ lookups. @end multitable @item @emph{Result}: -The zero based index to access the accessor funtion in a lookup table. +The zero based index to access the accessor function in a lookup table. On error, @code{-1} can be returned. @item @emph{Notes}: diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 6da3be0237bb..f5a29606eb49 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -4127,7 +4127,7 @@ parameters as @var{A}. The function shall return a nonallocatable scalar of the same type and type parameters as @var{A}. The function shall be the same on all images and with regards to the arguments mathematically commutative and associative. Note that @var{OPERATION} may not be an elemental function, unless -it is an intrisic function. +it is an intrinsic function. @item @var{RESULT_IMAGE} @tab (optional) a scalar integer expression; if present, it shall have the same value on all images and refer to an image of the current team. diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 84a8404a9d3a..00fbc49c9374 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -1083,7 +1083,7 @@ Warn for usage of deprecated OpenMP code. @opindex Wexternal-argument-mismatch @cindex warnings, argument mismatch -@cindex argment mismatch, warnings +@cindex argument mismatch, warnings @item -Wexternal-argument-mismatch Warn about argument mismatches for dummy external procedures. This is implied by @option{-fc-prototypes-external} because generation of a @@ -1517,7 +1517,7 @@ values for conversion on most systems are: @samp{native}, the default; big-endian representation for unformatted files; @samp{little-endian}, use little-endian representation for unformatted files. -On POWER systems that suppport @option{-mabi=ieeelongdouble}, +On POWER systems that support @option{-mabi=ieeelongdouble}, there are additional options, which can be combined with others with commas. Those are @itemize @w{} @@ -1794,7 +1794,7 @@ statements produces a compile-time error. (Default) Single-image mode, i.e. @code{num_images()} is always one. @item @samp{shared} -Use shared-memory mulithreading parallelization. +Use shared-memory multithreading parallelization. @item @samp{lib} Library-based coarray parallelization; a suitable GNU Fortran coarray diff --git a/libgfortran/generated/matmul_c10.c b/libgfortran/generated/matmul_c10.c index b2e6155ceea9..aadb90acc2eb 100644 --- a/libgfortran/generated/matmul_c10.c +++ b/libgfortran/generated/matmul_c10.c @@ -1785,7 +1785,7 @@ matmul_c10_avx512f (gfc_array_c10 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_c16.c b/libgfortran/generated/matmul_c16.c index 6b7418622685..ff69c48f6810 100644 --- a/libgfortran/generated/matmul_c16.c +++ b/libgfortran/generated/matmul_c16.c @@ -1785,7 +1785,7 @@ matmul_c16_avx512f (gfc_array_c16 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_c17.c b/libgfortran/generated/matmul_c17.c index 54c9cd7e4d81..099a2b23f571 100644 --- a/libgfortran/generated/matmul_c17.c +++ b/libgfortran/generated/matmul_c17.c @@ -1785,7 +1785,7 @@ matmul_c17_avx512f (gfc_array_c17 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_c4.c b/libgfortran/generated/matmul_c4.c index edaf9fe0e2eb..e21e09a86d0c 100644 --- a/libgfortran/generated/matmul_c4.c +++ b/libgfortran/generated/matmul_c4.c @@ -1785,7 +1785,7 @@ matmul_c4_avx512f (gfc_array_c4 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_c8.c b/libgfortran/generated/matmul_c8.c index b9532ccc2fd0..1ae698c954cc 100644 --- a/libgfortran/generated/matmul_c8.c +++ b/libgfortran/generated/matmul_c8.c @@ -1785,7 +1785,7 @@ matmul_c8_avx512f (gfc_array_c8 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_i1.c b/libgfortran/generated/matmul_i1.c index 823c32c7e787..72d9c1e35b23 100644 --- a/libgfortran/generated/matmul_i1.c +++ b/libgfortran/generated/matmul_i1.c @@ -1785,7 +1785,7 @@ matmul_i1_avx512f (gfc_array_m1 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_i16.c b/libgfortran/generated/matmul_i16.c index fc9812014491..0c2d328ebe9b 100644 --- a/libgfortran/generated/matmul_i16.c +++ b/libgfortran/generated/matmul_i16.c @@ -1785,7 +1785,7 @@ matmul_i16_avx512f (gfc_array_m16 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_i2.c b/libgfortran/generated/matmul_i2.c index 95088a749e4b..e0caf77f05db 100644 --- a/libgfortran/generated/matmul_i2.c +++ b/libgfortran/generated/matmul_i2.c @@ -1785,7 +1785,7 @@ matmul_i2_avx512f (gfc_array_m2 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_i4.c b/libgfortran/generated/matmul_i4.c index 8a70e348087e..ddd1363c411a 100644 --- a/libgfortran/generated/matmul_i4.c +++ b/libgfortran/generated/matmul_i4.c @@ -1785,7 +1785,7 @@ matmul_i4_avx512f (gfc_array_m4 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_i8.c b/libgfortran/generated/matmul_i8.c index 964dc0ab6b43..6c9b70aa57d9 100644 --- a/libgfortran/generated/matmul_i8.c +++ b/libgfortran/generated/matmul_i8.c @@ -1785,7 +1785,7 @@ matmul_i8_avx512f (gfc_array_m8 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_r10.c b/libgfortran/generated/matmul_r10.c index b72ed7d93465..1c52304fa628 100644 --- a/libgfortran/generated/matmul_r10.c +++ b/libgfortran/generated/matmul_r10.c @@ -1785,7 +1785,7 @@ matmul_r10_avx512f (gfc_array_r10 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_r16.c b/libgfortran/generated/matmul_r16.c index dfd6a5dc3bce..d9c16ab21550 100644 --- a/libgfortran/generated/matmul_r16.c +++ b/libgfortran/generated/matmul_r16.c @@ -1785,7 +1785,7 @@ matmul_r16_avx512f (gfc_array_r16 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_r17.c b/libgfortran/generated/matmul_r17.c index 30abf9ffb525..f9935400eed4 100644 --- a/libgfortran/generated/matmul_r17.c +++ b/libgfortran/generated/matmul_r17.c @@ -1785,7 +1785,7 @@ matmul_r17_avx512f (gfc_array_r17 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_r4.c b/libgfortran/generated/matmul_r4.c index fe48a3001289..727249f1fc2d 100644 --- a/libgfortran/generated/matmul_r4.c +++ b/libgfortran/generated/matmul_r4.c @@ -1785,7 +1785,7 @@ matmul_r4_avx512f (gfc_array_r4 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/generated/matmul_r8.c b/libgfortran/generated/matmul_r8.c index 6fe316ada815..14f5daa5bab7 100644 --- a/libgfortran/generated/matmul_r8.c +++ b/libgfortran/generated/matmul_r8.c @@ -1785,7 +1785,7 @@ matmul_r8_avx512f (gfc_array_r8 * const restrict retarray, #endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) void diff --git a/libgfortran/m4/matmul.m4 b/libgfortran/m4/matmul.m4 index 446d31c9f232..3333d388c73f 100644 --- a/libgfortran/m4/matmul.m4 +++ b/libgfortran/m4/matmul.m4 @@ -109,7 +109,7 @@ static' include(matmul_internal.m4)dnl static' include(matmul_internal.m4)dnl `#endif /* HAVE_AVX512F */ -/* AMD-specifix funtions with AVX128 and FMA3/FMA4. */ +/* AMD-specific functions with AVX128 and FMA3/FMA4. */ #if defined(HAVE_AVX) && defined(HAVE_FMA3) && defined(HAVE_AVX128) 'define(`matmul_name',`matmul_'rtype_code`_avx128_fma3')dnl
