[gcc(refs/users/marxin/heads/sphinx-v7)] Sync up with master.

Martin Liska marxin@gcc.gnu.org
Thu Aug 18 13:57:51 GMT 2022


https://gcc.gnu.org/g:4bd71fc6606a904748821cb6c7c5cdeee6d190a7

commit 4bd71fc6606a904748821cb6c7c5cdeee6d190a7
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Aug 18 15:55:32 2022 +0200

    Sync up with master.

Diff:
---
 gcc/d/doc/invoking-gdc/runtime-options.rst         |  16 ++-
 gcc/doc/gcc/gcc-command-options.rst                |   3 +
 .../machine-dependent-options/arm-options.rst      |  15 ++-
 .../loongarch-options.rst                          |   2 +-
 gcc/doc/gcc/gcc-command-options/option-summary.rst |   4 +-
 .../options-controlling-the-kind-of-output.rst     |   2 +-
 .../options-that-control-optimization.rst          |  12 +-
 .../options-that-control-static-analysis.rst       | 145 ++++++++++++++++++++-
 gcc/doc/gcc/gcov-dump.rst                          |   5 +
 .../references-for-other-languages.rst             |   2 +-
 .../loop-querying.rst                              |   2 +-
 gcc/doc/gccint/guidelines-for-diagnostics.rst      |   4 +-
 .../building-documentation.rst                     |   2 +-
 .../controlling-debugging-information-format.rst   |   9 +-
 gcc/doc/gccint/target-macros/tm.rst.in             |   1 -
 gcc/doc/install/binaries.rst                       |   3 -
 gcc/doc/install/configuration.rst                  |   2 +-
 gcc/fortran/doc/gfortran/about-gnu-fortran.rst     |   2 +-
 .../extensions-implemented-in-gnu-fortran.rst      |   2 +-
 .../influencing-the-linking-step.rst               |  15 ++-
 .../gnu-fortran-command-options/option-summary.rst |   2 +-
 gcc/fortran/doc/gfortran/standards.rst             |   2 +-
 22 files changed, 220 insertions(+), 32 deletions(-)

diff --git a/gcc/d/doc/invoking-gdc/runtime-options.rst b/gcc/d/doc/invoking-gdc/runtime-options.rst
index 492872d28b6..97f31682d3d 100644
--- a/gcc/d/doc/invoking-gdc/runtime-options.rst
+++ b/gcc/d/doc/invoking-gdc/runtime-options.rst
@@ -180,17 +180,20 @@ These options affect the runtime behavior of programs compiled with
     Turns on all upcoming D language features.
 
   :samp:`dip1000`
-    Implements https://wiki.dlang.org/DIP1000 (Scoped pointers).
+    Implements https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1000.md
+    (Scoped pointers).
 
   :samp:`dip1008`
-    Implements https://wiki.dlang.org/DIP1008 (Allow exceptions in
-    ``@nogc`` code).
+    Implements https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1008.md
+    (Allow exceptions in ``@nogc`` code).
 
   :samp:`dip1021`
-    Implements https://wiki.dlang.org/DIP1021 (Mutable function arguments).
+    Implements https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1021.md
+    (Mutable function arguments).
 
   :samp:`dip25`
-    Implements https://wiki.dlang.org/DIP25 (Sealed references).
+    Implements https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP25.md
+    (Sealed references).
 
   :samp:`dtorfields`
     Turns on generation for destructing fields of partially constructed objects.
@@ -251,7 +254,8 @@ These options affect the runtime behavior of programs compiled with
     Turns off all revertable D language features.
 
   :samp:`dip25`
-    Reverts https://wiki.dlang.org/DIP25 (Sealed references).
+    Reverts https://github.com/dlang/DIPs/blob/master/DIPs/archive/DIP25.md
+    (Sealed references).
 
   :samp:`dtorfields`
     Turns off generation for destructing fields of partially constructed objects.
diff --git a/gcc/doc/gcc/gcc-command-options.rst b/gcc/doc/gcc/gcc-command-options.rst
index 06ec0194961..95ee19b58bf 100644
--- a/gcc/doc/gcc/gcc-command-options.rst
+++ b/gcc/doc/gcc/gcc-command-options.rst
@@ -7,6 +7,9 @@
 
 .. _invoking-gcc:
 
