1 2013-10-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
3 * testsuite/29_atomics/atomic/cons/49445.cc
4 (dg-require-atomic-builtins): Add.
6 2013-10-09 Jonathan Wakely <jwakely.gcc@gmail.com>
8 * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of
11 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
13 * testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
15 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
17 * testsuite/*: Remove stray semi-colons after function definitions.
19 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
22 * include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
23 Delegate to constructor taking allocator.
24 (__shared_count::_S_create_from_up): Inline into ...
25 (__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
26 std::conditional instead of constrained overloads. Allocate memory
27 using the allocator type that will be used for deallocation.
28 * testsuite/20_util/shared_ptr/cons/58659.cc: New.
29 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust.
31 2013-10-08 Tim Shen <timshen91@gmail.com>
33 * include/bits/regex_executor.h: Add _TodoList class.
34 * include/bits/regex_executor.tcc (_BFSExecutor<>::_M_main): Add
35 _M_match_stack and _M_stack to make everything faster. Break if
36 _M_stack is empty, to reduce unnecessary idling.
37 * testsuite/performance/28_regex/split.cc: New.
39 2013-10-06 Tim Shen <timshen91@gmail.com>
41 * include/bits/regex.h: (regex_token_iterator<>::regex_token_iterator):
43 * include/bits/regex.tcc: (regex_replace<>): Remove default parameter.
45 2013-10-06 Tim Shen <timshen91@gmail.com>
47 * include/bits/regex.h (__regex_algo_impl<>, regex_match<>,
48 regex_search<>): New abstract function for regex_match and regex_search.
49 * include/bits/regex.tcc (__regex_algo_impl<>): Implement.
50 * include/bits/regex_executor.h
51 (_Executor<>::_M_lookahead,
52 _DFSExecutor<>::_M_clone,
53 _BFSExecutor<>::_M_clone): Let _M_clone to choose which executor to
55 * include/bits/regex_executor.tcc (__get_executor<>): Update the
56 definition to support __policy.
57 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: Use
59 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: Same.
60 * testsuite/28_regex/algorithms/regex_match/basic/string_01.cc: Same.
61 * testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc:
63 * testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc:
65 * testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc:
67 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc: Same.
68 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc: Same.
69 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: Same.
70 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
72 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: Same.
73 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
75 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
77 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: Same.
78 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
80 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
82 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: Same.
83 * testsuite/28_regex/algorithms/regex_match/extended/
84 string_bracket_01.cc: Same.
85 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
87 * testsuite/28_regex/algorithms/regex_match/extended/
88 string_questionmark.cc: Same.
89 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
91 * testsuite/28_regex/algorithms/regex_match/extended/string_any.cc:
93 * testsuite/28_regex/algorithms/regex_match/extended/
94 string_dispatch_01.cc: Same.
95 * testsuite/28_regex/algorithms/regex_match/extended/
96 string_range_00_03.cc: Same.
97 * testsuite/28_regex/algorithms/regex_match/extended/
98 string_range_01_03.cc: Same.
99 * testsuite/28_regex/algorithms/regex_match/extended/
100 string_range_02_03.cc: Same.
101 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
103 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: Same.
104 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: Same.
105 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: Same.
106 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Same.
107 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: Same.
108 * testsuite/28_regex/match_results/format.cc: Same.
109 * testsuite/util/testsuite_regex.h
110 (regex_match_debug<>, regex_search_debug<>): Implement.
112 2013-10-06 Oleg Endo <olegendo@gcc.gnu.org>
113 Paolo Carlini <paolo.carlini@oracle.com>
116 * include/c_global/cmath (signbit): Use __builtin_signbitf and
119 2013-10-03 Tim Shen <timshen91@gmail.com>
121 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs): Fix wrong
122 backup variable initialization.
124 2013-10-03 John Woolverton <jdwoolverton@gmail.com>
127 * include/std/vector: Fix garbled line in HP Copyright.
129 2013-10-03 Marc Glisse <marc.glisse@inria.fr>
131 * libsupc++/del_op.cc (operator delete): Don't test for 0 before free.
132 * libsupc++/del_opnt.cc (free): Only declare if freestanding.
133 (operator delete): Qualify free with std::.
135 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
136 Daniel Krugler <daniel.kruegler@gmail.com>
139 * include/std/functional (function::_CheckResult): Move to namespace
140 scope and rename to __check_func_return_type.
141 * testsuite/20_util/function/58569.cc: New.
143 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
146 * include/bits/shared_ptr_base.h
147 (_Sp_counted_ptr_inplace::_M_get_deleter()): Cast away cv-quals.
148 * testsuite/20_util/shared_ptr/creation/58594.cc: New.
150 2013-10-02 Tim Shen <timshen91@gmail.com>
152 * include/bits/regex_compiler.h
153 (_BracketMatcher<>::_M_add_equivalence_class): Implement it correctly.
154 * include/bits/regex_compiler.tcc (_BracketMatcher<>::operator()):
155 Add _M_equiv_set support.
156 * testsuite/28_regex/algorithms/regex_match/extended/
157 cstring_bracket_01.cc: Add new "[[=a=]]" testcase.
159 2013-10-01 Tim Shen <timshen91@gmail.com>
161 * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to
162 "is not correctly implemented".
164 2013-10-01 Tim Shen <timshen91@gmail.com>
166 * doc/xml/manual/status_cxx2011.xml: Update regex status.
167 * include/bits/regex.h (match_results<>::begin,
168 match_results<>::cbegin, match_results<>::end, match_results<>::cend):
169 [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2).
171 2013-10-01 François Dumont <fdumont@gcc.gnu.org>
173 * include/parallel/algobase.h (mismatch, equal): Provide parallel
174 version for N3671 overloads.
176 2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com>
178 * src/c++11/snprintf_lite.cc: Add missing
179 _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION
181 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
183 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for
184 _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions.
185 * configure: Regenerate.
187 2013-10-01 Tim Shen <timshen91@gmail.com>
190 * include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy)
191 (_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch.
192 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New.
194 2013-09-30 Paolo Carlini <paolo.carlini@oracle.com>
196 * include/parallel/algo.h (__find_switch): Use __binder2nd.
198 2013-09-30 Chris Jefferson <chris@bubblescope.net>
201 * include/bits/stl_algo.h (__move_median_first): Rename to
202 __move_median_to_first, change to take an addition argument.
203 (__unguarded_partition_pivot): Adjust.
204 * testsuite/performance/25_algorithms/sort.cc: New.
205 * testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
206 * testsuite/performance/25_algorithms/stable_sort.cc: Likewise.
208 2013-09-28 François Dumont <fdumont@gcc.gnu.org>
210 * include/bits/stl_algo.h (remove_copy, remove_copy_if): Declare
212 (rotate_copy, stable_partition, partial_sort_copy): Likewise.
213 (lower_bound, upper_bound, equal_range, inplace_merge): Likewise.
214 (includes, next_permutation, prev_permutation): Likewise.
215 (replace_copy, replace_copy_if, is_sorted_until): Likewise.
216 (minmax_element, is_permutation, adjacent_find): Likewise.
217 (count, count_if, search, search_n, merge): Likewise.
218 (set_intersection, set_difference): Likewise.
219 (set_symmetric_difference, min_element, max_element): Likewise.
220 * include/bits/stl_algobase.h (lower_bound): Likewise.
221 (lexicographical_compare, mismatch): Likewise.
223 2013-09-28 Tim Shen <timshen91@gmail.com>
225 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix):
226 Let ordinary char escaping in POSIX be valid.
227 * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Test this
230 2013-09-27 François Dumont <fdumont@gcc.gnu.org>
232 * include/bits/predefined_ops.h: New.
233 * include/bits/stl_heap.h: Include <bits/predefined_ops.h>.
234 (__is_heap_until, __push_heap, __adjust_heap, __pop_heap): Remove
238 (make_heap): Adapt to use latter.
240 (sort_heap): Adapt to use latter.
241 * include/bits/algobase.h: Include <bits/predefined_ops.h>.
242 (__lexicographical_compare_impl): New.
243 (__lexicographical_compare<false>::__lc): Adapt to use latter.
244 (lexicographical_compare): Likewise.
245 (__lower_bound): New.
246 (lower_bound): Adapt to use latter.
247 (equal): Use _GLIBCXX_STD_A::equal in N3671 overloads.
249 (mismatch): Use latter.
250 * include/bits/algo.h: Include <bits/predefined_ops.h>. Remove
251 <functional> include.
252 (__move_median_first, __find, __find_if, __find_if_not): Remove
254 (__find_end): Likewise.
255 (__search_n): Rename into ...
256 (__search_n_aux): ... this.
257 (__search_n): Renew, use latter.
258 (search_n): Use latter.
260 (search): Use latter.
261 (__find_end): Likewise.
262 (__remove_copy_if): New.
263 (remove_copy): Use latter.
264 (__adjacent_find): New.
265 (adjacent_find): Use latter.
267 (unique): Use latter.
268 (__unique_copy): Remove algo duplication.
269 (__stable_partition): New.
270 (stable_partition): Use latter.
271 (__heap_select): Remove algo duplication, use __make_heap.
272 (__partial_sort): New, use latter.
273 (partial_sort): Use latter.
274 (__partial_sort_copy): New.
275 (partial_sort_copy): Use latter.
276 (__unguarded_linear_insert, __insertion_sort): Remove algo
278 (__unguarded_insertion_sort, __final_insertion_sort): Likewise.
279 (__unguarded_partition, __unguarded_partition_pivot): Likewise.
280 (__partial_sort): New.
281 (partial_sort): Use latter.
284 (lower_bound): Use __lower_bound.
285 (__upper_bound): New.
286 (upper_bound): Use latter.
287 (__equal_range): New.
288 (equal_range): Use latter.
289 (__move_merge_adaptive, __move_merge_adaptive_backward): Remove
291 (__merge_adaptive, __merge_without_buffer): Likewise.
292 (__inplace_merge): New.
293 (inplace_merge): Use latter.
294 (__move_merge, __merge_sort_loop, __chunk_insertion_sort): Remove
296 (__merge_sort_with_buffer, __stable_sort_adaptive): Likewise.
297 (__inplace_stable_sort): Likewise.
299 (includes): Use latter.
300 (__next_permutation): New.
301 (next_permutation): Use latter.
302 (__prev_permutation): New.
303 (prev_permutation): Use latter.
304 (__replace_copy_if): New.
305 (replace_copy): Use latter.
306 (__is_sorted_until): New.
307 (is_sorted_unitl): Use latter.
308 (__minmax_element): New.
309 (minmax_element): Use latter.
310 (__is_permutation): New.
311 (is_permutation): Use latter.
312 (__adjacent_find): New.
313 (adjacent_find): Use latter.
316 (count_if): Likewise.
319 (__stable_sort): New.
320 (stable_sort): Use latter.
322 (set_union): Use latter.
323 (__set_intersection): New.
324 (set_intersection): Use latter.
325 (__set_difference): New.
326 (set_difference): Use latter.
327 (__set_symmetric_difference): New.
328 (set_symmetric_difference): Use latter.
329 (__min_element): New.
330 (min_element): Use latter.
331 (__max_element): New.
332 (max_element): Use latter.
333 * include/Makefile.am: Add predefined_ops.h.
334 * include/Makefile.in: Regenerate.
335 * include/parallel/algobase.h (equal, mismatch): Add overloads
337 * testsuite/25_algorithms/is_permutation/vectorbool.cc: New.
338 * testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise.
339 * testsuite/25_algorithms/find/vectorbool.cc: Likewise.
340 * testsuite/25_algorithms/find_if/vectorbool.cc: Likewise.
341 * testsuite/25_algorithms/find_first_of/vectorbool.cc: Likewise.
342 * testsuite/25_algorithms/heap/vectorbool.cc: Likewise.
343 * testsuite/25_algorithms/find_end/vectorbool.cc: Likewise.
344 * testsuite/25_algorithms/find_if_not/vectorbool.cc: Likewise.
346 2013-09-27 Jonathan Wakely <jwakely.gcc@gmail.com>
349 * include/std/functional
350 (_Function_base::_Base_manager::_M_not_empty_function): Fix overload
352 * testsuite/20_util/function/cons/57465.cc: New.
354 2013-09-26 Tim Shen <timshen91@gmail.com>
356 * regex_error.h: Remove _S_error_last to follow the standard.
358 (_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to
360 (_Scanner<>::_M_eat_escape_posix): Extended doesn't support
362 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
363 Move here from ../../extended.
364 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
367 2013-09-25 Marc Glisse <marc.glisse@inria.fr>
370 * include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after):
372 (_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->,
373 operator++, operator==, operator!=, _M_next]: Likewise.
374 (_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*,
375 operator->, operator++, operator==, operator!=, _M_next]: Likewise.
376 (operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&),
377 operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)):
379 * include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base,
380 _Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base,
381 _Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&,
382 const _Node_iterator_base&), operator!=(const _Node_iterator_base&,
383 const _Node_iterator_base&)): Likewise.
384 (_Node_iterator) [_Node_iterator, operator*, operator->, operator++]:
386 (_Node_const_iterator) [_Node_const_iterator, operator*, operator->,
387 operator++]: Likewise.
388 * include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator,
389 operator=, operator*, operator->, operator++, operator--, operator[],
390 operator+=, operator+, operator-=, operator-, base, operator _Iterator]:
392 (operator==(const _Safe_iterator&, const _Safe_iterator&),
393 operator!=(const _Safe_iterator&, const _Safe_iterator&),
394 operator<(const _Safe_iterator&, const _Safe_iterator&),
395 operator<=(const _Safe_iterator&, const _Safe_iterator&),
396 operator>(const _Safe_iterator&, const _Safe_iterator&),
397 operator>=(const _Safe_iterator&, const _Safe_iterator&),
398 operator-(const _Safe_iterator&, const _Safe_iterator&),
399 operator+(difference_type, const _Safe_iterator&)): Likewise.
400 * include/profile/iterator_tracker.h (__iterator_tracker)
401 [__iterator_tracker, base, operator _Iterator, operator->, operator++,
402 operator--, operator=, operator*, operator[], operator+=, operator+,
403 operator-=, operator-]: Likewise.
404 (operator==(const __iterator_tracker&, const __iterator_tracker&),
405 operator!=(const __iterator_tracker&, const __iterator_tracker&),
406 operator<(const __iterator_tracker&, const __iterator_tracker&),
407 operator<=(const __iterator_tracker&, const __iterator_tracker&),
408 operator>(const __iterator_tracker&, const __iterator_tracker&),
409 operator>=(const __iterator_tracker&, const __iterator_tracker&),
410 operator-(const __iterator_tracker&, const __iterator_tracker&),
411 operator+(difference_type, const __iterator_tracker&)): Likewise.
413 2013-09-24 Marc Glisse <marc.glisse@inria.fr>
417 * include/bits/basic_string.h (basic_string)
418 [basic_string(basic_string&&)]: Make the noexcept conditional.
419 [operator=(basic_string&&), assign(basic_string&&)]: Link to PR 58265.
420 [begin(), end(), rbegin(), rend(), clear]: Remove noexcept.
421 [pop_back]: Comment on the lack of noexcept.
422 * include/debug/string (basic_string) [basic_string(const _Allocator&),
423 basic_string(basic_string&&), begin(), end(), rbegin(), rend(), clear,
424 operator[](size_type), pop_back]: Comment out noexcept, until vstring
425 replaces basic_string.
427 2013-09-24 Tim Shen <timshen91@gmail.com>
429 * include/Makefile.am: Add regex.tcc.
430 * include/Makefile.in: Regenerate.
431 * include/bits/regex.h: Remove definitions to regex.tcc.
432 * include/bits/regex.tcc: New.
433 (match_results::format, regex_replace): Implement;
434 * include/bits/regex_compiler.h: Move _M_flags to the top of class
435 member list, because other members' initialization depend on it.
436 * include/bits/regex_compiler.tcc
437 (_Compiler<>::_Compiler): Adjust member initializations.
438 (_Compiler<>::_M_quantifier): Fix ungreedy interval quantifier.
439 * include/bits/regex_executor.h: Remove _RegexT from _*Executor classes.
440 In the future, all regex classes may refactor to *Impl style.
441 * include/bits/regex_executor.tcc (_Executor::_M_set_results):
442 Merge identical code from _*Executor classes.
443 * testsuite/28_regex/algorithms/regex_match/extended/
444 string_dispatch_01.cc (fake_match<>): Adjust the hacking-style testcase
445 caller for new __get_executors interface.
446 * testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc:
448 * testsuite/28_regex/match_results/format.cc: New.
449 * testsuite/28_regex/traits/char/lookup_collatename.cc: Remove digraph
451 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: Likewise.
453 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
455 * src/c++11/snprintf_lite.cc (__concat_size_t): Use
456 unsigned long long conditionally.
458 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
460 * src/c++11/snprintf_lite.cc (__concat_size_t): Use only
461 std::__int_to_char<unsigned long long>()
463 2013-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
465 * include/bits/functexcept.h (__throw_out_of_range_fmt): New.
466 * src/c++11/functexcept.cc (__throw_out_of_range_fmt): New.
467 * src/c++11/snprintf_lite.cc: New.
468 * src/c++11/Makefile.am: Add snprintf_lite.cc.
469 * src/c++11/Makefile.in: Regenerate.
470 * config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz.
471 * include/std/array (at): Use __throw_out_of_range_fmt.
472 * include/debug/array (at): Likewise.
473 * include/profile/array (at): Likewise.
474 * include/std/bitset (_M_check_initial_position, _M_check): New.
475 (bitset::bitset): Use _M_check_initial_position.
476 (set, reset, flip, test): Use _M_check.
477 * include/ext/vstring.h (_M_check, at): Use __throw_out_of_range_fmt.
478 * include/bits/stl_vector.h (_M_range_check): Likewise.
479 * include/bits/stl_bvector.h (_M_range_check): Likewise.
480 * include/bits/stl_deque.h (_M_range_check): Likewise.
481 * include/bits/basic_string.h (_M_check, at): Likewise.
482 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust.
483 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
484 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
486 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
488 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
489 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
490 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
492 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
494 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise.
495 * testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc:
497 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
498 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Likewise.
499 * testsuite/util/exception/safety.h (generate): Use __throw_out_of_range_fmt.
501 2013-09-20 Jakub Jelinek <jakub@redhat.com>
504 * testsuite/lib/libstdc++.exp (libstdc++_init): Prepend
505 -fdiagnostics-color=never to cxxflags.
507 2013-09-20 Marc Glisse <marc.glisse@inria.fr>
510 * include/bits/allocator.h (__alloc_swap::_S_do_it,
511 __shrink_to_fit_aux::_S_do_it): Mark as noexcept.
512 * include/bits/basic_string.h (basic_string::_Rep) [_S_empty_rep,
513 _M_is_leaked, _M_is_shared, _M_set_leaked, _M_set_sharable,
514 _M_set_length_and_sharable, _M_dispose]: Likewise.
515 (basic_string::_Alloc_hider::_Alloc_hider): Likewise.
516 (basic_string) [_M_data, _M_rep, _M_ibegin, _M_iend, _M_limit,
517 _M_disjunct, _M_copy, _M_move, _M_assign, _S_copy_chars, _S_compare,
518 _S_empty_rep, shrink_to_fit, operator[] const, front const, back const]:
520 [clear]: Link to PR 56166.
521 [swap]: Link to PR 58265.
522 * include/bits/stl_deque.h (_Deque_iterator) [_S_buffer_size,
523 _Deque_iterator, _M_const_cast, operator*, operator->, operator++,
524 operator--, operator+=, operator+, operator-=, operator-, operator[],
525 _M_set_node]: Mark as noexcept.
526 (operator==(const _Deque_iterator&, const _Deque_iterator&),
527 operator!=(const _Deque_iterator&, const _Deque_iterator&),
528 operator<(const _Deque_iterator&, const _Deque_iterator&),
529 operator>(const _Deque_iterator&, const _Deque_iterator&),
530 operator<=(const _Deque_iterator&, const _Deque_iterator&),
531 operator>=(const _Deque_iterator&, const _Deque_iterator&),
532 operator-(const _Deque_iterator&, const _Deque_iterator&),
533 operator+(ptrdiff_t, const _Deque_iterator&)): Likewise.
534 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
536 [~_Deque_base, _M_deallocate_node, _M_deallocate_map, _M_destroy_nodes]:
538 (_Deque_base::_Deque_impl) [_Deque_impl(const _Tp_alloc_type&),
539 _Deque_impl(_Tp_alloc_type&&)]: Likewise.
540 (deque) [_S_buffer_size, operator=(deque&&), shrink_to_fit, operator[],
541 front, back, pop_front, pop_back, swap]: Likewise.
542 [deque(), deque(const allocator_type&)]: Merge.
543 * include/debug/deque (deque) [operator=(deque&&), shrink_to_fit,
544 operator[], front, back, pop_front, pop_back, swap]: Mark as noexcept.
545 * include/profile/deque (deque) [operator=(deque&&), operator[], front,
546 back, pop_front, pop_back, swap]: Likewise.
547 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
549 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
551 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
553 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
556 2013-09-20 Alan Modra <amodra@gmail.com>
558 * configure: Regenerate.
560 2013-09-19 Marc Glisse <marc.glisse@inria.fr>
563 * include/bits/stl_tree.h (_Rb_tree_node_base) [_S_minimum, _S_maximum]:
565 (_Rb_tree_iterator) [_Rb_tree_iterator, operator*, operator->,
566 operator++, operator--, operator==, operator!=]: Likewise.
567 (_Rb_tree_const_iterator) [_Rb_tree_const_iterator, _M_const_cast,
568 operator*, operator->, operator++, operator--, operator==, operator!=]:
570 (operator==(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&),
571 operator!=(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&)):
573 (_Rb_tree) [_M_put_node, _M_destroy_node, _M_root, _M_leftmost,
574 _M_rightmost, _M_begin, _M_end, _S_left, _S_right, _S_minimum,
575 _S_maximum]: Likewise.
576 * include/debug/string (basic_string) [basic_string(const _Allocator&),
577 shrink_to_fit, operator[], pop_back]: Likewise.
578 * include/ext/vstring.h (__versa_string) [_M_limit, _M_disjunct,
579 _M_ibegin, _M_iend, __versa_string(const _Alloc&),
580 operator=(__versa_string&&), shrink_to_fit, operator[], front,
581 back, assign(__versa_string&&), swap]: Likewise.
582 (__versa_string) [__versa_string(), __versa_string(const _Alloc&)]:
585 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
588 * include/bits/stl_iterator.h (__normal_iterator) [__normal_iterator,
589 _M_const_cast, operator*, operator->, operator++, operator--,
590 operator[], operator+=, operator+, operator-=, operator-, base]:
592 (operator==(const __normal_iterator&, const __normal_iterator&),
593 operator!=(const __normal_iterator&, const __normal_iterator&),
594 operator<(const __normal_iterator&, const __normal_iterator&),
595 operator>(const __normal_iterator&, const __normal_iterator&),
596 operator<=(const __normal_iterator&, const __normal_iterator&),
597 operator>=(const __normal_iterator&, const __normal_iterator&),
598 operator-(const __normal_iterator&, const __normal_iterator&),
599 operator+(difference_type, const __normal_iterator&)): Likewise.
600 * include/bits/stl_list.h (list) [splice, _M_check_equal_allocators]:
602 (list::_M_check_equal_allocators): Abort instead of throwing.
603 * include/debug/array (array) [operator[], front, back]: Mark as
605 * include/profile/array (array) [operator[], front, back]: Likewise.
606 * include/std/array (array) [operator[], front, back]: Likewise.
607 * include/debug/list (list::splice): Likewise.
608 * include/profile/list (list::splice): Likewise.
609 * testsuite/23_containers/list/operations/5.cc: Remove file.
610 * testsuite/23_containers/list/operations/5.h: Likewise.
612 2013-09-18 Tim Shen <timshen91@gmail.com>
614 * include/bits/regex.h: Add friend classes.
615 (match_results<>::position, regex_iterator<>::operator++):
616 Implement position specification in regex_iterator.
617 (regex_match<>, regex_search<>):
618 Move match_results initializations to these function. Remove `todo`.
619 * include/bits/regex_compiler.tcc:
620 (_Compiler<>::_M_quantifier): Fix greedy/ungreedy of interval matching.
621 * include/bits/regex_constants.h:
622 Fix indentation. Change match_flag_type to enum type.
623 * include/bits/regex_executor.h:
624 Merge identical code to the base class _Executor.
625 Support flags in regex_constants.
626 * include/bits/regex_executor.tcc: Likewise.
627 * include/bits/regex_scanner.h: Add comments.
628 * include/bits/regex_scanner.tcc: Same.
629 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc:
631 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New.
632 * testsuite/28_regex/iterators/regex_iterator/char/
633 string_position_01.cc: Remove `xfail`.
634 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc:
635 Remove `xfail` and make the case really work.
637 2013-09-18 Paolo Carlini <paolo.carlini@oracle.com>
639 * testsuite/performance/25_algorithms/search_n.cc: Fix typo.
641 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
644 * include/bits/list.tcc (_List_base::_M_clear, list::erase): Mark as
646 * include/bits/stl_list.h (_List_iterator) [_List_iterator,
647 _M_const_cast, operator*, operator->, operator++, operator--,
648 operator==, operator!=]: Likewise.
649 (_List_const_iterator) [_List_const_iterator, _M_const_cast, operator*,
650 operator->, operator++, operator--, operator==, operator!=]: Likewise.
651 (operator==(const _List_iterator&, const _List_const_iterator&),
652 operator!=(const _List_iterator&, const _List_const_iterator&)):
654 (_List_impl) [_List_impl(const _Node_alloc_type&),
655 _List_impl(_Node_alloc_type&&)]: Likewise.
656 (_List_base) [_M_put_node, _List_base(const _Node_alloc_type&),
657 _List_base(_List_base&&), _M_clear, _M_init]: Likewise.
658 (list) [list(), list(const allocator_type&)]: Merge.
659 (list) [list(const allocator_type&), front, back, pop_front, pop_back,
660 erase, _M_erase]: Mark as noexcept.
661 * include/debug/list (list) [list(const _Allocator&), front, back,
662 pop_front, pop_back, _M_erase, erase]: Likewise.
663 * include/profile/list (list) [list(const _Allocator&), front, back,
664 pop_front, pop_back, erase]: Likewise.
665 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
667 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
669 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
671 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
674 2013-09-17 Marc Glisse <marc.glisse@inria.fr>
677 * include/bits/stl_vector.h (vector::vector(),
678 vector::vector(const allocator_type&)): Merge.
679 (_Vector_impl::_Vector_impl(_Tp_alloc_type const&),
680 _Vector_impl::_Vector_impl(_Tp_alloc_type&&),
681 _Vector_impl::_M_swap_data,
682 _Vector_base::_Vector_base(const allocator_type&),
683 _Vector_base::_Vector_base(allocator_type&&),
684 _Vector_base::_Vector_base(_Vector_base&&), _Vector_base::~_Vector_base,
685 vector::vector(const allocator_type&), vector::operator[],
686 vector::operator[] const, vector::front, vector::front const,
687 vector::back, vector::back const, vector::pop_back,
688 vector::_M_erase_at_end): Mark as noexcept.
689 * include/debug/vector (vector::vector(const _Allocator&),
690 vector::operator[], vector::operator[] const, vector::front,
691 vector::front const, vector::back, vector::back const, vector::pop_back,
692 _M_requires_reallocation, _M_update_guaranteed_capacity,
693 _M_invalidate_after_nth): Mark as noexcept.
694 * include/profile/vector (vector::vector(const _Allocator&),
695 vector::operator[], vector::operator[] const, vector::front,
696 vector::front const, vector::back, vector::back const): Mark as
698 (vector::vector(vector&&, const _Allocator&)): Remove wrong noexcept.
699 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
701 * testsuite/23_containers/vector/requirements/dr438/
702 constructor_1_neg.cc: Likewise.
703 * testsuite/23_containers/vector/requirements/dr438/
704 constructor_2_neg.cc: Likewise.
705 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
708 2013-09-14 Tim Shen <timshen91@gmail.com>
710 * include/bits/regex.h (regex_match<>, regex_search<>):
711 Change regex_executor caller. Now use their return value instead
712 of checking __m[0].matched to find out if it's successful.
713 (regex_search<>): Move the search logic to regex_executor.
714 * include/bits/regex_automaton.h: Add some new _Opcode. Refactor
716 * include/bits/regex_automaton.tcc: Add DEBUG dump for new
717 _Opcode. Refactor _NFA::_M_insert_*.
718 * include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa):
719 Use make_shared instead of construct by hand.
720 * include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion.
721 * include/bits/regex_constants.h: Fix indentation and line breaking.
722 * include/bits/regex_executor.h: Add _ResultsEntry to support
723 greedy/ungreedy mode. Move regex_search logic here.
724 * include/bits/regex_executor.tcc: Implement assertions and
725 greedy/ungreedy matching.
726 * include/bits/regex_scanner.h: Add a new token _S_token_ungreedy.
727 * include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy.
728 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New.
729 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New.
730 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
733 2013-09-13 Paolo Carlini <paolo.carlini@oracle.com>
736 * include/ext/sso_string_base.h (__sso_string_base<>::
737 __sso_string_base(__sso_string_base&&)): Fix thinkos about
738 _M_length vs _M_set_length.
739 * testsuite/ext/vstring/cons/58415-1.cc: New.
740 * testsuite/ext/vstring/cons/58415-2.cc: Likewise.
742 2013-09-12 Paolo Carlini <paolo.carlini@oracle.com>
745 * include/bits/stl_iterator.h (__normal_iterator<>::operator[],
746 operator+=, operator+, operator-=, operator-): Take the argument
748 * testsuite/24_iterators/normal_iterator/58403.cc: New.
750 2013-09-11 Mitsuru Kariya <kariya_mitsuru@hotmail.com>
751 Chris Jefferson <chris@bubblescope.net>
754 * include/bits/stl_algo.h (search_n): Fix to guarantee a number
755 of comparisons <= number of elements in the range.
756 * testsuite/25_algorithms/search_n/58358.cc: New.
757 * testsuite/25_algorithms/search_n/iterator.cc: Extend.
759 2013-09-10 Ed Smith-Rowland <3dw4rd@verizon.net>
761 * testsuite/28_regex/traits/wchar_t/value.cc: Change template args
762 from char to wchar_t, literals from 'x' to L'x'.
764 2013-09-10 Kai Tietz <ktietz@redhat.com>
767 * config/abi/pre/gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS*
770 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
773 * include/bits/stl_algobase.h (copy_backward): Fix documentation
776 2013-09-05 Tim Shen <timshen91@gmail.com>
778 * include/bits/regex_automaton.h: Add dummy node type. Rewrite
780 * include/bits/regex_automaton.tcc: Implement them.
781 * include/bits/regex_compiler.h: Rewrite _Compiler to use new
782 _StateSeq interfaces.
783 * include/bits/regex_compiler.tcc: Implement them.
784 * include/bits/regex_scanner.h: Add word boundry assertion token.
785 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
786 Support word boundry.
787 * testsuite/28_regex/algorithms/regex_match/basic/
788 string_range_02_03.cc: Remove "xfail".
789 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
791 * testsuite/28_regex/algorithms/regex_match/extended/
792 string_range_02_03.cc: Likewise.
793 * testsuite/28_regex/algorithms/regex_match/extended/
794 cstring_questionmark.cc: Remove xfail and get correct length of
796 * testsuite/28_regex/algorithms/regex_match/extended/
797 string_range_00_03.cc: Likewise.
798 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
800 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
802 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New.
804 2013-09-03 Paolo Carlini <paolo.carlini@oracle.com>
807 * include/bits/random.tcc (negative_binomial_distribution<>::
808 operator()(_UniformRandomNumberGenerator&, const param_type&)):
809 Fix typo in template argument.
810 * testsuite/26_numerics/random/negative_binomial_distribution/
811 operators/58302.cc: New.
813 2013-09-02 Tim Shen <timshen91@gmail.com>
815 * regex_automaton.h: Rearrange _NFA's layout.
816 * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
817 Rearrange _BracketMatcher's layout.
818 (_BracketMatcher<>::_M_add_char): Use set instead of vector for
820 (_BracketMatcher<>::_M_add_collating_element): Likewise.
821 (_BracketMatcher<>::_M_make_range): Likewise.
822 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
823 appropriate constructors of matchers above.
824 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
826 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
827 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
829 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
831 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
832 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
834 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
836 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
839 * include/debug/functions.h (__foreign_iterator_aux4): Use
840 sequence const_pointer as common type to compare pointers. Add a
841 fallback overload in case pointers cannot be cast to sequence
843 * testsuite/23_containers/vector/modifiers/insert/58148.cc: New.
845 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
848 * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add
849 __gnu_debug::__base calls on iterators passed to internal debug
851 (__glibcxx_check_partitioned_lower_pred): Likewise.
852 (__glibcxx_check_partitioned_upper): Likewise.
853 (__glibcxx_check_partitioned_upper_pred): Likewise.
854 (__glibcxx_check_sorted): Likewise.
855 (__glibcxx_check_sorted_pred): Likewise.
856 (__glibcxx_check_sorted_set): Likewise.
857 (__glibcxx_check_sorted_set_pred): Likewise.
858 * include/debug/functions.h (__check_partitioned_lower):
859 Remove code to detect safe iterators.
860 (__check_partitioned_upper): Likewise.
861 (__check_sorted): Likewise.
863 2013-08-29 Tim Shen <timshen91@gmail.com>
865 * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits.
866 (regex_iterator<>::regex_iterator): Return nullptr when regex_search
868 (regex_token_iterator<>::_M_end_of_seq): Should be defined true when
869 _M_result is(not isn't) nullptr.
870 * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference
872 * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add
873 _M_traits to _DFSExecutor.
874 * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to
876 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
878 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
881 2013-08-26 Tim Shen <timshen91@gmail.com>
883 * include/Makefile.am: Add regex_scanner.{h,tcc}.
884 * include/Makefile.in: Regenerate.
885 * include/bits/regex.h (match_search): Handle the `__first == __last`
887 * include/bits/regex_compiler.h: Move _Scanner...
888 * include/bits/regex_scanner.h: ...to here. New.
889 * include/bits/regex_compiler.tcc: Move _Scanner...
890 * include/bits/regex_scanner.tcc: ...to here, too. New.
891 * include/bits/regex_executor.tcc: Use value instead of reference for
893 * include/std/regex: Add regex_scanner.h
894 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
895 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
896 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
897 * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
898 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.
900 2013-08-22 Tim Shen <timshen91@gmail.com>
902 * include/bits/regex.h: Replace 8 spaces in indentation with a tab.
903 * include/bits/regex_automaton.h: Same.
904 * include/bits/regex_automaton.tcc: Same.
905 * include/bits/regex_compiler.h: Same.
906 * include/bits/regex_compiler.tcc: Same.
907 * include/bits/regex_constants.h: Same.
908 * include/bits/regex_executor.h: Same.
909 * include/bits/regex_executor.tcc: Same.
911 2013-08-22 Tim Shen <timshen91@gmail.com>
913 * include/bits/regex.h: Executor caller.
914 * include/bits/regex_executor.h: Fix empty grouping problem.
915 * include/bits/regex_executor.tcc: Same.
916 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
919 2013-08-20 Phil Muldoon <pmuldoon@redhat.com>
922 http://sourceware.org/bugzilla/show_bug.cgi?id=15195
924 * python/libstdcxx/v6/printers.py (Printer.__call__): If a value
925 is a reference, fetch referenced value.
926 (RxPrinter.invoke): Ditto.
927 * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
928 flag. Add referenced value tests.
930 2013-08-20 Tim Shen <timshen91@gmail.com>
932 * include/bits/regex_constants.h: Add underlying `unsigned int` for
933 enum syntax_option_type.
935 2013-08-18 Tim Shen <timshen91@gmail.com>
937 * include/bits/regex_automaton.h: _S_opcode_backref.
938 * include/bits/regex_automaton.tcc: Backref automaton support.
939 * include/bits/regex_compiler.tcc: Parsing support.
940 * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor.
941 * include/bits/regex_executor.tcc: Add _S_opcode_backref support.
942 * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New.
944 2013-08-16 Tim Shen <timshen91@gmail.com>
946 * include/bits/regex.h (regex_traits<>::transform_primary):
947 Avoid past-the-end dereferences.
949 2013-08-14 Paolo Carlini <paolo.carlini@oracle.com>
952 * include/bits/basic_string.h (basic_string<>::operator[]): Fix
953 _GLIBCXX_DEBUG_PEDASSERT check vs C++11.
954 * include/ext/vstring.h: Likewise.
955 * testsuite/21_strings/basic_string/element_access/char/58163.cc:
957 * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc:
959 * testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
960 * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
962 2013-08-14 Uros Bizjak <ubizjak@gmail.com>
964 * src/c++98/compatibility.cc (_ZTIe): Use
965 reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
969 2013-08-09 Tim Shen <timshen91@gmail.com>
971 * include/bits/regex_constants.h: Change syntax_option_type to enum
974 2013-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
976 * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp.
978 2013-08-08 François Dumont <fdumont@gcc.gnu.org>
980 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
981 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
983 (_Before_begin<>): Remove.
984 * include/bits/hashtable.h (_Hashtable): Inherit from
985 _Hashtable_alloc and adapt. Restore _M_before_begin field.
986 * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include.
987 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
988 access to hashtable before begin.
989 * testsuite/23_containers/unordered_set/
990 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
991 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
994 2013-08-07 Tim Shen <timshen91@gmail.com>
996 * include/Makefile.am: Adjust to new files.
997 * include/Makefile.in: Regenerate.
998 * include/bits/regex.h: Adjust to new interfaces.
999 * include/bits/regex_automaton.h: New.
1000 * include/bits/regex_automaton.tcc: New.
1001 * include/bits/regex_compiler.h: Adjust to new files.
1002 * include/bits/regex_compiler.tcc: New.
1003 * include/bits/regex_constants.h: Tail spaces.
1004 * include/bits/regex_error.h: Likewise.
1005 * include/bits/regex_executor.h: New.
1006 * include/bits/regex_executor.tcc: New.
1007 * include/std/regex: Adjust to new files.
1008 * testsuite/28_regex/algorithms/regex_match/extended/
1009 string_dispatch_01.cc: Adjust to new interfaces.
1011 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1013 * include/ext/atomicity.h: Add #pragma GCC system_header.
1015 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1018 * include/bits/random.h (cauchy_distribution<>::min,
1019 extreme_value_distribution<>::min, normal_distribution<>::min,
1020 student_t_distribution<>::min): Fix.
1021 * include/ext/random (normal_mv_distribution<>::min): Likewise.
1022 * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
1024 testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
1026 * testsuite/26_numerics/random/extreme_value_distribution/cons/
1028 testsuite/26_numerics/random/extreme_value_distribution/cons/
1029 default.cc: Likewise.
1030 * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
1032 * testsuite/26_numerics/random/normal_distribution/cons/default.cc:
1034 * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
1036 * testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
1038 * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
1039 * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
1041 * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
1043 * testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
1046 * testsuite/ext/von_mises_distribution/*: Move to...
1047 * testsuite/ext/random/von_mises_distribution/*: ... here.
1048 * testsuite/ext/triangular_distribution/*: Move to...
1049 * testsuite/ext/random/triangular_distribution/*: ... here.
1051 2013-08-06 Caroline Tice <cmtice@google.com>
1053 * fragment.am: Add XTEMPLATE_FLAGS.
1054 * configure.ac: Add definitions for --enable-vtable-verify.
1055 * acinclude.m4: Add --enable-vtable-verify and
1056 --disable-vtable-verify; define --enable-vtable-verify; define
1057 VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
1058 * config/abi/pre/gnu.ver: Export symbols for vtable verification.
1059 * libsupc++/Makefile.am: Define vtv_sources and add it to
1060 libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
1061 * libsupc++/vtv_stubs.cc: New file.
1062 * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
1063 * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
1064 VTV_CXXLINKFLAGS to CXXLINK.
1065 * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
1066 to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
1067 * src/C++11/Makefile.am: Ditto.
1068 * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
1069 * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
1070 cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
1071 * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
1072 libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
1073 cxxvtvflags to cxx_final.
1074 * testsuite/18_support/bad_exception/23591_thread-1.c: Add
1075 -fvtable-verify=none to compiler flags.
1076 * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
1078 * configure: Regenerated.
1079 * Makefile.in: Regenerated.
1080 * python/Makefile.in: Regenerated.
1081 * include/Makefile.in: Regenerated.
1082 * libsupc++/Makefile.in: Regenerated.
1083 * config.h.in: Regenerated.
1084 * po/Makefile.in: Regenerated.
1085 * src/Makefile.in: Regenerated.
1086 * src/c++98/Makefile.in: Regenerated.
1087 * src/c++11/Makefile.in: Regenerated.
1088 * doc/Makefile.in: Regenerated.
1089 * testsuite/Makefile.in: Regenerated.
1091 2013-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1093 Revert the last commit.
1095 2013-08-06 François Dumont <fdumont@gcc.gnu.org>
1097 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
1098 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
1100 (_Before_begin<>): Remove.
1101 * include/bits/hashtable.h (_Hashtable): Inherit from
1102 _Hashtable_alloc and adapt. Restore _M_before_begin field.
1103 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
1104 access to hashtable before begin.
1105 * testsuite/23_containers/unordered_set/
1106 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
1107 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1110 2013-08-03 Tim Shen <timshen91@gmail.com>
1112 Implement bracket expression.
1113 * include/bits/regex.h: Remove constexpr from "|=", etc.
1114 * include/bits/regex_compiler.h: Parse bracket expression.
1115 * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
1117 * include/bits/regex_nfa.tcc: Implement them.
1118 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1119 from regex_search to regex_match.
1120 * testsuite/28_regex/algorithms/regex_match/extended/
1121 cstring_bracket_01.cc: New.
1123 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1125 * include/debug/functions.h (__foreign_iterator_aux4):
1126 Initialize __l and __ge.
1128 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1131 * include/debug/functions.h: Include <bits/move.h>; minor formatting
1133 (__foreign_iterator_aux4): Declare __l and __ge constexpr.
1134 * include/debug/safe_iterator.h (_Safe_iterator<>::operator->):
1136 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
1137 operator->): Likewise.
1139 2013-08-01 François Dumont <fdumont@gcc.gnu.org>
1142 * include/debug/formatter.h (_Debug_msg_id): Add
1143 __msg_insert_itself_range entry.
1144 * include/debug/functions.h (_Insert_range_from_self_is_safe<>):
1145 New, indicate container types supporting self range insertion in
1147 (__foreign_iterator): New, check if an iterator points to a given
1149 * include/debug/macros.h (__glibcxx_check_insert_range): Add check
1150 using __foreign_iterator.
1151 (__gibcxx_check_insert_range_after): Likewise.
1152 * include/debug/string (_Insert_range_from_self_is_safe<>):
1153 Partially specialized to mark __gnu_debug::basic_string<> as
1154 supporting self range insert.
1155 * include/debug/list (_Insert_range_from_self_is_safe<>):
1156 Partially specialized to mark std::list as supporting self range
1157 insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
1158 * include/debug/forward_list (_Insert_range_from_self_is_safe<>):
1160 * src/c++11/debug.cc (_S_debug_messages): Add
1161 __msg_insert_itself_range_entry message.
1162 (_Error_formatter::_Parameter::_M_print_description): Display
1163 iterator sequence address rather than sequence address when the
1164 parameter type is an iterator.
1165 (_Error_formatter::_M_print_word): Enhance behavior when
1166 displaying a word with an appended '\n'.
1167 * testsuite/util/debug/checks.h (check_insert4<>): New.
1168 * testsuite/23_containers/deque/debug/insert5_neg.cc: New.
1169 * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
1170 * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
1171 * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
1172 * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
1173 * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
1176 2013-08-01 Fabien Chêne <fabien@gcc.gnu.org>
1179 * include/tr1/cmath: Remove pow(double,double) overload, remove a
1180 duplicated comment about DR 550. Add a comment to explain the
1182 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
1184 2013-07-31 Tim Shen <timshen91@gmail.com>
1186 Thompson matcher refactored. Fix grouping problem.
1187 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1188 * include/bits/regex_compiler.h: Tweak for auto switching.
1189 * include/bits/regex_grep_matcher.h: Class structure.
1190 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1191 matcher) refactoring.
1192 * include/bits/regex_nfa.h: Change _Results's interfaces.
1193 * include/std/regex: Includes <map> and <queue>.
1194 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1196 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1198 * testsuite/28_regex/algorithms/regex_match/extended/
1199 string_dispatch_01.cc: New.
1201 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
1204 * include/bits/stl_bvector.h: Use friend struct hash intead of
1205 friend class hash to work around useless warnings produced by
1207 * include/std/bitset: Likewise.
1209 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
1211 * src/c++11/functexcept.cc: Do not include the whole <regex>.
1212 * src/c++11/regex.cc: Likewise.
1214 2013-07-31 Tim Shen <timshen91@gmail.com>
1218 2013-07-31 Tim Shen <timshen91@gmail.com>
1220 Thompson matcher refactored. Fix grouping problem.
1221 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1222 * include/bits/regex_compiler.h: Tweak for auto switching.
1223 * include/bits/regex_grep_matcher.h: Class structure.
1224 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1225 matcher) refactoring.
1226 * include/bits/regex_nfa.h: Change _Results's interfaces.
1227 * include/std/regex: Includes <map> and <queue>.
1228 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1230 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1232 * testsuite/28_regex/algorithms/regex_match/extended/
1233 string_dispatch_01.cc: New.
1235 2013-07-30 Paolo Carlini <paolo.carlini@oracle.com>
1239 2013-07-30 Tim Shen <timshen91@gmail.com>
1241 Thompson matcher refactored. Fix grouping problem.
1242 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1243 * include/bits/regex_compiler.h: Tweak for auto switching.
1244 * include/bits/regex_grep_matcher.h: Class structure.
1245 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1246 matcher) refactoring.
1247 * include/bits/regex_nfa.h: Change _Results's interfaces.
1248 * include/std/regex: Includes <map> and <queue>.
1249 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1251 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1253 * testsuite/28_regex/algorithms/regex_match/extended/
1254 string_dispatch_01.cc: New.
1256 2013-07-29 Nathan Froyd <froydnj@gcc.gnu.org>
1258 * include/std/atomic (compare_exchange_weak, compare_exchange_strong):
1259 Add call to __cmpexch_failure_order.
1260 * testsuite/util/testsuite_common_types.h
1261 (compare_exchange_order_lowering): New generator.
1262 * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc:
1265 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com>
1267 * include/std/complex (pow(const complex<>&, int)): Enable in
1269 * testsuite/26_numerics/complex/dr844.cc: Adjust.
1270 * doc/xml/manual/intro.xml: Update.
1272 2013-07-25 Tim Shen <timshen91@gmail.com>
1274 Add documents and comments.
1275 * include/bits/regex.h: Documents and comments.
1276 * include/bits/regex_grep_matcher.h: Likewise.
1277 * include/bits/regex_grep_matcher.tcc: Likewise.
1278 * testsuite/28_regex/iterators/regex_iterator/char/
1279 string_position_01.cc: New.
1281 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1284 * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and
1287 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1289 * include/bits/random.h (random_device): Avoid using the FILE type.
1290 * include/std/random: Do not include <cstdio>.
1291 * src/c++11/random.cc: ... include it here.
1292 (random_device::_M_init, random_device::_M_fini,
1293 random_device::_M_getval): Cast back and forth void* and FILE*.
1295 2013-07-24 Tim Shen <timshen91@gmail.com>
1297 Reimplment matcher using Depth-first search(backtracking).
1300 * include/bits/regex.h: regex_match() and regex_search().
1301 * include/bits/regex_cursor.h: Fix _M_set_pos().
1302 * include/bits/regex_grep_matcher.h: add _M_dfs_match().
1303 * include/bits/regex_grep_matcher.tcc: Implement it.
1304 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New.
1305 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New.
1306 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
1309 2013-07-23 Tim Shen <timshen91@gmail.com>
1311 Implement regex_iterator and regex_token_iterator.
1312 * include/bits/regex.h: regex_iterator and regex_token_iterator.
1313 * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
1315 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
1317 * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
1319 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
1322 2013-07-23 Paolo Carlini <paolo.carlini@oracle.com>
1324 * include/std/random: Add back <cstdio> include.
1325 * src/c++11/random.cc: Don't include <cstdio> here.
1327 2013-07-22 Jason Merrill <jason@redhat.com>
1330 * libsupc++/atexit_thread.cc (run): Delete cleanup elts.
1332 2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
1335 * src/c++11/random.cc (random_device::_M_getval): If possible, use
1336 read instead of std::fread.
1337 * include/std/random: Do not include <cstdio> unnecessarily.
1339 2013-07-21 Tim Shen <timshen91@gmail.com>
1341 Partially implement regex_search.
1342 * include/bits/regex.h: regex_search.
1343 * include/bits/regex_grep_matcher.h: _M_search_from_first.
1344 * include/bits/regex_grep_matcher.tcc: Implement it.
1345 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
1347 2013-07-21 Jonathan Wakely <jwakely.gcc@gmail.com>
1350 * include/std/condition_variable (condition_variable_any): Move into
1351 inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
1352 * src/c++11/condition_variable.cc (condition_variable_any): Move
1354 * src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
1355 * src/Makefile.am: Add new source file.
1356 * src/Makefile.in: Regenerate.
1358 2013-07-09 Tim Shen <timshen91@gmail.com>
1360 Implement class regex_traits.
1361 * include/bits/regex.h: Implement lookup_classname and
1362 lookup_collatename; modify isctype; partially implement
1364 * testsuite/28_regex/traits/char/isctype.cc: Add more test cases.
1365 * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
1366 * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
1367 * testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
1368 * testsuite/28_regex/traits/wchar_t/isctype.cc: New.
1369 * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New.
1370 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New.
1371 * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New.
1373 2013-07-07 Ed Smith-Rowland <3dw4rd@verizon.net>
1375 * doc/xml/manual/status_cxx2014.xml: Add links for papers.
1377 2013-07-05 François Dumont <fdumont@gcc.gnu.org>
1379 * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
1381 (_MoveReuseOrAllocNode): Remove.
1382 (_Insert_base): Take a functor defining how the node is generated.
1383 * include/bits/hashtable.h: Adapt.
1384 (operator=(initializer_list<value_type>)): Reuse node if any.
1385 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1386 Adjust dg-error line number.
1387 * testsuite/23_containers/unordered_set/
1388 not_default_constructible_hash_neg.cc: Likewise.
1390 2013-07-05 Paolo Carlini <paolo.carlini@oracle.com>
1392 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1393 Tweak, avoid potential undefined behavior.
1394 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1396 * testsuite/23_containers/vector/bool/modifiers/insert/
1397 const_iterator.cc: Likewise.
1398 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1401 2013-07-04 Veres Lajos <vlajos@gmail.com>
1402 Jonathan Wakely <jwakely.gcc@gmail.com>
1404 * config/locale/generic/codecvt_members.cc: Fix typo.
1405 * configure.host: Likewise.
1406 * doc/html/manual/policy_data_structures_design.html: Likewise.
1407 * doc/xml/manual/policy_data_structures.xml: Likewise.
1408 * include/bits/hashtable.h: Likewise.
1409 * include/bits/random.h: Likewise.
1410 * include/profile/impl/profiler_trace.h: Likewise.
1411 * testsuite/23_containers/deque/cons/2.cc: Likewise.
1412 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
1413 * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise.
1414 * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
1416 2013-07-04 Ray Chason <chasonr@newsguy.com>
1417 Paolo Carlini <paolo.carlini@oracle.com>
1420 * include/bits/regex.h (regex_token_iterator<>::operator==,
1421 regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
1422 regex_token_iterator<>::operator->): Declare const.
1424 2013-07-01 Paolo Carlini <paolo.carlini@oracle.com>
1426 * include/bits/stl_list.h (list<>::insert(iterator,
1427 size_type, const value_type&), list<>::insert(iterator,
1428 initializer_list<>), list<>::insert(iterator, _InputIterator,
1429 _InputIterator), list<>::splice(iterator, list&&),
1430 list<>::splice(iterator, list&), list<>::splice(iterator, list&&,
1431 iterator), list<>::splice(iterator, list&, iterator),
1432 list<>::splice(iterator, list&&, iterator, iterator),
1433 list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11
1434 signatures to take const_iterator(s).
1435 * include/bits/list.tcc (list<>::insert(const_iterator, size_type,
1436 const value_type&), list<>::insert(const_iterator, _InputIterator,
1437 _InputIterator)): Define.
1438 * include/ext/vstring.h (__versa_string<>::insert(iterator,
1439 size_type, _CharT), __versa_string<>::insert(iterator,
1440 _InputIterator, _InputIterator), __versa_string<>::insert(iterator,
1441 std::initializer_list<>), __versa_string<>::replace(iterator,
1442 iterator, _InputIterator, _InputIterator), __versa_string<>::
1443 replace(iterator, iterator, std::initializer_list<>)): Adjust C++11
1444 signatures to take const_iterator(s).
1445 (__versa_string<>::_M_replace_dispatch): Take const_iterators.
1446 * include/ext/vstring.tcc: Likewise.
1447 * include/debug/list: Adjust.
1448 * include/profile/list: Likewise.
1449 * testsuite/23_containers/list/operations/splice/const_iterator.cc:
1451 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1453 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
1455 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
1457 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
1459 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
1462 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1463 Adjust dg-error line number.
1464 * testsuite/23_containers/list/requirements/dr438/
1465 constructor_1_neg.cc: Likewise.
1466 * testsuite/23_containers/list/requirements/dr438/
1467 constructor_2_neg.cc: Likewise.
1468 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1471 2013-06-30 Paolo Carlini <paolo.carlini@oracle.com>
1473 * include/bits/stl_deque.h (deque<>::insert(iterator,
1474 size_type, const value_type&), deque<>::insert(iterator,
1475 initializer_list<>), deque<>::insert(iterator, _InputIterator,
1476 _InputIterator)): Adjust C++11 signatures to take a const_iterator.
1477 * include/bits/stl_vector.h: Likewise.
1478 * include/bits/stl_bvector.h: Likewise.
1479 * include/debug/deque: Adjust.
1480 * include/debug/vector: Likewise.
1481 * include/profile/deque: Likewise.
1482 * include/profile/vector: Likewise.
1483 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1485 * testsuite/23_containers/vector/bool/modifiers/insert/
1486 const_iterator.cc: Likewise.
1487 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1490 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1491 Adjust dg-error line number.
1492 * testsuite/23_containers/deque/requirements/dr438/
1493 constructor_1_neg.cc: Likewise.
1494 * testsuite/23_containers/deque/requirements/dr438/
1495 constructor_2_neg.cc: Likewise.
1496 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1498 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1500 * testsuite/23_containers/vector/requirements/dr438/
1501 constructor_1_neg.cc: Likewise.
1502 * testsuite/23_containers/vector/requirements/dr438/
1503 constructor_2_neg.cc: Likewise.
1504 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1507 2013-06-29 François Dumont <fdumont@gcc.gnu.org>
1509 * include/bits/hashtable_policy.h (_Insert_base): Consider hint in
1511 * include/bits/hashtable.h: Likewise.
1512 * testsuite/23_containers/unordered_multimap/insert/hint.cc: New.
1513 * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc:
1515 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1516 Adjust dg-error line number.
1517 * testsuite/23_containers/unordered_set/
1518 not_default_constructible_hash_neg.cc: Likewise.
1519 * doc/xml/manual/containers.xml: Document hinting in unordered
1522 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1524 * testsuite/21_strings/basic_string/operations/*: Move inside
1525 testsuite/21_strings/basic_string/operations/data/.
1526 * testsuite/21_strings/basic_string/compare/*: Move inside
1527 testsuite/21_strings/basic_string/operations/.
1528 * testsuite/21_strings/basic_string/find/*: Likewise.
1529 * testsuite/21_strings/basic_string/rfind/*: Likewise.
1530 * testsuite/21_strings/basic_string/substr/*: Likewise.
1532 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1534 * testsuite/21_strings/basic_string/append/*: Move inside
1535 testsuite/21_strings/basic_string/modifiers/.
1536 * testsuite/21_strings/basic_string/assign/*: Likewise.
1537 * testsuite/21_strings/basic_string/insert/*: Likewise.
1538 * testsuite/21_strings/basic_string/replace/*: Likewise.
1539 * testsuite/21_strings/basic_string/modifiers/pop_back/char/
1540 pop_back.cc: Rename to 1.cc.
1541 * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/
1542 pop_back.cc: Likewise.
1543 * testsuite/ext/vstring/assign/*: Move inside
1544 testsuite/ext/vstring/modifiers/.
1546 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1548 * include/bits/stl_deque.h (deque<>::insert(iterator,
1549 const value_type&), deque<>::insert(iterator, value_type&&),
1550 deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to
1551 take a const_iterator.
1552 (deque<>::erase): Simplify.
1553 * include/bits/stl_list.h: Likewise.
1554 (_List_iterator<>::_M_const_cast): Add.
1555 * include/bits/stl_vector.h: Likewise.
1556 * include/bits/stl_bvector.h: Likewise.
1557 (_Bit_iterator::_M_const_cast): Add.
1558 * include/bits/deque.tcc: Adjust definitions.
1559 * include/bits/list.tcc: Likewise.
1560 * include/bits/vector.tcc: Likewise.
1561 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
1562 Define trivial version in C++98 mode.
1563 * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT),
1564 __versa_string<>::replace(iterator, iterator, const __versa_string&),
1565 __versa_string<>::replace(iterator, iterator, const _CharT*,
1566 size_type), __versa_string<>::replace(iterator, iterator,
1567 const _CharT*), __versa_string<>::replace(iterator, iterator,
1568 size_type, _CharT)): Adjust C++11 signatures to take a pair of
1570 * include/debug/deque: Adjust.
1571 * include/debug/list: Likewise.
1572 * include/debug/vector: Likewise.
1573 * include/profile/deque: Likewise.
1574 * include/profile/list: Likewise.
1575 * include/profile/vector: Likewise.
1576 (vector<>::emplace): Add.
1577 * testsuite/util/exception/safety.h: Update.
1578 * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
1580 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1582 * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
1584 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1586 * testsuite/23_containers/vector/bool/modifiers/insert/
1587 const_iterator.cc: Likewise.
1588 * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
1590 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1592 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
1594 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
1596 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
1598 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
1601 * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/
1602 ext/vstring/modifiers/erase/char/.
1603 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/
1604 ext/vstring/modifiers/wchar_t/.
1605 * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/
1606 ext/vstring/modifiers/pop_back/char/.
1607 * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to
1608 testsuite/ext/vstring/modifiers/pop_back/wchar_t/.
1610 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1611 Adjust dg-error line number.
1612 * testsuite/23_containers/deque/requirements/dr438/
1613 constructor_1_neg.cc: Likewise.
1614 * testsuite/23_containers/deque/requirements/dr438/
1615 constructor_2_neg.cc: Likewise.
1616 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1618 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1620 * testsuite/23_containers/list/requirements/dr438/
1621 constructor_1_neg.cc: Likewise.
1622 * testsuite/23_containers/list/requirements/dr438/
1623 constructor_2_neg.cc: Likewise.
1624 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1626 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1628 * testsuite/23_containers/vector/requirements/dr438/
1629 constructor_1_neg.cc: Likewise.
1630 * testsuite/23_containers/vector/requirements/dr438/
1631 constructor_2_neg.cc: Likewise.
1632 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1635 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>
1637 Status page for C++2014 library features
1638 * doc/xml/faq.xml: Add link to new C++14 status page.
1639 * doc/xml/manual/intro.xml: Ditto.
1640 * doc/xml/manual/status_cxx2014.xml: New.
1642 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
1644 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid
1645 spurious fails with check-debug.
1646 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc:
1648 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.
1649 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc:
1652 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
1655 * include/bits/char_traits.h (char_traits<char>::lt): Implement
1657 * testsuite/21_strings/char_traits/requirements/char/57704.cc: New.
1659 2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
1662 * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
1663 declare per the letter of the C++ standard in terms of void.
1664 * include/c_std/cstdlib: Likewise.
1666 2013-06-22 Paolo Carlini <paolo.carlini@oracle.com>
1669 * include/bits/random.h (binomial_distribution<>::_M_waiting):
1670 Add double parameter.
1671 * include/bits/random.tcc (binomial_distribution<>::operator()
1672 (_UniformRandomNumberGenerator&, const param_type&)): Pass
1673 __param._M_q to _M_waiting.
1674 (_M_waiting): Adjust.
1675 * testsuite/26_numerics/random/binomial_distribution/
1676 operators/values.cc: Add tests.
1678 2013-06-21 Paolo Carlini <paolo.carlini@oracle.com>
1681 * include/std/valarray (valarray<>::operator=(const _Expr<>&)):
1682 Implement correctly C++11 26.6.2.3/1.
1683 * testsuite/26_numerics/valarray/dr630-3.C: New.
1685 2013-06-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1688 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
1689 functionality to new __timed_mutex_impl mixin. Overload try_lock_until
1690 to handle conversion between different clocks. Replace constrained
1691 __try_lock_for_impl overloads with conditional increment.
1692 * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
1693 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
1695 2013-06-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1696 Chris Jefferson <chris@bubblescope.net>
1698 * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671
1699 dispatch to traditional std::equal for random-access iterators.
1700 (__equal2_aux, __equal2): Remove.
1701 (__equal::equal): Remove unused overloads.
1702 * include/bits/stl_algo.h (is_permutation): Fix typos.
1704 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1706 * include/std/shared_mutex (shared_lock::operator=): Add missing
1709 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1712 * include/bits/forward_list.h (_Fwd_list_base): Convert to/from
1713 allocator's pointer type.
1714 * include/bits/hashtable.h (_Hashtable): Likewise.
1715 * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
1716 * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
1717 * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
1718 * testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
1720 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1722 * include/std/shared_mutex: Implement N3659.
1723 * include/bits/c++14_warning.h: New.
1724 * include/Makefile.am: Add new headers.
1725 * include/Makefile.in: Regenerate.
1726 * testsuite/30_threads/shared_lock/cons/1.cc: New.
1727 * testsuite/30_threads/shared_lock/locking/2.cc: New.
1728 * testsuite/30_threads/shared_lock/cons/2.cc: New.
1729 * testsuite/30_threads/shared_lock/locking/3.cc: New.
1730 * testsuite/30_threads/shared_lock/cons/3.cc: New.
1731 * testsuite/30_threads/shared_lock/locking/4.cc: New.
1732 * testsuite/30_threads/shared_lock/cons/4.cc: New.
1733 * testsuite/30_threads/shared_lock/modifiers/1.cc: New.
1734 * testsuite/30_threads/shared_lock/cons/5.cc: New.
1735 * testsuite/30_threads/shared_lock/modifiers/2.cc: New.
1736 * testsuite/30_threads/shared_lock/cons/6.cc: New.
1737 * testsuite/30_threads/shared_lock/requirements/
1738 explicit_instantiation.cc: New.
1739 * testsuite/30_threads/shared_lock/locking/1.cc: New.
1740 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
1741 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
1742 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
1743 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
1744 * testsuite/30_threads/shared_mutex/requirements/
1745 standard_layout.cc: New.
1746 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
1747 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
1749 2013-06-15 Paolo Carlini <paolo.carlini@oracle.com>
1752 * include/bits/unordered_map.h (unordered_map<>::insert,
1753 unordered_multimap<>::insert): Use std::forward, not std::move.
1754 * testsuite/23_containers/unordered_map/insert/57619.C: New.
1755 * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
1757 2013-06-14 Alan Modra <amodra@gmail.com>
1759 * configure.host (abi_baseline_pair): Match powerpc64*.
1761 2013-06-13 Daniel Krugler <daniel.kruegler@gmail.com>
1763 * include/std/type_traits (is_function): Support ref-qualified
1765 (is_copy_constructible, is_move_constructible, is_copy_assignable,
1766 is_move_assignable, is_nothrow_copy_constructible,
1767 is_nothrow_move_constructible, is_nothrow_copy_assignable,
1768 is_nothrow_move_assignable): Implement LWG 2196.
1769 (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement
1771 (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove,
1773 * testsuite/20_util/add_lvalue_reference/value.cc: Extend.
1774 * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
1775 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
1776 * testsuite/20_util/is_assignable/value.cc: Likewise.
1777 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
1778 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1779 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1780 * testsuite/20_util/is_function/value.cc: Likewise.
1781 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1782 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1783 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1784 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1785 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1786 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1788 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1790 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1792 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1795 2013-06-13 Paolo Carlini <paolo.carlini@oracle.com>
1797 * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(),
1798 __gnu_cxx::__airy_bi()): Remove.
1799 * testsuite/tr1/5_numerical_facilities/special_functions/
1800 10_cyl_bessel_k/airy.cc: Fix.
1802 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net>
1805 * include/tr1/modified_bessel_func.tcc (__airy): Remove return
1807 (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
1808 * testsuite/tr1/5_numerical_facilities/special_functions/
1809 10_cyl_bessel_k/airy.cc: New.
1811 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
1813 Fix library literals error involving namespace __detail.
1814 * include/std/chrono: Rename __detail to __select_type. Reformat.
1815 * include/bits/basic_string.h: Reformat.
1816 * testsuite/20_util/duration/literals/ns_detail.cc: New.
1818 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com>
1821 * include/c_global/cstddef (max_align_t): Add to namespace std.
1822 * include/c_std/cstddef: Likewise.
1823 * testsuite/18_support/max_align_t/requirements/1.cc: New.
1824 * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
1826 2013-06-10 Benjamin Kosnik <bkoz@redhat.com>
1828 * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
1829 * include/bits/stl_map.h (erase): Use abi_tag when C++11.
1830 * include/bits/stl_multimap.h: Same.
1831 * include/bits/stl_multiset.h: Same.
1832 * include/bits/stl_set.h: Same.
1833 * include/bits/stl_tree.h: Same.
1834 * include/std/complex (real, imag): Use macro for abi_tag.
1836 * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
1837 * testsuite/util/testsuite_containers.h (erase_external): New
1839 (erase_external_iterators): Same.
1840 (linkage_check_cxx98_cxx11_erase): Same.
1841 (linkage_check_cxx98_cxx11_erase_iterators): Same.
1842 * testsuite/util/testsuite_shared.cc: Define.
1843 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
1844 * testsuite/23_containers/map/modifiers/erase/
1845 dr130-linkage-check.cc: New.
1846 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
1847 * testsuite/23_containers/multimap/modifiers/erase/
1848 dr130-linkage-check.cc: New.
1849 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
1850 * testsuite/23_containers/multiset/modifiers/erase/
1851 dr130-linkage-check.cc: New.
1852 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
1853 * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
1855 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
1857 * testsuite/23_containers/map/dr130.cc: Move...
1858 * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
1859 * testsuite/23_containers/multimap/dr130.cc: Move ...
1860 * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
1861 * testsuite/23_containers/multiset/dr130.cc: Move...
1862 * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
1863 * testsuite/23_containers/set/dr130.cc: Move...
1864 * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
1866 2013-06-10 Thomas Schwinge <thomas@codesourcery.com>
1868 * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
1869 handling of Linux-based x86 systems to cover all GNU systems.
1870 * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
1871 * testsuite/18_support/pthread_guard.cc: Likewise.
1872 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
1874 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
1876 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
1877 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
1878 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
1879 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1880 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
1881 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
1882 * testsuite/23_containers/list/pthread1.cc: Likewise.
1883 * testsuite/23_containers/list/pthread5.cc: Likewise.
1884 * testsuite/23_containers/map/pthread6.cc: Likewise.
1885 * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
1887 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
1889 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
1890 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
1891 * testsuite/30_threads/async/42819.cc: Likewise.
1892 * testsuite/30_threads/async/49668.cc: Likewise.
1893 * testsuite/30_threads/async/54297.cc: Likewise.
1894 * testsuite/30_threads/async/any.cc: Likewise.
1895 * testsuite/30_threads/async/async.cc: Likewise.
1896 * testsuite/30_threads/async/launch.cc: Likewise.
1897 * testsuite/30_threads/async/sync.cc: Likewise.
1898 * testsuite/30_threads/call_once/39909.cc: Likewise.
1899 * testsuite/30_threads/call_once/49668.cc: Likewise.
1900 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
1901 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
1902 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
1903 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
1904 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
1905 * testsuite/30_threads/condition_variable/members/53841.cc:
1907 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
1909 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
1910 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
1911 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
1912 * testsuite/30_threads/condition_variable_any/members/1.cc:
1914 * testsuite/30_threads/condition_variable_any/members/2.cc:
1916 * testsuite/30_threads/future/cons/move.cc: Likewise.
1917 * testsuite/30_threads/future/members/45133.cc: Likewise.
1918 * testsuite/30_threads/future/members/get.cc: Likewise.
1919 * testsuite/30_threads/future/members/get2.cc: Likewise.
1920 * testsuite/30_threads/future/members/share.cc: Likewise.
1921 * testsuite/30_threads/future/members/valid.cc: Likewise.
1922 * testsuite/30_threads/future/members/wait.cc: Likewise.
1923 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
1924 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
1925 * testsuite/30_threads/lock/1.cc: Likewise.
1926 * testsuite/30_threads/lock/2.cc: Likewise.
1927 * testsuite/30_threads/lock/3.cc: Likewise.
1928 * testsuite/30_threads/lock/4.cc: Likewise.
1929 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
1930 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
1931 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
1932 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
1933 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
1934 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
1935 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
1936 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
1937 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
1938 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
1939 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
1940 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
1941 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
1942 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
1943 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
1944 * testsuite/30_threads/packaged_task/cons/move_assign.cc:
1946 * testsuite/30_threads/packaged_task/members/get_future.cc:
1948 * testsuite/30_threads/packaged_task/members/get_future2.cc:
1950 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
1951 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
1952 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
1953 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
1954 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
1955 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
1956 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
1957 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
1958 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
1959 * testsuite/30_threads/promise/cons/1.cc: Likewise.
1960 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
1961 * testsuite/30_threads/promise/cons/move.cc: Likewise.
1962 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
1963 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
1964 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
1965 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
1966 * testsuite/30_threads/promise/members/set_exception2.cc:
1968 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
1969 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
1970 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
1971 * testsuite/30_threads/promise/members/swap.cc: Likewise.
1972 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
1973 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
1975 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
1976 * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
1978 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
1980 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
1981 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
1982 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
1983 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
1984 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
1986 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
1987 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
1988 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
1990 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
1992 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
1994 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
1996 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
1998 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2000 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2002 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2004 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2006 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
2008 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
2009 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
2010 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
2011 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
2012 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
2013 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
2014 * testsuite/30_threads/shared_future/members/wait_for.cc:
2016 * testsuite/30_threads/shared_future/members/wait_until.cc:
2018 * testsuite/30_threads/this_thread/1.cc: Likewise.
2019 * testsuite/30_threads/this_thread/2.cc: Likewise.
2020 * testsuite/30_threads/this_thread/3.cc: Likewise.
2021 * testsuite/30_threads/this_thread/4.cc: Likewise.
2022 * testsuite/30_threads/thread/cons/1.cc: Likewise.
2023 * testsuite/30_threads/thread/cons/2.cc: Likewise.
2024 * testsuite/30_threads/thread/cons/3.cc: Likewise.
2025 * testsuite/30_threads/thread/cons/4.cc: Likewise.
2026 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
2027 * testsuite/30_threads/thread/cons/5.cc: Likewise.
2028 * testsuite/30_threads/thread/cons/6.cc: Likewise.
2029 * testsuite/30_threads/thread/cons/7.cc: Likewise.
2030 * testsuite/30_threads/thread/cons/8.cc: Likewise.
2031 * testsuite/30_threads/thread/cons/9.cc: Likewise.
2032 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
2033 * testsuite/30_threads/thread/members/1.cc: Likewise.
2034 * testsuite/30_threads/thread/members/2.cc: Likewise.
2035 * testsuite/30_threads/thread/members/3.cc: Likewise.
2036 * testsuite/30_threads/thread/members/4.cc: Likewise.
2037 * testsuite/30_threads/thread/members/5.cc: Likewise.
2038 * testsuite/30_threads/thread/members/hardware_concurrency.cc:
2040 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
2041 * testsuite/30_threads/thread/native_handle/typesizes.cc:
2043 * testsuite/30_threads/thread/swap/1.cc: Likewise.
2044 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2045 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
2047 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2048 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2049 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
2051 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2052 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2053 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2054 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2055 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2056 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2057 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2058 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2059 * testsuite/30_threads/try_lock/1.cc: Likewise.
2060 * testsuite/30_threads/try_lock/2.cc: Likewise.
2061 * testsuite/30_threads/try_lock/3.cc: Likewise.
2062 * testsuite/30_threads/try_lock/4.cc: Likewise.
2063 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2064 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2065 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2066 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2067 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2068 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2069 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2070 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2071 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2072 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2073 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2074 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2075 * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
2076 * testsuite/ext/profile/mh.cc: Likewise.
2077 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
2078 * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
2079 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
2081 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
2083 * testsuite/util/testsuite_performance.h: Extend current handling
2084 of Linux-based systems to cover all glibc-based systems.
2086 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2088 * include/std/mutex (call_once): Remove parentheses to fix error in
2089 c++1y and gnu++1y mode.
2090 * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
2091 thread to avoid undefined behaviour.
2093 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2095 Simplify and clean up library literals.
2096 * include/std/chrono: Simplify namespace and versioning management.
2097 * include/bits/basic_string.h: Ditto.
2098 * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
2099 * testsuite/20_util/duration/literals/values.cc: Ditto.
2100 * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
2101 * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
2103 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2105 Implement N3654 - Quoted Strings Library Proposal
2106 * include/std/iomanip: Add quoted(String, Char delim, Char escape)
2107 manipulators and supporting machinery in c++1y mode.
2108 * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
2109 * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
2111 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2113 * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
2116 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2118 * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
2119 * include/bits/stl_algobase.h (equal, mismatch): Likewise.
2120 * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
2121 * testsuite/25_algorithms/equal/2.cc: New.
2122 * testsuite/25_algorithms/equal/check_type2.cc: New.
2123 * testsuite/25_algorithms/is_permutationqual/2.cc: New.
2124 * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
2125 * testsuite/25_algorithms/mismatch/2.cc: New.
2126 * testsuite/25_algorithms/mismatch/check_type2.cc: New.
2127 * testsuite/util/testsuite_iterators.h: Fix spelling.
2129 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2131 * include/std/type-traits (integral_constant::operator()): Implement
2133 * testsuite/20_util/integral_constant/call_operator.cc: New.
2134 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2136 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2138 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2141 2013-06-07 Uros Bizjak <ubizjak@gmail.com>
2143 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2145 2013-06-05 Tom Tromey <tromey@redhat.com>
2147 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
2149 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com>
2152 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
2154 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net>
2156 * include/std/chrono: Collapse redundant 'inline' from 'inline
2158 * include/std/tuple: Ditto.
2159 * include/bits/move.h: Ditto.
2161 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
2163 Implement N3642 - User-defined Literals for Standard Library Types
2164 * include/bits/parse_numbers.h: New.
2165 * include/std/chrono: Add duration literal operators.
2166 * include/bits/basic_string.h: Add string literal operators.
2167 * include/Makefile.in: Add parse_numbers.h.
2168 * include/Makefile.am: Ditto.
2169 * testsuite/20_util/duration/literals/values.cc: New.
2170 * testsuite/20_util/duration/literals/types.cc: New.
2171 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
2172 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
2173 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
2174 * testsuite/21_strings/basic_string/literals/values.cc: New.
2175 * testsuite/21_strings/basic_string/literals/types.cc: New.
2177 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2179 * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
2180 !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
2181 calling non-existent from_time_t.
2183 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2185 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2188 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
2190 * include/std/chrono: Wrap clocks in inline namespace _V2.
2191 * src/c++11/chrono.cc: Same.
2192 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
2193 file, with default configure macros selected.
2195 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
2197 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
2199 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
2200 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
2201 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
2203 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2205 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
2206 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
2208 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
2209 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
2210 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
2211 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
2212 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
2213 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2215 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
2216 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
2218 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2220 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
2221 (CLOCK_MONOTONIC): Define.
2223 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2225 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
2228 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
2230 2013-05-24 Jakub Jelinek <jakub@redhat.com>
2232 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
2233 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
2234 don't define system_clock::is_steady, system_clock::now() and
2235 steady_clock::is_steady.
2236 (std::chrono::system_clock::now()): If
2237 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
2238 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
2239 (std::chrono::system_clock::now()): Likewise. Add weak attribute
2240 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
2242 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
2243 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
2244 * src/c++11/compatibility-chrono.cc: New file.
2245 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
2246 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
2247 * testsuite/util/testsuite_abi.cc (check_version): Add
2248 GLIBCXX_3.4.20 version and make it the latest.
2249 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
2250 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
2251 @@GLIBCXX_3.4.20 instead.
2252 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
2253 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
2254 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
2256 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2258 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
2259 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
2261 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
2262 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
2263 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
2264 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
2265 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
2266 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2268 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
2269 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
2270 * config.h.in: Regenerated.
2271 * src/Makefile.in: Regenerated.
2272 * configure: Regenerated.
2274 2013-05-23 Matthias Klose <doko@ubuntu.com>
2276 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
2277 (ext_headers): Remove ${ext_host_headers}.
2278 (stamp-${host_alias}): Create ${host_builddir}/../ext.
2279 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
2280 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
2281 * include/Makefile.in: Regenerate.
2282 * include/ext/random: Include ext/opt_random.h.
2284 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2286 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
2287 enable features if target OS is known to support them.
2288 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
2289 * configure: Regenerate.
2291 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2294 * include/std/functional (__invoke): Do not form function types with
2295 abstract return type.
2296 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
2298 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
2300 * include/std/tuple (get): Implement N3670.
2301 * include/std/utility (get): Likewise.
2302 * testsuite/20_util/pair/get.cc: Move to ...
2303 * testsuite/20_util/pair/astuple/get.cc: Here.
2304 * testsuite/20_util/pair/astuple/astuple.cc: New.
2305 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
2306 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
2307 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
2308 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
2309 * testsuite/20_util/pair/astuple/get_neg.cc: New.
2310 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
2311 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
2312 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
2314 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2316 * Revert last commit.
2318 2013-05-19 Matthias Klose <doko@ubuntu.com>
2320 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
2321 (ext_headers): Remove ${ext_host_headers}.
2322 (stamp-${host_alias}): Create ${host_builddir}/../ext.
2323 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
2324 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
2325 * include/Makefile.in: Regenerate.
2327 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2329 * include/std/system_error (error_category::error_category()): LWG
2330 2145: Declare public and constexpr.
2331 * src/c++11/system_error.cc (error_category::error_category()): Move
2333 * src/c++11/compatibility-c++0x.cc: Here.
2335 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2337 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
2339 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2341 * include/bits/unique_ptr.h (make_unique): Declare inline.
2342 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
2343 (default_delete, unique_ptr): Add doxygen comments.
2344 * include/bits/shared_ptr_base.h: Improve doxygen comments.
2345 * include/bits/shared_ptr.h: Likewise.
2346 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
2348 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
2350 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2352 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
2354 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2356 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
2358 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2360 * include/std/utility (exchange): Define.
2361 * testsuite/20_util/exchange/1.cc: New.
2363 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2365 * include/bits/unique_ptr.h (make_unique): Define.
2366 * testsuite/20_util/unique_ptr/creation/single.cc: New.
2367 * testsuite/20_util/unique_ptr/creation/array.cc: New.
2368 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
2370 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
2372 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
2373 rendering of std::tr1 unordered containers iterator.
2374 (StdHashtableIterator): New, render std unordered containers iterator.
2375 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
2377 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
2379 * include/bits/basic_string.h (getline): Fix doxygen comments.
2381 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
2383 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2384 Use std::pointer_traits.
2386 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
2388 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
2390 * libsupc++/Makefile.in: Regenerate.
2391 * libsupc++/bad_array_length.cc: Tweak.
2392 * libsupc++/bad_array_new.cc: Tweak.
2394 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
2397 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
2398 (_Deque_iterator<>::_M_const_cast): Add.
2399 (deque<>::_M_erase): Declare.
2400 * include/bits/deque.tcc: ... and define.
2401 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
2402 (_List_const_iterator<>::_M_const_cast): Add.
2403 * include/bits/list.tcc (erase (iterator)): Fix.
2404 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2405 Add; include <ext/cast.h>.
2406 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
2407 (vector<>::_M_erase): Declare.
2408 * include/bits/stl_bvector.h: Likewise.
2409 * include/bits/vector.tcc (vector<>::_M_erase): Define.
2410 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
2411 * include/debug/deque: Adjust.
2412 * include/debug/list: Likewise.
2413 * include/debug/vector: Likewise.
2414 * include/profile/deque: Likewise.
2415 * include/profile/list: Likewise.
2416 * include/profile/vector: Likewise.
2417 * testsuite/util/exception/safety.h (erase_base<deque>,
2418 erase_base<deque>, erase_base<vector>): Remove.
2419 (erase_base<__versa_string>): Update.
2420 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
2421 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
2422 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
2423 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
2424 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
2426 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
2427 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2428 Adjust dg-error line numbers.
2429 * testsuite/23_containers/deque/requirements/dr438/
2430 constructor_1_neg.cc: Likewise.
2431 * testsuite/23_containers/deque/requirements/dr438/
2432 constructor_2_neg.cc: Likewise.
2433 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2435 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2437 * testsuite/23_containers/list/requirements/dr438/
2438 constructor_1_neg.cc: Likewise.
2439 * testsuite/23_containers/list/requirements/dr438/
2440 constructor_2_neg.cc: Likewise.
2441 * testsuite/23_containers/list/requirements/dr438/
2442 insert_neg.cc: Likewise.
2443 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2445 * testsuite/23_containers/vector/requirements/dr438/
2446 constructor_1_neg.cc: Likewise.
2447 * testsuite/23_containers/vector/requirements/dr438/
2448 constructor_2_neg.cc: Likewise.
2449 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2452 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
2454 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
2456 2013-05-08 Jason Merrill <jason@redhat.com>
2458 Add std::bad_array_length (N3639)
2459 * libsupc++/new: Add std::bad_array_length.
2460 * libsupc++/bad_array_length.cc: New.
2461 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
2462 * libsupc++/Makefile.in: Build them.
2463 * config/abi/pre/gnu.ver: Add new symbols.
2464 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
2466 2013-05-08 Andi Kleen <ak@linux.intel.com>
2469 * libstdc++-v3/include/bits/atomic_base.h
2470 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
2471 (atomic_thread_fence, atomic_signal_fence, test_and_set,
2472 clear, store, load, exchange, compare_exchange_weak)
2473 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
2474 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
2476 2013-05-08 Jason Merrill <jason@redhat.com>
2478 Add std::bad_array_new_length (N2932)
2479 * libsupc++/new: Add std::bad_array_new_length.
2480 * libsupc++/bad_array_new.cc: New.
2481 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
2482 * libsupc++/Makefile.in: Build them.
2483 * config/abi/pre/gnu.ver: Add new symbols.
2484 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
2486 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
2489 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
2491 * include/Makefile.in: Regenerated.
2493 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
2495 * include/profile/unordered_base.h: New.
2496 * include/Makefile.am: Add new profile header.
2497 * include/Makefile.in: Regenerate.
2498 * include/profile/impl/profiler.h
2499 (__profcxx_inefficient_hash_is_on): New macro.
2500 * include/profile/unordered_map (std::profile::unordered_map<>):
2501 Use new _Unordered_profile base class. Use default implementations
2502 for special functions.
2503 (std::profile::unordered_multimap<>): Likewise.
2504 * include/profile/unordered_set (std::profile::unordered_set<>):
2506 (std::profile::unordered_multiset<>): Likewise.
2507 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
2508 MoveOnly equality operator signature.
2510 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2512 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
2513 constexpr_data.cc: Move...
2514 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
2516 * testsuite/20_util/integral_constant/requirements/
2517 explicit_instantiation.cc: New.
2518 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
2520 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
2521 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
2523 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
2524 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
2526 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2528 * include/std/type_traits (is_null_pointer): Add.
2529 (__is_nullptr_t): Implement in terms of the latter.
2530 (is_fundamental, is_scalar): Adjust.
2531 * testsuite/20_util/is_null_pointer/requirements/
2532 explicit_instantiation.cc: New.
2533 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
2535 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
2536 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2538 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2540 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2543 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2545 * include/c_global/cstdio: Add comment about LWG 2249.
2546 * include/c_std/cstdio: Likewise.
2548 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2550 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
2552 * include/std/mutex (__recursive_mutex_base): Likewise.
2554 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2557 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
2558 implement EBO safely.
2559 (_Sp_counted_base::_M_get_deleter): Add noexcept.
2560 (_Sp_counter_ptr): Use noexcept instead of comments.
2561 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
2562 (_Sp_counted_ptr_inplace): Likewise.
2563 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
2564 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
2565 custom allocator and test construction with custom allocator.
2566 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
2569 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
2571 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
2572 dialect to -std=gnu++11.
2574 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
2576 * include/bits/hashtable_policy.h
2577 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
2578 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
2580 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
2582 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
2583 * include/c_std/cstdio (gets): Likewise.
2584 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
2586 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
2589 * include/debug/unordered_map (unordered_map, unordered_multimap):
2590 Fix default allocator type.
2591 * include/profile/unordered_map (unordered_map, unordered_multimap):
2593 * include/bits/unordered_map.h: Fix comments.
2595 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
2598 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
2599 move implementation to make_exception_ptr.
2600 * include/std/future (_State_base::_M_break_promise): Replace
2601 copy_exception with make_exception_ptr.
2602 * testsuite/18_support/exception_ptr/move.cc: Likewise.
2603 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
2604 * testsuite/30_threads/future/members/get2.cc: Likewise.
2605 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
2606 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
2607 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
2608 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
2610 2013-04-22 Jason Merrill <jason@redhat.com>
2612 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
2614 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
2615 substitution" lines.
2617 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
2619 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
2620 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
2621 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
2623 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
2625 * include/bits/hashtable_policy.h: Add C++11 allocator support.
2626 * include/bits/hashtable.h: Likewise.
2627 * include/bits/unordered_set.h: Likewise.
2628 * include/bits/unordered_map.h: Likewise.
2629 * include/debug/unordered_set: Likewise.
2630 * include/debug/unordered_map: Likewise.
2631 * include/std/unordered_set: Remove bits/algobase.h
2632 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
2633 * include/std/unordered_map: Likewise.
2634 * include/ext/throw_allocator.h: Add checks on calls to allocator
2636 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
2637 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
2638 * testsuite/util/regression/rand/priority_queue
2639 /container_rand_regression_test.tcc: Adapt.
2640 * testsuite/util/regression/rand/assoc
2641 /container_rand_regression_test.tcc: Likewise.
2642 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
2643 * testsuite/23_containers/unordered_set
2644 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
2645 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
2646 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
2647 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
2648 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
2649 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
2650 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
2651 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
2652 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
2653 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
2655 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
2656 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
2658 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
2659 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
2660 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
2661 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
2662 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
2663 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
2664 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
2666 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
2667 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
2668 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
2670 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
2671 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
2673 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
2674 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
2676 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
2678 * include/std/type_traits (is_signed): Simplify.
2679 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2680 Adjust dg-error line numbers.
2681 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2683 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2685 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
2688 * include/std/complex (complex<float>::real, complex<float>::imag,
2689 complex<double>::real, complex<double>::imag,
2690 complex<long double>::real, complex<long double>::imag): Declare
2691 as const member functions.
2692 * include/std/type_traits (integral_constant<>::operator value_type):
2695 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
2698 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
2699 * testsuite/25_algorithms/pop_heap/57010.cc: New.
2701 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
2703 * src/c++11/system_error.cc (generic_category_instance): Add
2705 (system_category_instance): Likewise.
2706 * src/c++11/future.cc (__fec): Likewise.
2708 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2710 * doc/xml/manual/extensions.xml: Fix anachronism.
2712 2013-04-09 Tom Tromey <tromey@redhat.com>
2714 * configure, config.h.in: Rebuild.
2715 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
2717 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
2719 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
2721 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2723 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
2725 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
2727 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
2729 * include/Makefile.am: Add ext/aligned_buffer.h
2730 * include/Makefile.in: Regenerate.
2731 * include/ext/aligned_buffer.h: New.
2732 * include/std/future (_Result): Use __aligned_buffer.
2733 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
2734 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
2735 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
2738 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
2740 * include/bits/forward_list.h: Only include required headers.
2741 (forward_list::reference): Define directly, not using __alloc_traits.
2742 (forward_list::const_reference): Likewise.
2744 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
2746 * include/std/functional (_Derives_from_unary_function): Remove.
2747 (_Derives_from_binary_function): Remove.
2748 * include/std/type_traits (__sfinae_types): Remove.
2749 (__is_assignable_helper): Adapt.
2750 (__is_convertible_helper): Adapt.
2751 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
2752 Remove several explicit instantiations of integral_constant.
2753 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
2754 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2755 Adapt dg-error line number.
2756 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2758 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
2759 * testsuite/20_util/bind/ref_neg.cc: Likewise.
2761 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
2764 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
2765 get_terminate() accessors.
2766 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
2767 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
2769 * libsupc++/new_handler.cc: Likewise.
2771 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
2773 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
2775 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
2778 * include/debug/array (tuple_size, tuple_element): Do not declare.
2779 * include/profile/array: Likewise.
2780 * testsuite/23_containers/array/tuple_interface/
2781 tuple_element_debug_neg.cc: Adjust dg-error line number.
2783 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
2785 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
2786 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
2788 (set_terminate(terminate_handler)): Set atomically.
2789 (set_unexpected(terminate_handler)): Likewise.
2790 * libsupc++/new (get_new_handler()): Declare.
2791 * libsupc++/new_handler.cc (get_new_handler()): Define.
2792 (set_new_handler(new_handler)): Set atomically.
2793 (__new_handler): Use internal linkage.
2794 * libsupc++/new_op.cc (operator new): Use get_new_handler().
2795 * libsupc++/new_opnt.cc (operator new): Likewise.
2796 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
2797 * configure: Regenerate.
2798 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
2799 * libsupc++/Makefile.in: Regenerate.
2800 * config/abi/pre/gnu.ver: Add new exports.
2801 * doc/xml/manual/status_cxx2011.xml: Update.
2802 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
2804 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
2805 * testsuite/18_support/new_handler.cc: New.
2806 * testsuite/18_support/terminate_handler.cc: New.
2807 * testsuite/18_support/unexpected_handler.cc: New.
2809 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2811 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
2812 defer to general documentation on contributing to GCC.
2813 * doc/html/*: Regenerate.
2815 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
2817 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
2819 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
2822 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
2824 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
2826 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
2828 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
2830 * doc/xml/manual/policy_data_structures: Remove direct link to
2831 IBM Haifa Research Labs.
2833 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
2834 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
2836 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
2839 * doc/xml/manual/shared_ptr.xml: Use canonical address for
2842 2013-03-27 Kai Tietz <ktietz@redhat.com>
2844 * crossconfig.m4: Add support for cygwin x64 target.
2845 * configure: Regenerated.
2847 2013-03-25 Kai Tietz <ktietz@redhat.com>
2849 * testsuite/18_support/50594.cc: For mingw-targets use only static
2851 * testsuite/19_diagnostics/error_category/operators/equal.cc
2852 * testsuite/19_diagnostics/error_code/cons/1.cc
2853 * testsuite/19_diagnostics/error_code/operators/bool.cc
2854 * testsuite/19_diagnostics/error_code/operators/equal.cc
2855 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
2856 * testsuite/19_diagnostics/error_condition/cons/1.cc
2857 * testsuite/19_diagnostics/error_condition/operators/bool.cc
2858 * testsuite/19_diagnostics/error_condition/operators/equal.cc
2859 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
2860 * testsuite/23_containers/set/requirements/exception/basic.cc
2861 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
2862 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
2864 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
2867 * include/ext/debug_allocator.h (debug_allocator): Add missing members
2868 to meet allocator requirements.
2869 * testsuite/ext/debug_allocator/56170.cc: New.
2871 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
2874 * include/std/chrono (__is_ratio): Uglify T.
2876 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
2878 PR libstdc++/55977 (partial, std::vector and std::deque bits)
2879 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
2880 _InputIterator, std::input_iterator_tag)): Use emplace_back.
2881 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
2882 _InputIterator, std::input_iterator_tag)): Likewise.
2883 * testsuite/23_containers/vector/cons/55977.cc: New.
2884 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
2885 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2886 Adjust dg-error line number.
2887 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2890 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
2893 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
2894 _InputIterator, __false_type)): Use emplace_back.
2895 * testsuite/23_containers/list/cons/55979.cc: New.
2896 * testsuite/23_containers/list/modifiers/1.h: Adjust.
2897 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2898 Adjust dg-error line number.
2900 2013-03-16 Jason Merrill <jason@redhat.com>
2903 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
2905 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2908 * libsupc++/exception_ptr.h (type_info): Declare.
2910 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2913 * include/std/mutex (lock_guard, unique_lock, lock): Define without
2914 depending on _GLIBCXX_HAS_GTHREADS.
2915 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
2917 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2920 * include/std/future (__future_base::_Result): Add result_type
2922 (__future_base::_S_allocate_result): Overload for std::allocator.
2923 (__future_base::_Task_setter): Use _Result::result_type instead of
2924 deducing the type from the task.
2925 (__future_base::_Task_state): Store allocator to allow shared state
2926 to be reset. Replace std::function with member of target object type
2928 (__future_base::_Task_state_base): New abstract base class.
2929 (__future_base::_Task_state_base::_M_run): New virtual function to
2930 invoke type-erased target object.
2931 (__future_base::_Task_state_base::_M_reset): New virtual function to
2932 create new shared_state using same target object and allocator.
2933 (__future_base::__create_task_state): Allocate a new _Task_state.
2934 (packaged_task::packaged_task): Use __create_task_state.
2935 (packaged_task::reset): Use _Task_state_base::_M_reset.
2936 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
2938 2013-03-15 Tom Tromey <tromey@redhat.com>
2940 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
2941 (PROBE2): New macro.
2942 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
2943 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
2944 * configure.ac: Check for sys/sdt.h.
2945 * configure, config.h.in: Rebuild.
2947 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2950 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
2951 allocator_traits instead of calling construct directly.
2952 * testsuite/23_containers/map/56613.cc: New.
2954 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
2956 * doc/html/*: Regenerate.
2958 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
2961 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
2962 * testsuite/20_util/is_fundamental/value.cc: Extend.
2963 * testsuite/20_util/is_compound/value.cc: Likewise.
2965 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
2967 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
2970 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
2972 * include/bits/memoryfwd.h: New. Centralize forward declarations.
2973 * include/bits/algorithmfwd.h: Consistent comments.
2974 * include/bits/localefwd.h: Same.
2975 * include/ext/vstring_fwd.h: Same.
2976 * include/parallel/algorithmfwd.h: Same.
2977 * include/parallel/numericfwd.h: Same.
2978 * include/std/iosfwd: Same.
2980 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
2982 * include/ext/alloc_traits.h: Remove allocator forward decl.
2983 * include/bits/stl_construct.h: Same.
2984 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
2985 forward decl. Consistent comments.
2987 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
2989 * include/Makefile.am (bits_headers): Add memoryfwd.h.
2990 * include/Makefile.in: Regenerate.
2993 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
2995 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
2996 Reset pointers after deallocation when memory can be reused.
2997 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
2998 elements to really challenge C++11 allocator integration.
2999 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
3000 * testsuite/23_containers/vector/allocator/copy_assign.cc:
3002 * testsuite/23_containers/vector/allocator/move_assign.cc:
3004 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
3005 swap vector back before checks on memory/personality mapping are
3007 * testsuite/23_containers/forward_list/allocator/minimal.cc:
3008 Insert element to really challenge C++11 allocator integration.
3009 * testsuite/23_containers/forward_list/allocator/copy.cc:
3011 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
3013 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
3015 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
3016 and swap forward_list back before checks on memory/personality
3017 mapping are performed.
3019 2013-03-07 Jakub Jelinek <jakub@redhat.com>
3021 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3022 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3023 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3025 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3026 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3027 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3028 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3029 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3030 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3032 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3034 * scripts/extract_symvers.pl: Omit symbols bound to base
3036 * scripts/extract_symvers.in: Likewise.
3037 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3038 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3039 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3040 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3041 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3043 2013-03-04 Ulrich Drepper <drepper@gmail.com>
3045 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
3046 Optimize generation function by pulling computation of __r into the
3047 constructor for param_type. Also compare _M_mu in operator==.
3050 2013-03-02 Ulrich Drepper <drepper@gmail.com>
3052 Add triangular and von Mises distributions.
3053 * include/ext/random: Include <ext/cmath>.
3054 Add __gnu_cxx::triangular_distribution<> and
3055 __gnu_cxx::von_mises_distribution<> classes.
3056 * include/ext/random.tcc: Add out-of-line functions for
3057 __gnu_cxx::triangular_distribution<> and
3058 __gnu_cxx::von_mises_distribution<>.
3059 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
3060 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
3061 * testsuite/ext/triangular_distribution/operators/serialize.cc:
3063 * testsuite/ext/triangular_distribution/operators/equal.cc:
3065 * testsuite/ext/triangular_distribution/operators/inequal.cc:
3067 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
3069 * testsuite/ext/triangular_distribution/requirements/
3070 explicit_instantiation/1.cc: New file.
3071 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
3072 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
3073 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
3075 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
3076 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
3078 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
3080 * testsuite/ext/von_mises_distribution/requirements/
3081 explicit_instantiation/1.cc: New file.
3084 * include/Makefile.am (ext_headers): Add cmath.
3085 * include/Makefile.in: Regenerated.
3086 * include/ext/cmath: New file.
3088 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3090 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3091 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3092 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3093 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3094 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3096 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
3099 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
3100 * testsuite/29_atomics/atomic/operators/56012.cc: New.
3103 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
3105 * testsuite/29_atomics/atomic/operators/56011.cc: New.
3107 2013-02-25 Jason Merrill <jason@redhat.com>
3109 * configure.ac: Check for __cxa_thread_atexit_impl.
3110 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
3112 * config.h.in, configure: Regenerate.
3114 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3116 * include/std/streambuf (basic_streambuf): Use injected class name
3117 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
3120 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3122 * doc/html/faq.html: Fix spelling.
3123 * doc/xml/faq.xml: Likewise.
3124 * include/bits/basic_ios.h: Likewise.
3125 * include/bits/regex.h: Likewise.
3126 * include/std/istream: Likewise.
3127 * include/std/streambuf: Likewise.
3129 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3131 * testsuite/23_containers/unordered_set/55043.cc: Add missing
3132 namespace qualification.
3133 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
3135 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
3137 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
3138 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
3139 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
3140 * include/bits/stl_pair.h: Add to utilities group.
3141 * include/std/tuple: Same.
3142 * include/std/typeindex: Same.
3144 * include/bits/stringfwd.h: Fix markup.
3145 * include/std/limits: Same.
3146 * include/std/type_traits: Same.
3147 * include/tr1/memory: Same.
3148 * include/tr1/regex: Same.
3149 * scripts/run_doxygen: Comment.
3150 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
3152 2013-02-14 Jason Merrill <jason@redhat.com>
3154 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
3155 test if unsupported.
3157 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
3160 * include/std/complex (complex): Undefine.
3161 * include/c_compatibility/complex.h (complex): Only undefine if
3162 <complex> has been included.
3163 * testsuite/26_numerics/complex/56111.cc: New testcase.
3165 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
3167 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
3168 default constructor protected.
3169 * include/bits/hashtable.h: static assert that _Hash_code_base has
3170 a default constructor available through inheritance.
3172 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3174 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
3177 2013-02-12 Julian Brown <julian@codesourcery.com>
3179 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
3180 Don't expect dots after abbreviated weekday names for ru_RU for
3181 glibc versions >= 2.17.
3182 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
3185 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3187 * include/bits/random.tcc (__transform): Remove.
3189 (discrete_distribution<>::param_type::_M_initialize): Adjust.
3190 (piecewise_constant_distribution<>::param_type::_M_initialize):
3192 (piecewise_linear_distribution<>::param_type::_M_initialize):
3195 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
3197 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
3198 Use -fimplicit-templates.
3199 * src/c++11/Makefile.in: Regenerate.
3200 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
3201 std::lower_bound template.
3203 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
3205 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
3206 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
3207 in C++11 mode and if available in the underlying C library.
3208 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
3209 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
3210 _GLIBCXX_HAVE_QUICK_EXIT.
3212 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
3214 * doc/html/*: Regenerate.
3216 2013-02-11 Jason Merrill <jason@redhat.com>
3218 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
3219 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
3220 * config.h.in, configure: Regenerate.
3221 * include/c_std/cstdlib: Add atexit and at_quick_exit.
3222 * include/c_global/cstdlib: Add atexit and at_quick_exit.
3223 * testsuite/18_support/quick_exit/quick_exit.cc: New.
3225 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
3229 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
3232 * include/bits/basic_ios.h: Replace operator void*() const
3233 with explicit operator bool() const in C++11 and greater.
3234 * testsuite/27_io/basic_ios/pr56193.cc: New file.
3236 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
3237 Jonathan Wakely <jwakely.gcc@gmail.com>
3239 * doc/xml/manual/containers.xml: Add section on unordered containers.
3240 * doc/xml/manual/using.xml: Fix incomplete sentence.
3242 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3245 * include/bits/hashtable.h (__cache_default): Check if hash function
3247 * testsuite/23_containers/unordered_set/56267.cc: New.
3248 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
3249 dg-error line number.
3250 * testsuite/23_containers/unordered_set/
3251 not_default_constructible_hash_neg.cc: Likewise.
3254 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
3256 * testsuite/23_containers/unordered_set/56278.cc: New.
3258 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
3260 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
3263 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
3266 * include/tr1/special_function_util.h: Remove spurious const
3267 from numeric arguments.
3268 * include/tr1/riemann_zeta.tcc: Likewise.
3269 * include/tr1/exp_integral.tcc: Likewise.
3270 * include/tr1/bessel_function.tcc: Likewise.
3271 * include/tr1/hypergeometric.tcc: Likewise.
3272 * include/tr1/modified_bessel_func.tcc: Likewise.
3273 * include/tr1/poly_laguerre.tcc: Likewise.
3274 * include/tr1/gamma.tcc: Likewise.
3275 * include/tr1/legendre_function.tcc: Likewise.
3276 * include/tr1/poly_hermite.tcc: Likewise.
3277 * include/tr1/ell_integral.tcc: Likewise.
3278 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
3279 If argument is zero return function value.
3280 * testsuite/tr1/5_numerical_facilities/special_functions/
3281 08_cyl_bessel_i/pr56216.cc: New.
3283 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
3285 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
3287 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
3290 * include/bits/basic_ios.h: Replace operator void*() const
3291 with explicit operator bool() const in C++11 and greater.
3292 * testsuite/27_io/basic_ios/pr56193.cc: New file.
3294 2013-02-04 Dodji Seketeli <dodji@redhat.com>
3296 Add missing explicit instantiation for std::lower_bound template
3297 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
3298 missing instantiation for std::lower_bound template.
3300 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
3302 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
3303 * include/bits/basic_string.h: Specialize previous to mark
3304 std::hash for string types as slow.
3305 * include/bits/hashtable.h (__cache_default): Replace is_integral
3306 with __is_fast_hash.
3307 * src/c++11/hash_c++0x.cc: Add type_traits include.
3308 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
3309 Adapt dg-error line number.
3310 * testsuite/23_containers/unordered_set/
3311 not_default_constructible_hash_neg.cc: Likewise.
3313 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
3314 Paolo Carlini <paolo.carlini@oracle.com>
3316 PR libstdc++/56202 (again)
3317 * include/bits/random.tcc (binomial_distribution<>::
3318 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
3321 * include/bits/random.h: Fix comment typo.
3323 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
3324 Paolo Carlini <paolo.carlini@oracle.com>
3327 * include/bits/random.tcc (binomial_distribution<>::
3328 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
3331 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
3333 Update copyright years.
3334 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
3335 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
3336 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
3337 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
3338 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
3339 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
3340 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
3341 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
3342 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
3343 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
3344 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
3345 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
3346 testsuite/29_atomics/atomic/cons/assign_neg.cc,
3347 testsuite/29_atomics/atomic/cons/copy_neg.cc,
3348 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
3349 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
3350 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
3351 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
3352 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
3353 Update lines in dg error matches.
3355 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
3357 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
3359 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
3361 * include/bits/hashtable_policy.h
3362 (_Prime_rehash_policy::_M_next_bkt)
3363 (_Prime_rehash_policy::_M_need_rehash): Move definition...
3364 * src/c++11/hashtable_c++0x.cc: ... here.
3365 * src/shared/hashtable-aux.cc: Remove c++config.h include.
3366 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
3369 2013-01-29 Jason Merrill <jason@redhat.com>
3372 * config/abi/pre/gnu.ver: Don't export construction vtables.
3373 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
3375 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3378 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
3379 to construct value_type explicitly before trying to extract the key.
3380 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
3382 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
3384 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
3385 _Hashtable_ebo_helper to embed functors into the local_iterator
3386 when necessary. Pass information about functors involved in hash
3388 * include/bits/hashtable.h (__cache_default): Do not cache for
3389 builtin integral types unless the hash functor is not noexcept
3390 qualified or is not default constructible. Adapt static assertions
3391 and local iterator instantiations.
3392 * include/debug/unordered_set
3393 (std::__debug::unordered_set<>::erase): Detect local iterators to
3394 invalidate using contained node rather than generating a dummy
3395 local_iterator instance.
3396 (std::__debug::unordered_multiset<>::erase): Likewise.
3397 * include/debug/unordered_map
3398 (std::__debug::unordered_map<>::erase): Likewise.
3399 (std::__debug::unordered_multimap<>::erase): Likewise.
3400 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
3401 std::tr1 and std versions of unordered_set regardless of any
3402 macro. Add test on default cache behavior.
3403 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
3404 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
3406 * testsuite/23_containers/unordered_set/
3407 not_default_constructible_hash_neg.cc: New.
3408 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
3410 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
3413 * include/std/complex (pow(const complex<>&, int)): Avoid __n
3416 2013-01-22 Jakub Jelinek <jakub@redhat.com>
3418 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
3419 Tightten scan-assembler-times regexps, add dg-additional-options for
3420 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
3423 2013-01-12 Andi Kleen <ak@linux.intel.com>
3424 Jonathan Wakely <jwakely.gcc@gmail.com>
3427 * include/bits/atomic_base.h (__memory_order_modifier): Add
3428 __memory_order_mask, __memory_order_modifier_mask,
3429 __memory_order_hle_acquire, __memory_order_hle_release.
3430 (operator|,operator&): Add.
3431 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
3432 (__cmpexch_failure_order): Add.
3433 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
3435 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
3438 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
3441 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
3443 (__basic_future::_M_get_result()): Const qualify.
3444 (shared_future::get()): Likewise.
3445 * testsuite/30_threads/shared_future/members/get.cc: Use const
3448 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3450 PR libstdc++/55043 (again)
3451 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
3452 unless construction would be well-formed.
3453 (__allow_copy_cons, __check_copy_constructible): Define.
3454 * include/bits/unordered_map.h (__check_copy_constructible): Use as
3455 base class so copy constructor will be deleted if appropriate.
3456 (is_copy_constructible): Remove specialization.
3457 * include/bits/unordered_set.h: Likewise.
3458 * include/debug/unordered_map.h: Undo previous commit. Default copy
3459 and move constructors.
3460 * include/debug/unordered_set.h: Likewise.
3461 * include/profile/unordered_map.h: Undo previous commit.
3462 * include/profile/unordered_set.h: Likewise.
3463 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
3464 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
3465 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
3466 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
3467 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
3468 cannot support incomplete types.
3469 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
3472 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3475 * include/std/unordered_map: Include alloc_traits.h
3476 * include/std/unordered_set: Likewise.
3477 * include/bits/alloc_traits.h: Define __is_copy_insertable.
3478 * include/bits/unordered_map.h: Use it.
3479 * include/bits/unordered_set.h: Likewise.
3480 * include/debug/unordered_map.h: Likewise.
3481 * include/debug/unordered_set.h: Likewise.
3482 * include/profile/unordered_map.h: Likewise.
3483 * include/profile/unordered_set.h: Likewise.
3484 * include/bits/hashtable.h: Fix comment typos.
3485 * testsuite/23_containers/unordered_map/55043.cc: New.
3486 * testsuite/23_containers/unordered_multimap/55043.cc: New.
3487 * testsuite/23_containers/unordered_multiset/55043.cc: New.
3488 * testsuite/23_containers/unordered_set/55043.cc: New.
3490 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
3492 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
3495 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3497 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
3499 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3502 * include/std/functional (_Mem_fn::operator()): Fix constraints to
3504 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
3505 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
3507 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3510 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
3512 * configure: Regenerate.
3514 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3517 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
3518 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
3522 * include/std/functional (bad_function_call::what()): Declare.
3523 * src/c++11/functional.cc (bad_function_call::what()): Define.
3524 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
3525 * testsuite/20_util/bad_function_call/what.cc: New.
3527 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
3529 * include/bits/unordered_map.h: Fix typo in comments.
3530 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
3531 counts for unordered associative containers.
3533 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
3535 * doc/xml/manual/abi.xml: Update library and symbol versions.
3537 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3539 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
3541 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
3544 Copyright (C) 2013 Free Software Foundation, Inc.
3546 Copying and distribution of this file, with or without modification,
3547 are permitted in any medium without royalty provided the copyright
3548 notice and this notice are preserved.