From ce43c906049b828c0472d8499b52ac6233c869d0 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely
Date: Thu, 11 Feb 2021 15:35:23 +0000
Subject: [PATCH] libstdc++: Document when C++11/14/17 support became stable
[PR 99058]
libstdc++-v3/ChangeLog:
PR libstdc++/99058
* doc/xml/manual/status_cxx2011.xml: Document when support
became stable.
* doc/xml/manual/status_cxx2014.xml: Likewise.
* doc/xml/manual/status_cxx2017.xml: Likewise.
* doc/html/manual/status.html: Regenerate.
---
libstdc++-v3/doc/html/manual/status.html | 9 +++++++++
libstdc++-v3/doc/xml/manual/status_cxx2011.xml | 3 +++
libstdc++-v3/doc/xml/manual/status_cxx2014.xml | 3 +++
libstdc++-v3/doc/xml/manual/status_cxx2017.xml | 3 +++
4 files changed, 18 insertions(+)
diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index cea0e5006bb..daa74a85c6f 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -154,6 +154,9 @@ features. See __cplusplus is used to check for the
presence of the required flag.
+GCC 5.1 was the first release with non-experimental C++11 support,
+so the API and ABI of features added in C++11 is only stable
+since that release.
This status table is based on the table of contents of ISO/IEC 14882:2011.
This section describes the C++17 and library TS support in mainline GCC,
not in any particular release.
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
index be873962597..88844f8f0cc 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
@@ -24,6 +24,9 @@ features. See dialect
options. The pre-defined symbol
__cplusplus is used to check for the
presence of the required flag.
+GCC 5.1 was the first release with non-experimental C++11 support,
+so the API and ABI of features added in C++11 is only stable
+since that release.
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2014.xml b/libstdc++-v3/doc/xml/manual/status_cxx2014.xml
index 61bea5adad5..2cf5f629efb 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2014.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2014.xml
@@ -17,6 +17,9 @@ features. See dialect
options. The pre-defined symbol
__cplusplus is used to check for the
presence of the required flag.
+GCC 6.1 was the first release with non-experimental C++14 support,
+so the API and ABI of features added in C++14 is only stable
+since that release.
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
index aa34b8c3cf5..b1c12bd3799 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
@@ -17,6 +17,9 @@ features. See dialect
options. The pre-defined symbol
__cplusplus is used to check for the
presence of the required flag.
+GCC 9.1 was the first release with non-experimental C++17 support,
+so the API and ABI of features added in C++17 is only stable
+since that release.
--
2.30.2