+GCC Command Options
+--------------------
+
 .. only:: man
 
   Synopsis
diff --git a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/arm-options.rst b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/arm-options.rst
index 7a73030e287..90ec31578f9 100644
--- a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/arm-options.rst
+++ b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/arm-options.rst
@@ -658,14 +658,25 @@ These :samp:`-m` options are defined for the ARM port:
   The following extension options are common to the listed CPUs:
 
   :samp:`+nodsp`
-    Disable the DSP instructions on :samp:`cortex-m33`, :samp:`cortex-m35p`.
+    Disable the DSP instructions on :samp:`cortex-m33`, :samp:`cortex-m35p`
+    and :samp:`cortex-m55`. Also disable the M-Profile Vector Extension (MVE)
+    integer and single precision floating-point instructions on :samp:`cortex-m55`.
+
+  :samp:`+nomve`
+    Disable the M-Profile Vector Extension (MVE) integer and single precision
+    floating-point instructions on :samp:`cortex-m55`.
+
+  :samp:`+nomve.fp`
+    Disable the M-Profile Vector Extension (MVE) single precision floating-point
+    instructions on :samp:`cortex-m55`.
 
   :samp:`+nofp`
     Disables the floating-point instructions on :samp:`arm9e`,
     :samp:`arm946e-s`, :samp:`arm966e-s`, :samp:`arm968e-s`, :samp:`arm10e`,
     :samp:`arm1020e`, :samp:`arm1022e`, :samp:`arm926ej-s`,
     :samp:`arm1026ej-s`, :samp:`cortex-r5`, :samp:`cortex-r7`, :samp:`cortex-r8`,
-    :samp:`cortex-m4`, :samp:`cortex-m7`, :samp:`cortex-m33` and :samp:`cortex-m35p`.
+    :samp:`cortex-m4`, :samp:`cortex-m7`, :samp:`cortex-m33`, :samp:`cortex-m35p`
+    and :samp:`cortex-m55`.
     Disables the floating-point and SIMD instructions on
     :samp:`generic-armv7-a`, :samp:`cortex-a5`, :samp:`cortex-a7`,
     :samp:`cortex-a8`, :samp:`cortex-a9`, :samp:`cortex-a12`,
diff --git a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/loongarch-options.rst b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/loongarch-options.rst
index beb53ad0838..8106d08ad3c 100644
--- a/gcc/doc/gcc/gcc-command-options/machine-dependent-options/loongarch-options.rst
+++ b/gcc/doc/gcc/gcc-command-options/machine-dependent-options/loongarch-options.rst
@@ -188,4 +188,4 @@ These command-line options are defined for LoongArch targets:
   ``-mexplicit-relocs`` if said support is present,
   ``-mno-explicit-relocs`` otherwise.  This option is mostly useful for
   debugging, or interoperation with assemblers different from the build-time
-  one.
+  one.
\ No newline at end of file
diff --git a/gcc/doc/gcc/gcc-command-options/option-summary.rst b/gcc/doc/gcc/gcc-command-options/option-summary.rst
index 63be02ea84d..40b5862a318 100644
--- a/gcc/doc/gcc/gcc-command-options/option-summary.rst
+++ b/gcc/doc/gcc/gcc-command-options/option-summary.rst
@@ -292,13 +292,15 @@ in the following sections.
   :option:`-Wno-analyzer-fd-use-without-check` |gol|
   :option:`-Wno-analyzer-file-leak` |gol|
   :option:`-Wno-analyzer-free-of-non-heap` |gol|
+  :option:`-Wno-analyzer-jump-through-null` |gol|
   :option:`-Wno-analyzer-malloc-leak` |gol|
   :option:`-Wno-analyzer-mismatching-deallocation` |gol|
   :option:`-Wno-analyzer-null-argument` |gol|
   :option:`-Wno-analyzer-null-dereference` |gol|
+  :option:`-Wno-analyzer-out-of-bounds` |gol|
   :option:`-Wno-analyzer-possible-null-argument` |gol|
   :option:`-Wno-analyzer-possible-null-dereference` |gol|
-  :option:`-Wno-analyzer-putenv-of-auto-var`  |gol|
+  :option:`-Wno-analyzer-putenv-of-auto-var` |gol|
   :option:`-Wno-analyzer-shift-count-negative` |gol|
   :option:`-Wno-analyzer-shift-count-overflow` |gol|
   :option:`-Wno-analyzer-stale-setjmp-buffer` |gol|
diff --git a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
index 798aadb32f0..dab61402b45 100644
--- a/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-controlling-the-kind-of-output.rst
@@ -704,7 +704,7 @@ one of the options :option:`-c`, :option:`-S`, or :option:`-E` to say where
 .. option:: -fdump-ada-spec[-slim]
 
   For C and C++ source and include files, generate corresponding Ada specs.
-  See :ref:`gnat_ugn:Generating_Ada_Bindings_for_C_and_C++_headers`, which provides detailed documentation on this feature.
+  See :ref:`gnat_ugn:generating-ada-bindings-for-c-and-c++-headers`, which provides detailed documentation on this feature.
 
 .. option:: -fada-spec-parent={unit}
 
diff --git a/gcc/doc/gcc/gcc-command-options/options-that-control-optimization.rst b/gcc/doc/gcc/gcc-command-options/options-that-control-optimization.rst
index 4c2a6188384..6089f2b556a 100644
--- a/gcc/doc/gcc/gcc-command-options/options-that-control-optimization.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-that-control-optimization.rst
@@ -3874,6 +3874,14 @@ section includes experimental options that may produce broken code.
     Maximum number of statements allowed in a block that needs to be
     duplicated when threading jumps.
 
+  .. gcc-param:: max-jump-thread-paths
+
+    The maximum number of paths to consider when searching for jump threading
+    opportunities.  When arriving at a block, incoming edges are only considered
+    if the number of paths to be searched so far multiplied by the number of
+    incoming edges does not exhaust the specified maximum number of paths to
+    consider.
+
   .. gcc-param:: max-fields-for-field-sensitive
 
     Maximum number of fields in a structure treated in
@@ -4458,10 +4466,6 @@ section includes experimental options that may produce broken code.
     Maximum number of instructions to copy when duplicating blocks on a
     finite state automaton jump thread path.
 
-  .. gcc-param:: max-fsm-thread-length
-
-    Maximum number of basic blocks on a jump thread path.
-
   .. gcc-param:: threader-debug
 
     threader-debug=[none|all]
diff --git a/gcc/doc/gcc/gcc-command-options/options-that-control-static-analysis.rst b/gcc/doc/gcc/gcc-command-options/options-that-control-static-analysis.rst
index f645c3b26e6..2ff40610f15 100644
--- a/gcc/doc/gcc/gcc-command-options/options-that-control-static-analysis.rst
+++ b/gcc/doc/gcc/gcc-command-options/options-that-control-static-analysis.rst
@@ -29,10 +29,12 @@ Options That Control Static Analysis
   :option:`-Wanalyzer-fd-use-without-check` |gol|
   :option:`-Wanalyzer-file-leak` |gol|
   :option:`-Wanalyzer-free-of-non-heap` |gol|
+  :option:`-Wanalyzer-jump-through-null` |gol|
   :option:`-Wanalyzer-malloc-leak` |gol|
   :option:`-Wanalyzer-mismatching-deallocation` |gol|
   :option:`-Wanalyzer-null-argument` |gol|
   :option:`-Wanalyzer-null-dereference` |gol|
+  :option:`-Wanalyzer-out-of-bounds` |gol|
   :option:`-Wanalyzer-possible-null-argument` |gol|
   :option:`-Wanalyzer-possible-null-dereference` |gol|
   :option:`-Wanalyzer-putenv-of-auto-var` |gol|
@@ -244,6 +246,19 @@ Options That Control Static Analysis
 
   Default setting; overrides :option:`-Wno-analyzer-free-of-non-heap`.
 
+.. option:: -Wno-analyzer-jump-through-null
+
+  This warning requires :option:`-fanalyzer`, which enables it; use
+  :option:`-Wno-analyzer-jump-through-null`
+  to disable it.
+
+  This diagnostic warns for paths through the code in which a ``NULL``
+  function pointer is called.
+
+.. option:: -Wanalyzer-jump-through-null
+
+  Default setting; overrides :option:`-Wno-analyzer-jump-through-null`.
+
 .. option:: -Wno-analyzer-malloc-leak
 
   This warning requires :option:`-fanalyzer`, which enables it; use
