]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Fix extend.texi menu
authorHaochen Jiang <haochen.jiang@intel.com>
Wed, 28 May 2025 02:36:34 +0000 (10:36 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Wed, 28 May 2025 07:49:58 +0000 (15:49 +0800)
commit 517c9487f8fdc4e4e90252a9365e5823259dc783
Author: Alejandro Colomar <alx@kernel.org>
Date:   Thu May 22 01:15:36 2025 +0200

    c: Add _Countof operator [PR117025]

broke gcc build on RHEL 9 when building texi files (with bundled
makeinfo 6.7):

gcc/doc/extend.texi:6: node `C Extensions' lacks menu item for
`_Countof' despite being its Up target

The same fail will happen for makeinfo <= 6.7, while won't fail
when makeinfo >= 6.8.

Fixed by adding the missing menu entires.

gcc/ChangeLog:

* doc/extend.texi (C Extensions): Add missing menu items.

gcc/doc/extend.texi

index edd3a0d96c52bf70b7f1817d79fce22f0b6a45e5..fe22d34c2cf636584181110dafd8130b2d819d20 100644 (file)
@@ -31,6 +31,7 @@ extensions, accepted by GCC in C90 mode and in C++.
 * Thread-Local::        Per-thread variables.
 * OpenMP::              Multiprocessing extensions.
 * OpenACC::             Extensions for offloading code to accelerator devices.
+* _Countof::            The number of elements of arrays.
 * Inline::              Defining inline functions (as fast as macros).
 * Volatiles::           What constitutes an access to a volatile object.
 * Using Assembly Language with C:: Instructions and extensions for interfacing C with assembler.