I removed a spurious '@menu' entry as warned for by texinfo:
gfortran.texi:2542: warning: node up `Unsigned integers' in menu
`Default exponents' and in sectioning `Extensions implemented in GNU
Fortran' differ Committed as r16-5800-g6e64cd9b762078 / as attached. If
fixes the following. Thanks, Tobias * * *
If one searches for "Unsigned integer" in the info page, one finds:
5.1 Extensions implemented in GNU Fortran
=========================================
...
* Menu:... * Unsignedintegers:: Which jumps to: 5.1.34 Unsigned integers
------------------------ However, there is also: 5.1.33 Default
exponents ------------------------ For compatibility, GNU Fortran
supports a default exponent of zero in real constants with ‘-fdec’. For
example, ‘9e’ would be interpreted as ‘9e0’, rather than an error. *
Menu: * Unsigned integers:: And this menu entry is bogus!
commit 6e64cd9b762078a37b5ca27de0413ea951f99fb4
Author: Tobias Burnus <[email protected]>
Date: Mon Dec 1 15:52:14 2025 +0100
gfortran.texi: Remove spurious @menu entry
Fixed the issue:
gfortran.texi:2542: warning: node up `Unsigned integers' in menu
`Default exponents' and in sectioning `Extensions implemented in
GNU Fortran' differ
There is an 'Unsigned integers' @menu entry under @section level
'Extensions implemented in GNU Fortran', where it should be. But some
spurious '@menu' entry, only with 'Unsigned integers' in it, was under
'@subsection Default exponents' just before the node of the
'@subsection Unsigned integers'. - The latter worked but was bogus
and lead the warning. Hence, it is now gone.
gcc/fortran/ChangeLog:
* gfortran.texi (Default exponents): Remove spurious @menu entry.
---
gcc/fortran/gfortran.texi | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index fa66bc4783d..0f7572b2518 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -2530,20 +2530,16 @@ parameter c = 3.0e8
@node Default exponents
@subsection Default exponents
@cindex exponent
For compatibility, GNU Fortran supports a default exponent of zero in real
constants with @option{-fdec}. For example, @code{9e} would be
interpreted as @code{9e0}, rather than an error.
-@menu
-* Unsigned integers::
-@end menu
-
@node Unsigned integers
@subsection Unsigned integers
@cindex Unsigned integers
If the @option{-funsigned} option is given, GNU Fortran supports
unsigned integers according to
@uref{https://j3-fortran.org/doc/year/24/24-116.txt, J3/24-116}. The
data type is called @code{UNSIGNED}. For an unsigned type with @code{n}
bits, it implements integer arithmetic modulo @code{2**n}, comparable