@@ -279,6 +294,22 @@ Options That Control Static Analysis
 
   Default setting; overrides :option:`-Wno-analyzer-mismatching-deallocation`.
 
+.. option:: -Wno-analyzer-out-of-bounds
+
+  This warning requires :option:`-fanalyzer` to enable it; use
+  :option:`-Wno-analyzer-out-of-bounds` to disable it.
+
+  This diagnostic warns for path through the code in which a buffer is
+  definitely read or written out-of-bounds.  The diagnostic only applies
+  for cases where the analyzer is able to determine a constant offset and
+  for accesses past the end of a buffer, also a constant capacity.
+
+  See `CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer <https://cwe.mitre.org/data/definitions/119.html>`_.
+
+.. option:: -Wanalyzer-out-of-bounds
+
+  Default setting; overrides :option:`-Wno-analyzer-out-of-bounds`.
+
 .. option:: -Wno-analyzer-possible-null-argument
 
   This warning requires :option:`-fanalyzer`, which enables it; use
@@ -342,7 +373,7 @@ Options That Control Static Analysis
 .. option:: -Wno-analyzer-putenv-of-auto-var
 
   This warning requires :option:`-fanalyzer`, which enables it; use
-  :option:`-Wno-analyzer-possible-null-dereference` to disable it.
+  :option:`-Wno-analyzer-putenv-of-auto-var` to disable it.
 
   This diagnostic warns for paths through the code in which a
   call to ``putenv`` is passed a pointer to an automatic variable
@@ -644,6 +675,118 @@ Options That Control Static Analysis
 
   Default setting; overrides :option:`-Wno-analyzer-use-of-uninitialized-value`.
 
+The analyzer has hardcoded knowledge about the behavior of the following
+memory-management functions:
+
+* ``alloca``
+
+* The built-in functions ``__builtin_alloc``,
+  ``__builtin_alloc_with_align``,
+
+* ``__builtin_calloc``,
+  ``__builtin_free``, ``__builtin_malloc``, ``__builtin_memcpy``,
+  ``__builtin_memcpy_chk``, ``__builtin_memset``,
+  ``__builtin_memset_chk``, ``__builtin_realloc``,
+  ``__builtin_stack_restore``, and ``__builtin_stack_save``
+
+* ``calloc``
+
+* ``free``
+
+* ``malloc``
+
+* ``memset``
+
+* ``operator delete``
+
+* ``operator delete []``
+
+* ``operator new``
+
+* ``operator new []``
+
+* ``realloc``
+
+* ``strdup``
+
+* ``strndup``
+
+of the following functions for working with file descriptors:
+
+* ``open``
+
+* ``close``
+
+* ``creat``
+
+* ``dup``, ``dup2`` and ``dup3``
+
+* ``read``
+
+* ``write``
+
+of the following functions for working with ``<stdio.h>`` streams:
+
+* The built-in functions ``__builtin_fprintf``,
+  ``__builtin_fprintf_unlocked``, ``__builtin_fputc``,
+  ``__builtin_fputc_unlocked``, ``__builtin_fputs``,
+  ``__builtin_fputs_unlocked``, ``__builtin_fwrite``,
+  ``__builtin_fwrite_unlocked``, ``__builtin_printf``,
+  ``__builtin_printf_unlocked``, ``__builtin_putc``,
+  ``__builtin_putchar``, ``__builtin_putchar_unlocked``,
+  ``__builtin_putc_unlocked``, ``__builtin_puts``,
+  ``__builtin_puts_unlocked``, ``__builtin_vfprintf``, and
+  ``__builtin_vprintf``
+
+* ``fopen``
+
+* ``fclose``
+
+* ``fgets``
+
+* ``fgets_unlocked``
+
+* ``fread``
+
+* ``getchar``
+
+* ``fprintf``
+
+* ``printf``
+
+* ``fwrite``
+
+and of the following functions:
+
+* The built-in functions ``__builtin_expect``,
+  ``__builtin_expect_with_probability``, ``__builtin_strchr``,
+  ``__builtin_strcpy``, ``__builtin_strcpy_chk``,
+  ``__builtin_strlen``, ``__builtin_va_copy``, and
+  ``__builtin_va_start``
+
+* The GNU extensions ``error`` and ``error_at_line``
+
+* ``getpass``
+
+* ``longjmp``
+
+* ``putenv``
+
+* ``setjmp``
+
+* ``siglongjmp``
+
+* :gcc-attr:`signal`
+
+* ``sigsetjmp``
+
+* ``strchr``
+
+* ``strlen``
+
+In addition, various functions with an ``__analyzer_`` prefix have
+special meaning to the analyzer, described in the GCC Internals manual.
+
 Pertinent parameters for controlling the exploration are:
 
 :option:`--param` :gcc-param:`analyzer-bb-explosion-factor`:samp:`={value}`,
