aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2025-04-07 11:15:03 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2025-04-07 16:08:24 +0100
commit107f8de8fb5004bbf219c47b60dfd721762437d2 (patch)
treebd3612fe106a9cb9a060660bde599e6e4ac32ae6
parent5430fcd1a3222d62c1b9560de251268c8bc50303 (diff)
downloadgcc-107f8de8fb5004bbf219c47b60dfd721762437d2.zip
gcc-107f8de8fb5004bbf219c47b60dfd721762437d2.tar.gz
gcc-107f8de8fb5004bbf219c47b60dfd721762437d2.tar.bz2
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.
-rw-r--r--libstdc++-v3/include/precompiled/stdc++.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h
index 1ffde3e..f4b312d 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