https://gcc.gnu.org/g:011962c3fc60d9e34a14babef7c99184750cada6
commit r16-925-g011962c3fc60d9e34a14babef7c99184750cada6 Author: Haochen Jiang <haochen.ji...@intel.com> Date: Wed May 28 10:36:34 2025 +0800 doc: Fix extend.texi menu commit 517c9487f8fdc4e4e90252a9365e5823259dc783 Author: Alejandro Colomar <a...@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. Diff: --- gcc/doc/extend.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index edd3a0d96c52..fe22d34c2cf6 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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.