diff --git a/gcc/doc/gcc/gcov-dump.rst b/gcc/doc/gcc/gcov-dump.rst
index e0f18897300..0e40b70d75f 100644
--- a/gcc/doc/gcc/gcov-dump.rst
+++ b/gcc/doc/gcc/gcov-dump.rst
@@ -21,6 +21,7 @@ gcov-dump---an Offline Gcda and Gcno Profile Dump Tool
        [ :option:`-l` | :option:`--long` ]
        [ :option:`-p` | :option:`--positions` ]
        [ :option:`-r` | :option:`--raw` ]
+       [ :option:`-s` | :option:`--stable` ]
        [ :samp:`{gcovfiles}` ]
 
 .. only:: not man
@@ -55,6 +56,10 @@ Options
 
   Print content records in raw format.
 
+.. option:: -s, --stable
+
+  Print content in stable format usable for comparison.
+
 .. option:: -v, --version
 
   Display the :command:`gcov-dump` version number (on the standard output),
diff --git a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
index fdb6c96358b..c0434cb4357 100644
--- a/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
+++ b/gcc/doc/gcc/language-standards-supported-by-gcc/references-for-other-languages.rst
@@ -9,5 +9,5 @@ References for Other Languages
 See :ref:`gnat_rm:top`, for information on standard
 conformance and compatibility of the Ada compiler.
 
-See :ref:`fortran:standards`, for details
+See :ref:`gfortran:standards`, for details
 of standards supported by GNU Fortran.
\ No newline at end of file
diff --git a/gcc/doc/gccint/analysis-and-representation-of-loops/loop-querying.rst b/gcc/doc/gccint/analysis-and-representation-of-loops/loop-querying.rst
index 0813311a744..20b9088b827 100644
--- a/gcc/doc/gccint/analysis-and-representation-of-loops/loop-querying.rst
+++ b/gcc/doc/gccint/analysis-and-representation-of-loops/loop-querying.rst
@@ -78,4 +78,4 @@ The most important functions to query loop structures are:
 
 * ``just_once_each_iteration_p`` : Returns true if the basic block
   is executed exactly once during each iteration of a loop (that is, it
-  does not belong to a sub-loop, and it dominates the latch of the loop).
+  does not belong to a sub-loop, and it dominates the latch of the loop).
\ No newline at end of file
diff --git a/gcc/doc/gccint/guidelines-for-diagnostics.rst b/gcc/doc/gccint/guidelines-for-diagnostics.rst
index e5f72c1d854..5b3bb521c1d 100644
--- a/gcc/doc/gccint/guidelines-for-diagnostics.rst
+++ b/gcc/doc/gccint/guidelines-for-diagnostics.rst
@@ -399,8 +399,8 @@ source code it should not be quoted.
 Spelling and Terminology
 ^^^^^^^^^^^^^^^^^^^^^^^^
 
-See the `terminology and markup <https://gcc.gnu.org/codingconventions.html#Spelling
-Spelling>`_ section of the GCC coding conventions.
+See the `Spelling, terminology and markup <https://gcc.gnu.org/codingconventions.html#Spelling>`_
+section of the GCC coding conventions.
 
 .. index:: fix-it hints, diagnostics guidelines, fix-it hints
 
diff --git a/gcc/doc/gccint/source-tree-structure-and-build-system/the-gcc-subdirectory/building-documentation.rst b/gcc/doc/gccint/source-tree-structure-and-build-system/the-gcc-subdirectory/building-documentation.rst
index 6fcd4e4dc3c..fd54343b020 100644
--- a/gcc/doc/gccint/source-tree-structure-and-build-system/the-gcc-subdirectory/building-documentation.rst
+++ b/gcc/doc/gccint/source-tree-structure-and-build-system/the-gcc-subdirectory/building-documentation.rst
@@ -175,4 +175,4 @@ with miscellaneous documentation:
   why isn't this part of this manual or of the GCC Coding Conventions?
 
   FIXME: document such files in subdirectories, at least :samp:`config`,
