This adds the new C23 headers to the PCH, and also removes the
__has_include check for <stacktrace> because we provide that
unconditionally now.

libstdc++-v3/ChangeLog:

        * include/precompiled/stdc++.h: Include <stdbit.h> and
        <stdckdint.h>. Include <stacktrace> unconditionally.
---

Tested x86_64-linux.  Pushed to trunk.

 libstdc++-v3/include/precompiled/stdc++.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/include/precompiled/stdc++.h 
b/libstdc++-v3/include/precompiled/stdc++.h
index 1ffde3ed450..f4b312d9e47 100644
--- a/libstdc++-v3/include/precompiled/stdc++.h
+++ b/libstdc++-v3/include/precompiled/stdc++.h
@@ -230,15 +230,15 @@
 #include <generator>
 #include <print>
 #include <spanstream>
-#if __has_include(<stacktrace>)
-# include <stacktrace>
-#endif
+#include <stacktrace>
 #include <stdatomic.h>
 #include <stdfloat>
 #endif
 
 #if __cplusplus > 202302L
 #include <text_encoding>
+#include <stdbit.h>
+#include <stdckdint.h>
 #endif
 
 #endif // HOSTED
-- 
2.49.0

Reply via email to