conform: don't expect macros for new C23 keywords

Message ID mvm8q3rtih1.fsf@suse.de (mailing list archive)
State Under Review
Delegated to: Adhemerval Zanella Netto
Headers
Series conform: don't expect macros for new C23 keywords |

Checks

Context Check Description
redhat-pt-bot/TryBot-apply_patch success Patch applied to master at the time it was sent
redhat-pt-bot/TryBot-32bit success Build for i686
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_glibc_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_glibc_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 success Test passed

Commit Message

Andreas Schwab Oct. 21, 2026, 11:12 a.m. UTC
  ---
 conform/data/assert.h-data   | 2 +-
 conform/data/stdalign.h-data | 6 +++++-
 conform/data/stdbool.h-data  | 2 ++
 conform/data/threads.h-data  | 2 ++
 4 files changed, 10 insertions(+), 2 deletions(-)
  

Patch

diff --git a/conform/data/assert.h-data b/conform/data/assert.h-data
index 31c5d7c8b2..883736e039 100644
--- a/conform/data/assert.h-data
+++ b/conform/data/assert.h-data
@@ -1,6 +1,6 @@ 
 macro assert
 
-#if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024
+#if defined ISO11 || defined XOPEN2K24 || defined POSIX2024
 macro static_assert
 #endif
 
diff --git a/conform/data/stdalign.h-data b/conform/data/stdalign.h-data
index d24c080522..34aa19c023 100644
--- a/conform/data/stdalign.h-data
+++ b/conform/data/stdalign.h-data
@@ -1,6 +1,10 @@ 
-#if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024
+#if defined ISO11 || defined XOPEN2K24 || defined POSIX2024
 macro alignas
 macro alignof
 macro-int-constant __alignas_is_defined {int} == 1
 macro-int-constant __alignof_is_defined {int} == 1
 #endif
+#if defined ISO23
+// Dummy expectation needed for check-header-lists
+allow __*
+#endif
diff --git a/conform/data/stdbool.h-data b/conform/data/stdbool.h-data
index 2a5a08fc60..d0fa7c705b 100644
--- a/conform/data/stdbool.h-data
+++ b/conform/data/stdbool.h-data
@@ -1,7 +1,9 @@ 
 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if !defined ISO23
 macro bool
 macro-int-constant true {int} == 1
 macro-int-constant false {int} == 0
+#endif
 macro-int-constant __bool_true_false_are_defined {int} == 1
 
 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
diff --git a/conform/data/threads.h-data b/conform/data/threads.h-data
index 4aa4f4668f..979b7e9527 100644
--- a/conform/data/threads.h-data
+++ b/conform/data/threads.h-data
@@ -1,7 +1,9 @@ 
 #if defined ISO11 || defined ISO23 || defined XOPEN2K24 || defined POSIX2024
 
 macro ONCE_FLAG_INIT
+#if !defined ISO23
 macro thread_local
+#endif
 macro-int-constant TSS_DTOR_ITERATIONS
 
 constant thrd_success