-  :samp:`c`, :samp:`cp`, :samp:`objc`, :samp:`testsuite`.
+  :samp:`c`, :samp:`cp`, :samp:`objc`, :samp:`testsuite`.
\ No newline at end of file
diff --git a/gcc/doc/gccint/target-macros/controlling-debugging-information-format.rst b/gcc/doc/gccint/target-macros/controlling-debugging-information-format.rst
index 04104f28d85..aefbc60dd6b 100644
--- a/gcc/doc/gccint/target-macros/controlling-debugging-information-format.rst
+++ b/gcc/doc/gccint/target-macros/controlling-debugging-information-format.rst
@@ -324,6 +324,13 @@ Here are macros for DWARF output.
   :start-after: [TARGET_DWARF_CALLING_CONVENTION]
   :end-before: [TARGET_DWARF_CALLING_CONVENTION]
 
+
+.. function:: int TARGET_DWARF_CALLING_CONVENTION (const_tree function)
+
+  Define this to enable the dwarf attribute ``DW_AT_calling_convention`` to
+  be emitted for each function.  Instead of an integer return the enum
+  value for the ``DW_CC_`` tag.
+
 .. c:macro:: DWARF2_FRAME_INFO
 
   Define this macro to a nonzero value if GCC should always output
@@ -459,4 +466,4 @@ Here are macros for BTF debug format.
 .. c:macro:: BTF_DEBUGGING_INFO
 
   Define this macro if GCC should produce debugging output in BTF debug
-  format in response to the :option:`-gbtf` option.
+  format in response to the :option:`-gbtf` option.
\ No newline at end of file
diff --git a/gcc/doc/gccint/target-macros/tm.rst.in b/gcc/doc/gccint/target-macros/tm.rst.in
index cc999d3406f..b710cefa5d2 100644
--- a/gcc/doc/gccint/target-macros/tm.rst.in
+++ b/gcc/doc/gccint/target-macros/tm.rst.in
@@ -6872,4 +6872,3 @@
   decls will be emitted as weak symbols.  The default is ``false``.
 
 [TARGET_D_TEMPLATES_ALWAYS_COMDAT]
-
diff --git a/gcc/doc/install/binaries.rst b/gcc/doc/install/binaries.rst
index c4aab89ee34..b7d8e66c12b 100644
--- a/gcc/doc/install/binaries.rst
+++ b/gcc/doc/install/binaries.rst
@@ -21,9 +21,6 @@ contact their makers.
 
 * AIX:
 
-  * `Bull's Open Source Software Archive for
-    for AIX 6 and AIX 7 <http://www.bullfreeware.com>`_;
-
   * `AIX Open Source Packages (AIX5L AIX 6.1
     AIX 7.1) <http://www.perzl.org/aix/>`_.
 
diff --git a/gcc/doc/install/configuration.rst b/gcc/doc/install/configuration.rst
index 51828f864e4..1912da90254 100644
--- a/gcc/doc/install/configuration.rst
+++ b/gcc/doc/install/configuration.rst
@@ -2075,4 +2075,4 @@ The following options apply to the build of the D runtime library.
   Use installed :samp:`zlib` rather than that included with GCC.  This needs
   to be available for each multilib variant, unless configured with
   :option:`--with-target-system-zlib`:samp:`=auto` in which case the GCC included
-  :samp:`zlib` is only used when the system installed library is not available.
+  :samp:`zlib` is only used when the system installed library is not available.
\ No newline at end of file
diff --git a/gcc/fortran/doc/gfortran/about-gnu-fortran.rst b/gcc/fortran/doc/gfortran/about-gnu-fortran.rst
index 9e534e5e249..aff8b42c645 100644
--- a/gcc/fortran/doc/gfortran/about-gnu-fortran.rst
+++ b/gcc/fortran/doc/gfortran/about-gnu-fortran.rst
@@ -20,7 +20,7 @@ including OpenMP and OpenACC support for parallel programming.
 
 The GNU Fortran compiler passes the
 `NIST Fortran 77 Test Suite <http://www.fortran-2000.com/ArnaudRecipes/fcvs21_f95.html>`_, and produces acceptable results on the
