summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3
Commit message (Collapse)AuthorAgeFilesLines
...
* PR libstdc++/54675uros2012-09-233-32/+39
| | | | | | | | | | * include/ext/random: Avoid the badname __alpha (and, for consistency, __mu, __nu, __sigma and __omega too). * include/bits/random.tcc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191650 138bc75d-0d04-0410-961f-82ee72b054a4
* Implement the Pareto distribution as an extension.emsr2012-09-2110-5/+617
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191612 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-21 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-09-212-20/+10
| | | | | | | * include/bits/stl_algobase.h (max, min): Use conditional operator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191608 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-18 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-09-2026-356/+640
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/28811 PR libstdc++/54482 * configure.ac (glibcxx_lt_pic_flag, glibcxx_compiler_pic_flag, glibcxx_compiler_shared_flag): New. Use them. (lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above. (pic_mode): Set to default. (PIC_CXXFLAGS): Remove. * Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment. * libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and glibcxx_compiler_shared_flag. Comment. * src/c++11/Makefile.am: Same. * src/c++98/Makefile.am: Same. * src/Makefile.am: Use glibcxx_compiler_pic_flag. * Makefile.in: Regenerated. * aclocal.m4: Same. * configure: Same. * doc/Makefile.in: Same. * include/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * python/Makefile.in: Same. * src/Makefile.in: Same. * src/c++11/Makefile.in: Same. * src/c++98/Makefile.in: Same. * testsuite/Makefile.in: Same. * src/c++11/compatibility-atomic-c++0x.cc: Use _GLIBCXX_SHARED instead of PIC to designate shared-only code blocks. * src/c++11/compatibility-c++0x.cc: Same. * src/c++11/compatibility-thread-c++0x.cc: Same. * src/c++98/compatibility-list-2.cc: Same. * src/c++98/compatibility.cc: : Same. * testsuite/17_intro/shared_with_static_deps.cc: New. * doc/xml/manual/build_hacking.xml: Separate configure from make/build issues, add build details. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191509 138bc75d-0d04-0410-961f-82ee72b054a4
* Implement the Nakagami statistical distribution as an extension.emsr2012-09-1810-0/+598
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191434 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-18 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-09-183-1/+17
| | | | | | | | | | | | PR libstdc++/54612 * include/ext/random.tcc (operator== (const __gnu_cxx::simd_fast_mersenne_twister_engine<>&, const __gnu_cxx::simd_fast_mersenne_twister_engine<>&)): Fix state_size use. * config/cpu/i486/opt/ext/opt_random.h: Guard with __SSE2__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191424 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Substitute CPU_OPT_EXT_RANDOM.drepper2012-09-1720-206/+493
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Define cpu_opt_ext_random to location of the optimized version of <ext/random>. * include/Makefile.am (ext_headers): Add ${ext_host_headers}. (ext_host_headers): Define. * include/ext/random (simd_fast_mersenne_twister_engine<> ::operator==): Don't define function here. * include/ext/random.tcc (simd_fast_mersenne_twister_engine): Don't define code using SSE2 here. Define generic code only if _GLIBCXX_OPT_HAVE_RANDOM_SFMT_GEN_READ is not defined. (simd_fast_mersenne_twister_engine<> ::operator==): Define here if _GLIBCXX_OPT_HAVE_RANDOM_SFMT_OPERATOREQUAL is not defined. * config/cpu/generic/opt/ext/opt_random.h: New file. * config/cpu/i486/opt/ext/opt_random.h: New file. * libsupc++/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * po/Makefile.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * doc/Makefile.in: Regenerated. * aclocal.m4: Regenerated. * python/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * src/c++98/Makefile.in: Regenerated. * src/c++11/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191384 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix a paste-o in ext/random.tcc - declared an Adapted urng that was not used ↵emsr2012-09-172-3/+5
| | | | | | ot needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191371 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-16 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-09-1631-9/+53
| | | | | | | | | | | | | | | | | | | | * include/ext/random (rice_distribution<>::operator==): Change inline friend definition to non-template. * testsuite/ext/random/rice_distribution/requirements/ explicit_instantiation/1.cc: New. * testsuite/26_numerics/random/normal_mv_distribution: Move... * testsuite/ext/random/normal_mv_distribution: ... here. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine: Move... * testsuite/ext/random/simd_fast_mersenne_twister_engine: ... here. * testsuite/26_numerics/random/beta_distribution: Move... * testsuite/ext/random/beta_distribution: ... here. * testsuite/26_numerics/random/rice_distribution: Move... * testsuite/ext/random/rice_distribution: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191367 138bc75d-0d04-0410-961f-82ee72b054a4
* Add the rice distribution as an extension.emsr2012-09-169-15/+618
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191362 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerated.dje2012-09-142-10/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191330 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-14 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-09-141-2/+1
| | | | | | | * Tweak last ChangeLog entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191296 138bc75d-0d04-0410-961f-82ee72b054a4
* Check _GLIBCXX_USE_C99_STDINT_TR1 in random.cchjl2012-09-142-1/+10
| | | | | | | | | PR libstdc++/54576 * libstdc++-v3/src/c++11/random.cc: Check if _GLIBCXX_USE_C99_STDINT_TR1 is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191294 138bc75d-0d04-0410-961f-82ee72b054a4
* Clear hardware capabilities on libstdc++.so with Sun asro2012-09-1215-46/+128
| | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Define. * configure.ac: Call GLIBCXX_CHECK_ASSEMBLER_HWCAP. * fragment.am (CONFIG_CXXFLAGS): Add $(HWCAP_FLAGS). * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * python/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * src/c++11/Makefile.in: Regenerate. * src/c++98/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191218 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54172jakub2012-09-112-1/+7
| | | | | | | | * libsupc++/guard.cc (__cxa_guard_acquire): Fix up the last argument of the first __atomic_compare_exchange_n. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191190 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-10 Sebastian Huber <sebastian.huber@embedded-brains.de>redi2012-09-099-22/+111
| | | | | | | | | | | | | | | | Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/43852 * acinclude.m4 (GLIBCXX_ENABLE_VERBOSE): Define. * configure.ac (GLIBCXX_ENABLE_VERBOSE): Use it. * config.h.in: Regenerate. * configure: Likewise. * libsupc++/eh_term_handler.cc (_GLIBCXX_VERBOSE): Check new macro. * libsupc++/pure.cc (_GLIBCXX_VERBOSE): Likewise. * doc/xml/manual/configure.xml (--disable-libstdcxx-verbose): Document. * doc/html/manual/configure.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191121 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/54419redi2012-09-093-2/+8
| | | | | | | * acinclude.m4 (GLIBCXX_CHECK_X86_RDRAND): Remove stray character. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191119 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ChangeLog date.redi2012-09-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191115 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54388redi2012-09-095-14/+58
| | | | | | | | | | | * include/std/array (array::at() const): Ensure lvalue result. * testsuite/23_containers/array/element_access/54388.cc: New. * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191114 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-09 Ulrich Drepper <drepper@gmail.com>redi2012-09-096-3/+85
| | | | | | | | | | | | | | | | | Dominique d'Humieres <dominiq@lps.ens.fr> Jack Howarth <howarth@bromo.med.uc.edu> PR bootstrap/54419 * acinclude.m4: Define GLIBCXX_CHECK_X86_RDRAND. * configure.ac: Use GLIBCXX_CHECK_X86_RDRAND to test for rdrand support in assembler. * src/c++11/random.cc (__x86_rdrand): Depend on _GLIBCXX_X86_RDRAND. (random_device::_M_init): Likewise. (random_device::_M_getval): Likewise. * configure: Regenerated. * config.h.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191111 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/drepper2012-09-092-1/+6
| | | | | | | | | | | | | | | | | | * config/i386/cpuid.h: Define signature_*_e[bcd]x macros for matching results of level 0 calls to __cpuid to processor manufacturers. * config/i386/driver-i386.c (vendor_signatures): Removed. (processor_signatures): Removed. (host_detect_local_cpu): Replace uses of now-removed SIG_* constants with the new signature_*_ebx constants. libstdc++-v3/ * src/c++11/random.cc (random_device::_M_init): Use new macro signature_INTEL_ebx to check for Intel processors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191109 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-06 Thiago Macieira <thiago.macieira@intel.com>bkoz2012-09-062-3/+23
| | | | | | | | | | | PR libstdc++/54172 * libsupc++/guard.cc (__cxa_guard_acquire): Exit the loop earlier if we detect that another thread has had success. Don't compare_exchange from a finished state back to a waiting state. Comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191042 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-05 François Dumont <fdumont@gcc.gnu.org>fdumont2012-09-054-33/+299
| | | | | | | | | | | | | | | | | PR libstdc++/54296 * include/bits/hashtable.h (_M_erase(size_type, __node_base*, __node_type*)): New. (erase(const_iterator)): Use latter. (_M_erase(std::true_type, const key_type&)): New, likewise. (_M_erase(std::false_type, const key_type&)): New. Find all nodes matching the key before deallocating them so that the key doesn't get invalidated. (erase(const key_type&)): Use the new member functions. * testsuite/23_containers/unordered_map/erase/54296.cc: New. * testsuite/23_containers/unordered_multimap/erase/54296.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190991 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/c++11/random.cc (random_device::_M_init): Check whether cpuiddrepper2012-09-052-4/+6
| | | | | | | | instruction is available by using __get_cpuid_max. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190982 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/ext/random.tcc (__gnu_cxx:normal_mv_distribution<>)drepper2012-09-052-2/+4
| | | | | | | | (operator()): Use __generate() function of _M_nd. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190975 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/ext/random: Add __gnu_cxx:normal_mv_distribution<> class.drepper2012-09-0510-10/+834
| | | | | | | | | | | | | | | | | | | | | | | * include/ext/random.tccAdd out-of-line functions for __gnu_cxx::normal_mv_distribution<>. * testsuite/26_numerics/random/normal_mv_distribution/ operators/equal.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ operators/serialize.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ operators/inequal.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ cons/default.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ cons/parms.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ requirements/explicit_instantiation/1.cc: New file. * testsuite/26_numerics/random/normal_mv_distribution/ requirements/typedefs.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190960 138bc75d-0d04-0410-961f-82ee72b054a4
* * libstdc++-v3/include/ext/random: Add __gnu_cxx::beta_distribution<>drepper2012-09-0410-0/+612
| | | | | | | | | | | | | | | | | | | | | | | | class. * libstdc++-v3/include/ext/random.tcc: Add out-of-line functions for __gnu_cxx::beta_distribution<>. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ operators/equal.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ operators/serialize.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ operators/inequal.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ cons/parms.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ cons/default.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ requirements/typedefs.cc: New file. * libstdc++-v3/testsuite/26_numerics/random/beta_distribution/ requirements/explicit_instantiation/1.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190954 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/54453steven2012-09-043-4/+10
| | | | | | | | | * include/Makefile.am: Fix regex. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190939 138bc75d-0d04-0410-961f-82ee72b054a4
* ChangeLog fixupbkoz2012-08-301-6/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190811 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-08-303-6/+13
| | | | | | | | PR libstdc++/54005 continued * include/std/atomic: Use __atomic_lock_free with * include/bits/atomic_base.h: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190810 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/random.h (random_device) [GLIBCXX_USE_RANDOM_TR1]:drepper2012-08-302-1/+6
| | | | | | | | Remove 'return' from constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190806 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-08-302-1/+6
| | | | | | * testsuite/util/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.18. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190805 138bc75d-0d04-0410-961f-82ee72b054a4
* Missing CL entrydrepper2012-08-301-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190796 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/random.h (random_device): Move implementation to...drepper2012-08-296-41/+198
| | | | | | | | | | | | | * src/c++11/random.cc: ...here. New file. * config/abi/pre/gnu.ver: Add new version GLIBCXX_3.4.18. Export std::random_device::* symbols. * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Generated. * src/c++11/Makefile.am (sources): Add random.cc. * src/c++11/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190787 138bc75d-0d04-0410-961f-82ee72b054a4
* Add simd_fast_mersenne_twister_engine class.drepper2012-08-2913-11/+1397
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/ext/random: New file. * include/ext/random.tcc: New file. * include/Makefile.am (ext_headers): Add random and random.tcc. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ operators/inequal.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ operators/equal.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ operators/serialize.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/seed2.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/default.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/seed_seq.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/copy.cc: New file. * testsuite/26_numerics/random/simd_fast_mersenne_twister_engine/ cons/seed1.cc: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190783 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-28 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-08-29109-4281/+3174
| | | | | | | | | PR libstdc++/54102, part 2 * doc/Makefile.am (XSL_HTML_STYLE): use xhtml, not html. * doc/Makefile.in: Regenerate. * doc/html/*: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190771 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-28 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-08-29107-4863/+5981
| | | | | | * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190770 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-28 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-08-297-12/+57
| | | | | | | | | | | | | PR libstdc++/54102 * doc/xsl/customization.xsl.in: New. * configure.ac: Output local copy of customization xsl. * doc/Makefile.am (stamp-html-single-docbook): Use XSL_LOCAL_STYLE. (stamp-html-docbook): Set stringparam to UTF-8. * Makefile.in: Regenerated. * configure: Same. * doc/Makefile.in: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190768 138bc75d-0d04-0410-961f-82ee72b054a4
* Add interfaces to retrieve random numbers in bulk.drepper2012-08-273-5/+1277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/random.h (uniform_int_distribution<>): Add __generate and __generate_impl functions. (uniform_real_distribution<>): Likewise. (bernoulli_distribution): Likewise. (geometric_distribution<>): Likewise. (negative_binomial_distribution<>): Likewise. (poisson_distribution<>): Likewise. (exponential_distribution<>): Likewise. (normal_distribution<>): Likewise. (lognormal_distribution<>): Likewise. (chi_squared_distribution<>): Likewise. (cauchy_distribution<>): Likewise. (fisher_f_distribution<>): Likewise. (student_t_distribution<>): Likewise. (gamma_distribution<>): Likewise. (weibull_distribution<>): Likewise. (extreme_value_distribution<>): Likewise. (discrete_distribution<>): Likewise. (piecewise_constant_distribution<>): Likewise. (piecewise_linear_distribution<>): Likewise. * include/bits/random.tcc (__detail::_Power_of_2): New function. (uniform_int_distribution<>::__generate_impl): New function. (uniform_real_distribution<>::__generate_impl): New function. (bernoulli_distribution::__generate_impl): New function. (geometric_distribution<>::__generate_impl): New function. (negative_binomial_distribution<>::__generate_impl): New function. (poisson_distribution<>::__generate_impl): New function. (exponential_distribution<>::__generate_impl): New function. (normal_distribution<>::__generate_impl): New function. (lognormal_distribution<>::__generate_impl): New function. (chi_squared_distribution<>::__generate_impl): New function. (cauchy_distribution<>::__generate_impl): New function. (fisher_f_distribution<>::__generate_impl): New function. (student_t_distribution<>::__generate_impl): New function. (gamma_distribution<>::__generate_impl): New function. (weibull_distribution<>::__generate_impl): New function. (extreme_value_distribution<>::__generate_impl): New function. (discrete_distribution<>::__generate_impl): New function. (piecewise_constant_distribution<>::__generate_impl): New function. (piecewise_linear_distribution<>::__generate_impl): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190712 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/random.h (mersenne_twister_engine): Don't inlinedrepper2012-08-273-31/+68
| | | | | | | | | | | | | discard here. New member function _M_gen_rand. * include/bits/random.tcc (mersenne_twister_engine<>::_M_gen_rand): New function. Extracted from operator(). (mersenne_twister_engine<>::discard): New implementation which skips in large steps. (mersenne_twister_engine<>::operator()): Use _M_gen_rand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190711 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-26 Marc Glisse <marc.glisse@inria.fr>paolo2012-08-2621-45/+589
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/54376 * include/bits/random.h (lognormal_distribution<>::operator==, gamma_distribution<>::operator==, chi_squared_distribution<>::operator==, fisher_f_distribution<>::operator==, student_t_distribution<>::operator==, binomial_distribution<>::operator==, negative_binomial_distribution<>::operator==, poisson_distribution<>::operator==): Change inline friend definition to non-template. * testsuite/26_numerics/random/binomial_distribution/requirements/ explicit_instantiation/1.cc: New. * testsuite/26_numerics/random/cauchy_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/chi_squared_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/discrete_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/exponential_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/extreme_value_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/fisher_f_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/gamma_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/lognormal_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/negative_binomial_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/normal_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/piecewise_constant_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/piecewise_linear_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/poisson_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/student_t_distribution/requirements/ explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/uniform_int_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/uniform_real_distribution/ requirements/explicit_instantiation/1.cc: Likewise. * testsuite/26_numerics/random/weibull_distribution/requirements/ explicit_instantiation/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190694 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.redi2012-08-262-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190691 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54297redi2012-08-264-13/+36
| | | | | | | | | | * src/c++11/future.cc (~_Async_state_common): Move to... * src/c++11/compatibility-thread-c++0x.cc (~_Async_state_common): Here. (_GLIBCXX_ABI_COMPAT_ASYNC): Rename to _GLIBCXX_ASYNC_ABI_COMPAT. * include/std/future (_GLIBCXX_ABI_COMPAT_ASYNC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190685 138bc75d-0d04-0410-961f-82ee72b054a4
* Add testcase author to ChangeLog.redi2012-08-261-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190677 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54351redi2012-08-264-4/+96
| | | | | | | | | | | * include/bits/unique_ptr.h (unique_ptr<T>::~unique_ptr): Do not use reset(). (unique_ptr<T[]>::~unique_ptr()): Likewise. * testsuite/20_util/unique_ptr/54351.cc: New. * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-error line numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190676 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54297redi2012-08-254-2/+67
| | | | | | | | | | | * include/std/future (~_Async_state_impl): Join thread before derived class members are destroyed. (~_Async_state_common): Only define non-trivial destructor when included from future.cc for ABI compatibility reasons. * src/c++11/future.cc (_GLIBCXX_ABI_COMPAT_ASYNC): Define. * testsuite/30_threads/async/54297.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190672 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54248redi2012-08-252-2/+8
| | | | | | | * include/bits/concept_check.h: Replace references to boost namespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190668 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (tsubst_default_argument): Indicate where the defaultjason2012-08-252-5/+5
| | | | | | | | | | | | argument is being instantiated for. (tsubst_expr): Restore previous location. (tsubst_copy_and_build): Set and restore location. * call.c (build_new_method_call_1): Remember location of call. * semantics.c (finish_call_expr): Here too. * parser.c (cp_parser_omp_for_loop): Remember the location of the increment expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190662 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54354redi2012-08-2352-235/+256
| | | | | | | * doc/xml/manual/status_cxx2011.xml: Note missing manipulators. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190616 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libstdc++-prettyprinters/cxx11.cc (struct datum):tromey2012-08-153-1/+28
| | | | | | | | | | | New. (global): New global. (main): Add test for unique_ptr. * python/libstdcxx/v6/printers.py (UniquePointerPrinter.to_string): Extract the pointer and also print its type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190417 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud