1 2013-11-22 Jonathan Wakely <jwakely.gcc@gmail.com>
3 * acinclude.m4 (libtool_VERSION): Bump.
4 * configure: Regenerate.
5 * doc/xml/manual/abi.xml: Update version information.
7 2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
9 * testsuite/ext/random/hypergeometric_distribution/operators/
10 values.cc: Fix further thinkos.
12 2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
14 * testsuite/ext/random/hypergeometric_distribution/operators/
15 values.cc: Fix thinkos.
17 2013-11-21 Edward Smith-Rowland <3dw4rd@verizon.net>
19 * include/experimental/string_view: Rep empty string with unit-length
20 static constexpr string. Uncomment _GLIBCXX_VISIBILITY. Enforce
21 invariant of no nullptr string pointer.
22 * include/experimental/string_view.tcc: Ditto.
23 * testsuite/experimental/string_view/cons/char/1.cc: data() for empty
24 string_view is no longer nullptr.
25 * testsuite/experimental/string_view/cons/wchar_t/1.cc: Ditto.
26 * testsuite/experimental/string_view/operations/data/char/1.cc: Ditto.
27 * testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
30 2013-11-21 Edward Smith-Rowland <3dw4rd@verizon.net>
32 Implement __gnu_cxx::hypergeometric_distribution.
33 * include/ext/random: Add hypergeometric_distribution.
34 * include/ext/random.tcc: Add hypergeometric_distribution.
35 * testsuite/util/testsuite_random.h (hypergeometric_pdf): New pdf
36 for the hypergeometric discreet distribution;
37 (lbincoef): New supporting function for binomial coefficients.
38 * testsuite/ext/random/hypergeometric_distribution/operators/
40 * testsuite/ext/random/hypergeometric_distribution/operators/
42 * testsuite/ext/random/hypergeometric_distribution/operators/
44 * testsuite/ext/random/hypergeometric_distribution/operators/
46 * testsuite/ext/random/hypergeometric_distribution/cons/parms.cc: New.
47 * testsuite/ext/random/hypergeometric_distribution/cons/default.cc: New.
48 * testsuite/ext/random/hypergeometric_distribution/requirements/
49 explicit_instantiation/1.cc: New.
50 * testsuite/ext/random/hypergeometric_distribution/requirements/
53 2013-11-20 Jonathan Wakely <jwakely.gcc@gmail.com>
56 * include/ext/pointer.h (pointer_traits<>::rebind<>): Add template
57 keyword in nested name.
60 * include/std/future (__future_base::_State_base): Rename to
61 __future_base::_State_baseV2.
62 (__future_base::_State_baseV2::~_State_baseV2): Define as defaulted.
63 (__future_base::_State_baseV2::_M_run_deferred): Rename to
65 (__future_base::_State_baseV2::_M_has_deferred): Add new virtual.
66 (__future_base::_State_baseV2::wait_for): Call _M_has_deferred() to
67 test for a deferred function, or call _M_complete_async() to join an
68 async thread that has made the shared state ready.
69 (__future_base::_State_baseV2::wait_until): Likewise.
70 (__future_base::_Async_state_common): Rename to _Async_state_commonV2.
71 (__future_base::_Async_state_commonV2::_M_run_deferred): Rename to
73 * src/c++11/compatibility-thread-c++0x.cc (__future_base::_State_base):
74 Export old definition.
75 (__future_base::_Async_state_common): Likewise.
76 * src/c++11/future.cc (__future_base::_State_base::~_State_base):
78 * doc/xml/manual/status_cxx2011.xml: Update status.
79 * testsuite/30_threads/async/async.cc: Test future_status::timeout
80 and future_status::ready.
81 * testsuite/30_threads/async/sync.cc: Test future_status::deferred.
83 2013-11-20 David Edelsohn <dje.gcc@gmail.com>
85 * testsuite/17_intro/static.cc: Ignore AIX TOC reload warnings.
87 2013-11-19 Jonathan Wakely <jwakely.gcc@gmail.com>
89 * testsuite/23_containers/forward_list/allocator/noexcept.cc: Change
90 to compile-only test. Adjust swap overload to handle rebound
92 * testsuite/23_containers/map/allocator/noexcept.cc: Likewise.
93 * testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise.
94 * testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise.
95 * testsuite/23_containers/set/allocator/noexcept.cc: Likewise.
96 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
98 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc:
100 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc:
102 * testsuite/23_containers/unordered_set/allocator/noexcept.cc:
104 * testsuite/23_containers/vector/allocator/noexcept.cc: Likewise.
105 * testsuite/23_containers/vector/allocator/swap.cc: Add elements
108 * config/abi/pre/gnu.ver (_ZNSt11regex_errorC*): Export regex_error
110 * testsuite/20_util/addressof/1.cc: Remove { dg-do compile }.
111 * testsuite/20_util/allocator_traits/members/destroy.cc: Likewise.
112 * testsuite/20_util/allocator_traits/members/select.cc: Likewise. Fix
114 * testsuite/28_regex/basic_regex/ctors/extended/cstring.cc: Likewise.
115 * testsuite/28_regex/init-list.cc: Likewise.
116 * testsuite/28_regex/regex_error/regex_error.cc: Likewise.
117 * testsuite/28_regex/sub_match/length.cc: Likewise. Add main.
118 * testsuite/28_regex/sub_match/cast_char.cc: Likewise. Fix test.
119 * testsuite/28_regex/sub_match/cast_wchar_t.cc: Likewise.
120 * testsuite/tr1/7_regular_expressions/regex/cons/char/
121 c_string_extended.cc: Delete.
123 2013-11-19 Paolo Carlini <paolo.carlini@oracle.com>
125 * include/experimental/string_view (_S_max_size): Remove.
126 (basic_string_view<>::max_size): Adjust.
127 * testsuite/experimental/string_view/capacity/1.cc: Clean-up.
128 * testsuite/experimental/string_view/inserters/pod/10081-out.cc:
131 2013-11-19 Jonathan Wakely <jwakely.gcc@gmail.com>
133 * doc/xml/manual/status_cxx2014.xml: Create new table for TS statuses.
135 2013-11-18 Jonathan Wakely <jwakely.gcc@gmail.com>
137 * include/bits/shared_ptr_base.h (_Sp_counted_base<_S_single>): Use
138 non-atomic operations.
139 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line number.
140 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
142 2013-11-16 Edward Smith-Rowland <3dw4rd@verizon.net>
144 Implement N3762 string_view: a non-owning reference to a string.
145 * include/Makefile.am: Add string_view and string_view.tcc.
146 * include/Makefile.in: Regenerate.
147 * include/experimental/string_view: Implement basic_string_view.
148 * include/experimental/string_view.tcc: Implement basic_string_view.
149 * testsuite/experimental/string_view/capacity/1.cc: New.
150 * testsuite/experimental/string_view/cons/char/1.cc: New.
151 * testsuite/experimental/string_view/cons/char/2.cc: New.
152 * testsuite/experimental/string_view/cons/char/3.cc: New.
153 * testsuite/experimental/string_view/cons/wchar_t/1.cc: New.
154 * testsuite/experimental/string_view/cons/wchar_t/2.cc: New.
155 * testsuite/experimental/string_view/cons/wchar_t/3.cc: New.
156 * testsuite/experimental/string_view/element_access/char/1.cc: New.
157 * testsuite/experimental/string_view/element_access/char/2.cc: New.
158 * testsuite/experimental/string_view/element_access/char/empty.cc: New.
159 * testsuite/experimental/string_view/element_access/char/front_back.cc:
161 * testsuite/experimental/string_view/element_access/wchar_t/1.cc: New.
162 * testsuite/experimental/string_view/element_access/wchar_t/2.cc: New.
163 * testsuite/experimental/string_view/element_access/wchar_t/empty.cc:
165 * testsuite/experimental/string_view/element_access/wchar_t/
167 * testsuite/experimental/string_view/include.cc: New.
168 * testsuite/experimental/string_view/inserters/char/1.cc: New.
169 * testsuite/experimental/string_view/inserters/char/2.cc: New.
170 * testsuite/experimental/string_view/inserters/char/3.cc: New.
171 * testsuite/experimental/string_view/inserters/pod/10081-out.cc: New.
172 * testsuite/experimental/string_view/inserters/wchar_t/1.cc: New.
173 * testsuite/experimental/string_view/inserters/wchar_t/2.cc: New.
174 * testsuite/experimental/string_view/inserters/wchar_t/3.cc: New.
175 * testsuite/experimental/string_view/literals/types.cc: New.
176 * testsuite/experimental/string_view/literals/values.cc: New.
177 * testsuite/experimental/string_view/modifiers/remove_prefix/char/1.cc:
179 * testsuite/experimental/string_view/modifiers/remove_prefix/wchar_t/
181 * testsuite/experimental/string_view/modifiers/remove_suffix/char/1.cc:
183 * testsuite/experimental/string_view/modifiers/remove_suffix/wchar_t/
185 * testsuite/experimental/string_view/operations/compare/char/1.cc: New.
186 * testsuite/experimental/string_view/operations/compare/char/13650.cc:
188 * testsuite/experimental/string_view/operations/compare/wchar_t/1.cc:
190 * testsuite/experimental/string_view/operations/compare/wchar_t/
192 * testsuite/experimental/string_view/operations/data/char/1.cc: New.
193 * testsuite/experimental/string_view/operations/data/wchar_t/1.cc: New.
194 * testsuite/experimental/string_view/operations/find/char/1.cc: New.
195 * testsuite/experimental/string_view/operations/find/char/2.cc: New.
196 * testsuite/experimental/string_view/operations/find/char/3.cc: New.
197 * testsuite/experimental/string_view/operations/find/char/4.cc: New.
198 * testsuite/experimental/string_view/operations/find/wchar_t/1.cc: New.
199 * testsuite/experimental/string_view/operations/find/wchar_t/2.cc: New.
200 * testsuite/experimental/string_view/operations/find/wchar_t/3.cc: New.
201 * testsuite/experimental/string_view/operations/find/wchar_t/4.cc: New.
202 * testsuite/experimental/string_view/operations/rfind/char/1.cc: New.
203 * testsuite/experimental/string_view/operations/rfind/char/2.cc: New.
204 * testsuite/experimental/string_view/operations/rfind/char/3.cc: New.
205 * testsuite/experimental/string_view/operations/rfind/wchar_t/1.cc: New.
206 * testsuite/experimental/string_view/operations/rfind/wchar_t/2.cc: New.
207 * testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc: New.
208 * testsuite/experimental/string_view/operations/substr/char/1.cc: New.
209 * testsuite/experimental/string_view/operations/substr/wchar_t/1.cc:
211 * testsuite/experimental/string_view/operators/char/2.cc: New.
212 * testsuite/experimental/string_view/operators/wchar_t/2.cc: New.
213 * testsuite/experimental/string_view/range_access/char/1.cc: New.
214 * testsuite/experimental/string_view/range_access/wchar_t/1.cc: New.
215 * testsuite/experimental/string_view/requirements/
216 explicit_instantiation/1.cc: New.
217 * testsuite/experimental/string_view/requirements/
218 explicit_instantiation/char/1.cc: New.
219 * testsuite/experimental/string_view/requirements/
220 explicit_instantiation/char16_t/1.cc: New.
221 * testsuite/experimental/string_view/requirements/
222 explicit_instantiation/char32_t/1.cc: New.
223 * testsuite/experimental/string_view/requirements/
224 explicit_instantiation/wchar_t/1.cc: New.
225 * testsuite/experimental/string_view/requirements/typedefs.cc: New.
226 * testsuite/experimental/string_view/types/1.cc: New.
228 2013-11-16 François Dumont <fdumont@gcc.gnu.org>
230 * testsuite/23_containers/unordered_set/55043.cc (equal): Add
231 missing & on rhs parameter.
233 2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
235 * include/bits/stl_bvector.h (vector<bool>::emplace_back()): LWG 2187:
237 (vector<bool>::emplace()): Likewise.
238 * testsuite/23_containers/vector/bool/emplace.cc: New.
240 2013-11-15 Ondřej Bílka <neleai@seznam.cz>
241 Jonathan Wakely <jwakely.gcc@gmail.com>
243 * doc/xml/manual/build_hacking.xml: Fix documentation typos.
244 * doc/xml/manual/configure.xml: Likewise.
245 * include/bits/atomic_base.h: Fix typos in comments.
246 * include/bits/random.h: Likewise.
247 * include/ext/cast.h: Likewise.
248 * libsupc++/cxxabi.h: Likewise.
249 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Likewise.
250 * testsuite/tr1/5_numerical_facilities/special_functions/testcase.h:
252 * testsuite/util/exception/safety.h: Likewise.
253 * testsuite/util/testsuite_containers.h: Likewise.
254 * testsuite/util/testsuite_hooks.cc: Likewise.
256 2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
258 * include/bits/stl_map.h (map): Implement C++11 allocator-aware
259 container requirements.
260 * include/bits/stl_multimap.h (multimap): Likewise.
261 * include/bits/stl_multiset.h (multiset): Likewise.
262 * include/bits/stl_set.h (set): Likewise.
263 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_buffer and
264 add accessors for value.
265 (_Rb_tree_iterator, _Rb_tree_const_iterator): Use _Rb_tree_node
267 (_Rb_tree): Use allocator_traits and implement support for sets and
268 maps the be allocator-aware.
269 * include/bits/forward_list.h (_Fwd_list_base::_M_create_node): Do
270 not zero-initialize storage buffer.
271 * include/bits/hashtable_policy.h (_Hashtable_alloc::_M_allocate_node):
273 * include/bits/stl_vector.h (vector(vector&&, const allocator_type&)):
274 Add conditional noexcept specification.
275 * doc/xml/manual/status_cxx2011.xml: Update status of containers.
276 * testsuite/util/testsuite_allocator.h: Re-indent.
277 * testsuite/23_containers/forward_list/allocator/copy.cc: Test
278 allocator-extended copy constructor.
279 * testsuite/23_containers/unordered_map/allocator/copy.cc: Likewise.
280 * testsuite/23_containers/unordered_multimap/allocator/copy.cc:
282 * testsuite/23_containers/unordered_multiset/allocator/copy.cc:
284 * testsuite/23_containers/unordered_set/allocator/copy.cc: Likewise.
285 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
286 * testsuite/23_containers/forward_list/allocator/move.cc: New.
287 * testsuite/23_containers/unordered_map/allocator/move.cc: New.
288 * testsuite/23_containers/unordered_multimap/allocator/move.cc: New.
289 * testsuite/23_containers/unordered_multiset/allocator/move.cc: New.
290 * testsuite/23_containers/unordered_set/allocator/move.cc: New.
291 * testsuite/23_containers/vector/allocator/move.cc: New.
292 * testsuite/23_containers/map/allocator/copy.cc: New.
293 * testsuite/23_containers/map/allocator/copy_assign.cc: New.
294 * testsuite/23_containers/map/allocator/minimal.cc: New.
295 * testsuite/23_containers/map/allocator/move.cc: New.
296 * testsuite/23_containers/map/allocator/move_assign.cc: New.
297 * testsuite/23_containers/map/allocator/noexcept.cc: New.
298 * testsuite/23_containers/map/allocator/swap.cc: New.
299 * testsuite/23_containers/multimap/allocator/copy.cc: New.
300 * testsuite/23_containers/multimap/allocator/copy_assign.cc: New.
301 * testsuite/23_containers/multimap/allocator/minimal.cc: New.
302 * testsuite/23_containers/multimap/allocator/move.cc: New.
303 * testsuite/23_containers/multimap/allocator/move_assign.cc: New.
304 * testsuite/23_containers/multimap/allocator/noexcept.cc: New.
305 * testsuite/23_containers/multimap/allocator/swap.cc: New.
306 * testsuite/23_containers/multiset/allocator/copy.cc: New.
307 * testsuite/23_containers/multiset/allocator/copy_assign.cc: New.
308 * testsuite/23_containers/multiset/allocator/minimal.cc: New.
309 * testsuite/23_containers/multiset/allocator/move.cc: New.
310 * testsuite/23_containers/multiset/allocator/move_assign.cc: New.
311 * testsuite/23_containers/multiset/allocator/noexcept.cc: New.
312 * testsuite/23_containers/multiset/allocator/swap.cc: New.
313 * testsuite/23_containers/set/allocator/copy.cc: New.
314 * testsuite/23_containers/set/allocator/copy_assign.cc: New.
315 * testsuite/23_containers/set/allocator/minimal.cc: New.
316 * testsuite/23_containers/set/allocator/move.cc: New.
317 * testsuite/23_containers/set/allocator/move_assign.cc: New.
318 * testsuite/23_containers/set/allocator/noexcept.cc: New.
319 * testsuite/23_containers/set/allocator/swap.cc: New.
320 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
321 Adjust dg-error line number.
322 * testsuite/23_containers/vector/requirements/dr438/
323 constructor_1_neg.cc: Likewise.
324 * testsuite/23_containers/vector/requirements/dr438/
325 constructor_2_neg.cc: Likewise.
326 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
329 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
331 * scripts/extract_symvers.in: Ignore <localentry: > fields
332 in readelf --symbols output.
334 2013-11-14 Jonathan Wakely <jwakely.gcc@gmail.com>
336 * include/bits/alloc_traits.h (__allow_copy_cons): Remove.
337 (__check_copy_constructible): Likewise.
338 * include/bits/unordered_map.h (unordered_map, unordered_multimap):
339 Do not derive from __check_copy_constructible.
340 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
342 * testsuite/23_containers/unordered_map/55043.cc: It is no longer
343 necessary for is_copy_constructible to be correct to use nested
344 unordered containers.
345 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
346 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
347 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
349 2013-11-13 Marc Glisse <marc.glisse@inria.fr>
352 * include/ext/pod_char_traits.h: Uglify V, I and S.
354 2013-11-11 Jonathan Wakely <jwakely.gcc@gmail.com>
357 * include/std/mutex (__timed_mutex_impl::__clock_t): Use
358 high_resolution_clock for absolute timeouts, because
359 pthread_mutex_timedlock uses CLOCK_REALTIME not CLOCK_MONOTONIC.
360 (__timed_mutex_impl::_M_try_lock_for): Use steady_clock for relative
361 timeouts as per [thread.req.timing].
362 (__timed_mutex_impl::_M_try_lock_until<Clock,Duration>): Convert to
363 __clock_t time point instead of using _M_try_lock_for.
365 2013-11-09 Jonathan Wakely <jwakely.gcc@gmail.com>
368 * include/bits/stl_algobase.h (__copy_move::__copy_m): Use assertion
369 to prevent using memmove() on non-assignable types.
370 (__copy_move_backward::__copy_move_b): Likewise.
371 * include/bits/stl_uninitialized.h (uninitialized_copy
372 uninitialized_copy_n, uninitialized_fill, uninitialized_fill_n,
373 __uninitialized_default, __uninitialized_default_n): Check for
374 assignable as well as trivial.
375 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
377 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
379 * testsuite/20_util/specialized_algorithms/uninitialized_fill/
381 * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/
383 * testsuite/25_algorithms/copy/58982.cc: New.
384 * testsuite/25_algorithms/copy_n/58982.cc: New.
386 2013-11-08 François Dumont <fdumont@gcc.gnu.org>
388 * include/debug/safe_iterator.h (_BeforeBeginHelper<>::_S_Is):
389 Take only a const safe iterator reference.
390 (_BeforeBeginHelper<>::_S_Is_beginnest): Likewise.
391 (__get_distance): Take only one type of iterator.
392 (_Safe_iterator<>::_M_valid_range<>): Not template anymore.
393 (_Safe_iterator<>::_M_get_sequence()): Return pointer to const
394 sequence from a const_iterator and a pointer to sequence from an
396 * include/debug/safe_iterator.tcc: Adapt.
397 * include/debug/safe_local_iterator.h
398 (_Safe_local_iterator<>::_M_valid_range<>): Not template anymore.
399 (_Safe_local_iterator<>::_M_get_sequence()): Return pointer to
400 const sequence from a const_iterator and a pointer to sequence
402 * include/debug/safe_local_iterator.tcc: Adapt.
403 * include/debug/forward_list
404 (_BeforeBeginHelper<std::__debug::forward_list<>>): Adapt.
406 2013-11-08 Jonathan Wakely <jwakely.gcc@gmail.com>
408 * include/bits/regex_automaton.h (__detail::_State): Split
409 non-dependent parts into new _State_base.
410 (__detail::_NFA): Likewise for _NFA_base. Use std::move() to avoid
411 copies when inserting _MatcherT and _StateT objects.
412 * include/bits/regex_automaton.tcc: Move member definitions to base
413 class. Qualify dependent names.
414 * include/bits/regex_compiler.h (__detail::_Compiler::_M_get_nfa): Make
415 non-const and use std::move to avoid copying.
416 * include/bits/regex_compiler.tcc: Likewise.
417 * include/bits/regex_executor.h (__detail::_Executor::_M_is_word): Use
418 array, so past-the-end iterator is valid.
420 * include/bits/regex_automaton.h (__detail::_State, __detail::_NFA,
421 __detail::_StateSeq): Remove redundant _CharT template parameters.
422 * include/bits/regex_automaton.tcc: Likewise.
423 * include/bits/regex_compiler.h (__detail::_Compiler): Likewise.
424 (__compile_nfa): Add object generator for _Compiler.
425 * include/bits/regex_compiler.tcc: Remove _CharT template parameters.
426 * include/bits/regex_executor.h: Likewise.
427 * include/bits/regex_executor.tcc: Likewise.
428 * include/bits/regex.h (basic_regex): Assert char_type matches. Use
429 __compile_nfa object generator. Remove _CharT template parameter.
431 * include/bits/regex_compiler.h (__detail::_AnyMatcher,
432 __detail::_CharMatcher, __detail::_BracketMatcher): Remove redundant
433 _CharT template parameters.
434 * include/bits/regex_compiler.tcc: Likewise.
436 * include/bits/regex_compiler.h (__detail::__compile_nfa): Overload
437 so that std::basic_string<C> and std::vector<C> iterators dispatch to
438 the const C* compiler.
440 * include/bits/regex_compiler.h (__detail::__has_contiguous_iter):
441 vector<bool> storage is not contiguous.
443 2013-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
445 * include/bits/regex_automaton.h (_S_opcode_word_boundry): Rename to
446 _S_opcode_word_boundary.
447 * include/bits/regex_automaton.tcc: Likewise.
448 * include/bits/regex_executor.h (__detail::_Executor::_M_word_boundry):
449 Rename to _M_word_boundary.
450 * include/bits/regex_executor.tcc: Likewise.
452 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
454 N3655 C++1y TransformationTraits Redux
455 * include/std/type_traits (remove_const_t, remove_volatile_t,
456 remove_cv_t, add_const_t, add_volatile_t, add_cv_t, remove_reference_t,
457 add_lvalue_reference_t, add_rvalue_reference_t, make_signed_t,
458 make_unsigned_t, remove_extent_t, remove_all_extents_t,
459 remove_pointer_t, add_pointer_t, aligned_storage_t, decay_t,
460 enable_if_t, conditional_t, common_type_t, underlying_type_t,
461 result_of_t): Define.
462 * doc/xml/manual/status_cxx2014.xml: Update.
463 * testsuite/20_util/add_lvalue_reference/requirements/typedefs-3.cc:
465 * testsuite/20_util/add_rvalue_reference/requirements/typedefs-3.cc:
467 * testsuite/20_util/common_type/requirements/typedefs-3.cc: New.
468 * testsuite/20_util/conditional/requirements/typedefs-2.cc: New.
469 * testsuite/20_util/decay/requirements/typedefs-2.cc: New.
470 * testsuite/20_util/enable_if/requirements/typedefs-2.cc: New.
471 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
472 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
473 * testsuite/20_util/remove_reference/requirements/typedefs.cc: New.
474 * testsuite/20_util/result_of/requirements/typedefs.cc: New.
475 * testsuite/20_util/underlying_type/requirements/typedefs-3.cc: New.
476 * testsuite/20_util/common_type/requirements/typedefs-2.cc: Change to
478 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
479 * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Likewise.
480 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
482 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
484 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
487 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
489 * doc/xml/manual/status_cxx2011.xml: Document aligned_union as
492 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
493 Paolo Carlini <paolo.carlini@oracle.com>
495 * include/experimental/optional: Use __and_<> and __not_<> in
496 conditions. Style fixes.
497 (__constexpr_addressof, swap): Make inline.
498 * testsuite/experimental/optional/cons/copy.cc: Adjust constants for
500 * testsuite/experimental/optional/cons/move.cc: Likewise.
501 * testsuite/experimental/optional/cons/value.cc: Likewise.
502 * testsuite/experimental/optional/constexpr/cons/value.cc: Likewise.
504 2013-11-01 Michael Brune <lucdanton@free.fr>
506 * include/bits/enable_special_members.h: New.
507 * include/experimental/optional: New.
508 * include/Makefile.am: Handle include/experimental.
509 * include/Makefile.in: Regenerate.
510 * testsuite/libstdc++-dg/conformance.exp: Run tests from
511 testsuite/experimental sub-directory.
512 * testsuite/experimental/optional/assignment/1.cc: New.
513 * testsuite/experimental/optional/assignment/2.cc: New.
514 * testsuite/experimental/optional/assignment/3.cc: New.
515 * testsuite/experimental/optional/assignment/4.cc: New.
516 * testsuite/experimental/optional/assignment/5.cc: New.
517 * testsuite/experimental/optional/assignment/6.cc: New.
518 * testsuite/experimental/optional/cons/copy.cc: New.
519 * testsuite/experimental/optional/cons/default.cc: New.
520 * testsuite/experimental/optional/cons/move.cc: New.
521 * testsuite/experimental/optional/cons/value.cc: New.
522 * testsuite/experimental/optional/constexpr/cons/default.cc: New.
523 * testsuite/experimental/optional/constexpr/cons/value.cc: New.
524 * testsuite/experimental/optional/constexpr/in_place.cc: New.
525 * testsuite/experimental/optional/constexpr/make_optional.cc: New.
526 * testsuite/experimental/optional/constexpr/nullopt.cc: New.
527 * testsuite/experimental/optional/constexpr/observers/1.cc: New.
528 * testsuite/experimental/optional/constexpr/observers/2.cc: New.
529 * testsuite/experimental/optional/constexpr/observers/3.cc: New.
530 * testsuite/experimental/optional/constexpr/observers/4.cc: New.
531 * testsuite/experimental/optional/constexpr/observers/5.cc: New.
532 * testsuite/experimental/optional/constexpr/relops/1.cc: New.
533 * testsuite/experimental/optional/constexpr/relops/2.cc: New.
534 * testsuite/experimental/optional/constexpr/relops/3.cc: New.
535 * testsuite/experimental/optional/constexpr/relops/4.cc: New.
536 * testsuite/experimental/optional/constexpr/relops/5.cc: New.
537 * testsuite/experimental/optional/constexpr/relops/6.cc: New.
538 * testsuite/experimental/optional/in_place.cc: New.
539 * testsuite/experimental/optional/make_optional.cc: New.
540 * testsuite/experimental/optional/nullopt.cc: New.
541 * testsuite/experimental/optional/observers/1.cc: New.
542 * testsuite/experimental/optional/observers/2.cc: New.
543 * testsuite/experimental/optional/observers/3.cc: New.
544 * testsuite/experimental/optional/observers/4.cc: New.
545 * testsuite/experimental/optional/observers/5.cc: New.
546 * testsuite/experimental/optional/relops/1.cc: New.
547 * testsuite/experimental/optional/relops/2.cc: New.
548 * testsuite/experimental/optional/relops/3.cc: New.
549 * testsuite/experimental/optional/relops/4.cc: New.
550 * testsuite/experimental/optional/relops/5.cc: New.
551 * testsuite/experimental/optional/relops/6.cc: New.
552 * testsuite/experimental/optional/requirements.cc: New.
553 * testsuite/experimental/optional/swap/1.cc: New.
555 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
557 * include/bits/stl_function.h (logical_not<void>): Add noexcept.
559 2013-11-01 Paolo Carlini <paolo.carlini@oracle.com>
562 * include/c_global/cstdio: Undef getchar.
564 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
566 N3421 C++1y Transparent functors
567 * include/bits/stl_function.h (plus<void>, minus<void>,
568 multiplies<void>, divides<void>, modulus<void>, negate<void>,
569 equal_to<void>, not_equal_to<void>, greater<void>, less<void>,
570 greater_equal<void>, less_equal<void>, logical_and<void>,
571 logical_or<void>, logical_not<void>, bit_and<void>, bit_or<void>,
572 bit_xor<void>, bit_not<void>): Define.
573 * doc/xml/manual/status_cxx2014.xml: Update.
574 * testsuite/20_util/function_objects/comparisons_void.cc: New.
576 2013-10-31 Jonathan Wakely <jwakely.gcc@gmail.com>
578 * include/std/tuple (_Index_tuple, _Build_index_tuple): Move to
580 * include/std/utility (integer_sequence, make_integer_sequence,
581 index_sequence, make_index_sequence, index_sequence_for): Define.
582 * doc/xml/manual/status_cxx2014.xml: Update.
583 * testsuite/20_util/integer_sequence/intseq.cc: New.
584 * testsuite/20_util/integer_sequence/requirements/typedefs.cc: New.
586 2013-10-31 Steve Ellcey <sellcey@mips.com>
588 * configure.ac: Add header checks for fenv.h and complex.h.
589 * configure: Regenerate.
591 2013-10-31 Edward Smith-Rowland <3dw4rd@verizon.net>
593 Implement C++14 digit separators.
594 * include/include/bits/parse_numbers.h: Change struct _Digit<_Base, '`'>
595 to struct _Digit<_Base, '\''>.
597 2013-10-31 Paolo Carlini <paolo.carlini@oracle.com>
599 * testsuite/20_util/default_delete/48631_neg.cc: Tweak dg-prune.
601 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
603 * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: Fix
604 and enable VERIFY tests.
606 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
608 * include/bits/shared_ptr (__shared_ptr): Assert non-void pointer.
609 * include/bits/shared_ptr (default_delete): Likewise.
610 * testsuite/20_util/shared_ptr/cons/58839.cc: Do not use
611 default_delete<void>.
612 * testsuite/20_util/shared_ptr/cons/void_neg.cc: New.
613 * testsuite/20_util/default_delete/void_neg.cc: New.
614 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
615 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
617 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
620 * include/bits/shared_ptr_base.h
621 (__shared_ptr<T>::__shared_ptr(unique_ptr<U,D>&&)): Only use addressof
622 when unique_ptr<U,D>::pointer is not a built-in pointer type.
623 * testsuite/20_util/shared_ptr/cons/58839.cc: New.
624 * testsuite/20_util/enable_shared_from_this/members/assign.cc: New.
625 * testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc: New.
627 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
629 * include/bits/hashtable.cc (__access_protected_ctor): Define and use
630 new type instead of _Hashtable_ebo_helper.
631 * testsuite/23_containers/unordered_set/
632 not_default_constructible_hash_neg.cc: Adjust line number.
634 2013-10-28 Tim Shen <timshen91@gmail.com>
636 * regex_executor.tcc: Add comments.
638 2013-10-26 Tim Shen <timshen91@gmail.com>
640 * include/bits/regex.h: Remove unnecessary friends.
641 * include/bits/regex.tcc (__regex_algo_impl<>): Move __get_executor
643 * include/bits/regex_executor.h: Remove _DFSExecutor and _BFSExecutor;
644 they are merged into _Executor. Eliminate quantifier tracking part, so
646 * include/bits/regex_executor.tcc: Implement _Executor.
647 * testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc: New.
648 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Adjust
650 * testsuite/performance/28_regex/split.h: New.
651 * testsuite/performance/28_regex/split_bfs.cc: New.
652 * testsuite/util/testsuite_regex.h: Adjust behavior of two-executors
653 agreement judger: do not compare match_results when executor return
656 2013-10-25 François Dumont <fdumont@gcc.gnu.org>
658 * include/debug/formatter.h (__check_singular): Add const on
660 * include/debug/functions.h (__check_singular): Likewise.
661 (__check_singular(const _Safe_iterator<_Ite, _Seq>&)): Delete.
662 (__check_dereferenceable(const _Ite&)): Add const on iterator
664 (__check_dereferenceable(const _Safe_local_iterator<>&)): New.
665 * include/debug/safe_iterator.h (__check_singular_aux): Review
667 * testsuite/23_containers/vector/debug/debug_functions.cc: New.
668 * testsuite/23_containers/unordered_set/debug/debug_functions.cc:
671 2013-10-23 Chris Jefferson <chris@bubblescope.net>
672 Paolo Carlini <paolo.carlini@oracle.com>
674 * testsuite/util/testsuite_containergen.h: New.
675 * testsuite/util/testsuite_iterators.h (test_container<>::val): Add.
676 * testsuite/25_algorithms/nth_element/random_test.cc: New, use the
678 * testsuite/25_algorithms/partial_sort/random_test.cc: Likewise.
679 * testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise.
680 * testsuite/25_algorithms/sort/random_test.cc: Likewise.
682 2013-10-23 Jason Merrill <jason@redhat.com>
684 * include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
686 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
689 * include/std/chrono (minutes, hours): Change typedefs to uniformly
691 * testsuite/20_util/duration/arithmetic/58850.cc: New.
693 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
695 * testsuite/decimal/pr58815.cc: Fix thinko.
697 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
700 * include/decimal/decimal (decimal32::operator long long(),
701 decimal64::operator long long(), decimal128::operator long long()):
702 Add in c++11 mode per n3407.
703 * testsuite/decimal/pr58815.cc: New.
705 2013-10-22 Edward Smith-Rowland <3dw4rd@verizon.net>
707 * include/bits/basic_string.h (operator""s): Remove space between quotes
708 and literal identifier.
709 * include/std/chrono (operator""h, operator""min, operator""s,
710 operator""ms, operator""us, operator""ns): Ditto.
712 2013-10-22 Ed Smith-Rowland <3dw4rd@verizon.net>
714 Implement N3779 - User-defined Literals for std::complex,
715 part 2 of UDL for Standard Library Types
716 * include/std/complex: Add complex literal operators.
717 * testsuite/26_numerics/complex/literals/types.cc: New.
718 * testsuite/26_numerics/complex/literals/values.cc: New.
720 2013-10-21 Edward Smith-Rowland <3dw4rd@verizon.net>
724 * include/tr2/dynamic_bitset
725 (__dynamic_bitset_base<_WordT, _Alloc>::_M_are_all_aux,
726 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_count):
727 Use __builtin_popcountll() instead of __builtin_popcountl().
728 * include/tr2/dynamic_bitset.tcc
729 (__dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_first,
730 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_next):
731 Use __builtin_ctzll() instead of __builtin_ctzl().
733 2013-10-20 Tim Shen <timshen91@gmail.com>
735 * include/bits/regex.h: Remove virtual class _Automaton.
736 * include/bits/regex_automaton.h: Likewise.
737 * include/bits/regex.tcc: Adjust comment for policy changing.
738 * include/bits/regex_executor.h: Update comments of complexity.
739 * include/bits/regex_executor.tcc: Adjust executor choosing
740 policy. Now DFS executor is the default one.
741 * testsuite/util/testsuite_regex.h (regex_match_debug,
742 regex_search_debug): Adjust for policy changing.
744 2013-10-20 Chris Jefferson <chris@bubblescope.net>
745 Paolo Carlini <paolo.carlini@oracle.com>
748 * include/bits/stl_algo.h (__unguarded_partition_pivot): Change
749 __last - 2 to __last - 1.
750 * testsuite/25_algorithms/nth_element/58800.cc: New
752 2013-10-18 Edward Smith-Rowland <3dw4rd@verizon.net>
755 * include/tr2/dynamic_bitset (_M_resize, resize): Use input value
756 to set bits; (_M_do_left_shift, _M_do_right_shift, _M_do_to_ulong,
757 _M_do_to_ullong, _M_do_find_first, _M_do_find_next, _M_copy_from_ptr,
758 operator>>): Move long methods outline to...
759 * include/tr2/dynamic_bitset.tcc: New.
760 * include/Makefile.am: Add dynamic_bitset.tcc.
761 * include/Makefile.in: Add dynamic_bitset.tcc.
762 * testsuite/tr2/dynamic_bitset/pr58729.cc: New.
764 2013-10-18 Tim Shen <timshen91@gmail.com>
766 * include/bits/regex_scanner.tcc: (_Scanner<>::_M_scan_normal,
767 _Scanner<>::_M_eat_escape_ecma, _Scanner<>::_M_eat_escape_posix,
768 _Scanner<>::_M_eat_escape_awk): Narrow character before finding in maps.
769 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc:
772 2013-10-17 Tim Shen <timshen91@gmail.com>
774 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
775 Fix initialization orders in initialization list and add explicit braces
776 for potentially ambiguous(actually not) `else` branch to eliminate
778 * include/bits/regex_automaton.h (_NFA<>::_NFA): Likewise.
779 * include/bits/regex_compiler.h (_CharMatcher<>::_CharMatcher,
780 _BracketMatcher<>::_BracketMatcher): Likewise.
781 * include/bits/regex_compiler.tcc (_Compiler<>::_Compiler,
782 _Compiler<>::_M_atom): Likewise.
783 * include/bits/regex_executor.h (_Executor<>::_Executor): Likewise.
784 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs,
785 _Executor<>::_M_word_boundry): Likewise.
786 * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner,
787 _Scanner<>::_M_eat_class): Likewise.
788 * include/bits/regex.tcc (__regex_algo_impl<>,
789 regex_iterator<>::operator++): Likewise, and remove unused typedef.
791 2013-10-16 Tim Shen <timshen91@gmail.com>
793 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
794 Add initialization for _M_has_m1.
795 * include/bits/regex.tcc (regex_token_iterator<>::operator=): Add return
798 2013-10-15 Diego Novillo <dnovillo@google.com>
800 * testsuite/20_util/exchange/1.cc: Add missing function
803 2013-10-15 Tim Shen <timshen91@gmail.com>
806 * include/bits/regex_automaton.h (_Automaton<>::~_Automaton): Fix memory
808 * include/bits/regex_executor.h (_Executor<>::~_Executor): Likewise.
810 2013-10-11 H.J. Lu <hongjiu.lu@intel.com>
812 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
814 2013-10-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
816 * testsuite/29_atomics/atomic/cons/49445.cc
817 (dg-require-atomic-builtins): Add.
819 2013-10-09 Jonathan Wakely <jwakely.gcc@gmail.com>
821 * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of
824 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
826 * testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
828 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
830 * testsuite/*: Remove stray semi-colons after function definitions.
832 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
835 * include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
836 Delegate to constructor taking allocator.
837 (__shared_count::_S_create_from_up): Inline into ...
838 (__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
839 std::conditional instead of constrained overloads. Allocate memory
840 using the allocator type that will be used for deallocation.
841 * testsuite/20_util/shared_ptr/cons/58659.cc: New.
842 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust.
844 2013-10-08 Tim Shen <timshen91@gmail.com>
846 * include/bits/regex_executor.h: Add _TodoList class.
847 * include/bits/regex_executor.tcc (_BFSExecutor<>::_M_main): Add
848 _M_match_stack and _M_stack to make everything faster. Break if
849 _M_stack is empty, to reduce unnecessary idling.
850 * testsuite/performance/28_regex/split.cc: New.
852 2013-10-06 Tim Shen <timshen91@gmail.com>
854 * include/bits/regex.h: (regex_token_iterator<>::regex_token_iterator):
856 * include/bits/regex.tcc: (regex_replace<>): Remove default parameter.
858 2013-10-06 Tim Shen <timshen91@gmail.com>
860 * include/bits/regex.h (__regex_algo_impl<>, regex_match<>,
861 regex_search<>): New abstract function for regex_match and regex_search.
862 * include/bits/regex.tcc (__regex_algo_impl<>): Implement.
863 * include/bits/regex_executor.h
864 (_Executor<>::_M_lookahead,
865 _DFSExecutor<>::_M_clone,
866 _BFSExecutor<>::_M_clone): Let _M_clone to choose which executor to
868 * include/bits/regex_executor.tcc (__get_executor<>): Update the
869 definition to support __policy.
870 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: Use
872 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: Same.
873 * testsuite/28_regex/algorithms/regex_match/basic/string_01.cc: Same.
874 * testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc:
876 * testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc:
878 * testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc:
880 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc: Same.
881 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc: Same.
882 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: Same.
883 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
885 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: Same.
886 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
888 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
890 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: Same.
891 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
893 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
895 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: Same.
896 * testsuite/28_regex/algorithms/regex_match/extended/
897 string_bracket_01.cc: Same.
898 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
900 * testsuite/28_regex/algorithms/regex_match/extended/
901 string_questionmark.cc: Same.
902 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
904 * testsuite/28_regex/algorithms/regex_match/extended/string_any.cc:
906 * testsuite/28_regex/algorithms/regex_match/extended/
907 string_dispatch_01.cc: Same.
908 * testsuite/28_regex/algorithms/regex_match/extended/
909 string_range_00_03.cc: Same.
910 * testsuite/28_regex/algorithms/regex_match/extended/
911 string_range_01_03.cc: Same.
912 * testsuite/28_regex/algorithms/regex_match/extended/
913 string_range_02_03.cc: Same.
914 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
916 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: Same.
917 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: Same.
918 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: Same.
919 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Same.
920 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: Same.
921 * testsuite/28_regex/match_results/format.cc: Same.
922 * testsuite/util/testsuite_regex.h
923 (regex_match_debug<>, regex_search_debug<>): Implement.
925 2013-10-06 Oleg Endo <olegendo@gcc.gnu.org>
926 Paolo Carlini <paolo.carlini@oracle.com>
929 * include/c_global/cmath (signbit): Use __builtin_signbitf and
932 2013-10-03 Tim Shen <timshen91@gmail.com>
934 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs): Fix wrong
935 backup variable initialization.
937 2013-10-03 John Woolverton <jdwoolverton@gmail.com>
940 * include/std/vector: Fix garbled line in HP Copyright.
942 2013-10-03 Marc Glisse <marc.glisse@inria.fr>
944 * libsupc++/del_op.cc (operator delete): Don't test for 0 before free.
945 * libsupc++/del_opnt.cc (free): Only declare if freestanding.
946 (operator delete): Qualify free with std::.
948 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
949 Daniel Krugler <daniel.kruegler@gmail.com>
952 * include/std/functional (function::_CheckResult): Move to namespace
953 scope and rename to __check_func_return_type.
954 * testsuite/20_util/function/58569.cc: New.
956 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
959 * include/bits/shared_ptr_base.h
960 (_Sp_counted_ptr_inplace::_M_get_deleter()): Cast away cv-quals.
961 * testsuite/20_util/shared_ptr/creation/58594.cc: New.
963 2013-10-02 Tim Shen <timshen91@gmail.com>
965 * include/bits/regex_compiler.h
966 (_BracketMatcher<>::_M_add_equivalence_class): Implement it correctly.
967 * include/bits/regex_compiler.tcc (_BracketMatcher<>::operator()):
968 Add _M_equiv_set support.
969 * testsuite/28_regex/algorithms/regex_match/extended/
970 cstring_bracket_01.cc: Add new "[[=a=]]" testcase.
972 2013-10-01 Tim Shen <timshen91@gmail.com>
974 * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to
975 "is not correctly implemented".
977 2013-10-01 Tim Shen <timshen91@gmail.com>
979 * doc/xml/manual/status_cxx2011.xml: Update regex status.
980 * include/bits/regex.h (match_results<>::begin,
981 match_results<>::cbegin, match_results<>::end, match_results<>::cend):
982 [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2).
984 2013-10-01 François Dumont <fdumont@gcc.gnu.org>
986 * include/parallel/algobase.h (mismatch, equal): Provide parallel
987 version for N3671 overloads.
989 2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com>
991 * src/c++11/snprintf_lite.cc: Add missing
992 _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION
994 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
996 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for
997 _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions.
998 * configure: Regenerate.
1000 2013-10-01 Tim Shen <timshen91@gmail.com>
1003 * include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy)
1004 (_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch.
1005 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New.
1007 2013-09-30 Paolo Carlini <paolo.carlini@oracle.com>
1009 * include/parallel/algo.h (__find_switch): Use __binder2nd.
1011 2013-09-30 Chris Jefferson <chris@bubblescope.net>
1014 * include/bits/stl_algo.h (__move_median_first): Rename to
1015 __move_median_to_first, change to take an addition argument.
1016 (__unguarded_partition_pivot): Adjust.
1017 * testsuite/performance/25_algorithms/sort.cc: New.
1018 * testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
1019 * testsuite/performance/25_algorithms/stable_sort.cc: Likewise.
1021 2013-09-28 François Dumont <fdumont@gcc.gnu.org>
1023 * include/bits/stl_algo.h (remove_copy, remove_copy_if): Declare
1025 (rotate_copy, stable_partition, partial_sort_copy): Likewise.
1026 (lower_bound, upper_bound, equal_range, inplace_merge): Likewise.
1027 (includes, next_permutation, prev_permutation): Likewise.
1028 (replace_copy, replace_copy_if, is_sorted_until): Likewise.
1029 (minmax_element, is_permutation, adjacent_find): Likewise.
1030 (count, count_if, search, search_n, merge): Likewise.
1031 (set_intersection, set_difference): Likewise.
1032 (set_symmetric_difference, min_element, max_element): Likewise.
1033 * include/bits/stl_algobase.h (lower_bound): Likewise.
1034 (lexicographical_compare, mismatch): Likewise.
1036 2013-09-28 Tim Shen <timshen91@gmail.com>
1038 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix):
1039 Let ordinary char escaping in POSIX be valid.
1040 * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Test this
1043 2013-09-27 François Dumont <fdumont@gcc.gnu.org>
1045 * include/bits/predefined_ops.h: New.
1046 * include/bits/stl_heap.h: Include <bits/predefined_ops.h>.
1047 (__is_heap_until, __push_heap, __adjust_heap, __pop_heap): Remove
1051 (make_heap): Adapt to use latter.
1053 (sort_heap): Adapt to use latter.
1054 * include/bits/algobase.h: Include <bits/predefined_ops.h>.
1055 (__lexicographical_compare_impl): New.
1056 (__lexicographical_compare<false>::__lc): Adapt to use latter.
1057 (lexicographical_compare): Likewise.
1058 (__lower_bound): New.
1059 (lower_bound): Adapt to use latter.
1060 (equal): Use _GLIBCXX_STD_A::equal in N3671 overloads.
1062 (mismatch): Use latter.
1063 * include/bits/algo.h: Include <bits/predefined_ops.h>. Remove
1064 <functional> include.
1065 (__move_median_first, __find, __find_if, __find_if_not): Remove
1067 (__find_end): Likewise.
1068 (__search_n): Rename into ...
1069 (__search_n_aux): ... this.
1070 (__search_n): Renew, use latter.
1071 (search_n): Use latter.
1073 (search): Use latter.
1074 (__find_end): Likewise.
1075 (__remove_copy_if): New.
1076 (remove_copy): Use latter.
1077 (__adjacent_find): New.
1078 (adjacent_find): Use latter.
1080 (unique): Use latter.
1081 (__unique_copy): Remove algo duplication.
1082 (__stable_partition): New.
1083 (stable_partition): Use latter.
1084 (__heap_select): Remove algo duplication, use __make_heap.
1085 (__partial_sort): New, use latter.
1086 (partial_sort): Use latter.
1087 (__partial_sort_copy): New.
1088 (partial_sort_copy): Use latter.
1089 (__unguarded_linear_insert, __insertion_sort): Remove algo
1091 (__unguarded_insertion_sort, __final_insertion_sort): Likewise.
1092 (__unguarded_partition, __unguarded_partition_pivot): Likewise.
1093 (__partial_sort): New.
1094 (partial_sort): Use latter.
1097 (lower_bound): Use __lower_bound.
1098 (__upper_bound): New.
1099 (upper_bound): Use latter.
1100 (__equal_range): New.
1101 (equal_range): Use latter.
1102 (__move_merge_adaptive, __move_merge_adaptive_backward): Remove
1104 (__merge_adaptive, __merge_without_buffer): Likewise.
1105 (__inplace_merge): New.
1106 (inplace_merge): Use latter.
1107 (__move_merge, __merge_sort_loop, __chunk_insertion_sort): Remove
1109 (__merge_sort_with_buffer, __stable_sort_adaptive): Likewise.
1110 (__inplace_stable_sort): Likewise.
1112 (includes): Use latter.
1113 (__next_permutation): New.
1114 (next_permutation): Use latter.
1115 (__prev_permutation): New.
1116 (prev_permutation): Use latter.
1117 (__replace_copy_if): New.
1118 (replace_copy): Use latter.
1119 (__is_sorted_until): New.
1120 (is_sorted_unitl): Use latter.
1121 (__minmax_element): New.
1122 (minmax_element): Use latter.
1123 (__is_permutation): New.
1124 (is_permutation): Use latter.
1125 (__adjacent_find): New.
1126 (adjacent_find): Use latter.
1128 (count): Use latter.
1129 (count_if): Likewise.
1131 (merge): Use latter.
1132 (__stable_sort): New.
1133 (stable_sort): Use latter.
1135 (set_union): Use latter.
1136 (__set_intersection): New.
1137 (set_intersection): Use latter.
1138 (__set_difference): New.
1139 (set_difference): Use latter.
1140 (__set_symmetric_difference): New.
1141 (set_symmetric_difference): Use latter.
1142 (__min_element): New.
1143 (min_element): Use latter.
1144 (__max_element): New.
1145 (max_element): Use latter.
1146 * include/Makefile.am: Add predefined_ops.h.
1147 * include/Makefile.in: Regenerate.
1148 * include/parallel/algobase.h (equal, mismatch): Add overloads
1150 * testsuite/25_algorithms/is_permutation/vectorbool.cc: New.
1151 * testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise.
1152 * testsuite/25_algorithms/find/vectorbool.cc: Likewise.
1153 * testsuite/25_algorithms/find_if/vectorbool.cc: Likewise.
1154 * testsuite/25_algorithms/find_first_of/vectorbool.cc: Likewise.
1155 * testsuite/25_algorithms/heap/vectorbool.cc: Likewise.
1156 * testsuite/25_algorithms/find_end/vectorbool.cc: Likewise.
1157 * testsuite/25_algorithms/find_if_not/vectorbool.cc: Likewise.
1159 2013-09-27 Jonathan Wakely <jwakely.gcc@gmail.com>
1162 * include/std/functional
1163 (_Function_base::_Base_manager::_M_not_empty_function): Fix overload
1165 * testsuite/20_util/function/cons/57465.cc: New.
1167 2013-09-26 Tim Shen <timshen91@gmail.com>
1169 * regex_error.h: Remove _S_error_last to follow the standard.
1170 * regex_scanner.tcc:
1171 (_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to
1173 (_Scanner<>::_M_eat_escape_posix): Extended doesn't support
1175 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
1176 Move here from ../../extended.
1177 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
1180 2013-09-25 Marc Glisse <marc.glisse@inria.fr>
1183 * include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after):
1185 (_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->,
1186 operator++, operator==, operator!=, _M_next]: Likewise.
1187 (_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*,
1188 operator->, operator++, operator==, operator!=, _M_next]: Likewise.
1189 (operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&),
1190 operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)):
1192 * include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base,
1193 _Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base,
1194 _Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&,
1195 const _Node_iterator_base&), operator!=(const _Node_iterator_base&,
1196 const _Node_iterator_base&)): Likewise.
1197 (_Node_iterator) [_Node_iterator, operator*, operator->, operator++]:
1199 (_Node_const_iterator) [_Node_const_iterator, operator*, operator->,
1200 operator++]: Likewise.
1201 * include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator,
1202 operator=, operator*, operator->, operator++, operator--, operator[],
1203 operator+=, operator+, operator-=, operator-, base, operator _Iterator]:
1205 (operator==(const _Safe_iterator&, const _Safe_iterator&),
1206 operator!=(const _Safe_iterator&, const _Safe_iterator&),
1207 operator<(const _Safe_iterator&, const _Safe_iterator&),
1208 operator<=(const _Safe_iterator&, const _Safe_iterator&),
1209 operator>(const _Safe_iterator&, const _Safe_iterator&),
1210 operator>=(const _Safe_iterator&, const _Safe_iterator&),
1211 operator-(const _Safe_iterator&, const _Safe_iterator&),
1212 operator+(difference_type, const _Safe_iterator&)): Likewise.
1213 * include/profile/iterator_tracker.h (__iterator_tracker)
1214 [__iterator_tracker, base, operator _Iterator, operator->, operator++,
1215 operator--, operator=, operator*, operator[], operator+=, operator+,
1216 operator-=, operator-]: Likewise.
1217 (operator==(const __iterator_tracker&, const __iterator_tracker&),
1218 operator!=(const __iterator_tracker&, const __iterator_tracker&),
1219 operator<(const __iterator_tracker&, const __iterator_tracker&),
1220 operator<=(const __iterator_tracker&, const __iterator_tracker&),
1221 operator>(const __iterator_tracker&, const __iterator_tracker&),
1222 operator>=(const __iterator_tracker&, const __iterator_tracker&),
1223 operator-(const __iterator_tracker&, const __iterator_tracker&),
1224 operator+(difference_type, const __iterator_tracker&)): Likewise.
1226 2013-09-24 Marc Glisse <marc.glisse@inria.fr>
1230 * include/bits/basic_string.h (basic_string)
1231 [basic_string(basic_string&&)]: Make the noexcept conditional.
1232 [operator=(basic_string&&), assign(basic_string&&)]: Link to PR 58265.
1233 [begin(), end(), rbegin(), rend(), clear]: Remove noexcept.
1234 [pop_back]: Comment on the lack of noexcept.
1235 * include/debug/string (basic_string) [basic_string(const _Allocator&),
1236 basic_string(basic_string&&), begin(), end(), rbegin(), rend(), clear,
1237 operator[](size_type), pop_back]: Comment out noexcept, until vstring
1238 replaces basic_string.
1240 2013-09-24 Tim Shen <timshen91@gmail.com>
1242 * include/Makefile.am: Add regex.tcc.
1243 * include/Makefile.in: Regenerate.
1244 * include/bits/regex.h: Remove definitions to regex.tcc.
1245 * include/bits/regex.tcc: New.
1246 (match_results::format, regex_replace): Implement;
1247 * include/bits/regex_compiler.h: Move _M_flags to the top of class
1248 member list, because other members' initialization depend on it.
1249 * include/bits/regex_compiler.tcc
1250 (_Compiler<>::_Compiler): Adjust member initializations.
1251 (_Compiler<>::_M_quantifier): Fix ungreedy interval quantifier.
1252 * include/bits/regex_executor.h: Remove _RegexT from _*Executor classes.
1253 In the future, all regex classes may refactor to *Impl style.
1254 * include/bits/regex_executor.tcc (_Executor::_M_set_results):
1255 Merge identical code from _*Executor classes.
1256 * testsuite/28_regex/algorithms/regex_match/extended/
1257 string_dispatch_01.cc (fake_match<>): Adjust the hacking-style testcase
1258 caller for new __get_executors interface.
1259 * testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc:
1261 * testsuite/28_regex/match_results/format.cc: New.
1262 * testsuite/28_regex/traits/char/lookup_collatename.cc: Remove digraph
1264 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: Likewise.
1266 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
1268 * src/c++11/snprintf_lite.cc (__concat_size_t): Use
1269 unsigned long long conditionally.
1271 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
1273 * src/c++11/snprintf_lite.cc (__concat_size_t): Use only
1274 std::__int_to_char<unsigned long long>()
1276 2013-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
1278 * include/bits/functexcept.h (__throw_out_of_range_fmt): New.
1279 * src/c++11/functexcept.cc (__throw_out_of_range_fmt): New.
1280 * src/c++11/snprintf_lite.cc: New.
1281 * src/c++11/Makefile.am: Add snprintf_lite.cc.
1282 * src/c++11/Makefile.in: Regenerate.
1283 * config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz.
1284 * include/std/array (at): Use __throw_out_of_range_fmt.
1285 * include/debug/array (at): Likewise.
1286 * include/profile/array (at): Likewise.
1287 * include/std/bitset (_M_check_initial_position, _M_check): New.
1288 (bitset::bitset): Use _M_check_initial_position.
1289 (set, reset, flip, test): Use _M_check.
1290 * include/ext/vstring.h (_M_check, at): Use __throw_out_of_range_fmt.
1291 * include/bits/stl_vector.h (_M_range_check): Likewise.
1292 * include/bits/stl_bvector.h (_M_range_check): Likewise.
1293 * include/bits/stl_deque.h (_M_range_check): Likewise.
1294 * include/bits/basic_string.h (_M_check, at): Likewise.
1295 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust.
1296 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
1297 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
1299 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
1301 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
1302 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
1303 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1305 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1307 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise.
1308 * testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc:
1310 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
1311 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Likewise.
1312 * testsuite/util/exception/safety.h (generate): Use __throw_out_of_range_fmt.
1314 2013-09-20 Jakub Jelinek <jakub@redhat.com>
1317 * testsuite/lib/libstdc++.exp (libstdc++_init): Prepend
1318 -fdiagnostics-color=never to cxxflags.
1320 2013-09-20 Marc Glisse <marc.glisse@inria.fr>
1323 * include/bits/allocator.h (__alloc_swap::_S_do_it,
1324 __shrink_to_fit_aux::_S_do_it): Mark as noexcept.
1325 * include/bits/basic_string.h (basic_string::_Rep) [_S_empty_rep,
1326 _M_is_leaked, _M_is_shared, _M_set_leaked, _M_set_sharable,
1327 _M_set_length_and_sharable, _M_dispose]: Likewise.
1328 (basic_string::_Alloc_hider::_Alloc_hider): Likewise.
1329 (basic_string) [_M_data, _M_rep, _M_ibegin, _M_iend, _M_limit,
1330 _M_disjunct, _M_copy, _M_move, _M_assign, _S_copy_chars, _S_compare,
1331 _S_empty_rep, shrink_to_fit, operator[] const, front const, back const]:
1333 [clear]: Link to PR 56166.
1334 [swap]: Link to PR 58265.
1335 * include/bits/stl_deque.h (_Deque_iterator) [_S_buffer_size,
1336 _Deque_iterator, _M_const_cast, operator*, operator->, operator++,
1337 operator--, operator+=, operator+, operator-=, operator-, operator[],
1338 _M_set_node]: Mark as noexcept.
1339 (operator==(const _Deque_iterator&, const _Deque_iterator&),
1340 operator!=(const _Deque_iterator&, const _Deque_iterator&),
1341 operator<(const _Deque_iterator&, const _Deque_iterator&),
1342 operator>(const _Deque_iterator&, const _Deque_iterator&),
1343 operator<=(const _Deque_iterator&, const _Deque_iterator&),
1344 operator>=(const _Deque_iterator&, const _Deque_iterator&),
1345 operator-(const _Deque_iterator&, const _Deque_iterator&),
1346 operator+(ptrdiff_t, const _Deque_iterator&)): Likewise.
1347 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
1349 [~_Deque_base, _M_deallocate_node, _M_deallocate_map, _M_destroy_nodes]:
1351 (_Deque_base::_Deque_impl) [_Deque_impl(const _Tp_alloc_type&),
1352 _Deque_impl(_Tp_alloc_type&&)]: Likewise.
1353 (deque) [_S_buffer_size, operator=(deque&&), shrink_to_fit, operator[],
1354 front, back, pop_front, pop_back, swap]: Likewise.
1355 [deque(), deque(const allocator_type&)]: Merge.
1356 * include/debug/deque (deque) [operator=(deque&&), shrink_to_fit,
1357 operator[], front, back, pop_front, pop_back, swap]: Mark as noexcept.
1358 * include/profile/deque (deque) [operator=(deque&&), operator[], front,
1359 back, pop_front, pop_back, swap]: Likewise.
1360 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1362 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1364 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1366 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1369 2013-09-20 Alan Modra <amodra@gmail.com>
1371 * configure: Regenerate.
1373 2013-09-19 Marc Glisse <marc.glisse@inria.fr>
1376 * include/bits/stl_tree.h (_Rb_tree_node_base) [_S_minimum, _S_maximum]:
1378 (_Rb_tree_iterator) [_Rb_tree_iterator, operator*, operator->,
1379 operator++, operator--, operator==, operator!=]: Likewise.
1380 (_Rb_tree_const_iterator) [_Rb_tree_const_iterator, _M_const_cast,
1381 operator*, operator->, operator++, operator--, operator==, operator!=]:
1383 (operator==(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&),
1384 operator!=(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&)):
1386 (_Rb_tree) [_M_put_node, _M_destroy_node, _M_root, _M_leftmost,
1387 _M_rightmost, _M_begin, _M_end, _S_left, _S_right, _S_minimum,
1388 _S_maximum]: Likewise.
1389 * include/debug/string (basic_string) [basic_string(const _Allocator&),
1390 shrink_to_fit, operator[], pop_back]: Likewise.
1391 * include/ext/vstring.h (__versa_string) [_M_limit, _M_disjunct,
1392 _M_ibegin, _M_iend, __versa_string(const _Alloc&),
1393 operator=(__versa_string&&), shrink_to_fit, operator[], front,
1394 back, assign(__versa_string&&), swap]: Likewise.
1395 (__versa_string) [__versa_string(), __versa_string(const _Alloc&)]:
1398 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
1401 * include/bits/stl_iterator.h (__normal_iterator) [__normal_iterator,
1402 _M_const_cast, operator*, operator->, operator++, operator--,
1403 operator[], operator+=, operator+, operator-=, operator-, base]:
1405 (operator==(const __normal_iterator&, const __normal_iterator&),
1406 operator!=(const __normal_iterator&, const __normal_iterator&),
1407 operator<(const __normal_iterator&, const __normal_iterator&),
1408 operator>(const __normal_iterator&, const __normal_iterator&),
1409 operator<=(const __normal_iterator&, const __normal_iterator&),
1410 operator>=(const __normal_iterator&, const __normal_iterator&),
1411 operator-(const __normal_iterator&, const __normal_iterator&),
1412 operator+(difference_type, const __normal_iterator&)): Likewise.
1413 * include/bits/stl_list.h (list) [splice, _M_check_equal_allocators]:
1415 (list::_M_check_equal_allocators): Abort instead of throwing.
1416 * include/debug/array (array) [operator[], front, back]: Mark as
1418 * include/profile/array (array) [operator[], front, back]: Likewise.
1419 * include/std/array (array) [operator[], front, back]: Likewise.
1420 * include/debug/list (list::splice): Likewise.
1421 * include/profile/list (list::splice): Likewise.
1422 * testsuite/23_containers/list/operations/5.cc: Remove file.
1423 * testsuite/23_containers/list/operations/5.h: Likewise.
1425 2013-09-18 Tim Shen <timshen91@gmail.com>
1427 * include/bits/regex.h: Add friend classes.
1428 (match_results<>::position, regex_iterator<>::operator++):
1429 Implement position specification in regex_iterator.
1430 (regex_match<>, regex_search<>):
1431 Move match_results initializations to these function. Remove `todo`.
1432 * include/bits/regex_compiler.tcc:
1433 (_Compiler<>::_M_quantifier): Fix greedy/ungreedy of interval matching.
1434 * include/bits/regex_constants.h:
1435 Fix indentation. Change match_flag_type to enum type.
1436 * include/bits/regex_executor.h:
1437 Merge identical code to the base class _Executor.
1438 Support flags in regex_constants.
1439 * include/bits/regex_executor.tcc: Likewise.
1440 * include/bits/regex_scanner.h: Add comments.
1441 * include/bits/regex_scanner.tcc: Same.
1442 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc:
1444 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New.
1445 * testsuite/28_regex/iterators/regex_iterator/char/
1446 string_position_01.cc: Remove `xfail`.
1447 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc:
1448 Remove `xfail` and make the case really work.
1450 2013-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1452 * testsuite/performance/25_algorithms/search_n.cc: Fix typo.
1454 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
1457 * include/bits/list.tcc (_List_base::_M_clear, list::erase): Mark as
1459 * include/bits/stl_list.h (_List_iterator) [_List_iterator,
1460 _M_const_cast, operator*, operator->, operator++, operator--,
1461 operator==, operator!=]: Likewise.
1462 (_List_const_iterator) [_List_const_iterator, _M_const_cast, operator*,
1463 operator->, operator++, operator--, operator==, operator!=]: Likewise.
1464 (operator==(const _List_iterator&, const _List_const_iterator&),
1465 operator!=(const _List_iterator&, const _List_const_iterator&)):
1467 (_List_impl) [_List_impl(const _Node_alloc_type&),
1468 _List_impl(_Node_alloc_type&&)]: Likewise.
1469 (_List_base) [_M_put_node, _List_base(const _Node_alloc_type&),
1470 _List_base(_List_base&&), _M_clear, _M_init]: Likewise.
1471 (list) [list(), list(const allocator_type&)]: Merge.
1472 (list) [list(const allocator_type&), front, back, pop_front, pop_back,
1473 erase, _M_erase]: Mark as noexcept.
1474 * include/debug/list (list) [list(const _Allocator&), front, back,
1475 pop_front, pop_back, _M_erase, erase]: Likewise.
1476 * include/profile/list (list) [list(const _Allocator&), front, back,
1477 pop_front, pop_back, erase]: Likewise.
1478 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1480 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1482 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1484 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1487 2013-09-17 Marc Glisse <marc.glisse@inria.fr>
1490 * include/bits/stl_vector.h (vector::vector(),
1491 vector::vector(const allocator_type&)): Merge.
1492 (_Vector_impl::_Vector_impl(_Tp_alloc_type const&),
1493 _Vector_impl::_Vector_impl(_Tp_alloc_type&&),
1494 _Vector_impl::_M_swap_data,
1495 _Vector_base::_Vector_base(const allocator_type&),
1496 _Vector_base::_Vector_base(allocator_type&&),
1497 _Vector_base::_Vector_base(_Vector_base&&), _Vector_base::~_Vector_base,
1498 vector::vector(const allocator_type&), vector::operator[],
1499 vector::operator[] const, vector::front, vector::front const,
1500 vector::back, vector::back const, vector::pop_back,
1501 vector::_M_erase_at_end): Mark as noexcept.
1502 * include/debug/vector (vector::vector(const _Allocator&),
1503 vector::operator[], vector::operator[] const, vector::front,
1504 vector::front const, vector::back, vector::back const, vector::pop_back,
1505 _M_requires_reallocation, _M_update_guaranteed_capacity,
1506 _M_invalidate_after_nth): Mark as noexcept.
1507 * include/profile/vector (vector::vector(const _Allocator&),
1508 vector::operator[], vector::operator[] const, vector::front,
1509 vector::front const, vector::back, vector::back const): Mark as
1511 (vector::vector(vector&&, const _Allocator&)): Remove wrong noexcept.
1512 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1514 * testsuite/23_containers/vector/requirements/dr438/
1515 constructor_1_neg.cc: Likewise.
1516 * testsuite/23_containers/vector/requirements/dr438/
1517 constructor_2_neg.cc: Likewise.
1518 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1521 2013-09-14 Tim Shen <timshen91@gmail.com>
1523 * include/bits/regex.h (regex_match<>, regex_search<>):
1524 Change regex_executor caller. Now use their return value instead
1525 of checking __m[0].matched to find out if it's successful.
1526 (regex_search<>): Move the search logic to regex_executor.
1527 * include/bits/regex_automaton.h: Add some new _Opcode. Refactor
1529 * include/bits/regex_automaton.tcc: Add DEBUG dump for new
1530 _Opcode. Refactor _NFA::_M_insert_*.
1531 * include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa):
1532 Use make_shared instead of construct by hand.
1533 * include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion.
1534 * include/bits/regex_constants.h: Fix indentation and line breaking.
1535 * include/bits/regex_executor.h: Add _ResultsEntry to support
1536 greedy/ungreedy mode. Move regex_search logic here.
1537 * include/bits/regex_executor.tcc: Implement assertions and
1538 greedy/ungreedy matching.
1539 * include/bits/regex_scanner.h: Add a new token _S_token_ungreedy.
1540 * include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy.
1541 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New.
1542 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New.
1543 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
1546 2013-09-13 Paolo Carlini <paolo.carlini@oracle.com>
1549 * include/ext/sso_string_base.h (__sso_string_base<>::
1550 __sso_string_base(__sso_string_base&&)): Fix thinkos about
1551 _M_length vs _M_set_length.
1552 * testsuite/ext/vstring/cons/58415-1.cc: New.
1553 * testsuite/ext/vstring/cons/58415-2.cc: Likewise.
1555 2013-09-12 Paolo Carlini <paolo.carlini@oracle.com>
1558 * include/bits/stl_iterator.h (__normal_iterator<>::operator[],
1559 operator+=, operator+, operator-=, operator-): Take the argument
1561 * testsuite/24_iterators/normal_iterator/58403.cc: New.
1563 2013-09-11 Mitsuru Kariya <kariya_mitsuru@hotmail.com>
1564 Chris Jefferson <chris@bubblescope.net>
1567 * include/bits/stl_algo.h (search_n): Fix to guarantee a number
1568 of comparisons <= number of elements in the range.
1569 * testsuite/25_algorithms/search_n/58358.cc: New.
1570 * testsuite/25_algorithms/search_n/iterator.cc: Extend.
1572 2013-09-10 Ed Smith-Rowland <3dw4rd@verizon.net>
1574 * testsuite/28_regex/traits/wchar_t/value.cc: Change template args
1575 from char to wchar_t, literals from 'x' to L'x'.
1577 2013-09-10 Kai Tietz <ktietz@redhat.com>
1580 * config/abi/pre/gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS*
1583 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1586 * include/bits/stl_algobase.h (copy_backward): Fix documentation
1589 2013-09-05 Tim Shen <timshen91@gmail.com>
1591 * include/bits/regex_automaton.h: Add dummy node type. Rewrite
1593 * include/bits/regex_automaton.tcc: Implement them.
1594 * include/bits/regex_compiler.h: Rewrite _Compiler to use new
1595 _StateSeq interfaces.
1596 * include/bits/regex_compiler.tcc: Implement them.
1597 * include/bits/regex_scanner.h: Add word boundry assertion token.
1598 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
1599 Support word boundry.
1600 * testsuite/28_regex/algorithms/regex_match/basic/
1601 string_range_02_03.cc: Remove "xfail".
1602 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
1604 * testsuite/28_regex/algorithms/regex_match/extended/
1605 string_range_02_03.cc: Likewise.
1606 * testsuite/28_regex/algorithms/regex_match/extended/
1607 cstring_questionmark.cc: Remove xfail and get correct length of
1609 * testsuite/28_regex/algorithms/regex_match/extended/
1610 string_range_00_03.cc: Likewise.
1611 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
1613 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
1615 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New.
1617 2013-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1620 * include/bits/random.tcc (negative_binomial_distribution<>::
1621 operator()(_UniformRandomNumberGenerator&, const param_type&)):
1622 Fix typo in template argument.
1623 * testsuite/26_numerics/random/negative_binomial_distribution/
1624 operators/58302.cc: New.
1626 2013-09-02 Tim Shen <timshen91@gmail.com>
1628 * regex_automaton.h: Rearrange _NFA's layout.
1629 * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
1630 Rearrange _BracketMatcher's layout.
1631 (_BracketMatcher<>::_M_add_char): Use set instead of vector for
1633 (_BracketMatcher<>::_M_add_collating_element): Likewise.
1634 (_BracketMatcher<>::_M_make_range): Likewise.
1635 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
1636 appropriate constructors of matchers above.
1637 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
1639 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
1640 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
1642 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
1644 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
1645 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
1647 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
1649 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1652 * include/debug/functions.h (__foreign_iterator_aux4): Use
1653 sequence const_pointer as common type to compare pointers. Add a
1654 fallback overload in case pointers cannot be cast to sequence
1656 * testsuite/23_containers/vector/modifiers/insert/58148.cc: New.
1658 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1661 * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add
1662 __gnu_debug::__base calls on iterators passed to internal debug
1664 (__glibcxx_check_partitioned_lower_pred): Likewise.
1665 (__glibcxx_check_partitioned_upper): Likewise.
1666 (__glibcxx_check_partitioned_upper_pred): Likewise.
1667 (__glibcxx_check_sorted): Likewise.
1668 (__glibcxx_check_sorted_pred): Likewise.
1669 (__glibcxx_check_sorted_set): Likewise.
1670 (__glibcxx_check_sorted_set_pred): Likewise.
1671 * include/debug/functions.h (__check_partitioned_lower):
1672 Remove code to detect safe iterators.
1673 (__check_partitioned_upper): Likewise.
1674 (__check_sorted): Likewise.
1676 2013-08-29 Tim Shen <timshen91@gmail.com>
1678 * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits.
1679 (regex_iterator<>::regex_iterator): Return nullptr when regex_search
1681 (regex_token_iterator<>::_M_end_of_seq): Should be defined true when
1682 _M_result is(not isn't) nullptr.
1683 * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference
1684 instead of by value.
1685 * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add
1686 _M_traits to _DFSExecutor.
1687 * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to
1689 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
1691 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
1694 2013-08-26 Tim Shen <timshen91@gmail.com>
1696 * include/Makefile.am: Add regex_scanner.{h,tcc}.
1697 * include/Makefile.in: Regenerate.
1698 * include/bits/regex.h (match_search): Handle the `__first == __last`
1699 situation correctly.
1700 * include/bits/regex_compiler.h: Move _Scanner...
1701 * include/bits/regex_scanner.h: ...to here. New.
1702 * include/bits/regex_compiler.tcc: Move _Scanner...
1703 * include/bits/regex_scanner.tcc: ...to here, too. New.
1704 * include/bits/regex_executor.tcc: Use value instead of reference for
1706 * include/std/regex: Add regex_scanner.h
1707 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
1708 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
1709 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
1710 * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
1711 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.
1713 2013-08-22 Tim Shen <timshen91@gmail.com>
1715 * include/bits/regex.h: Replace 8 spaces in indentation with a tab.
1716 * include/bits/regex_automaton.h: Same.
1717 * include/bits/regex_automaton.tcc: Same.
1718 * include/bits/regex_compiler.h: Same.
1719 * include/bits/regex_compiler.tcc: Same.
1720 * include/bits/regex_constants.h: Same.
1721 * include/bits/regex_executor.h: Same.
1722 * include/bits/regex_executor.tcc: Same.
1724 2013-08-22 Tim Shen <timshen91@gmail.com>
1726 * include/bits/regex.h: Executor caller.
1727 * include/bits/regex_executor.h: Fix empty grouping problem.
1728 * include/bits/regex_executor.tcc: Same.
1729 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
1732 2013-08-20 Phil Muldoon <pmuldoon@redhat.com>
1735 http://sourceware.org/bugzilla/show_bug.cgi?id=15195
1737 * python/libstdcxx/v6/printers.py (Printer.__call__): If a value
1738 is a reference, fetch referenced value.
1739 (RxPrinter.invoke): Ditto.
1740 * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
1741 flag. Add referenced value tests.
1743 2013-08-20 Tim Shen <timshen91@gmail.com>
1745 * include/bits/regex_constants.h: Add underlying `unsigned int` for
1746 enum syntax_option_type.
1748 2013-08-18 Tim Shen <timshen91@gmail.com>
1750 * include/bits/regex_automaton.h: _S_opcode_backref.
1751 * include/bits/regex_automaton.tcc: Backref automaton support.
1752 * include/bits/regex_compiler.tcc: Parsing support.
1753 * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor.
1754 * include/bits/regex_executor.tcc: Add _S_opcode_backref support.
1755 * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New.
1757 2013-08-16 Tim Shen <timshen91@gmail.com>
1759 * include/bits/regex.h (regex_traits<>::transform_primary):
1760 Avoid past-the-end dereferences.
1762 2013-08-14 Paolo Carlini <paolo.carlini@oracle.com>
1765 * include/bits/basic_string.h (basic_string<>::operator[]): Fix
1766 _GLIBCXX_DEBUG_PEDASSERT check vs C++11.
1767 * include/ext/vstring.h: Likewise.
1768 * testsuite/21_strings/basic_string/element_access/char/58163.cc:
1770 * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc:
1772 * testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
1773 * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
1775 2013-08-14 Uros Bizjak <ubizjak@gmail.com>
1777 * src/c++98/compatibility.cc (_ZTIe): Use
1778 reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
1782 2013-08-09 Tim Shen <timshen91@gmail.com>
1784 * include/bits/regex_constants.h: Change syntax_option_type to enum
1787 2013-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1789 * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp.
1791 2013-08-08 François Dumont <fdumont@gcc.gnu.org>
1793 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
1794 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
1796 (_Before_begin<>): Remove.
1797 * include/bits/hashtable.h (_Hashtable): Inherit from
1798 _Hashtable_alloc and adapt. Restore _M_before_begin field.
1799 * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include.
1800 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
1801 access to hashtable before begin.
1802 * testsuite/23_containers/unordered_set/
1803 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
1804 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1807 2013-08-07 Tim Shen <timshen91@gmail.com>
1809 * include/Makefile.am: Adjust to new files.
1810 * include/Makefile.in: Regenerate.
1811 * include/bits/regex.h: Adjust to new interfaces.
1812 * include/bits/regex_automaton.h: New.
1813 * include/bits/regex_automaton.tcc: New.
1814 * include/bits/regex_compiler.h: Adjust to new files.
1815 * include/bits/regex_compiler.tcc: New.
1816 * include/bits/regex_constants.h: Tail spaces.
1817 * include/bits/regex_error.h: Likewise.
1818 * include/bits/regex_executor.h: New.
1819 * include/bits/regex_executor.tcc: New.
1820 * include/std/regex: Adjust to new files.
1821 * testsuite/28_regex/algorithms/regex_match/extended/
1822 string_dispatch_01.cc: Adjust to new interfaces.
1824 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1826 * include/ext/atomicity.h: Add #pragma GCC system_header.
1828 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1831 * include/bits/random.h (cauchy_distribution<>::min,
1832 extreme_value_distribution<>::min, normal_distribution<>::min,
1833 student_t_distribution<>::min): Fix.
1834 * include/ext/random (normal_mv_distribution<>::min): Likewise.
1835 * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
1837 testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
1839 * testsuite/26_numerics/random/extreme_value_distribution/cons/
1841 testsuite/26_numerics/random/extreme_value_distribution/cons/
1842 default.cc: Likewise.
1843 * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
1845 * testsuite/26_numerics/random/normal_distribution/cons/default.cc:
1847 * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
1849 * testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
1851 * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
1852 * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
1854 * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
1856 * testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
1859 * testsuite/ext/von_mises_distribution/*: Move to...
1860 * testsuite/ext/random/von_mises_distribution/*: ... here.
1861 * testsuite/ext/triangular_distribution/*: Move to...
1862 * testsuite/ext/random/triangular_distribution/*: ... here.
1864 2013-08-06 Caroline Tice <cmtice@google.com>
1866 * fragment.am: Add XTEMPLATE_FLAGS.
1867 * configure.ac: Add definitions for --enable-vtable-verify.
1868 * acinclude.m4: Add --enable-vtable-verify and
1869 --disable-vtable-verify; define --enable-vtable-verify; define
1870 VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
1871 * config/abi/pre/gnu.ver: Export symbols for vtable verification.
1872 * libsupc++/Makefile.am: Define vtv_sources and add it to
1873 libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
1874 * libsupc++/vtv_stubs.cc: New file.
1875 * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
1876 * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
1877 VTV_CXXLINKFLAGS to CXXLINK.
1878 * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
1879 to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
1880 * src/C++11/Makefile.am: Ditto.
1881 * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
1882 * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
1883 cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
1884 * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
1885 libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
1886 cxxvtvflags to cxx_final.
1887 * testsuite/18_support/bad_exception/23591_thread-1.c: Add
1888 -fvtable-verify=none to compiler flags.
1889 * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
1891 * configure: Regenerated.
1892 * Makefile.in: Regenerated.
1893 * python/Makefile.in: Regenerated.
1894 * include/Makefile.in: Regenerated.
1895 * libsupc++/Makefile.in: Regenerated.
1896 * config.h.in: Regenerated.
1897 * po/Makefile.in: Regenerated.
1898 * src/Makefile.in: Regenerated.
1899 * src/c++98/Makefile.in: Regenerated.
1900 * src/c++11/Makefile.in: Regenerated.
1901 * doc/Makefile.in: Regenerated.
1902 * testsuite/Makefile.in: Regenerated.
1904 2013-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1906 Revert the last commit.
1908 2013-08-06 François Dumont <fdumont@gcc.gnu.org>
1910 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
1911 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
1913 (_Before_begin<>): Remove.
1914 * include/bits/hashtable.h (_Hashtable): Inherit from
1915 _Hashtable_alloc and adapt. Restore _M_before_begin field.
1916 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
1917 access to hashtable before begin.
1918 * testsuite/23_containers/unordered_set/
1919 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
1920 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1923 2013-08-03 Tim Shen <timshen91@gmail.com>
1925 Implement bracket expression.
1926 * include/bits/regex.h: Remove constexpr from "|=", etc.
1927 * include/bits/regex_compiler.h: Parse bracket expression.
1928 * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
1930 * include/bits/regex_nfa.tcc: Implement them.
1931 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1932 from regex_search to regex_match.
1933 * testsuite/28_regex/algorithms/regex_match/extended/
1934 cstring_bracket_01.cc: New.
1936 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1938 * include/debug/functions.h (__foreign_iterator_aux4):
1939 Initialize __l and __ge.
1941 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1944 * include/debug/functions.h: Include <bits/move.h>; minor formatting
1946 (__foreign_iterator_aux4): Declare __l and __ge constexpr.
1947 * include/debug/safe_iterator.h (_Safe_iterator<>::operator->):
1949 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
1950 operator->): Likewise.
1952 2013-08-01 François Dumont <fdumont@gcc.gnu.org>
1955 * include/debug/formatter.h (_Debug_msg_id): Add
1956 __msg_insert_itself_range entry.
1957 * include/debug/functions.h (_Insert_range_from_self_is_safe<>):
1958 New, indicate container types supporting self range insertion in
1960 (__foreign_iterator): New, check if an iterator points to a given
1962 * include/debug/macros.h (__glibcxx_check_insert_range): Add check
1963 using __foreign_iterator.
1964 (__gibcxx_check_insert_range_after): Likewise.
1965 * include/debug/string (_Insert_range_from_self_is_safe<>):
1966 Partially specialized to mark __gnu_debug::basic_string<> as
1967 supporting self range insert.
1968 * include/debug/list (_Insert_range_from_self_is_safe<>):
1969 Partially specialized to mark std::list as supporting self range
1970 insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
1971 * include/debug/forward_list (_Insert_range_from_self_is_safe<>):
1973 * src/c++11/debug.cc (_S_debug_messages): Add
1974 __msg_insert_itself_range_entry message.
1975 (_Error_formatter::_Parameter::_M_print_description): Display
1976 iterator sequence address rather than sequence address when the
1977 parameter type is an iterator.
1978 (_Error_formatter::_M_print_word): Enhance behavior when
1979 displaying a word with an appended '\n'.
1980 * testsuite/util/debug/checks.h (check_insert4<>): New.
1981 * testsuite/23_containers/deque/debug/insert5_neg.cc: New.
1982 * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
1983 * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
1984 * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
1985 * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
1986 * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
1989 2013-08-01 Fabien Chêne <fabien@gcc.gnu.org>
1992 * include/tr1/cmath: Remove pow(double,double) overload, remove a
1993 duplicated comment about DR 550. Add a comment to explain the
1995 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
1997 2013-07-31 Tim Shen <timshen91@gmail.com>
1999 Thompson matcher refactored. Fix grouping problem.
2000 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
2001 * include/bits/regex_compiler.h: Tweak for auto switching.
2002 * include/bits/regex_grep_matcher.h: Class structure.
2003 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
2004 matcher) refactoring.
2005 * include/bits/regex_nfa.h: Change _Results's interfaces.
2006 * include/std/regex: Includes <map> and <queue>.
2007 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
2009 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
2011 * testsuite/28_regex/algorithms/regex_match/extended/
2012 string_dispatch_01.cc: New.
2014 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2017 * include/bits/stl_bvector.h: Use friend struct hash intead of
2018 friend class hash to work around useless warnings produced by
2020 * include/std/bitset: Likewise.
2022 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
2024 * src/c++11/functexcept.cc: Do not include the whole <regex>.
2025 * src/c++11/regex.cc: Likewise.
2027 2013-07-31 Tim Shen <timshen91@gmail.com>
2031 2013-07-31 Tim Shen <timshen91@gmail.com>
2033 Thompson matcher refactored. Fix grouping problem.
2034 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
2035 * include/bits/regex_compiler.h: Tweak for auto switching.
2036 * include/bits/regex_grep_matcher.h: Class structure.
2037 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
2038 matcher) refactoring.
2039 * include/bits/regex_nfa.h: Change _Results's interfaces.
2040 * include/std/regex: Includes <map> and <queue>.
2041 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
2043 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
2045 * testsuite/28_regex/algorithms/regex_match/extended/
2046 string_dispatch_01.cc: New.
2048 2013-07-30 Paolo Carlini <paolo.carlini@oracle.com>
2052 2013-07-30 Tim Shen <timshen91@gmail.com>
2054 Thompson matcher refactored. Fix grouping problem.
2055 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
2056 * include/bits/regex_compiler.h: Tweak for auto switching.
2057 * include/bits/regex_grep_matcher.h: Class structure.
2058 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
2059 matcher) refactoring.
2060 * include/bits/regex_nfa.h: Change _Results's interfaces.
2061 * include/std/regex: Includes <map> and <queue>.
2062 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
2064 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
2066 * testsuite/28_regex/algorithms/regex_match/extended/
2067 string_dispatch_01.cc: New.
2069 2013-07-29 Nathan Froyd <froydnj@gcc.gnu.org>
2071 * include/std/atomic (compare_exchange_weak, compare_exchange_strong):
2072 Add call to __cmpexch_failure_order.
2073 * testsuite/util/testsuite_common_types.h
2074 (compare_exchange_order_lowering): New generator.
2075 * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc:
2078 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com>
2080 * include/std/complex (pow(const complex<>&, int)): Enable in
2082 * testsuite/26_numerics/complex/dr844.cc: Adjust.
2083 * doc/xml/manual/intro.xml: Update.
2085 2013-07-25 Tim Shen <timshen91@gmail.com>
2087 Add documents and comments.
2088 * include/bits/regex.h: Documents and comments.
2089 * include/bits/regex_grep_matcher.h: Likewise.
2090 * include/bits/regex_grep_matcher.tcc: Likewise.
2091 * testsuite/28_regex/iterators/regex_iterator/char/
2092 string_position_01.cc: New.
2094 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2097 * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and
2100 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
2102 * include/bits/random.h (random_device): Avoid using the FILE type.
2103 * include/std/random: Do not include <cstdio>.
2104 * src/c++11/random.cc: ... include it here.
2105 (random_device::_M_init, random_device::_M_fini,
2106 random_device::_M_getval): Cast back and forth void* and FILE*.
2108 2013-07-24 Tim Shen <timshen91@gmail.com>
2110 Reimplment matcher using Depth-first search(backtracking).
2113 * include/bits/regex.h: regex_match() and regex_search().
2114 * include/bits/regex_cursor.h: Fix _M_set_pos().
2115 * include/bits/regex_grep_matcher.h: add _M_dfs_match().
2116 * include/bits/regex_grep_matcher.tcc: Implement it.
2117 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New.
2118 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New.
2119 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
2122 2013-07-23 Tim Shen <timshen91@gmail.com>
2124 Implement regex_iterator and regex_token_iterator.
2125 * include/bits/regex.h: regex_iterator and regex_token_iterator.
2126 * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
2128 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
2130 * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
2132 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
2135 2013-07-23 Paolo Carlini <paolo.carlini@oracle.com>
2137 * include/std/random: Add back <cstdio> include.
2138 * src/c++11/random.cc: Don't include <cstdio> here.
2140 2013-07-22 Jason Merrill <jason@redhat.com>
2143 * libsupc++/atexit_thread.cc (run): Delete cleanup elts.
2145 2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
2148 * src/c++11/random.cc (random_device::_M_getval): If possible, use
2149 read instead of std::fread.
2150 * include/std/random: Do not include <cstdio> unnecessarily.
2152 2013-07-21 Tim Shen <timshen91@gmail.com>
2154 Partially implement regex_search.
2155 * include/bits/regex.h: regex_search.
2156 * include/bits/regex_grep_matcher.h: _M_search_from_first.
2157 * include/bits/regex_grep_matcher.tcc: Implement it.
2158 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
2160 2013-07-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2163 * include/std/condition_variable (condition_variable_any): Move into
2164 inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
2165 * src/c++11/condition_variable.cc (condition_variable_any): Move
2167 * src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
2168 * src/Makefile.am: Add new source file.
2169 * src/Makefile.in: Regenerate.
2171 2013-07-09 Tim Shen <timshen91@gmail.com>
2173 Implement class regex_traits.
2174 * include/bits/regex.h: Implement lookup_classname and
2175 lookup_collatename; modify isctype; partially implement
2177 * testsuite/28_regex/traits/char/isctype.cc: Add more test cases.
2178 * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
2179 * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
2180 * testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
2181 * testsuite/28_regex/traits/wchar_t/isctype.cc: New.
2182 * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New.
2183 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New.
2184 * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New.
2186 2013-07-07 Ed Smith-Rowland <3dw4rd@verizon.net>
2188 * doc/xml/manual/status_cxx2014.xml: Add links for papers.
2190 2013-07-05 François Dumont <fdumont@gcc.gnu.org>
2192 * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
2194 (_MoveReuseOrAllocNode): Remove.
2195 (_Insert_base): Take a functor defining how the node is generated.
2196 * include/bits/hashtable.h: Adapt.
2197 (operator=(initializer_list<value_type>)): Reuse node if any.
2198 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2199 Adjust dg-error line number.
2200 * testsuite/23_containers/unordered_set/
2201 not_default_constructible_hash_neg.cc: Likewise.
2203 2013-07-05 Paolo Carlini <paolo.carlini@oracle.com>
2205 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
2206 Tweak, avoid potential undefined behavior.
2207 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
2209 * testsuite/23_containers/vector/bool/modifiers/insert/
2210 const_iterator.cc: Likewise.
2211 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
2214 2013-07-04 Veres Lajos <vlajos@gmail.com>
2215 Jonathan Wakely <jwakely.gcc@gmail.com>
2217 * config/locale/generic/codecvt_members.cc: Fix typo.
2218 * configure.host: Likewise.
2219 * doc/html/manual/policy_data_structures_design.html: Likewise.
2220 * doc/xml/manual/policy_data_structures.xml: Likewise.
2221 * include/bits/hashtable.h: Likewise.
2222 * include/bits/random.h: Likewise.
2223 * include/profile/impl/profiler_trace.h: Likewise.
2224 * testsuite/23_containers/deque/cons/2.cc: Likewise.
2225 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
2226 * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise.
2227 * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
2229 2013-07-04 Ray Chason <chasonr@newsguy.com>
2230 Paolo Carlini <paolo.carlini@oracle.com>
2233 * include/bits/regex.h (regex_token_iterator<>::operator==,
2234 regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
2235 regex_token_iterator<>::operator->): Declare const.
2237 2013-07-01 Paolo Carlini <paolo.carlini@oracle.com>
2239 * include/bits/stl_list.h (list<>::insert(iterator,
2240 size_type, const value_type&), list<>::insert(iterator,
2241 initializer_list<>), list<>::insert(iterator, _InputIterator,
2242 _InputIterator), list<>::splice(iterator, list&&),
2243 list<>::splice(iterator, list&), list<>::splice(iterator, list&&,
2244 iterator), list<>::splice(iterator, list&, iterator),
2245 list<>::splice(iterator, list&&, iterator, iterator),
2246 list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11
2247 signatures to take const_iterator(s).
2248 * include/bits/list.tcc (list<>::insert(const_iterator, size_type,
2249 const value_type&), list<>::insert(const_iterator, _InputIterator,
2250 _InputIterator)): Define.
2251 * include/ext/vstring.h (__versa_string<>::insert(iterator,
2252 size_type, _CharT), __versa_string<>::insert(iterator,
2253 _InputIterator, _InputIterator), __versa_string<>::insert(iterator,
2254 std::initializer_list<>), __versa_string<>::replace(iterator,
2255 iterator, _InputIterator, _InputIterator), __versa_string<>::
2256 replace(iterator, iterator, std::initializer_list<>)): Adjust C++11
2257 signatures to take const_iterator(s).
2258 (__versa_string<>::_M_replace_dispatch): Take const_iterators.
2259 * include/ext/vstring.tcc: Likewise.
2260 * include/debug/list: Adjust.
2261 * include/profile/list: Likewise.
2262 * testsuite/23_containers/list/operations/splice/const_iterator.cc:
2264 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
2266 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
2268 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
2270 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
2272 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
2275 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2276 Adjust dg-error line number.
2277 * testsuite/23_containers/list/requirements/dr438/
2278 constructor_1_neg.cc: Likewise.
2279 * testsuite/23_containers/list/requirements/dr438/
2280 constructor_2_neg.cc: Likewise.
2281 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2284 2013-06-30 Paolo Carlini <paolo.carlini@oracle.com>
2286 * include/bits/stl_deque.h (deque<>::insert(iterator,
2287 size_type, const value_type&), deque<>::insert(iterator,
2288 initializer_list<>), deque<>::insert(iterator, _InputIterator,
2289 _InputIterator)): Adjust C++11 signatures to take a const_iterator.
2290 * include/bits/stl_vector.h: Likewise.
2291 * include/bits/stl_bvector.h: Likewise.
2292 * include/debug/deque: Adjust.
2293 * include/debug/vector: Likewise.
2294 * include/profile/deque: Likewise.
2295 * include/profile/vector: Likewise.
2296 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
2298 * testsuite/23_containers/vector/bool/modifiers/insert/
2299 const_iterator.cc: Likewise.
2300 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
2303 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2304 Adjust dg-error line number.
2305 * testsuite/23_containers/deque/requirements/dr438/
2306 constructor_1_neg.cc: Likewise.
2307 * testsuite/23_containers/deque/requirements/dr438/
2308 constructor_2_neg.cc: Likewise.
2309 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2311 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2313 * testsuite/23_containers/vector/requirements/dr438/
2314 constructor_1_neg.cc: Likewise.
2315 * testsuite/23_containers/vector/requirements/dr438/
2316 constructor_2_neg.cc: Likewise.
2317 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2320 2013-06-29 François Dumont <fdumont@gcc.gnu.org>
2322 * include/bits/hashtable_policy.h (_Insert_base): Consider hint in
2324 * include/bits/hashtable.h: Likewise.
2325 * testsuite/23_containers/unordered_multimap/insert/hint.cc: New.
2326 * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc:
2328 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
2329 Adjust dg-error line number.
2330 * testsuite/23_containers/unordered_set/
2331 not_default_constructible_hash_neg.cc: Likewise.
2332 * doc/xml/manual/containers.xml: Document hinting in unordered
2335 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2337 * testsuite/21_strings/basic_string/operations/*: Move inside
2338 testsuite/21_strings/basic_string/operations/data/.
2339 * testsuite/21_strings/basic_string/compare/*: Move inside
2340 testsuite/21_strings/basic_string/operations/.
2341 * testsuite/21_strings/basic_string/find/*: Likewise.
2342 * testsuite/21_strings/basic_string/rfind/*: Likewise.
2343 * testsuite/21_strings/basic_string/substr/*: Likewise.
2345 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2347 * testsuite/21_strings/basic_string/append/*: Move inside
2348 testsuite/21_strings/basic_string/modifiers/.
2349 * testsuite/21_strings/basic_string/assign/*: Likewise.
2350 * testsuite/21_strings/basic_string/insert/*: Likewise.
2351 * testsuite/21_strings/basic_string/replace/*: Likewise.
2352 * testsuite/21_strings/basic_string/modifiers/pop_back/char/
2353 pop_back.cc: Rename to 1.cc.
2354 * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/
2355 pop_back.cc: Likewise.
2356 * testsuite/ext/vstring/assign/*: Move inside
2357 testsuite/ext/vstring/modifiers/.
2359 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2361 * include/bits/stl_deque.h (deque<>::insert(iterator,
2362 const value_type&), deque<>::insert(iterator, value_type&&),
2363 deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to
2364 take a const_iterator.
2365 (deque<>::erase): Simplify.
2366 * include/bits/stl_list.h: Likewise.
2367 (_List_iterator<>::_M_const_cast): Add.
2368 * include/bits/stl_vector.h: Likewise.
2369 * include/bits/stl_bvector.h: Likewise.
2370 (_Bit_iterator::_M_const_cast): Add.
2371 * include/bits/deque.tcc: Adjust definitions.
2372 * include/bits/list.tcc: Likewise.
2373 * include/bits/vector.tcc: Likewise.
2374 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2375 Define trivial version in C++98 mode.
2376 * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT),
2377 __versa_string<>::replace(iterator, iterator, const __versa_string&),
2378 __versa_string<>::replace(iterator, iterator, const _CharT*,
2379 size_type), __versa_string<>::replace(iterator, iterator,
2380 const _CharT*), __versa_string<>::replace(iterator, iterator,
2381 size_type, _CharT)): Adjust C++11 signatures to take a pair of
2383 * include/debug/deque: Adjust.
2384 * include/debug/list: Likewise.
2385 * include/debug/vector: Likewise.
2386 * include/profile/deque: Likewise.
2387 * include/profile/list: Likewise.
2388 * include/profile/vector: Likewise.
2389 (vector<>::emplace): Add.
2390 * testsuite/util/exception/safety.h: Update.
2391 * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
2393 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
2395 * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
2397 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
2399 * testsuite/23_containers/vector/bool/modifiers/insert/
2400 const_iterator.cc: Likewise.
2401 * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
2403 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
2405 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
2407 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
2409 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
2411 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
2414 * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/
2415 ext/vstring/modifiers/erase/char/.
2416 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/
2417 ext/vstring/modifiers/wchar_t/.
2418 * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/
2419 ext/vstring/modifiers/pop_back/char/.
2420 * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to
2421 testsuite/ext/vstring/modifiers/pop_back/wchar_t/.
2423 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2424 Adjust dg-error line number.
2425 * testsuite/23_containers/deque/requirements/dr438/
2426 constructor_1_neg.cc: Likewise.
2427 * testsuite/23_containers/deque/requirements/dr438/
2428 constructor_2_neg.cc: Likewise.
2429 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2431 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2433 * testsuite/23_containers/list/requirements/dr438/
2434 constructor_1_neg.cc: Likewise.
2435 * testsuite/23_containers/list/requirements/dr438/
2436 constructor_2_neg.cc: Likewise.
2437 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2439 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2441 * testsuite/23_containers/vector/requirements/dr438/
2442 constructor_1_neg.cc: Likewise.
2443 * testsuite/23_containers/vector/requirements/dr438/
2444 constructor_2_neg.cc: Likewise.
2445 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2448 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>
2450 Status page for C++2014 library features
2451 * doc/xml/faq.xml: Add link to new C++14 status page.
2452 * doc/xml/manual/intro.xml: Ditto.
2453 * doc/xml/manual/status_cxx2014.xml: New.
2455 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2457 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid
2458 spurious fails with check-debug.
2459 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc:
2461 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.
2462 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc:
2465 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2468 * include/bits/char_traits.h (char_traits<char>::lt): Implement
2470 * testsuite/21_strings/char_traits/requirements/char/57704.cc: New.
2472 2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
2475 * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
2476 declare per the letter of the C++ standard in terms of void.
2477 * include/c_std/cstdlib: Likewise.
2479 2013-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2482 * include/bits/random.h (binomial_distribution<>::_M_waiting):
2483 Add double parameter.
2484 * include/bits/random.tcc (binomial_distribution<>::operator()
2485 (_UniformRandomNumberGenerator&, const param_type&)): Pass
2486 __param._M_q to _M_waiting.
2487 (_M_waiting): Adjust.
2488 * testsuite/26_numerics/random/binomial_distribution/
2489 operators/values.cc: Add tests.
2491 2013-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2494 * include/std/valarray (valarray<>::operator=(const _Expr<>&)):
2495 Implement correctly C++11 26.6.2.3/1.
2496 * testsuite/26_numerics/valarray/dr630-3.C: New.
2498 2013-06-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2501 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
2502 functionality to new __timed_mutex_impl mixin. Overload try_lock_until
2503 to handle conversion between different clocks. Replace constrained
2504 __try_lock_for_impl overloads with conditional increment.
2505 * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
2506 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
2508 2013-06-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2509 Chris Jefferson <chris@bubblescope.net>
2511 * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671
2512 dispatch to traditional std::equal for random-access iterators.
2513 (__equal2_aux, __equal2): Remove.
2514 (__equal::equal): Remove unused overloads.
2515 * include/bits/stl_algo.h (is_permutation): Fix typos.
2517 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2519 * include/std/shared_mutex (shared_lock::operator=): Add missing
2522 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2525 * include/bits/forward_list.h (_Fwd_list_base): Convert to/from
2526 allocator's pointer type.
2527 * include/bits/hashtable.h (_Hashtable): Likewise.
2528 * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
2529 * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
2530 * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
2531 * testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
2533 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2535 * include/std/shared_mutex: Implement N3659.
2536 * include/bits/c++14_warning.h: New.
2537 * include/Makefile.am: Add new headers.
2538 * include/Makefile.in: Regenerate.
2539 * testsuite/30_threads/shared_lock/cons/1.cc: New.
2540 * testsuite/30_threads/shared_lock/locking/2.cc: New.
2541 * testsuite/30_threads/shared_lock/cons/2.cc: New.
2542 * testsuite/30_threads/shared_lock/locking/3.cc: New.
2543 * testsuite/30_threads/shared_lock/cons/3.cc: New.
2544 * testsuite/30_threads/shared_lock/locking/4.cc: New.
2545 * testsuite/30_threads/shared_lock/cons/4.cc: New.
2546 * testsuite/30_threads/shared_lock/modifiers/1.cc: New.
2547 * testsuite/30_threads/shared_lock/cons/5.cc: New.
2548 * testsuite/30_threads/shared_lock/modifiers/2.cc: New.
2549 * testsuite/30_threads/shared_lock/cons/6.cc: New.
2550 * testsuite/30_threads/shared_lock/requirements/
2551 explicit_instantiation.cc: New.
2552 * testsuite/30_threads/shared_lock/locking/1.cc: New.
2553 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
2554 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
2555 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
2556 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
2557 * testsuite/30_threads/shared_mutex/requirements/
2558 standard_layout.cc: New.
2559 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
2560 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
2562 2013-06-15 Paolo Carlini <paolo.carlini@oracle.com>
2565 * include/bits/unordered_map.h (unordered_map<>::insert,
2566 unordered_multimap<>::insert): Use std::forward, not std::move.
2567 * testsuite/23_containers/unordered_map/insert/57619.C: New.
2568 * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
2570 2013-06-14 Alan Modra <amodra@gmail.com>
2572 * configure.host (abi_baseline_pair): Match powerpc64*.
2574 2013-06-13 Daniel Krugler <daniel.kruegler@gmail.com>
2576 * include/std/type_traits (is_function): Support ref-qualified
2578 (is_copy_constructible, is_move_constructible, is_copy_assignable,
2579 is_move_assignable, is_nothrow_copy_constructible,
2580 is_nothrow_move_constructible, is_nothrow_copy_assignable,
2581 is_nothrow_move_assignable): Implement LWG 2196.
2582 (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement
2584 (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove,
2586 * testsuite/20_util/add_lvalue_reference/value.cc: Extend.
2587 * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
2588 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
2589 * testsuite/20_util/is_assignable/value.cc: Likewise.
2590 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
2591 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
2592 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
2593 * testsuite/20_util/is_function/value.cc: Likewise.
2594 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
2595 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
2596 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
2597 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
2598 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
2599 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
2601 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2603 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2605 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2608 2013-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2610 * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(),
2611 __gnu_cxx::__airy_bi()): Remove.
2612 * testsuite/tr1/5_numerical_facilities/special_functions/
2613 10_cyl_bessel_k/airy.cc: Fix.
2615 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net>
2618 * include/tr1/modified_bessel_func.tcc (__airy): Remove return
2620 (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
2621 * testsuite/tr1/5_numerical_facilities/special_functions/
2622 10_cyl_bessel_k/airy.cc: New.
2624 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
2626 Fix library literals error involving namespace __detail.
2627 * include/std/chrono: Rename __detail to __select_type. Reformat.
2628 * include/bits/basic_string.h: Reformat.
2629 * testsuite/20_util/duration/literals/ns_detail.cc: New.
2631 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com>
2634 * include/c_global/cstddef (max_align_t): Add to namespace std.
2635 * include/c_std/cstddef: Likewise.
2636 * testsuite/18_support/max_align_t/requirements/1.cc: New.
2637 * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
2639 2013-06-10 Benjamin Kosnik <bkoz@redhat.com>
2641 * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
2642 * include/bits/stl_map.h (erase): Use abi_tag when C++11.
2643 * include/bits/stl_multimap.h: Same.
2644 * include/bits/stl_multiset.h: Same.
2645 * include/bits/stl_set.h: Same.
2646 * include/bits/stl_tree.h: Same.
2647 * include/std/complex (real, imag): Use macro for abi_tag.
2649 * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
2650 * testsuite/util/testsuite_containers.h (erase_external): New
2652 (erase_external_iterators): Same.
2653 (linkage_check_cxx98_cxx11_erase): Same.
2654 (linkage_check_cxx98_cxx11_erase_iterators): Same.
2655 * testsuite/util/testsuite_shared.cc: Define.
2656 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
2657 * testsuite/23_containers/map/modifiers/erase/
2658 dr130-linkage-check.cc: New.
2659 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
2660 * testsuite/23_containers/multimap/modifiers/erase/
2661 dr130-linkage-check.cc: New.
2662 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
2663 * testsuite/23_containers/multiset/modifiers/erase/
2664 dr130-linkage-check.cc: New.
2665 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
2666 * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
2668 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
2670 * testsuite/23_containers/map/dr130.cc: Move...
2671 * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
2672 * testsuite/23_containers/multimap/dr130.cc: Move ...
2673 * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
2674 * testsuite/23_containers/multiset/dr130.cc: Move...
2675 * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
2676 * testsuite/23_containers/set/dr130.cc: Move...
2677 * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
2679 2013-06-10 Thomas Schwinge <thomas@codesourcery.com>
2681 * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
2682 handling of Linux-based x86 systems to cover all GNU systems.
2683 * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
2684 * testsuite/18_support/pthread_guard.cc: Likewise.
2685 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
2687 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
2689 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
2690 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
2691 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2692 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2693 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2694 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2695 * testsuite/23_containers/list/pthread1.cc: Likewise.
2696 * testsuite/23_containers/list/pthread5.cc: Likewise.
2697 * testsuite/23_containers/map/pthread6.cc: Likewise.
2698 * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
2700 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2702 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
2703 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
2704 * testsuite/30_threads/async/42819.cc: Likewise.
2705 * testsuite/30_threads/async/49668.cc: Likewise.
2706 * testsuite/30_threads/async/54297.cc: Likewise.
2707 * testsuite/30_threads/async/any.cc: Likewise.
2708 * testsuite/30_threads/async/async.cc: Likewise.
2709 * testsuite/30_threads/async/launch.cc: Likewise.
2710 * testsuite/30_threads/async/sync.cc: Likewise.
2711 * testsuite/30_threads/call_once/39909.cc: Likewise.
2712 * testsuite/30_threads/call_once/49668.cc: Likewise.
2713 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2714 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
2715 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2716 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
2717 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
2718 * testsuite/30_threads/condition_variable/members/53841.cc:
2720 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
2722 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
2723 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
2724 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2725 * testsuite/30_threads/condition_variable_any/members/1.cc:
2727 * testsuite/30_threads/condition_variable_any/members/2.cc:
2729 * testsuite/30_threads/future/cons/move.cc: Likewise.
2730 * testsuite/30_threads/future/members/45133.cc: Likewise.
2731 * testsuite/30_threads/future/members/get.cc: Likewise.
2732 * testsuite/30_threads/future/members/get2.cc: Likewise.
2733 * testsuite/30_threads/future/members/share.cc: Likewise.
2734 * testsuite/30_threads/future/members/valid.cc: Likewise.
2735 * testsuite/30_threads/future/members/wait.cc: Likewise.
2736 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
2737 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
2738 * testsuite/30_threads/lock/1.cc: Likewise.
2739 * testsuite/30_threads/lock/2.cc: Likewise.
2740 * testsuite/30_threads/lock/3.cc: Likewise.
2741 * testsuite/30_threads/lock/4.cc: Likewise.
2742 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2743 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2744 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2745 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2746 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
2747 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2748 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2749 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2750 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
2751 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
2752 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
2753 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
2754 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
2755 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
2756 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
2757 * testsuite/30_threads/packaged_task/cons/move_assign.cc:
2759 * testsuite/30_threads/packaged_task/members/get_future.cc:
2761 * testsuite/30_threads/packaged_task/members/get_future2.cc:
2763 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
2764 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
2765 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
2766 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
2767 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
2768 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
2769 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
2770 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
2771 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
2772 * testsuite/30_threads/promise/cons/1.cc: Likewise.
2773 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
2774 * testsuite/30_threads/promise/cons/move.cc: Likewise.
2775 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
2776 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
2777 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
2778 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
2779 * testsuite/30_threads/promise/members/set_exception2.cc:
2781 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
2782 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
2783 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
2784 * testsuite/30_threads/promise/members/swap.cc: Likewise.
2785 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2786 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2788 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2789 * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
2791 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
2793 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2794 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2795 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2796 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2797 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2799 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2800 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2801 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2803 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
2805 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
2807 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
2809 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2811 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2813 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2815 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2817 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2819 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
2821 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
2822 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
2823 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
2824 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
2825 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
2826 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
2827 * testsuite/30_threads/shared_future/members/wait_for.cc:
2829 * testsuite/30_threads/shared_future/members/wait_until.cc:
2831 * testsuite/30_threads/this_thread/1.cc: Likewise.
2832 * testsuite/30_threads/this_thread/2.cc: Likewise.
2833 * testsuite/30_threads/this_thread/3.cc: Likewise.
2834 * testsuite/30_threads/this_thread/4.cc: Likewise.
2835 * testsuite/30_threads/thread/cons/1.cc: Likewise.
2836 * testsuite/30_threads/thread/cons/2.cc: Likewise.
2837 * testsuite/30_threads/thread/cons/3.cc: Likewise.
2838 * testsuite/30_threads/thread/cons/4.cc: Likewise.
2839 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
2840 * testsuite/30_threads/thread/cons/5.cc: Likewise.
2841 * testsuite/30_threads/thread/cons/6.cc: Likewise.
2842 * testsuite/30_threads/thread/cons/7.cc: Likewise.
2843 * testsuite/30_threads/thread/cons/8.cc: Likewise.
2844 * testsuite/30_threads/thread/cons/9.cc: Likewise.
2845 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
2846 * testsuite/30_threads/thread/members/1.cc: Likewise.
2847 * testsuite/30_threads/thread/members/2.cc: Likewise.
2848 * testsuite/30_threads/thread/members/3.cc: Likewise.
2849 * testsuite/30_threads/thread/members/4.cc: Likewise.
2850 * testsuite/30_threads/thread/members/5.cc: Likewise.
2851 * testsuite/30_threads/thread/members/hardware_concurrency.cc:
2853 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
2854 * testsuite/30_threads/thread/native_handle/typesizes.cc:
2856 * testsuite/30_threads/thread/swap/1.cc: Likewise.
2857 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2858 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
2860 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2861 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2862 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
2864 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2865 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2866 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2867 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2868 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2869 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2870 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2871 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2872 * testsuite/30_threads/try_lock/1.cc: Likewise.
2873 * testsuite/30_threads/try_lock/2.cc: Likewise.
2874 * testsuite/30_threads/try_lock/3.cc: Likewise.
2875 * testsuite/30_threads/try_lock/4.cc: Likewise.
2876 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2877 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2878 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2879 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2880 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2881 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2882 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2883 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2884 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2885 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2886 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2887 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2888 * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
2889 * testsuite/ext/profile/mh.cc: Likewise.
2890 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
2891 * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
2892 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
2894 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
2896 * testsuite/util/testsuite_performance.h: Extend current handling
2897 of Linux-based systems to cover all glibc-based systems.
2899 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2901 * include/std/mutex (call_once): Remove parentheses to fix error in
2902 c++1y and gnu++1y mode.
2903 * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
2904 thread to avoid undefined behaviour.
2906 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2908 Simplify and clean up library literals.
2909 * include/std/chrono: Simplify namespace and versioning management.
2910 * include/bits/basic_string.h: Ditto.
2911 * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
2912 * testsuite/20_util/duration/literals/values.cc: Ditto.
2913 * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
2914 * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
2916 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2918 Implement N3654 - Quoted Strings Library Proposal
2919 * include/std/iomanip: Add quoted(String, Char delim, Char escape)
2920 manipulators and supporting machinery in c++1y mode.
2921 * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
2922 * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
2924 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2926 * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
2929 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2931 * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
2932 * include/bits/stl_algobase.h (equal, mismatch): Likewise.
2933 * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
2934 * testsuite/25_algorithms/equal/2.cc: New.
2935 * testsuite/25_algorithms/equal/check_type2.cc: New.
2936 * testsuite/25_algorithms/is_permutationqual/2.cc: New.
2937 * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
2938 * testsuite/25_algorithms/mismatch/2.cc: New.
2939 * testsuite/25_algorithms/mismatch/check_type2.cc: New.
2940 * testsuite/util/testsuite_iterators.h: Fix spelling.
2942 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2944 * include/std/type-traits (integral_constant::operator()): Implement
2946 * testsuite/20_util/integral_constant/call_operator.cc: New.
2947 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2949 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2951 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2954 2013-06-07 Uros Bizjak <ubizjak@gmail.com>
2956 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2958 2013-06-05 Tom Tromey <tromey@redhat.com>
2960 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
2962 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com>
2965 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
2967 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net>
2969 * include/std/chrono: Collapse redundant 'inline' from 'inline
2971 * include/std/tuple: Ditto.
2972 * include/bits/move.h: Ditto.
2974 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
2976 Implement N3642 - User-defined Literals for Standard Library Types
2977 * include/bits/parse_numbers.h: New.
2978 * include/std/chrono: Add duration literal operators.
2979 * include/bits/basic_string.h: Add string literal operators.
2980 * include/Makefile.in: Add parse_numbers.h.
2981 * include/Makefile.am: Ditto.
2982 * testsuite/20_util/duration/literals/values.cc: New.
2983 * testsuite/20_util/duration/literals/types.cc: New.
2984 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
2985 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
2986 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
2987 * testsuite/21_strings/basic_string/literals/values.cc: New.
2988 * testsuite/21_strings/basic_string/literals/types.cc: New.
2990 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2992 * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
2993 !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
2994 calling non-existent from_time_t.
2996 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2998 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
3001 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
3003 * include/std/chrono: Wrap clocks in inline namespace _V2.
3004 * src/c++11/chrono.cc: Same.
3005 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
3006 file, with default configure macros selected.
3008 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
3010 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
3012 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
3013 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
3014 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
3016 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3018 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
3019 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
3021 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
3022 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
3023 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
3024 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
3025 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
3026 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
3028 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
3029 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
3031 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3033 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
3034 (CLOCK_MONOTONIC): Define.
3036 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
3038 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
3041 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
3043 2013-05-24 Jakub Jelinek <jakub@redhat.com>
3045 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
3046 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
3047 don't define system_clock::is_steady, system_clock::now() and
3048 steady_clock::is_steady.
3049 (std::chrono::system_clock::now()): If
3050 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
3051 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
3052 (std::chrono::system_clock::now()): Likewise. Add weak attribute
3053 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
3055 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
3056 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
3057 * src/c++11/compatibility-chrono.cc: New file.
3058 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
3059 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
3060 * testsuite/util/testsuite_abi.cc (check_version): Add
3061 GLIBCXX_3.4.20 version and make it the latest.
3062 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
3063 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
3064 @@GLIBCXX_3.4.20 instead.
3065 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
3066 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
3067 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
3069 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3071 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
3072 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
3074 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
3075 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
3076 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
3077 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
3078 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
3079 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
3081 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
3082 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
3083 * config.h.in: Regenerated.
3084 * src/Makefile.in: Regenerated.
3085 * configure: Regenerated.
3087 2013-05-23 Matthias Klose <doko@ubuntu.com>
3089 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
3090 (ext_headers): Remove ${ext_host_headers}.
3091 (stamp-${host_alias}): Create ${host_builddir}/../ext.
3092 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
3093 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
3094 * include/Makefile.in: Regenerate.
3095 * include/ext/random: Include ext/opt_random.h.
3097 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
3099 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
3100 enable features if target OS is known to support them.
3101 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
3102 * configure: Regenerate.
3104 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
3107 * include/std/functional (__invoke): Do not form function types with
3108 abstract return type.
3109 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
3111 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
3113 * include/std/tuple (get): Implement N3670.
3114 * include/std/utility (get): Likewise.
3115 * testsuite/20_util/pair/get.cc: Move to ...
3116 * testsuite/20_util/pair/astuple/get.cc: Here.
3117 * testsuite/20_util/pair/astuple/astuple.cc: New.
3118 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
3119 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
3120 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
3121 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
3122 * testsuite/20_util/pair/astuple/get_neg.cc: New.
3123 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
3124 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
3125 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
3127 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
3129 * Revert last commit.
3131 2013-05-19 Matthias Klose <doko@ubuntu.com>
3133 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
3134 (ext_headers): Remove ${ext_host_headers}.
3135 (stamp-${host_alias}): Create ${host_builddir}/../ext.
3136 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
3137 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
3138 * include/Makefile.in: Regenerate.
3140 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3142 * include/std/system_error (error_category::error_category()): LWG
3143 2145: Declare public and constexpr.
3144 * src/c++11/system_error.cc (error_category::error_category()): Move
3146 * src/c++11/compatibility-c++0x.cc: Here.
3148 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3150 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
3152 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3154 * include/bits/unique_ptr.h (make_unique): Declare inline.
3155 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
3156 (default_delete, unique_ptr): Add doxygen comments.
3157 * include/bits/shared_ptr_base.h: Improve doxygen comments.
3158 * include/bits/shared_ptr.h: Likewise.
3159 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
3161 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
3163 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3165 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
3167 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3169 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
3171 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3173 * include/std/utility (exchange): Define.
3174 * testsuite/20_util/exchange/1.cc: New.
3176 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
3178 * include/bits/unique_ptr.h (make_unique): Define.
3179 * testsuite/20_util/unique_ptr/creation/single.cc: New.
3180 * testsuite/20_util/unique_ptr/creation/array.cc: New.
3181 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
3183 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
3185 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
3186 rendering of std::tr1 unordered containers iterator.
3187 (StdHashtableIterator): New, render std unordered containers iterator.
3188 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
3190 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
3192 * include/bits/basic_string.h (getline): Fix doxygen comments.
3194 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
3196 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
3197 Use std::pointer_traits.
3199 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
3201 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
3203 * libsupc++/Makefile.in: Regenerate.
3204 * libsupc++/bad_array_length.cc: Tweak.
3205 * libsupc++/bad_array_new.cc: Tweak.
3207 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
3210 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
3211 (_Deque_iterator<>::_M_const_cast): Add.
3212 (deque<>::_M_erase): Declare.
3213 * include/bits/deque.tcc: ... and define.
3214 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
3215 (_List_const_iterator<>::_M_const_cast): Add.
3216 * include/bits/list.tcc (erase (iterator)): Fix.
3217 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
3218 Add; include <ext/cast.h>.
3219 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
3220 (vector<>::_M_erase): Declare.
3221 * include/bits/stl_bvector.h: Likewise.
3222 * include/bits/vector.tcc (vector<>::_M_erase): Define.
3223 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
3224 * include/debug/deque: Adjust.
3225 * include/debug/list: Likewise.
3226 * include/debug/vector: Likewise.
3227 * include/profile/deque: Likewise.
3228 * include/profile/list: Likewise.
3229 * include/profile/vector: Likewise.
3230 * testsuite/util/exception/safety.h (erase_base<deque>,
3231 erase_base<deque>, erase_base<vector>): Remove.
3232 (erase_base<__versa_string>): Update.
3233 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
3234 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
3235 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
3236 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
3237 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
3239 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
3240 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
3241 Adjust dg-error line numbers.
3242 * testsuite/23_containers/deque/requirements/dr438/
3243 constructor_1_neg.cc: Likewise.
3244 * testsuite/23_containers/deque/requirements/dr438/
3245 constructor_2_neg.cc: Likewise.
3246 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
3248 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3250 * testsuite/23_containers/list/requirements/dr438/
3251 constructor_1_neg.cc: Likewise.
3252 * testsuite/23_containers/list/requirements/dr438/
3253 constructor_2_neg.cc: Likewise.
3254 * testsuite/23_containers/list/requirements/dr438/
3255 insert_neg.cc: Likewise.
3256 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3258 * testsuite/23_containers/vector/requirements/dr438/
3259 constructor_1_neg.cc: Likewise.
3260 * testsuite/23_containers/vector/requirements/dr438/
3261 constructor_2_neg.cc: Likewise.
3262 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3265 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
3267 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
3269 2013-05-08 Jason Merrill <jason@redhat.com>
3271 Add std::bad_array_length (N3639)
3272 * libsupc++/new: Add std::bad_array_length.
3273 * libsupc++/bad_array_length.cc: New.
3274 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
3275 * libsupc++/Makefile.in: Build them.
3276 * config/abi/pre/gnu.ver: Add new symbols.
3277 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
3279 2013-05-08 Andi Kleen <ak@linux.intel.com>
3282 * libstdc++-v3/include/bits/atomic_base.h
3283 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
3284 (atomic_thread_fence, atomic_signal_fence, test_and_set,
3285 clear, store, load, exchange, compare_exchange_weak)
3286 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
3287 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
3289 2013-05-08 Jason Merrill <jason@redhat.com>
3291 Add std::bad_array_new_length (N2932)
3292 * libsupc++/new: Add std::bad_array_new_length.
3293 * libsupc++/bad_array_new.cc: New.
3294 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
3295 * libsupc++/Makefile.in: Build them.
3296 * config/abi/pre/gnu.ver: Add new symbols.
3297 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
3299 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
3302 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
3304 * include/Makefile.in: Regenerated.
3306 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
3308 * include/profile/unordered_base.h: New.
3309 * include/Makefile.am: Add new profile header.
3310 * include/Makefile.in: Regenerate.
3311 * include/profile/impl/profiler.h
3312 (__profcxx_inefficient_hash_is_on): New macro.
3313 * include/profile/unordered_map (std::profile::unordered_map<>):
3314 Use new _Unordered_profile base class. Use default implementations
3315 for special functions.
3316 (std::profile::unordered_multimap<>): Likewise.
3317 * include/profile/unordered_set (std::profile::unordered_set<>):
3319 (std::profile::unordered_multiset<>): Likewise.
3320 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
3321 MoveOnly equality operator signature.
3323 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
3325 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
3326 constexpr_data.cc: Move...
3327 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
3329 * testsuite/20_util/integral_constant/requirements/
3330 explicit_instantiation.cc: New.
3331 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
3333 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
3334 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
3336 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
3337 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
3339 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
3341 * include/std/type_traits (is_null_pointer): Add.
3342 (__is_nullptr_t): Implement in terms of the latter.
3343 (is_fundamental, is_scalar): Adjust.
3344 * testsuite/20_util/is_null_pointer/requirements/
3345 explicit_instantiation.cc: New.
3346 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
3348 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
3349 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
3351 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3353 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3356 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
3358 * include/c_global/cstdio: Add comment about LWG 2249.
3359 * include/c_std/cstdio: Likewise.
3361 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3363 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
3365 * include/std/mutex (__recursive_mutex_base): Likewise.
3367 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3370 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
3371 implement EBO safely.
3372 (_Sp_counted_base::_M_get_deleter): Add noexcept.
3373 (_Sp_counter_ptr): Use noexcept instead of comments.
3374 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
3375 (_Sp_counted_ptr_inplace): Likewise.
3376 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
3377 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
3378 custom allocator and test construction with custom allocator.
3379 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
3382 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
3384 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
3385 dialect to -std=gnu++11.
3387 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
3389 * include/bits/hashtable_policy.h
3390 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
3391 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
3393 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
3395 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
3396 * include/c_std/cstdio (gets): Likewise.
3397 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
3399 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
3402 * include/debug/unordered_map (unordered_map, unordered_multimap):
3403 Fix default allocator type.
3404 * include/profile/unordered_map (unordered_map, unordered_multimap):
3406 * include/bits/unordered_map.h: Fix comments.
3408 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
3411 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
3412 move implementation to make_exception_ptr.
3413 * include/std/future (_State_base::_M_break_promise): Replace
3414 copy_exception with make_exception_ptr.
3415 * testsuite/18_support/exception_ptr/move.cc: Likewise.
3416 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
3417 * testsuite/30_threads/future/members/get2.cc: Likewise.
3418 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
3419 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
3420 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
3421 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
3423 2013-04-22 Jason Merrill <jason@redhat.com>
3425 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
3427 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
3428 substitution" lines.
3430 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
3432 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
3433 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
3434 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
3436 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
3438 * include/bits/hashtable_policy.h: Add C++11 allocator support.
3439 * include/bits/hashtable.h: Likewise.
3440 * include/bits/unordered_set.h: Likewise.
3441 * include/bits/unordered_map.h: Likewise.
3442 * include/debug/unordered_set: Likewise.
3443 * include/debug/unordered_map: Likewise.
3444 * include/std/unordered_set: Remove bits/algobase.h
3445 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
3446 * include/std/unordered_map: Likewise.
3447 * include/ext/throw_allocator.h: Add checks on calls to allocator
3449 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
3450 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
3451 * testsuite/util/regression/rand/priority_queue
3452 /container_rand_regression_test.tcc: Adapt.
3453 * testsuite/util/regression/rand/assoc
3454 /container_rand_regression_test.tcc: Likewise.
3455 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
3456 * testsuite/23_containers/unordered_set
3457 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
3458 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
3459 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
3460 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
3461 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
3462 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
3463 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
3464 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
3465 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
3466 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
3468 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
3469 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
3471 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
3472 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
3473 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
3474 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
3475 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
3476 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
3477 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
3479 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
3480 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
3481 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
3483 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
3484 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
3486 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
3487 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
3489 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3491 * include/std/type_traits (is_signed): Simplify.
3492 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3493 Adjust dg-error line numbers.
3494 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3496 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3498 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3501 * include/std/complex (complex<float>::real, complex<float>::imag,
3502 complex<double>::real, complex<double>::imag,
3503 complex<long double>::real, complex<long double>::imag): Declare
3504 as const member functions.
3505 * include/std/type_traits (integral_constant<>::operator value_type):
3508 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3511 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
3512 * testsuite/25_algorithms/pop_heap/57010.cc: New.
3514 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
3516 * src/c++11/system_error.cc (generic_category_instance): Add
3518 (system_category_instance): Likewise.
3519 * src/c++11/future.cc (__fec): Likewise.
3521 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3523 * doc/xml/manual/extensions.xml: Fix anachronism.
3525 2013-04-09 Tom Tromey <tromey@redhat.com>
3527 * configure, config.h.in: Rebuild.
3528 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
3530 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
3532 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
3534 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
3536 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
3538 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
3540 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3542 * include/Makefile.am: Add ext/aligned_buffer.h
3543 * include/Makefile.in: Regenerate.
3544 * include/ext/aligned_buffer.h: New.
3545 * include/std/future (_Result): Use __aligned_buffer.
3546 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
3547 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
3548 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
3551 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3553 * include/bits/forward_list.h: Only include required headers.
3554 (forward_list::reference): Define directly, not using __alloc_traits.
3555 (forward_list::const_reference): Likewise.
3557 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
3559 * include/std/functional (_Derives_from_unary_function): Remove.
3560 (_Derives_from_binary_function): Remove.
3561 * include/std/type_traits (__sfinae_types): Remove.
3562 (__is_assignable_helper): Adapt.
3563 (__is_convertible_helper): Adapt.
3564 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
3565 Remove several explicit instantiations of integral_constant.
3566 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
3567 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3568 Adapt dg-error line number.
3569 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3571 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3572 * testsuite/20_util/bind/ref_neg.cc: Likewise.
3574 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
3577 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
3578 get_terminate() accessors.
3579 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
3580 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
3582 * libsupc++/new_handler.cc: Likewise.
3584 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
3586 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
3588 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
3591 * include/debug/array (tuple_size, tuple_element): Do not declare.
3592 * include/profile/array: Likewise.
3593 * testsuite/23_containers/array/tuple_interface/
3594 tuple_element_debug_neg.cc: Adjust dg-error line number.
3596 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
3598 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
3599 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
3601 (set_terminate(terminate_handler)): Set atomically.
3602 (set_unexpected(terminate_handler)): Likewise.
3603 * libsupc++/new (get_new_handler()): Declare.
3604 * libsupc++/new_handler.cc (get_new_handler()): Define.
3605 (set_new_handler(new_handler)): Set atomically.
3606 (__new_handler): Use internal linkage.
3607 * libsupc++/new_op.cc (operator new): Use get_new_handler().
3608 * libsupc++/new_opnt.cc (operator new): Likewise.
3609 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
3610 * configure: Regenerate.
3611 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
3612 * libsupc++/Makefile.in: Regenerate.
3613 * config/abi/pre/gnu.ver: Add new exports.
3614 * doc/xml/manual/status_cxx2011.xml: Update.
3615 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
3617 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
3618 * testsuite/18_support/new_handler.cc: New.
3619 * testsuite/18_support/terminate_handler.cc: New.
3620 * testsuite/18_support/unexpected_handler.cc: New.
3622 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3624 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
3625 defer to general documentation on contributing to GCC.
3626 * doc/html/*: Regenerate.
3628 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
3630 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
3632 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
3635 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
3637 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
3639 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
3641 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
3643 * doc/xml/manual/policy_data_structures: Remove direct link to
3644 IBM Haifa Research Labs.
3646 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
3647 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
3649 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
3652 * doc/xml/manual/shared_ptr.xml: Use canonical address for
3655 2013-03-27 Kai Tietz <ktietz@redhat.com>
3657 * crossconfig.m4: Add support for cygwin x64 target.
3658 * configure: Regenerated.
3660 2013-03-25 Kai Tietz <ktietz@redhat.com>
3662 * testsuite/18_support/50594.cc: For mingw-targets use only static
3664 * testsuite/19_diagnostics/error_category/operators/equal.cc
3665 * testsuite/19_diagnostics/error_code/cons/1.cc
3666 * testsuite/19_diagnostics/error_code/operators/bool.cc
3667 * testsuite/19_diagnostics/error_code/operators/equal.cc
3668 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
3669 * testsuite/19_diagnostics/error_condition/cons/1.cc
3670 * testsuite/19_diagnostics/error_condition/operators/bool.cc
3671 * testsuite/19_diagnostics/error_condition/operators/equal.cc
3672 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
3673 * testsuite/23_containers/set/requirements/exception/basic.cc
3674 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
3675 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
3677 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
3680 * include/ext/debug_allocator.h (debug_allocator): Add missing members
3681 to meet allocator requirements.
3682 * testsuite/ext/debug_allocator/56170.cc: New.
3684 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3687 * include/std/chrono (__is_ratio): Uglify T.
3689 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
3691 PR libstdc++/55977 (partial, std::vector and std::deque bits)
3692 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
3693 _InputIterator, std::input_iterator_tag)): Use emplace_back.
3694 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
3695 _InputIterator, std::input_iterator_tag)): Likewise.
3696 * testsuite/23_containers/vector/cons/55977.cc: New.
3697 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
3698 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3699 Adjust dg-error line number.
3700 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3703 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
3706 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
3707 _InputIterator, __false_type)): Use emplace_back.
3708 * testsuite/23_containers/list/cons/55979.cc: New.
3709 * testsuite/23_containers/list/modifiers/1.h: Adjust.
3710 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3711 Adjust dg-error line number.
3713 2013-03-16 Jason Merrill <jason@redhat.com>
3716 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
3718 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3721 * libsupc++/exception_ptr.h (type_info): Declare.
3723 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3726 * include/std/mutex (lock_guard, unique_lock, lock): Define without
3727 depending on _GLIBCXX_HAS_GTHREADS.
3728 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
3730 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3733 * include/std/future (__future_base::_Result): Add result_type
3735 (__future_base::_S_allocate_result): Overload for std::allocator.
3736 (__future_base::_Task_setter): Use _Result::result_type instead of
3737 deducing the type from the task.
3738 (__future_base::_Task_state): Store allocator to allow shared state
3739 to be reset. Replace std::function with member of target object type
3741 (__future_base::_Task_state_base): New abstract base class.
3742 (__future_base::_Task_state_base::_M_run): New virtual function to
3743 invoke type-erased target object.
3744 (__future_base::_Task_state_base::_M_reset): New virtual function to
3745 create new shared_state using same target object and allocator.
3746 (__future_base::__create_task_state): Allocate a new _Task_state.
3747 (packaged_task::packaged_task): Use __create_task_state.
3748 (packaged_task::reset): Use _Task_state_base::_M_reset.
3749 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
3751 2013-03-15 Tom Tromey <tromey@redhat.com>
3753 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
3754 (PROBE2): New macro.
3755 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
3756 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
3757 * configure.ac: Check for sys/sdt.h.
3758 * configure, config.h.in: Rebuild.
3760 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
3763 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
3764 allocator_traits instead of calling construct directly.
3765 * testsuite/23_containers/map/56613.cc: New.
3767 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
3769 * doc/html/*: Regenerate.
3771 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
3774 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
3775 * testsuite/20_util/is_fundamental/value.cc: Extend.
3776 * testsuite/20_util/is_compound/value.cc: Likewise.
3778 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
3780 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
3783 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
3785 * include/bits/memoryfwd.h: New. Centralize forward declarations.
3786 * include/bits/algorithmfwd.h: Consistent comments.
3787 * include/bits/localefwd.h: Same.
3788 * include/ext/vstring_fwd.h: Same.
3789 * include/parallel/algorithmfwd.h: Same.
3790 * include/parallel/numericfwd.h: Same.
3791 * include/std/iosfwd: Same.
3793 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
3795 * include/ext/alloc_traits.h: Remove allocator forward decl.
3796 * include/bits/stl_construct.h: Same.
3797 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
3798 forward decl. Consistent comments.
3800 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
3802 * include/Makefile.am (bits_headers): Add memoryfwd.h.
3803 * include/Makefile.in: Regenerate.
3806 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
3808 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
3809 Reset pointers after deallocation when memory can be reused.
3810 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
3811 elements to really challenge C++11 allocator integration.
3812 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
3813 * testsuite/23_containers/vector/allocator/copy_assign.cc:
3815 * testsuite/23_containers/vector/allocator/move_assign.cc:
3817 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
3818 swap vector back before checks on memory/personality mapping are
3820 * testsuite/23_containers/forward_list/allocator/minimal.cc:
3821 Insert element to really challenge C++11 allocator integration.
3822 * testsuite/23_containers/forward_list/allocator/copy.cc:
3824 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
3826 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
3828 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
3829 and swap forward_list back before checks on memory/personality
3830 mapping are performed.
3832 2013-03-07 Jakub Jelinek <jakub@redhat.com>
3834 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3835 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3836 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3838 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3839 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3840 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3841 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3842 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3843 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3845 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3847 * scripts/extract_symvers.pl: Omit symbols bound to base
3849 * scripts/extract_symvers.in: Likewise.
3850 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3851 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3852 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3853 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3854 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3856 2013-03-04 Ulrich Drepper <drepper@gmail.com>
3858 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
3859 Optimize generation function by pulling computation of __r into the
3860 constructor for param_type. Also compare _M_mu in operator==.
3863 2013-03-02 Ulrich Drepper <drepper@gmail.com>
3865 Add triangular and von Mises distributions.
3866 * include/ext/random: Include <ext/cmath>.
3867 Add __gnu_cxx::triangular_distribution<> and
3868 __gnu_cxx::von_mises_distribution<> classes.
3869 * include/ext/random.tcc: Add out-of-line functions for
3870 __gnu_cxx::triangular_distribution<> and
3871 __gnu_cxx::von_mises_distribution<>.
3872 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
3873 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
3874 * testsuite/ext/triangular_distribution/operators/serialize.cc:
3876 * testsuite/ext/triangular_distribution/operators/equal.cc:
3878 * testsuite/ext/triangular_distribution/operators/inequal.cc:
3880 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
3882 * testsuite/ext/triangular_distribution/requirements/
3883 explicit_instantiation/1.cc: New file.
3884 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
3885 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
3886 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
3888 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
3889 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
3891 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
3893 * testsuite/ext/von_mises_distribution/requirements/
3894 explicit_instantiation/1.cc: New file.
3897 * include/Makefile.am (ext_headers): Add cmath.
3898 * include/Makefile.in: Regenerated.
3899 * include/ext/cmath: New file.
3901 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3903 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3904 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3905 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3906 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3907 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3909 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
3912 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
3913 * testsuite/29_atomics/atomic/operators/56012.cc: New.
3916 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
3918 * testsuite/29_atomics/atomic/operators/56011.cc: New.
3920 2013-02-25 Jason Merrill <jason@redhat.com>
3922 * configure.ac: Check for __cxa_thread_atexit_impl.
3923 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
3925 * config.h.in, configure: Regenerate.
3927 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3929 * include/std/streambuf (basic_streambuf): Use injected class name
3930 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
3933 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3935 * doc/html/faq.html: Fix spelling.
3936 * doc/xml/faq.xml: Likewise.
3937 * include/bits/basic_ios.h: Likewise.
3938 * include/bits/regex.h: Likewise.
3939 * include/std/istream: Likewise.
3940 * include/std/streambuf: Likewise.
3942 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3944 * testsuite/23_containers/unordered_set/55043.cc: Add missing
3945 namespace qualification.
3946 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
3948 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
3950 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
3951 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
3952 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
3953 * include/bits/stl_pair.h: Add to utilities group.
3954 * include/std/tuple: Same.
3955 * include/std/typeindex: Same.
3957 * include/bits/stringfwd.h: Fix markup.
3958 * include/std/limits: Same.
3959 * include/std/type_traits: Same.
3960 * include/tr1/memory: Same.
3961 * include/tr1/regex: Same.
3962 * scripts/run_doxygen: Comment.
3963 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
3965 2013-02-14 Jason Merrill <jason@redhat.com>
3967 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
3968 test if unsupported.
3970 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
3973 * include/std/complex (complex): Undefine.
3974 * include/c_compatibility/complex.h (complex): Only undefine if
3975 <complex> has been included.
3976 * testsuite/26_numerics/complex/56111.cc: New testcase.
3978 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
3980 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
3981 default constructor protected.
3982 * include/bits/hashtable.h: static assert that _Hash_code_base has
3983 a default constructor available through inheritance.
3985 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3987 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
3990 2013-02-12 Julian Brown <julian@codesourcery.com>
3992 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
3993 Don't expect dots after abbreviated weekday names for ru_RU for
3994 glibc versions >= 2.17.
3995 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
3998 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
4000 * include/bits/random.tcc (__transform): Remove.
4002 (discrete_distribution<>::param_type::_M_initialize): Adjust.
4003 (piecewise_constant_distribution<>::param_type::_M_initialize):
4005 (piecewise_linear_distribution<>::param_type::_M_initialize):
4008 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
4010 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
4011 Use -fimplicit-templates.
4012 * src/c++11/Makefile.in: Regenerate.
4013 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
4014 std::lower_bound template.
4016 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
4018 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
4019 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
4020 in C++11 mode and if available in the underlying C library.
4021 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
4022 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
4023 _GLIBCXX_HAVE_QUICK_EXIT.
4025 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
4027 * doc/html/*: Regenerate.
4029 2013-02-11 Jason Merrill <jason@redhat.com>
4031 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
4032 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
4033 * config.h.in, configure: Regenerate.
4034 * include/c_std/cstdlib: Add atexit and at_quick_exit.
4035 * include/c_global/cstdlib: Add atexit and at_quick_exit.
4036 * testsuite/18_support/quick_exit/quick_exit.cc: New.
4038 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
4042 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
4045 * include/bits/basic_ios.h: Replace operator void*() const
4046 with explicit operator bool() const in C++11 and greater.
4047 * testsuite/27_io/basic_ios/pr56193.cc: New file.
4049 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
4050 Jonathan Wakely <jwakely.gcc@gmail.com>
4052 * doc/xml/manual/containers.xml: Add section on unordered containers.
4053 * doc/xml/manual/using.xml: Fix incomplete sentence.
4055 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
4058 * include/bits/hashtable.h (__cache_default): Check if hash function
4060 * testsuite/23_containers/unordered_set/56267.cc: New.
4061 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
4062 dg-error line number.
4063 * testsuite/23_containers/unordered_set/
4064 not_default_constructible_hash_neg.cc: Likewise.
4067 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
4069 * testsuite/23_containers/unordered_set/56278.cc: New.
4071 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
4073 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
4076 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
4079 * include/tr1/special_function_util.h: Remove spurious const
4080 from numeric arguments.
4081 * include/tr1/riemann_zeta.tcc: Likewise.
4082 * include/tr1/exp_integral.tcc: Likewise.
4083 * include/tr1/bessel_function.tcc: Likewise.
4084 * include/tr1/hypergeometric.tcc: Likewise.
4085 * include/tr1/modified_bessel_func.tcc: Likewise.
4086 * include/tr1/poly_laguerre.tcc: Likewise.
4087 * include/tr1/gamma.tcc: Likewise.
4088 * include/tr1/legendre_function.tcc: Likewise.
4089 * include/tr1/poly_hermite.tcc: Likewise.
4090 * include/tr1/ell_integral.tcc: Likewise.
4091 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
4092 If argument is zero return function value.
4093 * testsuite/tr1/5_numerical_facilities/special_functions/
4094 08_cyl_bessel_i/pr56216.cc: New.
4096 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
4098 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
4100 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
4103 * include/bits/basic_ios.h: Replace operator void*() const
4104 with explicit operator bool() const in C++11 and greater.
4105 * testsuite/27_io/basic_ios/pr56193.cc: New file.
4107 2013-02-04 Dodji Seketeli <dodji@redhat.com>
4109 Add missing explicit instantiation for std::lower_bound template
4110 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
4111 missing instantiation for std::lower_bound template.
4113 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
4115 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
4116 * include/bits/basic_string.h: Specialize previous to mark
4117 std::hash for string types as slow.
4118 * include/bits/hashtable.h (__cache_default): Replace is_integral
4119 with __is_fast_hash.
4120 * src/c++11/hash_c++0x.cc: Add type_traits include.
4121 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
4122 Adapt dg-error line number.
4123 * testsuite/23_containers/unordered_set/
4124 not_default_constructible_hash_neg.cc: Likewise.
4126 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
4127 Paolo Carlini <paolo.carlini@oracle.com>
4129 PR libstdc++/56202 (again)
4130 * include/bits/random.tcc (binomial_distribution<>::
4131 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
4134 * include/bits/random.h: Fix comment typo.
4136 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
4137 Paolo Carlini <paolo.carlini@oracle.com>
4140 * include/bits/random.tcc (binomial_distribution<>::
4141 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
4144 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
4146 Update copyright years.
4147 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
4148 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
4149 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
4150 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
4151 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
4152 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
4153 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
4154 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
4155 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
4156 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
4157 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
4158 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
4159 testsuite/29_atomics/atomic/cons/assign_neg.cc,
4160 testsuite/29_atomics/atomic/cons/copy_neg.cc,
4161 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
4162 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
4163 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
4164 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
4165 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
4166 Update lines in dg error matches.
4168 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
4170 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
4172 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
4174 * include/bits/hashtable_policy.h
4175 (_Prime_rehash_policy::_M_next_bkt)
4176 (_Prime_rehash_policy::_M_need_rehash): Move definition...
4177 * src/c++11/hashtable_c++0x.cc: ... here.
4178 * src/shared/hashtable-aux.cc: Remove c++config.h include.
4179 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
4182 2013-01-29 Jason Merrill <jason@redhat.com>
4185 * config/abi/pre/gnu.ver: Don't export construction vtables.
4186 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
4188 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
4191 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
4192 to construct value_type explicitly before trying to extract the key.
4193 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
4195 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
4197 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
4198 _Hashtable_ebo_helper to embed functors into the local_iterator
4199 when necessary. Pass information about functors involved in hash
4201 * include/bits/hashtable.h (__cache_default): Do not cache for
4202 builtin integral types unless the hash functor is not noexcept
4203 qualified or is not default constructible. Adapt static assertions
4204 and local iterator instantiations.
4205 * include/debug/unordered_set
4206 (std::__debug::unordered_set<>::erase): Detect local iterators to
4207 invalidate using contained node rather than generating a dummy
4208 local_iterator instance.
4209 (std::__debug::unordered_multiset<>::erase): Likewise.
4210 * include/debug/unordered_map
4211 (std::__debug::unordered_map<>::erase): Likewise.
4212 (std::__debug::unordered_multimap<>::erase): Likewise.
4213 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
4214 std::tr1 and std versions of unordered_set regardless of any
4215 macro. Add test on default cache behavior.
4216 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
4217 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
4219 * testsuite/23_containers/unordered_set/
4220 not_default_constructible_hash_neg.cc: New.
4221 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
4223 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
4226 * include/std/complex (pow(const complex<>&, int)): Avoid __n
4229 2013-01-22 Jakub Jelinek <jakub@redhat.com>
4231 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
4232 Tightten scan-assembler-times regexps, add dg-additional-options for
4233 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
4236 2013-01-12 Andi Kleen <ak@linux.intel.com>
4237 Jonathan Wakely <jwakely.gcc@gmail.com>
4240 * include/bits/atomic_base.h (__memory_order_modifier): Add
4241 __memory_order_mask, __memory_order_modifier_mask,
4242 __memory_order_hle_acquire, __memory_order_hle_release.
4243 (operator|,operator&): Add.
4244 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
4245 (__cmpexch_failure_order): Add.
4246 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
4248 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
4251 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
4254 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
4256 (__basic_future::_M_get_result()): Const qualify.
4257 (shared_future::get()): Likewise.
4258 * testsuite/30_threads/shared_future/members/get.cc: Use const
4261 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
4263 PR libstdc++/55043 (again)
4264 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
4265 unless construction would be well-formed.
4266 (__allow_copy_cons, __check_copy_constructible): Define.
4267 * include/bits/unordered_map.h (__check_copy_constructible): Use as
4268 base class so copy constructor will be deleted if appropriate.
4269 (is_copy_constructible): Remove specialization.
4270 * include/bits/unordered_set.h: Likewise.
4271 * include/debug/unordered_map.h: Undo previous commit. Default copy
4272 and move constructors.
4273 * include/debug/unordered_set.h: Likewise.
4274 * include/profile/unordered_map.h: Undo previous commit.
4275 * include/profile/unordered_set.h: Likewise.
4276 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
4277 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
4278 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
4279 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
4280 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
4281 cannot support incomplete types.
4282 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
4285 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
4288 * include/std/unordered_map: Include alloc_traits.h
4289 * include/std/unordered_set: Likewise.
4290 * include/bits/alloc_traits.h: Define __is_copy_insertable.
4291 * include/bits/unordered_map.h: Use it.
4292 * include/bits/unordered_set.h: Likewise.
4293 * include/debug/unordered_map.h: Likewise.
4294 * include/debug/unordered_set.h: Likewise.
4295 * include/profile/unordered_map.h: Likewise.
4296 * include/profile/unordered_set.h: Likewise.
4297 * include/bits/hashtable.h: Fix comment typos.
4298 * testsuite/23_containers/unordered_map/55043.cc: New.
4299 * testsuite/23_containers/unordered_multimap/55043.cc: New.
4300 * testsuite/23_containers/unordered_multiset/55043.cc: New.
4301 * testsuite/23_containers/unordered_set/55043.cc: New.
4303 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
4305 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
4308 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
4310 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
4312 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
4315 * include/std/functional (_Mem_fn::operator()): Fix constraints to
4317 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
4318 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
4320 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4323 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
4325 * configure: Regenerate.
4327 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
4330 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
4331 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
4335 * include/std/functional (bad_function_call::what()): Declare.
4336 * src/c++11/functional.cc (bad_function_call::what()): Define.
4337 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
4338 * testsuite/20_util/bad_function_call/what.cc: New.
4340 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
4342 * include/bits/unordered_map.h: Fix typo in comments.
4343 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
4344 counts for unordered associative containers.
4346 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
4348 * doc/xml/manual/abi.xml: Update library and symbol versions.
4350 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
4352 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
4354 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
4357 Copyright (C) 2013 Free Software Foundation, Inc.
4359 Copying and distribution of this file, with or without modification,
4360 are permitted in any medium without royalty provided the copyright
4361 notice and this notice are preserved.