-`LAPACK Test Suite <https://www.netlib.org/lapack/faq.html#1.21>`_.
+`LAPACK Test Suite <https://www.netlib.org/lapack/faq.html>`_.
 It also provides respectable performance on
 the `Polyhedron Fortran compiler benchmarks <https://polyhedron.com/?page_id=175>`_ and the
 `Livermore Fortran Kernels test <https://www.netlib.org/benchmark/livermore>`_.  It has been used to compile a number of
diff --git a/gcc/fortran/doc/gfortran/extensions-implemented-in-gnu-fortran.rst b/gcc/fortran/doc/gfortran/extensions-implemented-in-gnu-fortran.rst
index 6fbe4894170..5a2f117beac 100644
--- a/gcc/fortran/doc/gfortran/extensions-implemented-in-gnu-fortran.rst
+++ b/gcc/fortran/doc/gfortran/extensions-implemented-in-gnu-fortran.rst
@@ -678,7 +678,7 @@ It consists of a set of compiler directives, library routines,
 and environment variables that influence run-time behavior.
 
 GNU Fortran strives to be compatible to the
-`OpenMP Application Program Interface v4.5 <https://openmp.org/wp/openmp-specifications/>`_.
+`OpenMP Application Program Interface v4.5 <https://openmp.org/specifications/>`_.
 
 To enable the processing of the OpenMP directive ``!$omp`` in
 free-form source code; the ``c$omp``, ``*$omp`` and ``!$omp``
diff --git a/gcc/fortran/doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst b/gcc/fortran/doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst
index acca8ff854c..403b1661909 100644
--- a/gcc/fortran/doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst
+++ b/gcc/fortran/doc/gfortran/gnu-fortran-command-options/influencing-the-linking-step.rst
@@ -21,4 +21,17 @@ a link step.
   On systems that provide :samp:`libgfortran` as a shared and a static
   library, this option forces the use of the static version. If no
   shared version of :samp:`libgfortran` was built when the compiler was
-  configured, this option has no effect.
\ No newline at end of file
+  configured, this option has no effect.
+
+.. index:: static-libquadmath
+
+.. option:: -static-libquadmath
+
+  On systems that provide :samp:`libquadmath` as a shared and a static
+  library, this option forces the use of the static version. If no
+  shared version of :samp:`libquadmath` was built when the compiler was
+  configured, this option has no effect.
+
+  Please note that the :samp:`libquadmath` runtime library is licensed under the
+  GNU Lesser General Public License (LGPL), and linking it statically introduces
+  requirements when redistributing the resulting binaries.
\ No newline at end of file
diff --git a/gcc/fortran/doc/gfortran/gnu-fortran-command-options/option-summary.rst b/gcc/fortran/doc/gfortran/gnu-fortran-command-options/option-summary.rst
index 1e42de948c8..6113852213d 100644
--- a/gcc/fortran/doc/gfortran/gnu-fortran-command-options/option-summary.rst
+++ b/gcc/fortran/doc/gfortran/gnu-fortran-command-options/option-summary.rst
@@ -71,7 +71,7 @@ by type.  Explanations are in the following sections.
 *Link Options*
   See :ref:`link-options`.
 
-  :option:`-static-libgfortran`
+  :option:`-static-libgfortran`  :option:`-static-libquadmath`
 
 *Runtime Options*
   See :ref:`runtime-options`.
diff --git a/gcc/fortran/doc/gfortran/standards.rst b/gcc/fortran/doc/gfortran/standards.rst
index 28d52724de6..efc08d01d2d 100644
--- a/gcc/fortran/doc/gfortran/standards.rst
+++ b/gcc/fortran/doc/gfortran/standards.rst
@@ -34,7 +34,7 @@ found in the following sections of the documentation.
 
 Additionally, the GNU Fortran compilers supports the OpenMP specification
 (version 4.5 and partial support of the features of the 5.0 version,
-https://openmp.org/openmp-specifications/).
+https://openmp.org/specifications/).
 There also is support for the OpenACC specification (targeting
 version 2.6, https://www.openacc.org/).  See
 https://gcc.gnu.org/wiki/OpenACC for more information.


More information about the Gcc-cvs mailing list