https://gcc.gnu.org/g:e34239d062f39c3d8f68bd4383cb80c62551f953
commit r17-6142-ge34239d062f39c3d8f68bd4383cb80c62551f953 Author: Matt Turner <[email protected]> Date: Mon Sep 21 18:48:03 2026 -0400 include: Say longlong.h is part of GCC, not the GNU C Library The header comment of longlong.h says the file is part of the GNU C Library. glibc kept its own copy in stdlib/longlong.h and synced it with GCC's, but removed it for glibc 2.43 (commit 5dab2a31954b, "stdlib: Remove longlong.h"). Name GCC in the header. The license terms are unchanged. The comment on attribute_hidden says it is used in glibc only, but libquadmath's gmp-impl.h defines it too. Say what defining it does instead. include/ChangeLog: * longlong.h: Say the file is part of GCC, not the GNU C Library. (attribute_hidden): Update comment. Diff: --- include/longlong.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/longlong.h b/include/longlong.h index d89b2f4e9996..30671b662b88 100644 --- a/include/longlong.h +++ b/include/longlong.h @@ -1,9 +1,9 @@ /* longlong.h -- definitions for mixed size 32/64 bit arithmetic. Copyright (C) 1991-2026 Free Software Foundation, Inc. - This file is part of the GNU C Library. + This file is part of GCC. - The GNU C Library is free software; you can redistribute it and/or + GCC is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. @@ -17,13 +17,13 @@ other respects; for example, they cover modification of the file, and distribution when not linked into a combine executable.) - The GNU C Library is distributed in the hope that it will be useful, + GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see + License along with GCC; if not, see <http://www.gnu.org/licenses/>. */ /* You have to define the following before including this file: @@ -52,7 +52,8 @@ #define UDWtype UDItype #endif -/* Used in glibc only. */ +/* Define attribute_hidden before including this file to give __clz_tab + hidden visibility. */ #ifndef attribute_hidden #define attribute_hidden #endif
