https://gcc.gnu.org/g:107f8de8fb5004bbf219c47b60dfd721762437d2

commit r15-9259-g107f8de8fb5004bbf219c47b60dfd721762437d2
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Apr 7 11:15:03 2025 +0100

    libstdc++: Add new headers to <bits/stdc++.h> for PCH
    
    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.

Diff:
---
 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 1ffde3ed450c..f4b312d9e470 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

Reply via email to