From: Jonathan Wakely Date: Thu, 11 Apr 2024 14:35:11 +0000 (+0100) Subject: libstdc++: Update ABI test to disallow adding to released symbol versions X-Git-Tag: basepoints/gcc-16~9276 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e25ca387fbbb412a2e498e28ea5db28e033a318;p=thirdparty%2Fgcc.git libstdc++: Update ABI test to disallow adding to released symbol versions If we update the list of "active" symbols versions now, rather than when adding a new symbol version, we will notice if new symbols get added to the wrong version (as in PR 114692). libstdc++-v3/ChangeLog: * testsuite/util/testsuite_abi.cc: Update latest versions to new versions that should be used in future. --- diff --git a/libstdc++-v3/testsuite/util/testsuite_abi.cc b/libstdc++-v3/testsuite/util/testsuite_abi.cc index e4bf3cdc8e07..ec7c3df9eccb 100644 --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc @@ -254,8 +254,8 @@ check_version(symbol& test, bool added) test.version_status = symbol::incompatible; // Check that added symbols are added in the latest pre-release version. - bool latestp = (test.version_name == "GLIBCXX_3.4.33" - || test.version_name == "CXXABI_1.3.15" + bool latestp = (test.version_name == "GLIBCXX_3.4.34" + || test.version_name == "CXXABI_1.3.16" || test.version_name == "CXXABI_FLOAT128" || test.version_name == "CXXABI_TM_1"); if (added && !latestp)