1 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
6 * testsuite/23_containers/unordered_set/56278.cc: New.
8 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
10 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
13 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
16 * include/tr1/special_function_util.h: Remove spurious const
17 from numeric arguments.
18 * include/tr1/riemann_zeta.tcc: Ditto.
19 * include/tr1/exp_integral.tcc: Ditto.
20 * include/tr1/bessel_function.tcc: Ditto.
21 * include/tr1/hypergeometric.tcc: Ditto.
22 * include/tr1/modified_bessel_func.tcc: Ditto.
23 * include/tr1/poly_laguerre.tcc: Ditto.
24 * include/tr1/gamma.tcc: Ditto.
25 * include/tr1/legendre_function.tcc: Ditto.
26 * include/tr1/poly_hermite.tcc: Ditto.
27 * include/tr1/ell_integral.tcc: Ditto.
28 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
29 If argument is zero return function value.
30 * testsuite/tr1/5_numerical_facilities/special_functions/08_cyl_bessel_i/pr56216.cc:
33 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
35 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
37 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
40 * include/bits/basic_ios.h: Replace operator void*() const
41 with explicit operator bool() const in C++11 and greater.
42 * testsuite/27_io/basic_ios/pr56193.cc: New file.
44 2013-02-04 Dodji Seketeli <dodji@redhat.com>
46 Add missing explicit instantiation for std::lower_bound template
47 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
48 missing instantiation for std::lower_bound template.
50 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
52 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
53 * include/bits/basic_string.h: Specialize previous to mark
54 std::hash for string types as slow.
55 * include/bits/hashtable.h (__cache_default): Replace is_integral
57 * src/c++11/hash_c++0x.cc: Add type_traits include.
58 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
59 Adapt dg-error line number.
60 * testsuite/23_containers/unordered_set/
61 not_default_constructible_hash_neg.cc: Likewise.
63 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
64 Paolo Carlini <paolo.carlini@oracle.com>
66 PR libstdc++/56202 (again)
67 * include/bits/random.tcc (binomial_distribution<>::
68 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
71 * include/bits/random.h: Fix comment typo.
73 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
74 Paolo Carlini <paolo.carlini@oracle.com>
77 * include/bits/random.tcc (binomial_distribution<>::
78 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
81 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
83 Update copyright years.
84 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
85 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
86 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
87 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
88 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
89 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
90 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
91 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
92 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
93 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
94 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
95 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
96 testsuite/29_atomics/atomic/cons/assign_neg.cc,
97 testsuite/29_atomics/atomic/cons/copy_neg.cc,
98 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
99 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
100 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
101 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
102 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
103 Update lines in dg error matches.
105 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
107 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
109 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
111 * include/bits/hashtable_policy.h
112 (_Prime_rehash_policy::_M_next_bkt)
113 (_Prime_rehash_policy::_M_need_rehash): Move definition...
114 * src/c++11/hashtable_c++0x.cc: ... here.
115 * src/shared/hashtable-aux.cc: Remove c++config.h include.
116 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
119 2013-01-29 Jason Merrill <jason@redhat.com>
122 * config/abi/pre/gnu.ver: Don't export construction vtables.
123 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
125 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
128 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
129 to construct value_type explicitly before trying to extract the key.
130 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
132 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
134 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
135 _Hashtable_ebo_helper to embed functors into the local_iterator
136 when necessary. Pass information about functors involved in hash
138 * include/bits/hashtable.h (__cache_default): Do not cache for
139 builtin integral types unless the hash functor is not noexcept
140 qualified or is not default constructible. Adapt static assertions
141 and local iterator instantiations.
142 * include/debug/unordered_set
143 (std::__debug::unordered_set<>::erase): Detect local iterators to
144 invalidate using contained node rather than generating a dummy
145 local_iterator instance.
146 (std::__debug::unordered_multiset<>::erase): Likewise.
147 * include/debug/unordered_map
148 (std::__debug::unordered_map<>::erase): Likewise.
149 (std::__debug::unordered_multimap<>::erase): Likewise.
150 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
151 std::tr1 and std versions of unordered_set regardless of any
152 macro. Add test on default cache behavior.
153 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
154 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
156 * testsuite/23_containers/unordered_set/
157 not_default_constructible_hash_neg.cc: New.
158 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
160 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
163 * include/std/complex (pow(const complex<>&, int)): Avoid __n
166 2013-01-22 Jakub Jelinek <jakub@redhat.com>
168 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
169 Tightten scan-assembler-times regexps, add dg-additional-options for
170 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
173 2013-01-12 Andi Kleen <ak@linux.intel.com>
174 Jonathan Wakely <jwakely.gcc@gmail.com>
177 * include/bits/atomic_base.h (__memory_order_modifier): Add
178 __memory_order_mask, __memory_order_modifier_mask,
179 __memory_order_hle_acquire, __memory_order_hle_release.
180 (operator|,operator&): Add.
181 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
182 (__cmpexch_failure_order): Add.
183 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
185 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
188 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
191 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
193 (__basic_future::_M_get_result()): Const qualify.
194 (shared_future::get()): Likewise.
195 * testsuite/30_threads/shared_future/members/get.cc: Use const
198 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
200 PR libstdc++/55043 (again)
201 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
202 unless construction would be well-formed.
203 (__allow_copy_cons, __check_copy_constructible): Define.
204 * include/bits/unordered_map.h (__check_copy_constructible): Use as
205 base class so copy constructor will be deleted if appropriate.
206 (is_copy_constructible): Remove specialization.
207 * include/bits/unordered_set.h: Likewise.
208 * include/debug/unordered_map.h: Undo previous commit. Default copy
209 and move constructors.
210 * include/debug/unordered_set.h: Likewise.
211 * include/profile/unordered_map.h: Undo previous commit.
212 * include/profile/unordered_set.h: Likewise.
213 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
214 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
215 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
216 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
217 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
218 cannot support incomplete types.
219 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
222 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
225 * include/std/unordered_map: Include alloc_traits.h
226 * include/std/unordered_set: Likewise.
227 * include/bits/alloc_traits.h: Define __is_copy_insertable.
228 * include/bits/unordered_map.h: Use it.
229 * include/bits/unordered_set.h: Likewise.
230 * include/debug/unordered_map.h: Likewise.
231 * include/debug/unordered_set.h: Likewise.
232 * include/profile/unordered_map.h: Likewise.
233 * include/profile/unordered_set.h: Likewise.
234 * include/bits/hashtable.h: Fix comment typos.
235 * testsuite/23_containers/unordered_map/55043.cc: New.
236 * testsuite/23_containers/unordered_multimap/55043.cc: New.
237 * testsuite/23_containers/unordered_multiset/55043.cc: New.
238 * testsuite/23_containers/unordered_set/55043.cc: New.
240 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
242 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
245 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
247 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
249 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
252 * include/std/functional (_Mem_fn::operator()): Fix constraints to
254 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
255 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
257 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
260 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
262 * configure: Regenerate.
264 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
267 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
268 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
272 * include/std/functional (bad_function_call::what()): Declare.
273 * src/c++11/functional.cc (bad_function_call::what()): Define.
274 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
275 * testsuite/20_util/bad_function_call/what.cc: New.
277 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
279 * include/bits/unordered_map.h: Fix typo in comments.
280 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
281 counts for unordered associative containers.
283 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
285 * doc/xml/manual/abi.xml: Update library and symbol versions.
287 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
289 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
291 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
294 Copyright (C) 2013 Free Software Foundation, Inc.
296 Copying and distribution of this file, with or without modification,
297 are permitted in any medium without royalty provided the copyright
298 notice and this notice are preserved.