]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran: Fix .texi and comment typos
authorTobias Burnus <tburnus@baylibre.com>
Fri, 22 May 2026 21:43:43 +0000 (23:43 +0200)
committerTobias Burnus <tburnus@baylibre.com>
Fri, 22 May 2026 21:43:43 +0000 (23:43 +0200)
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.

20 files changed:
gcc/fortran/dump-parse-tree.cc
gcc/fortran/gfortran.texi
gcc/fortran/intrinsic.texi
gcc/fortran/invoke.texi
libgfortran/generated/matmul_c10.c
libgfortran/generated/matmul_c16.c
libgfortran/generated/matmul_c17.c
libgfortran/generated/matmul_c4.c
libgfortran/generated/matmul_c8.c
libgfortran/generated/matmul_i1.c
libgfortran/generated/matmul_i16.c
libgfortran/generated/matmul_i2.c
libgfortran/generated/matmul_i4.c
libgfortran/generated/matmul_i8.c
libgfortran/generated/matmul_r10.c
libgfortran/generated/matmul_r16.c
libgfortran/generated/matmul_r17.c
libgfortran/generated/matmul_r4.c
libgfortran/generated/matmul_r8.c
libgfortran/m4/matmul.m4

index 2bf1b75650b2b2ac6ed41dbf4b6279ae5e3e3f12..ea878099da53dcb78f10359e64d6b99f2bb45b69 100644 (file)
@@ -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);
index a930cc1dc9c04348d9ef284789720a79055ca702..16553508a58b991d443f48e294ac79bd1a0b0753 100644 (file)
@@ -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}:
index 6da3be0237bbe6de6f4424577151f5d8af1a08ba..f5a29606eb4975a89c32888da3fd4c108410e320 100644 (file)
@@ -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.
index 84a8404a9d3ae09c73866e18e9781515bd6acb3b..00fbc49c9374c6ca1bd6811b7e558a857499dcc6 100644 (file)
@@ -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
index b2e6155ceea9510505ac64c989f7a14ff5bf8dbb..aadb90acc2eb306d818f7e0fe8d3e2ab19c13a7a 100644 (file)
@@ -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
index 6b7418622685b8c525e1be5cda4789023a40dfea..ff69c48f6810f5db1a5a7034ac7d86931f9067fd 100644 (file)
@@ -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
index 54c9cd7e4d81dc87aa804ec1cfd7e9974f157651..099a2b23f571149694badb8f03cc04f8d76ee4cd 100644 (file)
@@ -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
index edaf9fe0e2ebb9443d53b16c1e58c6fd37ede68b..e21e09a86d0ca03389ff7775860f8de5904b470a 100644 (file)
@@ -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
index b9532ccc2fd0b31afb9b24a2c2a7784d7d055c32..1ae698c954cc293965fc26606e4913c6de7c74bd 100644 (file)
@@ -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
index 823c32c7e787fed6212f297022b54c9c3c2af4c6..72d9c1e35b2321f35c31082f4b4b57675927ede6 100644 (file)
@@ -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
index fc98120144916579d91f9bff3ae081c12a19d560..0c2d328ebe9b958b409cbc74f2b8699ac5ff73c5 100644 (file)
@@ -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
index 95088a749e4b6c6165bc5cbfb7b8c13b3c5b9d01..e0caf77f05db6bdf79f9e31d907f3f9d368d9364 100644 (file)
@@ -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
index 8a70e348087ed75ab8c054337f3029f1b3a34ba0..ddd1363c411a6c19f591b5d22c1807dfa4f68117 100644 (file)
@@ -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
index 964dc0ab6b430f66f05090bdad3a5cffe7779137..6c9b70aa57d9d943fba3944b6eb3f1b9ac04ec97 100644 (file)
@@ -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
index b72ed7d934652f89e0da10cf9c2b5080511fea80..1c52304fa6284bb3053c40f182a8694df110bd37 100644 (file)
@@ -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
index dfd6a5dc3bce67a4cf887672745c091aaefde301..d9c16ab21550b24c706313545cab73496dc4a1f0 100644 (file)
@@ -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
index 30abf9ffb52558619238120e32965f6cf55a4092..f9935400eed4c25af8631d9db382d97c017135e6 100644 (file)
@@ -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
index fe48a30012895f132d3c2c8c74759c1afaa0a05f..727249f1fc2d5173d2b20b71dfe40fd17a494a5d 100644 (file)
@@ -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
index 6fe316ada8154854492119920d5278adf3ea5a0d..14f5daa5bab743c743e2e97cc62233c379327a2c 100644 (file)
@@ -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
index 446d31c9f232b36a0e89926fb980893f0cfd2cd3..3333d388c73f1a13422ba0ae59fb46a30ca9dba4 100644 (file)
@@ -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