summaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 2012-09-20 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-09-211-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/54102, part 2 * doc/Makefile.am (XSL_HTML_STYLE): use xhtml, not html. * doc/Makefile.in: Regenerate. * doc/html/*: Same. 2012-09-20 Benjamin Kosnik <bkoz@redhat.com> * doc/html/*: Regenerate. 2012-09-20 Benjamin Kosnik <bkoz@redhat.com> 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/branches/gcc-4_7-branch@191603 138bc75d-0d04-0410-961f-82ee72b054a4
* Mark ChangeLoggccadmin2012-09-201-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191531 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54172jakub2012-09-111-0/+6
| | | | | | | | * 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/branches/gcc-4_7-branch@191191 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-09-09 Thiago Macieira <thiago.macieira@intel.com>bkoz2012-09-101-0/+7
| | | | | | | | | | | 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/branches/gcc-4_7-branch@191125 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54388redi2012-09-091-0/+6
| | | | | | | * include/std/array (array::at() const): Ensure lvalue result. * testsuite/23_containers/array/element_access/54388.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191117 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-26 Marc Glisse <marc.glisse@inria.fr>paolo2012-09-061-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/branches/gcc-4_7-branch@191016 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.redi2012-08-261-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190690 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54297redi2012-08-261-0/+9
| | | | | | | | | | * 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/branches/gcc-4_7-branch@190687 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-26 Jonathan Wakely <jwakely.gcc@gmail.com>redi2012-08-261-0/+11
| | | | | | | | | | | | | | Geoff Romer <gromer@google.com> PR libstdc++/54351 * 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/branches/gcc-4_7-branch@190681 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/54297redi2012-08-251-0/+10
| | | | | | | | | | | * 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/branches/gcc-4_7-branch@190673 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-13 David Adler <d.adler.s@gmail.com>redi2012-08-131-0/+7
| | | | | | | | | PR libstdc++/54185 * src/c++11/condition_variable.cc (condition_variable): Always destroy native type in destructor. * testsuite/30_threads/condition_variable/54185.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190357 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-06 Peter Bergner <bergner@vnet.ibm.com>paolo2012-08-061-0/+9
| | | | | | | | | | | | PR libstdc++/54036 * include/decimal/decimal.h (_DEFINE_DECIMAL_UNARY_OP): Use _Op as a unary operator. * testsuite/decimal/pr54036-1.cc: New test. * testsuite/decimal/pr54036-2.cc: Likewise. * testsuite/decimal/pr54036-3.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190185 138bc75d-0d04-0410-961f-82ee72b054a4
* Revert delta 190174nickc2012-08-061-626/+117
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190178 138bc75d-0d04-0410-961f-82ee72b054a4
* Latest updates from FSF 4.7 branchnickc2012-08-061-117/+626
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190174 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-08-02 Michael Hope <michael.hope@linaro.org>michaelh2012-08-021-0/+9
| | | | | | | | | | | | Backport from mainline r186389: 2012-04-12 Andreas Schwab <schwab@linux-m68k.org> * testsuite/Makefile.am (check_DEJAGNUnormal0): Run prettyprinters.exp. * testsuite/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190064 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-29 François Dumont <fdumont@gcc.gnu.org>fdumont2012-07-291-0/+8
| | | | | | | | | | | PR libstdc++/54075 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt): Add a growth factor set to 2 to boost growth in the number of buckets. * testsuite/performance/23_containers/insert/unordered_set.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189941 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-26 François Dumont <fdumont@gcc.gnu.org>fdumont2012-07-261-0/+14
| | | | | | | | | | | | | | | | | PR libstdc++/54075 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_InputIterator, _InputIterator, size_type, ...): Remove std::max usage to guarantee that hashtable state is consistent with hash policy state. (_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid the hashtable shrinking on next insertion. * testsuite/23_containers/unordered_set/modifiers/reserve.cc: New. * testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New. * testsuite/23_containers/unordered_map/modifiers/reserve.cc: New. * testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189889 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-20 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-07-201-0/+4
| | | | | | | * testsuite/30_threads/thread/adl.cc: Add missing dg-requires. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189710 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/53270redi2012-07-161-0/+14
| | | | | | | | | | | | | | | * include/ext/concurrence.h: Use NSDMI for gthreads types. * include/ext/rope: Likewise. Destroy mutexes in destructors. Add system_header pragma. Revert: 2012-06-19 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/53270 * config/os/gnu-linux/os_defines.h: Disable static initializer macros for gthreads types in C++11 mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189555 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/53978redi2012-07-161-0/+9
| | | | | | | | | | * include/bits/alloc_traits.h (allocator_traits): Define static constants. * include/bits/ptr_traits.h (pointer_traits): Likewise. * include/ext/alloc_traits.h (__allocator_always_compares_equal): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189548 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-13 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-07-131-0/+19
| | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/53657 * include/bits/stl_pair.h (pair<>::pair(pair&&)): Declare defaulted, per C++11. * include/bits/stl_map.h (map<>::insert(_Pair&&), map<>::insert (const_iterator, _Pair&&)): Constrain with std::is_constructible, per LWG2005. * include/bits/stl_multimap.h (multimap<>::insert(_Pair&&), multimap<>::insert(const_iterator, _Pair&&)): Likewise. * include/bits/hashtable.h (_Hashtable<>::insert(_Pair&&), _Hashtable<>::insert(const_iterator, _Pair&&)): Likewise. * include/debug/unordered_map: Adjust. * include/debug/map.h: Likewise. * include/debug/multimap.h: Likewise. * include/profile/unordered_map: Likewise. * include/profile/map.h: Likewise. * include/profile/multimap.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189457 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/53578redi2012-07-071-0/+7
| | | | | | | | * include/ext/concurrence.h (__recursive_mutex::_S_destroy): Fix narrowing conversion. * include/std/mutex (__recursive_mutex_base::_S_destroy): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189351 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-06 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-07-061-0/+7
| | | | | | | | | | PR libstdc++/53872 * include/std/thread (thread::_M_make_routine): Qualify make_shared to prevent ADL. * testsuite/30_threads/thread/adl.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189330 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/condition_variable: Update copyright years.redi2012-07-051-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189276 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/53830redi2012-07-051-0/+8
| | | | | | | | | * include/std/condition_variable (condition_variable_any::wait): Move _Unlock type to class scope. (condition_variable_any::wait_until): Reuse it. * testsuite/30_threads/condition_variable_any/53830.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189273 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-02 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-07-031-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | Revert: 2011-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/49561 * include/bits/stl_list.h (_List_base<>::_List_impl::_M_size): Add in C++0x mode. (_List_base<>::_List_impl, _List_base<>::_M_get_node, _List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&), list<>::size, list<>::swap, list<>::splice): Use it. (operator==(const list<>&, const list<>&)): Rewrite in C++0x mode. * include/bits/list.tcc (list<>::erase): Likewise. (list<>::merge): Adjust in C++0x mode. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189186 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/53270redi2012-06-191-0/+6
| | | | | | | * config/os/gnu-linux/os_defines.h: Disable static initializer macros for gthreads types in C++11 mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188768 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-19 Jörg Sonnenberger <joerg@britannica.bec.de>redi2012-06-181-0/+7
| | | | | | | | | | Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/53678 * config/os/bsd/netbsd/ctype_base.h: Check for _CTYPE_U. * testsuite/22_locale/ctype_base/53678.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188760 138bc75d-0d04-0410-961f-82ee72b054a4
* Mark ChangeLogrguenth2012-06-141-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188561 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/cppaolo2012-05-281-0/+5
| | | | | | | | | | | | | | | | 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53503 * semantics.c (potential_constant_expression_1): Handle LTGT_EXPR. libstdc++-v3 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53503 * testsuite/26_numerics/headers/cmath/53503.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187929 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/random.tcc (seed_seq::generate): Cast max()dj2012-05-101-0/+7
| | | | | | | | | operands to size_t to ensure a template match. * include/std/bitset (_M_copy_from_ptr): Cast min() operands to size_t to ensure a template match. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187379 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-05-02 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-05-021-0/+6
| | | | | | | | | PR libstdc++/53193 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust dg-error line number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187057 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-05-01 François Dumont <fdumont@gcc.gnu.org>fdumont2012-05-011-0/+9
| | | | | | | | | | | | PR libstdc++/53115 * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux(size_type, false_type)): Fix buckets after insertion of several equivalent elements. * testsuite/23_containers/unordered_multiset/insert/53115.cc: New. * testsuite/23_containers/unordered_multimap/insert/53115.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187023 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-30 Andreas Tobler <andreast@fgznet.ch>andreast2012-04-301-0/+8
| | | | | | | | | | | Backport from mainline 2012-03-21 Andreas Tobler <andreast@fgznet.ch> * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Skip this test on powerpc64-*-freebsd*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186997 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/std/scoped_allocator (scoped_allocator::__outermost): Doredi2012-04-251-0/+6
| | | | | | | not pass non-POD to varargs function. * testsuite/20_util/scoped_allocator/1.cc: Fix test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186841 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-23 Chris Jefferson <chris@bubblescope.net>paolo2012-04-231-0/+7
| | | | | | | | | | PR testsuite/53046 * testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size of array A. * testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186713 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-22 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-04-221-0/+7
| | | | | | | | | | PR libstdc++/53067 * include/bits/hashtable_policy.h: Change inheritances to public. * testsuite/23_containers/unordered_map/requirements/53067.cc: New. * testsuite/23_containers/unordered_set/requirements/53067.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186677 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/53027redi2012-04-221-0/+7
| | | | | | | | * include/bits/ptr_traits.h (pointer_traits::rebind): Make public. * testsuite/20_util/pointer_traits/requirements/typedefs.cc: Check rebind works. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186671 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/52839amodra2012-04-211-0/+7
| | | | | | | | | | * acinclude.m4 (_GLIBCXX_ATOMIC_BUILTINS): Do not depend on glibcxx_cv_atomic_long_long. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186650 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>bkoz2012-04-171-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/52840 * src/Makefile.am (build-debug): Do not adjust vpath dir, remove Makefile.tmp * src/Makefile.in: Adjust as per above. 2012-04-16 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/52689 * libsupc++/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak. * libsupc++/Makefile.in: Regenerated. * src/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak. (libstdc___la_SOURCES): Add in compatiblity files, with content that varies with -DPIC. * src/Makefile.in: Regenerated. * src/c++11/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak. * src/c++11/Makefile.in: Regenerated. * src/c++11/compatibility-atomic-c++0x.cc: Guard with PIC. * src/c++11/compatibility-c++0x.cc: Same. * src/c++11/future.cc: Consolidate compatibility bits into.. * src/c++11/mutex.cc: Consolidate compatibility bits into.. * src/c++11/compatibility-thread-cxx0x.cc: ...here. New. * src/c++98/Makefile.am (LTCXXCOMPILE, CXXLINK): Tweak. * src/c++98/Makefile.in: Regenerated. * src/c++98/compatibility-list-2.cc: Guard with PIC. * src/c++98/compatibility.cc: Tweak comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186517 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-04-161-0/+7
| | | | | | | | | | | * include/ext/pb_ds/detail/pat_trie_/ constructors_destructor_fn_imps.hpp: Increment after recursion. * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: Convert node_type markup from brief. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186510 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-14 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-04-151-0/+15
| | | | | | | | | | | | | | | | | | PR libstdc++/52699 * include/bits/random.tcc (independent_bits_engine<>::operator()()) Avoid various overflows; use common_type on result_type and _RandomNumberEngine::result_type; avoid floating point computations; other smaller tweaks. * include/bits/random.tcc (uniform_int_distribution<>::operator()) Use common_type; assume _UniformRandomNumberGenerator::result_type unsigned; tidy. * include/bits/stl_algobase.h (__lg(unsigned), __lg(unsigned long), __lg(unsigned long long)): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186461 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-13 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-04-131-0/+12
| | | | | | | | | | | | | | | * include/debug/safe_iterator.h (_BeforeBeginHelper<>:: _S_Is_Beginnest): Add. * include/debug/forward_list (_BeforeBeginHelper<>:: _S_Is_Beginnest): Likewise. (_Safe_iterator<>::_M_is_beginnest): Add. * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range): Use the latter. * testsuite/23_containers/forward_list/debug/splice_after.cc: Add test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186412 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-12 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-04-131-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/forward_list.h (splice_after(const_iterator, forward_list&), splice_after(const_iterator, forward_list&, consst_iterator), splice_after(const_iterator, forward_list&, const_iterator, const_iterator), merge(forward_list&), merge(forward_list&, _Comp)): Add per C++11 as published (and LWG 1310). * include/debug/forward_list: Adjust. * include/bits/forward_list.h (splice_after(const_iterator, forward_list&&, const_iterator)): Only declare. (_M_transfer_after): Remove. (_M_splice_after(const_iterator, forward_list&&)): Change signature. (splice_after(const_iterator, forward_list&&, const_iterator, const_iterator)): Use the latter. * include/bits/forward_list.tcc (splice_after(const_iterator, forward_list&&, const_iterator)): Define here. (_M_splice_after): Define, use throughout. * include/bits/forward_list.h (insert_after(const_iterator, std::initializer_list<_Tp>)): Forward to insert_after(const_iterator, _InputIterator, _InputIterator). * include/bits/forward_list.tcc: Remove definition. * testsuite/23_containers/forward_list/modifiers/6.cc: New. * testsuite/23_containers/forward_list/operations/1.cc: Adjust. * testsuite/23_containers/forward_list/requirements/dr438/ assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/forward_list/requirements/dr438/ insert_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/forward_list/requirements/dr438/ constructor_2_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186404 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR52822 (stable_partition move-assigns object to itself) byjyasskin2012-04-121-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | scanning for the first value that doesn't match the predicate before starting to rearrange values. 2012-04-03 Jeffrey Yasskin <jyasskin@google.com> PR libstdc++/52822 * include/bits/stl_algo.h (__find_if_not): Expose in C++98 mode. (__find_if_not_n): Like __find_if_not, but works on and updates a counted range instead of a bounded range. (stable_partition): Guarantee !__pred(*__first) in call to __stable_partition_adaptive() or __inplace_stable_partition(). (__stable_partition_adaptive): Use new precondition to avoid moving/copying objects onto themselves. Guarantee new precondition to recursive calls. (__inplace_stable_partition): Use new precondition to simplify base case, remove __last parameter. Guarantee new precondition to recursive calls. * testsuite/25_algorithms/stable_partition/moveable.cc (test02): Test a sequence that starts with a value matching the predicate. * testsuite/25_algorithms/stable_partition/pr52822.cc: Test vectors, which have a destructive self-move-assignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186394 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-12 Paolo Carlini <paolo.carlini@oracle.com>paolo2012-04-121-2/+13
| | | | | | | | | | | | PR libstdc++/52942 * include/bits/stl_function.h (_Identity, _Select1st, _Select2nd): In C++11 mode do not derive from std::unary_function. * include/ext/functional (identity, select1st, select2nd): Adjust. * testsuite/23_containers/unordered_map/requirements/52942.cc: New. * testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186376 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/52924redi2012-04-111-0/+10
| | | | | | | | | | | * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add user-defined destructor. (_Sp_counted_inplace): Likewise. * testsuite/20_util/shared_ptr/cons/52924.cc: New. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186367 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/performance/30_threads/future/polling.cc: Adjust.redi2012-04-111-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186360 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/52591redi2012-04-111-0/+16
| | | | | | | | | | | | | | | | | * include/bits/stl_vector.h (vector::operator=(vector&&)): Dispatch to _M_move_assign depending on whether allocator is moved. (vector::_M_move_assign): Add overloaded functions. * testsuite/23_containers/vector/52591.cc: New. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186359 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-04-09 François Dumont <fdumont@gcc.gnu.org>fdumont2012-04-091-0/+8
| | | | | | | | | | | PR libstdc++/52476 * include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Add. (_Hashtable<>::_M_rehash): Use the latter. * testsuite/23_containers/unordered_multimap/insert/52476.cc: New. * testsuite/23_containers/unordered_multiset/insert/52476.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186249 138bc75d-0d04-0410-961f-82ee72b054a4