public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/revert-sphinx-v2)] Revert "docs: move label directly before title"
@ 2022-11-14  3:04 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-11-14  3:04 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b9dca14a70513b1f2d39ca10b70bc8055edc6d3c

commit b9dca14a70513b1f2d39ca10b70bc8055edc6d3c
Author: Martin Liska <mliska@suse.cz>
Date:   Sun Nov 13 21:55:34 2022 +0100

    Revert "docs: move label directly before title"
    
    This reverts commit 740cf7d6ab266cf4249fc5c247187622cb6a2c8f.

Diff:
---
 gcc/fortran/doc/gfortran/intrinsic-procedures/abs.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/acos.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/acosd.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/acosh.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/aimag.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/aint.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/anint.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/asin.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/asind.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/asinh.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/atan.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/atan2.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/atan2d.rst   | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/atand.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/atanh.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/besselj0.rst | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/besselj1.rst | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/besseljn.rst | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/bessely0.rst | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/bessely1.rst | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/besselyn.rst | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/btest.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/char.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/conjg.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/cos.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/cosd.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/cosh.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/cotan.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/cotand.rst   | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/dim.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/dprod.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/erf.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/erfc.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/exp.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/gamma.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/iand.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ibclr.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ibits.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ibset.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ichar.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ieor.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/index.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/int.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ior.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ishft.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/ishftc.rst   | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/len.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/lge.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/lgt.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/lle.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/llt.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/log.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/log10.rst    | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/loggamma.rst | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/max.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/min.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/mod.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/mvbits.rst   | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/nint.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/not.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/real.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/sign.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/sin.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/sind.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/sinh.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/sqrt.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/tan.rst      | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/tand.rst     | 4 ++--
 gcc/fortran/doc/gfortran/intrinsic-procedures/tanh.rst     | 4 ++--
 69 files changed, 138 insertions(+), 138 deletions(-)

diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/abs.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/abs.rst
index 6be0d784173..7ae5b6bb5dd 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/abs.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/abs.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _abs:
+
 .. index:: ABS
 
 .. index:: CABS
@@ -25,8 +27,6 @@
 
 .. index:: absolute value
 
-.. _abs:
-
 ABS --- Absolute value
 **********************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/acos.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/acos.rst
index 21356949282..6696a8bd443 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/acos.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/acos.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _acos:
+
 .. index:: ACOS
 
 .. index:: DACOS
@@ -11,8 +13,6 @@
 
 .. index:: cosine, inverse
 
-.. _acos:
-
 ACOS --- Arccosine function
 ****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/acosd.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/acosd.rst
index aa12616f949..a5ba2c250a8 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/acosd.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/acosd.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _acosd:
+
 .. index:: ACOSD
 
 .. index:: DACOSD
@@ -11,8 +13,6 @@
 
 .. index:: cosine, inverse, degrees
 
-.. _acosd:
-
 ACOSD --- Arccosine function, degrees
 *************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/acosh.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/acosh.rst
index ae0e580abfb..1435c6ca278 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/acosh.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/acosh.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _acosh:
+
 .. index:: ACOSH
 
 .. index:: DACOSH
@@ -15,8 +17,6 @@
 
 .. index:: cosine, hyperbolic, inverse
 
-.. _acosh:
-
 ACOSH --- Inverse hyperbolic cosine function
 ********************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/aimag.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/aimag.rst
index 40d8e46802d..df8d9cb5aa1 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/aimag.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/aimag.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _aimag:
+
 .. index:: AIMAG
 
 .. index:: DIMAG
@@ -13,8 +15,6 @@
 
 .. index:: complex numbers, imaginary part
 
-.. _aimag:
-
 AIMAG --- Imaginary part of complex number
 ********************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/aint.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/aint.rst
index d3c59678c56..f95a60121aa 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/aint.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/aint.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _aint:
+
 .. index:: AINT
 
 .. index:: DINT
@@ -11,8 +13,6 @@
 
 .. index:: rounding, floor
 
-.. _aint:
-
 AINT --- Truncate to a whole number
 ***********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/anint.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/anint.rst
index e98fe00233e..7c1d324cfc7 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/anint.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/anint.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _anint:
+
 .. index:: ANINT
 
 .. index:: DNINT
@@ -11,8 +13,6 @@
 
 .. index:: rounding, ceiling
 
-.. _anint:
-
 ANINT --- Nearest whole number
 ******************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/asin.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/asin.rst
