https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118701
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #3) > I think we'll need: > > --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc > +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc > @@ -257,7 +257,11 @@ check_version(symbol& test, bool added) > > // Check that added symbols are added in the latest pre-release > version. > bool latestp = (test.version_name == "GLIBCXX_3.4.34" > +#ifdef __riscv > || test.version_name == "CXXABI_1.3.16" > +#else > + || test.version_name == "CXXABI_1.3.15" > +#endif > || test.version_name == "CXXABI_FLOAT128" > || test.version_name == "CXXABI_TM_1"); > if (added && !latestp) > > And then that an be removed again when we add CXXABI_1.3.17 unconditionally > for all targets. Wouldn't that mean we wouldn't warn if somebody adds in GCC 16 mistakenly symbols to CXXABI_1.3.16?