From patchwork Mon Oct 26 09:35:01 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 146916 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 996574BA23CA for ; Mon, 26 Oct 2026 09:35:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 996574BA23CA Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=cRA7w6iE; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=FFFgmDr0; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=cRA7w6iE; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=FFFgmDr0 X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id 5799F4BA23CE for ; Mon, 26 Oct 2026 09:35:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5799F4BA23CE Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5799F4BA23CE Authentication-Results: sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793007302; cv=none; b=PQohhR8G7318Zh1DDml0vtPIVISBq7SMVUVKBZnSG5K8CFZUZJMoR7pFCaSXnoXOrxrfU4WgCiPVlr/SOZ/nIzIMKrOFSJCSejEoCtgaIf6oNkkP2rVfjvxhXAaq3nh9gYb1rBjbwQeVf/3sjMUvthly2yLowQLg674FQow5SmY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793007302; c=relaxed/simple; bh=qWTabII8vhfMdOzOnnHAjv0ixNSqPazxhAN/9Sqg0Rg=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=WhfTrfVeMZomDac03Uzybnkb6bGGm7+TZexDU6i8vAFiZlakziNNabs/5RBiDGYastHa0D1sTl76nQfIi6yV5S/gLGa6yKHd3KrZjsrGNwuqSQ6XUM0roT4ruMOcriHW0FgQ8R5JTHmnyA8PCjWng0uiqYkMNTCQxzA50UALRWo= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=cRA7w6iE; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=FFFgmDr0; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=cRA7w6iE; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=FFFgmDr0 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5799F4BA23CE Received: from hawking.suse.de (unknown [10.168.4.11]) by smtp-out1.suse.de (Postfix) with ESMTP id 601DC220A2 for ; Mon, 26 Oct 2026 09:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1793007301; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=RC2ODF61hYfWBIE6wtNtA36QxSc75r3kKDdauJCPk+8=; b=cRA7w6iExSeQb4wxyqeYabu0n3DdLo7sSYBYdmY8Svfggx/8onYYxoKiCuaw7VUoYJ8eOj ov4OIAmGYbiwqTLTJ0XMN7Fh5QPhrGaeWM+x/QoxEgsDBmihuOV8wNelWcSSXwOPkCnGAo JE0AdbukuduHoJX6wD+vuovoSxF5JgY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1793007301; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=RC2ODF61hYfWBIE6wtNtA36QxSc75r3kKDdauJCPk+8=; b=FFFgmDr0ESywL2AgQ4LPVOIUjCUgyPo2Ja6fwScSwjm5YcY9Hv1dCNcuWOW4UdPWrOSe2T FrR1q9+/rolAErCQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1793007301; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=RC2ODF61hYfWBIE6wtNtA36QxSc75r3kKDdauJCPk+8=; b=cRA7w6iExSeQb4wxyqeYabu0n3DdLo7sSYBYdmY8Svfggx/8onYYxoKiCuaw7VUoYJ8eOj ov4OIAmGYbiwqTLTJ0XMN7Fh5QPhrGaeWM+x/QoxEgsDBmihuOV8wNelWcSSXwOPkCnGAo JE0AdbukuduHoJX6wD+vuovoSxF5JgY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1793007301; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=RC2ODF61hYfWBIE6wtNtA36QxSc75r3kKDdauJCPk+8=; b=FFFgmDr0ESywL2AgQ4LPVOIUjCUgyPo2Ja6fwScSwjm5YcY9Hv1dCNcuWOW4UdPWrOSe2T FrR1q9+/rolAErCQ== Received: by hawking.suse.de (Postfix, from userid 17005) id 523CD4A05C4; Mon, 26 Oct 2026 10:35:01 +0100 (CET) From: Andreas Schwab To: libc-alpha@sourceware.org Subject: [PATCH] conform: add ISO23 data for __STDC_VERSION_*__ Date: Mon, 26 Oct 2026 10:35:01 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Spamd-Result: default: False [-13.20 / 50.00]; SUSE_INTERNAL_BYPASS(-9.00)[]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.989]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_NONE(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[hawking.suse.de:helo,suse.de:email] X-Spam-Score: -13.20 X-Spam-Level: X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org --- conform/data/assert.h-data | 4 ++++ conform/data/complex.h-data | 4 ++++ conform/data/fenv.h-data | 4 ++++ conform/data/float.h-data | 4 ++++ conform/data/inttypes.h-data | 4 ++++ conform/data/limits.h-data | 4 ++++ conform/data/math.h-data | 4 ++++ conform/data/setjmp.h-data | 4 ++++ conform/data/stdarg.h-data | 4 ++++ conform/data/stddef.h-data | 4 ++++ conform/data/stdint.h-data | 4 ++++ conform/data/stdio.h-data | 4 ++++ conform/data/stdlib.h-data | 4 ++++ conform/data/string.h-data | 4 ++++ conform/data/tgmath.h-data | 4 ++++ conform/data/time.h-data | 4 ++++ conform/data/uchar.h-data | 4 ++++ conform/data/wchar.h-data | 4 ++++ 18 files changed, 72 insertions(+) diff --git a/conform/data/assert.h-data b/conform/data/assert.h-data index 883736e039..a607dde921 100644 --- a/conform/data/assert.h-data +++ b/conform/data/assert.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_ASSERT_H__ == 202311L +#endif + macro assert #if defined ISO11 || defined XOPEN2K24 || defined POSIX2024 diff --git a/conform/data/complex.h-data b/conform/data/complex.h-data index 9b746abe00..d4dc19f3c0 100644 --- a/conform/data/complex.h-data +++ b/conform/data/complex.h-data @@ -1,4 +1,8 @@ #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98 +#if defined ISO23 +macro-int-constant __STDC_VERSION_COMPLEX_H__ == 202311L +#endif + macro complex macro _Complex_I optional-macro imaginary diff --git a/conform/data/fenv.h-data b/conform/data/fenv.h-data index b3f674cc09..3948d3d108 100644 --- a/conform/data/fenv.h-data +++ b/conform/data/fenv.h-data @@ -1,4 +1,8 @@ #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98 +#if defined ISO23 +macro-int-constant __STDC_VERSION_FENV_H__ == 202311L +#endif + type fenv_t type fexcept_t diff --git a/conform/data/float.h-data b/conform/data/float.h-data index 350d61f452..7ede63e7e0 100644 --- a/conform/data/float.h-data +++ b/conform/data/float.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_FLOAT_H__ == 202311L +#endif + macro-int-constant FLT_RADIX >= 2 macro FLT_ROUNDS diff --git a/conform/data/inttypes.h-data b/conform/data/inttypes.h-data index 2ae5b951be..ac9a271cc8 100644 --- a/conform/data/inttypes.h-data +++ b/conform/data/inttypes.h-data @@ -1,6 +1,10 @@ #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98 #include "stdint.h-data" +#if defined ISO23 +macro-int-constant __STDC_VERSION_INTTYPES_H__ == 202311L +#endif + type imaxdiv_t element imaxdiv_t intmax_t rem element imaxdiv_t intmax_t quot diff --git a/conform/data/limits.h-data b/conform/data/limits.h-data index 95202cb386..5dbb76a683 100644 --- a/conform/data/limits.h-data +++ b/conform/data/limits.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_LIMITS_H__ == 202311L +#endif + macro-int-constant CHAR_BIT >= 8 macro-int-constant SCHAR_MIN {promoted:signed char} <= -127 macro-int-constant SCHAR_MAX {promoted:signed char} >= 127 diff --git a/conform/data/math.h-data b/conform/data/math.h-data index b03b3e78d7..17c9919d1c 100644 --- a/conform/data/math.h-data +++ b/conform/data/math.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_MATH_H__ == 202311L +#endif + macro-constant HUGE_VAL {double} #if !defined ISO && !defined POSIX diff --git a/conform/data/setjmp.h-data b/conform/data/setjmp.h-data index f0d1892574..fe8791eb0a 100644 --- a/conform/data/setjmp.h-data +++ b/conform/data/setjmp.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_SETJMP_H__ == 202311L +#endif + type jmp_buf #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 type sigjmp_buf diff --git a/conform/data/stdarg.h-data b/conform/data/stdarg.h-data index fa97249ba2..54c26b1124 100644 --- a/conform/data/stdarg.h-data +++ b/conform/data/stdarg.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_STDARG_H__ == 202311L +#endif + type va_list // XXX We didn't check the parameters. diff --git a/conform/data/stddef.h-data b/conform/data/stddef.h-data index e9b8fe89ee..a060c8b962 100644 --- a/conform/data/stddef.h-data +++ b/conform/data/stddef.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_STDDEF_H__ == 202311L +#endif + macro-constant NULL == 0 macro offsetof diff --git a/conform/data/stdint.h-data b/conform/data/stdint.h-data index 5d65d4ecd5..df37e4d82a 100644 --- a/conform/data/stdint.h-data +++ b/conform/data/stdint.h-data @@ -1,4 +1,8 @@ #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98 +#if defined ISO23 +macro-int-constant __STDC_VERSION_STDINT_H__ == 202311L +#endif + // The requirements for some types and corresponding macros are from POSIX. type int8_t type int16_t diff --git a/conform/data/stdio.h-data b/conform/data/stdio.h-data index 4104d8bcc5..5873335b23 100644 --- a/conform/data/stdio.h-data +++ b/conform/data/stdio.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_STDIO_H__ == 202311L +#endif + macro-int-constant BUFSIZ >= 256 macro-int-constant FILENAME_MAX macro-int-constant FOPEN_MAX >= 8 diff --git a/conform/data/stdlib.h-data b/conform/data/stdlib.h-data index 1c4ba97762..2fc18f013b 100644 --- a/conform/data/stdlib.h-data +++ b/conform/data/stdlib.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_STDLIB_H__ == 202311L +#endif + type div_t element div_t int quot element div_t int rem diff --git a/conform/data/string.h-data b/conform/data/string.h-data index 4c968dbbf8..f449ca36ca 100644 --- a/conform/data/string.h-data +++ b/conform/data/string.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_STRING_H__ == 202311L +#endif + macro-constant NULL == 0 type size_t diff --git a/conform/data/tgmath.h-data b/conform/data/tgmath.h-data index d852adc3e4..b5f2ed42a7 100644 --- a/conform/data/tgmath.h-data +++ b/conform/data/tgmath.h-data @@ -2,6 +2,10 @@ #include "math.h-data" #include "complex.h-data" +#if defined ISO23 +macro-int-constant __STDC_VERSION_TGMATH_H__ == 202311L +#endif + macro acos macro asin macro atan diff --git a/conform/data/time.h-data b/conform/data/time.h-data index 972b109b58..dbdd17018a 100644 --- a/conform/data/time.h-data +++ b/conform/data/time.h-data @@ -1,3 +1,7 @@ +#if defined ISO23 +macro-int-constant __STDC_VERSION_TIME_H__ == 202311L +#endif + macro-constant NULL == 0 macro CLOCKS_PER_SEC {clock_t} diff --git a/conform/data/uchar.h-data b/conform/data/uchar.h-data index ed9d1b2d9f..4e8caabb6f 100644 --- a/conform/data/uchar.h-data +++ b/conform/data/uchar.h-data @@ -1,4 +1,8 @@ #if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024 +#if defined ISO23 +macro-int-constant __STDC_VERSION_UCHAR_H__ == 202311L +#endif + type mbstate_t type size_t type char16_t diff --git a/conform/data/wchar.h-data b/conform/data/wchar.h-data index 625637d66c..2d68d52b3d 100644 --- a/conform/data/wchar.h-data +++ b/conform/data/wchar.h-data @@ -1,4 +1,8 @@ #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 +#if defined ISO23 +macro-int-constant __STDC_VERSION_WCHAR_H__ == 202311L +#endif + type wchar_t type wint_t # if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008 && !defined POSIX2024