index 98ce55563af..44925bfb4e2 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/asin.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/asin.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _asin:
+
 .. index:: ASIN
 
 .. index:: DASIN
@@ -11,8 +13,6 @@
 
 .. index:: sine, inverse
 
-.. _asin:
-
 ASIN --- Arcsine function
 **************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/asind.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/asind.rst
index 7167f3cbaff..09cf64a0318 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/asind.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/asind.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _asind:
+
 .. index:: ASIND
 
 .. index:: DASIND
@@ -11,8 +13,6 @@
 
 .. index:: sine, inverse, degrees
 
-.. _asind:
-
 ASIND --- Arcsine function, degrees
 ***********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/asinh.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/asinh.rst
index e3c8cf20a00..34454dd5f22 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/asinh.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/asinh.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _asinh:
+
 .. index:: ASINH
 
 .. index:: DASINH
@@ -15,8 +17,6 @@
 
 .. index:: sine, hyperbolic, inverse
 
-.. _asinh:
-
 ASINH --- Inverse hyperbolic sine function
 ******************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/atan.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/atan.rst
index cc7ac0b3a64..23d570823de 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/atan.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/atan.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _atan:
+
 .. index:: ATAN
 
 .. index:: DATAN
@@ -11,8 +13,6 @@
 
 .. index:: tangent, inverse
 
-.. _atan:
-
 ATAN --- Arctangent function
 *****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2.rst
index 5bdd5090056..d947862ac9d 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _atan2:
+
 .. index:: ATAN2
 
 .. index:: DATAN2
@@ -11,8 +13,6 @@
 
 .. index:: tangent, inverse
 
-.. _atan2:
-
 ATAN2 --- Arctangent function
 ******************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2d.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2d.rst
index f5ee96bdcb9..03c77a27ba2 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2d.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/atan2d.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _atan2d:
+
 .. index:: ATAN2D
 
 .. index:: DATAN2D
@@ -11,8 +13,6 @@
 
 .. index:: tangent, inverse, degrees
 
-.. _atan2d:
-
 ATAN2D --- Arctangent function, degrees
 ***************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/atand.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/atand.rst
index 8316682e669..1ad299c63fa 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/atand.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/atand.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _atand:
+
 .. index:: ATAND
 
 .. index:: DATAND
@@ -11,8 +13,6 @@
 
 .. index:: tangent, inverse, degrees
 
-.. _atand:
-
 ATAND --- Arctangent function, degrees
 **************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/atanh.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/atanh.rst
index 62da7c046bb..d272e7fbe40 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/atanh.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/atanh.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _atanh:
+
 .. index:: ATANH
 
 .. index:: DATANH
@@ -15,8 +17,6 @@
 
 .. index:: tangent, hyperbolic, inverse
 
-.. _atanh:
-
 ATANH --- Inverse hyperbolic tangent function
 *********************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj0.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj0.rst
index d606853f160..564280c3be6 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj0.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj0.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _bessel_j0:
+
 .. index:: BESSEL_J0
 
 .. index:: BESJ0
@@ -11,8 +13,6 @@
 
 .. index:: Bessel function, first kind
 
-.. _bessel_j0:
-
 BESSEL_J0 --- Bessel function of the first kind of order 0
 **********************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj1.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj1.rst
index d6e54781c5e..b97aa7d9c66 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj1.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/besselj1.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _bessel_j1:
+
 .. index:: BESSEL_J1
 
 .. index:: BESJ1
@@ -11,8 +13,6 @@
 
 .. index:: Bessel function, first kind
 
-.. _bessel_j1:
-
 BESSEL_J1 --- Bessel function of the first kind of order 1
 **********************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/besseljn.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/besseljn.rst
index 5ca796388b1..da8a06e56fb 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/besseljn.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/besseljn.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _bessel_jn:
+
 .. index:: BESSEL_JN
 
 .. index:: BESJN
@@ -11,8 +13,6 @@
 
 .. index:: Bessel function, first kind
 
-.. _bessel_jn:
-
 BESSEL_JN --- Bessel function of the first kind
 ***********************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely0.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely0.rst
index 9912e721a45..a6aea18957f 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely0.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely0.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _bessel_y0:
+
 .. index:: BESSEL_Y0
 
 .. index:: BESY0
@@ -11,8 +13,6 @@
 
 .. index:: Bessel function, second kind
 
-.. _bessel_y0:
-
 BESSEL_Y0 --- Bessel function of the second kind of order 0
 ***********************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely1.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely1.rst
