diff mbox series

[committed] libstdc++: Add new headers to <bits/stdc++.h> PCH

Message ID 20220414104853.682804-1-jwakely@redhat.com
State New
Headers show
Series [committed] libstdc++: Add new headers to <bits/stdc++.h> PCH | expand

Commit Message

Jonathan Wakely April 14, 2022, 10:48 a.m. UTC
Tested powerpc64le-linux, pushed to trunk.

-- >8 --

libstdc++-v3/ChangeLog:

	* include/precompiled/stdc++.h: Include <stacktrace> and
	<stdatomic.h> for C++23.
---
 libstdc++-v3/include/precompiled/stdc++.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h
index 6d6d2ad7c4c..5ee1244dc22 100644
--- a/libstdc++-v3/include/precompiled/stdc++.h
+++ b/libstdc++-v3/include/precompiled/stdc++.h
@@ -155,4 +155,8 @@ 
 #if __cplusplus > 202002L
 #include <expected>
 #include <spanstream>
+#if __has_include(<stacktrace>)
+# include <stacktrace>
+#endif
+#include <stdatomic.h>
 #endif