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.
This commit is contained in:
Jonathan Wakely 2024-04-11 15:35:11 +01:00
parent bed6ec161b
commit 6e25ca387f
No known key found for this signature in database

View 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)