index 53174127777..a6f76608105 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely1.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/bessely1.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _bessel_y1:
+
 .. index:: BESSEL_Y1
 
 .. index:: BESY1
@@ -11,8 +13,6 @@
 
 .. index:: Bessel function, second kind
 
-.. _bessel_y1:
-
 BESSEL_Y1 --- Bessel function of the second kind of order 1
 ***********************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/besselyn.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/besselyn.rst
index ff877bc0e52..86b2c15baa1 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/besselyn.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/besselyn.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _bessel_yn:
+
 .. index:: BESSEL_YN
 
 .. index:: BESYN
@@ -11,8 +13,6 @@
 
 .. index:: Bessel function, second kind
 
-.. _bessel_yn:
-
 BESSEL_YN --- Bessel function of the second kind
 ************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/btest.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/btest.rst
index 9c18e204a11..62ce79090e9 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/btest.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/btest.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _btest:
+
 .. index:: BTEST
 
 .. index:: BBTEST
@@ -15,8 +17,6 @@
 
 .. index:: bits, testing
 
-.. _btest:
-
 BTEST --- Bit test function
 ***************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/char.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/char.rst
index 730f705b9ea..a51b927d0b3 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/char.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/char.rst
@@ -3,12 +3,12 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _char:
+
 .. index:: CHAR
 
 .. index:: conversion, to character
 
-.. _char:
-
 CHAR --- Character conversion function
 **************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/conjg.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/conjg.rst
index f9d204a7332..0c3ad2c98f3 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/conjg.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/conjg.rst
@@ -3,14 +3,14 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _conjg:
+
 .. index:: CONJG
 
 .. index:: DCONJG
 
 .. index:: complex conjugate
 
-.. _conjg:
-
 CONJG --- Complex conjugate function
 ************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/cos.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/cos.rst
index 143bdf4e00a..334ce7a6304 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/cos.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/cos.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _cos:
+
 .. index:: COS
 
 .. index:: DCOS
@@ -17,8 +19,6 @@
 
 .. index:: cosine
 
-.. _cos:
-
 COS --- Cosine function
 ***********************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/cosd.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/cosd.rst
index d1126381213..acfc1668589 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/cosd.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/cosd.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _cosd:
+
 .. index:: COSD
 
 .. index:: DCOSD
@@ -17,8 +19,6 @@
 
 .. index:: cosine, degrees
 
-.. _cosd:
-
 COSD --- Cosine function, degrees
 *********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/cosh.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/cosh.rst
index 0c79caba778..5e60f2fc347 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/cosh.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/cosh.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _cosh:
+
 .. index:: COSH
 
 .. index:: DCOSH
@@ -13,8 +15,6 @@
 
 .. index:: cosine, hyperbolic
 
-.. _cosh:
-
 COSH --- Hyperbolic cosine function
 ***********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/cotan.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/cotan.rst
index ceb435a7ec7..1d2a04d6d61 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/cotan.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/cotan.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _cotan:
+
 .. index:: COTAN
 
 .. index:: DCOTAN
@@ -11,8 +13,6 @@
 
 .. index:: cotangent
 
-.. _cotan:
-
 COTAN --- Cotangent function
 ****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/cotand.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/cotand.rst
index f4f5e440115..88b51873a3c 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/cotand.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/cotand.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _cotand:
+
 .. index:: COTAND
 
 .. index:: DCOTAND
@@ -11,8 +13,6 @@
 
 .. index:: cotangent, degrees
 
-.. _cotand:
-
 COTAND --- Cotangent function, degrees
 **************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/dim.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/dim.rst
index 1bbe6f0f4df..9a72c37aaa2 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/dim.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/dim.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _dim:
+
 .. index:: DIM
 
 .. index:: IDIM
@@ -11,8 +13,6 @@
 
 .. index:: positive difference
 
-.. _dim:
-
 DIM --- Positive difference
 ***************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/dprod.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/dprod.rst
index f36c154fd23..531a1b9e422 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/dprod.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/dprod.rst
@@ -3,12 +3,12 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _dprod:
+
 .. index:: DPROD
 
 .. index:: product, double-precision
 
-.. _dprod:
-
 DPROD --- Double product function
 *********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/erf.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/erf.rst
index 620ca0f00ba..2ad74906163 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/erf.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/erf.rst
@@ -3,12 +3,12 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _erf:
+
 .. index:: ERF
 
 .. index:: error function
 
-.. _erf:
-
 ERF --- Error function
 ***********************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/erfc.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/erfc.rst
index 4b3b26e9e10..a0f2680b825 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/erfc.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/erfc.rst
@@ -3,12 +3,12 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _erfc:
+
 .. index:: ERFC
 
 .. index:: error function, complementary
 
-.. _erfc:
-
 ERFC --- Error function
 ************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/exp.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/exp.rst
index 54234572d09..4ba0c54b9e2 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/exp.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/exp.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _exp:
+
 .. index:: EXP
 
 .. index:: DEXP
@@ -17,8 +19,6 @@
 
 .. index:: logarithm function, inverse
 
-.. _exp:
-
 EXP --- Exponential function
 *****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/gamma.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/gamma.rst
index 75fe73d6b93..b831746f405 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/gamma.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/gamma.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _gamma:
+
 .. index:: GAMMA
 
 .. index:: DGAMMA
@@ -11,8 +13,6 @@
 
 .. index:: Factorial function
 
-.. _gamma:
-
 GAMMA --- Gamma function
 ************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/iand.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/iand.rst
index 23cbfbe4dad..ae340e93f04 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/iand.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/iand.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _iand:
+
 .. index:: IAND
 
 .. index:: BIAND
@@ -17,8 +19,6 @@
 
 .. index:: logical and, bitwise
 
-.. _iand:
-
 IAND --- Bitwise logical and
 ****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ibclr.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ibclr.rst
index 764feac2b79..da2061369ee 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ibclr.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ibclr.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ibclr:
+
 .. index:: IBCLR
 
 .. index:: BBCLR
@@ -17,8 +19,6 @@
 
 .. index:: bits, clear
 
-.. _ibclr:
-
 IBCLR --- Clear bit
 *******************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ibits.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ibits.rst
index 214eb6f479e..e381b979d57 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ibits.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ibits.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ibits:
+
 .. index:: IBITS
 
 .. index:: BBITS
@@ -17,8 +19,6 @@
 
 .. index:: bits, extract
 
-.. _ibits:
-
 IBITS --- Bit extraction
 ************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ibset.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ibset.rst
index d722b34f591..11a548d0787 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ibset.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ibset.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ibset:
+
 .. index:: IBSET
 
 .. index:: BBSET
@@ -15,8 +17,6 @@
 
 .. index:: bits, set
 
-.. _ibset:
-
 IBSET --- Set bit
 *****************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ichar.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ichar.rst
index 1c8b9981bce..847854d3095 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ichar.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ichar.rst
@@ -3,12 +3,12 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ichar:
+
 .. index:: ICHAR
 
 .. index:: conversion, to integer
 
-.. _ichar:
-
 ICHAR --- Character-to-integer conversion function
 **************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ieor.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ieor.rst
index b7edebcfbd2..604cd654454 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ieor.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ieor.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ieor:
+
 .. index:: IEOR
 
 .. index:: BIEOR
@@ -17,8 +19,6 @@
 
 .. index:: logical exclusive or, bitwise
 
-.. _ieor:
-
 IEOR --- Bitwise logical exclusive or
 *************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/index.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/index.rst
index 595527ac53c..4ef9ead94b0 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/index.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/index.rst
@@ -3,14 +3,14 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _index-intrinsic:
+
 .. index:: INDEX
 
 .. index:: substring position
 
 .. index:: string, find substring
 
-.. _index-intrinsic:
-
 INDEX --- Position of a substring within a string
 *************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/int.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/int.rst
index 4524746f975..83a35aef529 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/int.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/int.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _int:
+
 .. index:: INT
 
 .. index:: IFIX
@@ -11,8 +13,6 @@
 
 .. index:: conversion, to integer
 
-.. _int:
-
 INT --- Convert to integer type
 *******************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ior.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ior.rst
index f7fd861118a..cd00b9623cc 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ior.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ior.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ior:
+
 .. index:: IOR
 
 .. index:: BIOR
@@ -17,8 +19,6 @@
 
 .. index:: logical or, bitwise
 
-.. _ior:
-
 IOR --- Bitwise logical or
 **************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ishft.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ishft.rst
index f9ebc041c70..ef1dc699cfe 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ishft.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ishft.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ishft:
+
 .. index:: ISHFT
 
 .. index:: BSHFT
@@ -15,8 +17,6 @@
 
 .. index:: bits, shift
 
