]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Update ABI test to disallow adding to released symbol versions
authorJonathan Wakely <jwakely@redhat.com>
Thu, 11 Apr 2024 14:35:11 +0000 (15:35 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 7 May 2024 12:46:11 +0000 (13:46 +0100)
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.

libstdc++-v3/testsuite/util/testsuite_abi.cc

index e4bf3cdc8e07437caf66faa894ab85640a7b1e1e..ec7c3df9eccbf096c18ab0e0492da3ea37795884 100644 (file)
@@ -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)