From patchwork Thu Aug 30 16:37:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: faster random number engine Date: Thu, 30 Aug 2012 06:37:01 -0000 From: Benjamin Kosnik X-Patchwork-Id: 180842 Message-Id: <20120830093701.2eaad208@coso> To: Ulrich Drepper Cc: Paolo Carlini , libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org On Wed, 29 Aug 2012 14:34:40 -0400 Ulrich Drepper wrote: > On Wed, Aug 29, 2012 at 11:43 AM, Paolo Carlini > wro > > The substance isn't of course. But normally we don't have __gnu_cxx > > things in the same std header. Can't we have a new ext/random and > > put it in there? If we can separate the new code to it, I think > > people would not even object to the target dependency, etc. In ext/ > > we are quite free to do extension / experimental work. > > OK, I moved the definition to ext. Will check in the result. Nice! Thanks. Here's a small patchlet to set the abi version to .18. With this, check-abi will pass. tested x86/linux -benjamin 2012-08-30 Benjamin Kosnik * testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.18. diff --git a/libstdc++-v3/testsuite/util/testsuite_abi.cc b/libstdc++-v3/testsuite/util/testsuite_abi.cc index 4721ccd..a5066cc 100644 --- a/libstdc++-v3/testsuite/util/testsuite_abi.cc +++ b/libstdc++-v3/testsuite/util/testsuite_abi.cc @@ -195,6 +195,7 @@ check_version(symbol& test, bool added) known_versions.push_back("GLIBCXX_3.4.15"); known_versions.push_back("GLIBCXX_3.4.16"); known_versions.push_back("GLIBCXX_3.4.17"); + known_versions.push_back("GLIBCXX_3.4.18"); known_versions.push_back("GLIBCXX_LDBL_3.4"); known_versions.push_back("GLIBCXX_LDBL_3.4.7"); known_versions.push_back("GLIBCXX_LDBL_3.4.10"); @@ -222,7 +223,7 @@ 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.17" + bool latestp = (test.version_name == "GLIBCXX_3.4.18" || test.version_name == "CXXABI_1.3.6" || test.version_name == "CXXABI_TM_1"); if (added && !latestp)