-.. _ishft:
-
 ISHFT --- Shift bits
 ********************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/ishftc.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/ishftc.rst
index c16050214c9..ceabef3afbd 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/ishftc.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/ishftc.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _ishftc:
+
 .. index:: ISHFTC
 
 .. index:: BSHFTC
@@ -15,8 +17,6 @@
 
 .. index:: bits, shift circular
 
-.. _ishftc:
-
 ISHFTC --- Shift bits circularly
 ********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/len.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/len.rst
index de17692de9d..966ff554d46 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/len.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/len.rst
@@ -3,12 +3,12 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _len:
+
 .. index:: LEN
 
 .. index:: string, length
 
-.. _len:
-
 LEN --- Length of a character entity
 ************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/lge.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/lge.rst
index 93667b0130f..6ffb4a7af0c 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/lge.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/lge.rst
@@ -3,14 +3,14 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _lge:
+
 .. index:: LGE
 
 .. index:: lexical comparison of strings
 
 .. index:: string, comparison
 
-.. _lge:
-
 LGE --- Lexical greater than or equal
 *************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/lgt.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/lgt.rst
index 3eae0b0765a..0654ee5bc31 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/lgt.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/lgt.rst
@@ -3,14 +3,14 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _lgt:
+
 .. index:: LGT
 
 .. index:: lexical comparison of strings
 
 .. index:: string, comparison
 
-.. _lgt:
-
 LGT --- Lexical greater than
 ****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/lle.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/lle.rst
index 5c3c6c98c08..9edce0fec64 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/lle.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/lle.rst
@@ -3,14 +3,14 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _lle:
+
 .. index:: LLE
 
 .. index:: lexical comparison of strings
 
 .. index:: string, comparison
 
-.. _lle:
-
 LLE --- Lexical less than or equal
 **********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/llt.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/llt.rst
index e01000d87bc..e2f567c2890 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/llt.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/llt.rst
@@ -3,14 +3,14 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _llt:
+
 .. index:: LLT
 
 .. index:: lexical comparison of strings
 
 .. index:: string, comparison
 
-.. _llt:
-
 LLT --- Lexical less than
 *************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/log.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/log.rst
index 58ec46e9b45..b7bb67b9fc9 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/log.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/log.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _log:
+
 .. index:: LOG
 
 .. index:: ALOG
@@ -21,8 +23,6 @@
 
 .. index:: natural logarithm function
 
-.. _log:
-
 LOG --- Natural logarithm function
 **********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/log10.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/log10.rst
index ce9374db20e..80f8b7d89a4 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/log10.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/log10.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _log10:
+
 .. index:: LOG10
 
 .. index:: ALOG10
@@ -15,8 +17,6 @@
 
 .. index:: base 10 logarithm function
 
-.. _log10:
-
 LOG10 --- Base 10 logarithm function
 ************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/loggamma.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/loggamma.rst
index 65e7e4d6568..1818975123d 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/loggamma.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/loggamma.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _log_gamma:
+
 .. index:: LOG_GAMMA
 
 .. index:: LGAMMA
@@ -13,8 +15,6 @@
 
 .. index:: Gamma function, logarithm of
 
-.. _log_gamma:
-
 LOG_GAMMA --- Logarithm of the Gamma function
 *********************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/max.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/max.rst
index 807e42ab035..688e6931df6 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/max.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/max.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _max:
+
 .. index:: MAX
 
 .. index:: MAX0
@@ -17,8 +19,6 @@
 
 .. index:: maximum value
 
-.. _max:
-
 MAX --- Maximum value of an argument list
 *****************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/min.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/min.rst
index b902bfd432a..8fc6c689205 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/min.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/min.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _min:
+
 .. index:: MIN
 
 .. index:: MIN0
@@ -17,8 +19,6 @@
 
 .. index:: minimum value
 
-.. _min:
-
 MIN --- Minimum value of an argument list
 *****************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/mod.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/mod.rst
index 21e0794ffda..2e674e90bd4 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/mod.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/mod.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _mod:
+
 .. index:: MOD
 
 .. index:: AMOD
@@ -21,8 +23,6 @@
 
 .. index:: division, remainder
 
-.. _mod:
-
 MOD --- Remainder function
 **************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/mvbits.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/mvbits.rst
index 5859bbb294b..b60a197fbe3 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/mvbits.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/mvbits.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _mvbits:
+
 .. index:: MVBITS
 
 .. index:: BMVBITS
@@ -15,8 +17,6 @@
 
 .. index:: bits, move
 
-.. _mvbits:
-
 MVBITS --- Move bits from one integer to another
 ************************************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/nint.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/nint.rst
index 2cb9c47140e..035beb041e2 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/nint.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/nint.rst
@@ -3,14 +3,14 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _nint:
+
 .. index:: NINT
 
 .. index:: IDNINT
 
 .. index:: rounding, nearest whole number
 
-.. _nint:
-
 NINT --- Nearest whole number
 *****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/not.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/not.rst
index 9c00a22d7e5..57670323450 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/not.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/not.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _not:
+
 .. index:: NOT
 
 .. index:: BNOT
@@ -19,8 +21,6 @@
 
 .. index:: logical not, bitwise
 
-.. _not:
-
 NOT --- Logical negation
 ************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/real.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/real.rst
index 03c91f29ced..be19a01723d 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/real.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/real.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _real:
+
 .. index:: REAL
 
 .. index:: REALPART
@@ -23,8 +25,6 @@
 
 .. index:: complex numbers, real part
 
-.. _real:
-
 REAL --- Convert to real type
 ******************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/sign.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/sign.rst
index 67b6de91346..0739490763e 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/sign.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/sign.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _sign:
+
 .. index:: SIGN
 
 .. index:: ISIGN
@@ -11,8 +13,6 @@
 
 .. index:: sign copying
 
-.. _sign:
-
 SIGN --- Sign copying function
 ******************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/sin.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/sin.rst
index bc50dcf169c..902144f3062 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/sin.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/sin.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _sin:
+
 .. index:: SIN
 
 .. index:: DSIN
@@ -17,8 +19,6 @@
 
 .. index:: sine
 
-.. _sin:
-
 SIN --- Sine function
 **********************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/sind.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/sind.rst
index bb49bef1db7..89aa7e16bdf 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/sind.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/sind.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _sind:
+
 .. index:: SIND
 
 .. index:: DSIND
@@ -17,8 +19,6 @@
 
 .. index:: sine, degrees
 
-.. _sind:
-
 SIND --- Sine function, degrees
 *******************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/sinh.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/sinh.rst
index 3d5ae7381b5..e63deff9bee 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/sinh.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/sinh.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _sinh:
+
 .. index:: SINH
 
 .. index:: DSINH
@@ -13,8 +15,6 @@
 
 .. index:: sine, hyperbolic
 
-.. _sinh:
-
 SINH --- Hyperbolic sine function
 **********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/sqrt.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/sqrt.rst
index a2ec6bad7d8..e4831b6f089 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/sqrt.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/sqrt.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _sqrt:
+
 .. index:: SQRT
 
 .. index:: DSQRT
@@ -17,8 +19,6 @@
 
 .. index:: square-root
 
-.. _sqrt:
-
 SQRT --- Square-root function
 *****************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/tan.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/tan.rst
index b31fb7b2fc3..e8a77eccdb5 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/tan.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/tan.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _tan:
+
 .. index:: TAN
 
 .. index:: DTAN
@@ -11,8 +13,6 @@
 
 .. index:: tangent
 
-.. _tan:
-
 TAN --- Tangent function
 ************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/tand.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/tand.rst
index 248472bfd13..3d7e7c186bf 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/tand.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/tand.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _tand:
+
 .. index:: TAND
 
 .. index:: DTAND
@@ -11,8 +13,6 @@
 
 .. index:: tangent, degrees
 
-.. _tand:
-
 TAND --- Tangent function, degrees
 **********************************
 
diff --git a/gcc/fortran/doc/gfortran/intrinsic-procedures/tanh.rst b/gcc/fortran/doc/gfortran/intrinsic-procedures/tanh.rst
index 73d1963caee..1a3468abd3a 100644
--- a/gcc/fortran/doc/gfortran/intrinsic-procedures/tanh.rst
+++ b/gcc/fortran/doc/gfortran/intrinsic-procedures/tanh.rst
@@ -3,6 +3,8 @@
   This is part of the GCC manual.
   For copying conditions, see the copyright.rst file.
 
+.. _tanh:
+
 .. index:: TANH
 
 .. index:: DTANH
@@ -13,8 +15,6 @@
 
 .. index:: tangent, hyperbolic
 
-.. _tanh:
-
 TANH --- Hyperbolic tangent function
 *************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-14  3:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14  3:04 [gcc(refs/users/marxin/heads/revert-sphinx-v2)] Revert "docs: move label directly before title" Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).