1 2013-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
3 * include/bits/regex_automaton.h (_S_opcode_word_boundry): Rename to
4 _S_opcode_word_boundary.
5 * include/bits/regex_automaton.tcc: Likewise.
6 * include/bits/regex_executor.h (__detail::_Executor::_M_word_boundry):
7 Rename to _M_word_boundary.
8 * include/bits/regex_executor.tcc: Likewise.
10 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
12 N3655 C++1y TransformationTraits Redux
13 * include/std/type_traits (remove_const_t, remove_volatile_t,
14 remove_cv_t, add_const_t, add_volatile_t, add_cv_t, remove_reference_t,
15 add_lvalue_reference_t, add_rvalue_reference_t, make_signed_t,
16 make_unsigned_t, remove_extent_t, remove_all_extents_t,
17 remove_pointer_t, add_pointer_t, aligned_storage_t, decay_t,
18 enable_if_t, conditional_t, common_type_t, underlying_type_t,
20 * doc/xml/manual/status_cxx2014.xml: Update.
21 * testsuite/20_util/add_lvalue_reference/requirements/typedefs-3.cc:
23 * testsuite/20_util/add_rvalue_reference/requirements/typedefs-3.cc:
25 * testsuite/20_util/common_type/requirements/typedefs-3.cc: New.
26 * testsuite/20_util/conditional/requirements/typedefs-2.cc: New.
27 * testsuite/20_util/decay/requirements/typedefs-2.cc: New.
28 * testsuite/20_util/enable_if/requirements/typedefs-2.cc: New.
29 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
30 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
31 * testsuite/20_util/remove_reference/requirements/typedefs.cc: New.
32 * testsuite/20_util/result_of/requirements/typedefs.cc: New.
33 * testsuite/20_util/underlying_type/requirements/typedefs-3.cc: New.
34 * testsuite/20_util/common_type/requirements/typedefs-2.cc: Change to
36 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
37 * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Likewise.
38 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
40 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
42 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
45 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
47 * doc/xml/manual/status_cxx2011.xml: Document aligned_union as
50 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
51 Paolo Carlini <paolo.carlini@oracle.com>
53 * include/experimental/optional: Use __and_<> and __not_<> in
54 conditions. Style fixes.
55 (__constexpr_addressof, swap): Make inline.
56 * testsuite/experimental/optional/cons/copy.cc: Adjust constants for
58 * testsuite/experimental/optional/cons/move.cc: Likewise.
59 * testsuite/experimental/optional/cons/value.cc: Likewise.
60 * testsuite/experimental/optional/constexpr/cons/value.cc: Likewise.
62 2013-11-01 Michael Brune <lucdanton@free.fr>
64 * include/bits/enable_special_members.h: New.
65 * include/experimental/optional: New.
66 * include/Makefile.am: Handle include/experimental.
67 * include/Makefile.in: Regenerate.
68 * testsuite/libstdc++-dg/conformance.exp: Run tests from
69 testsuite/experimental sub-directory.
70 * testsuite/experimental/optional/assignment/1.cc: New.
71 * testsuite/experimental/optional/assignment/2.cc: New.
72 * testsuite/experimental/optional/assignment/3.cc: New.
73 * testsuite/experimental/optional/assignment/4.cc: New.
74 * testsuite/experimental/optional/assignment/5.cc: New.
75 * testsuite/experimental/optional/assignment/6.cc: New.
76 * testsuite/experimental/optional/cons/copy.cc: New.
77 * testsuite/experimental/optional/cons/default.cc: New.
78 * testsuite/experimental/optional/cons/move.cc: New.
79 * testsuite/experimental/optional/cons/value.cc: New.
80 * testsuite/experimental/optional/constexpr/cons/default.cc: New.
81 * testsuite/experimental/optional/constexpr/cons/value.cc: New.
82 * testsuite/experimental/optional/constexpr/in_place.cc: New.
83 * testsuite/experimental/optional/constexpr/make_optional.cc: New.
84 * testsuite/experimental/optional/constexpr/nullopt.cc: New.
85 * testsuite/experimental/optional/constexpr/observers/1.cc: New.
86 * testsuite/experimental/optional/constexpr/observers/2.cc: New.
87 * testsuite/experimental/optional/constexpr/observers/3.cc: New.
88 * testsuite/experimental/optional/constexpr/observers/4.cc: New.
89 * testsuite/experimental/optional/constexpr/observers/5.cc: New.
90 * testsuite/experimental/optional/constexpr/relops/1.cc: New.
91 * testsuite/experimental/optional/constexpr/relops/2.cc: New.
92 * testsuite/experimental/optional/constexpr/relops/3.cc: New.
93 * testsuite/experimental/optional/constexpr/relops/4.cc: New.
94 * testsuite/experimental/optional/constexpr/relops/5.cc: New.
95 * testsuite/experimental/optional/constexpr/relops/6.cc: New.
96 * testsuite/experimental/optional/in_place.cc: New.
97 * testsuite/experimental/optional/make_optional.cc: New.
98 * testsuite/experimental/optional/nullopt.cc: New.
99 * testsuite/experimental/optional/observers/1.cc: New.
100 * testsuite/experimental/optional/observers/2.cc: New.
101 * testsuite/experimental/optional/observers/3.cc: New.
102 * testsuite/experimental/optional/observers/4.cc: New.
103 * testsuite/experimental/optional/observers/5.cc: New.
104 * testsuite/experimental/optional/relops/1.cc: New.
105 * testsuite/experimental/optional/relops/2.cc: New.
106 * testsuite/experimental/optional/relops/3.cc: New.
107 * testsuite/experimental/optional/relops/4.cc: New.
108 * testsuite/experimental/optional/relops/5.cc: New.
109 * testsuite/experimental/optional/relops/6.cc: New.
110 * testsuite/experimental/optional/requirements.cc: New.
111 * testsuite/experimental/optional/swap/1.cc: New.
113 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
115 * include/bits/stl_function.h (logical_not<void>): Add noexcept.
117 2013-11-01 Paolo Carlini <paolo.carlini@oracle.com>
120 * include/c_global/cstdio: Undef getchar.
122 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
124 N3421 C++1y Transparent functors
125 * include/bits/stl_function.h (plus<void>, minus<void>,
126 multiplies<void>, divides<void>, modulus<void>, negate<void>,
127 equal_to<void>, not_equal_to<void>, greater<void>, less<void>,
128 greater_equal<void>, less_equal<void>, logical_and<void>,
129 logical_or<void>, logical_not<void>, bit_and<void>, bit_or<void>,
130 bit_xor<void>, bit_not<void>): Define.
131 * doc/xml/manual/status_cxx2014.xml: Update.
132 * testsuite/20_util/function_objects/comparisons_void.cc: New.
134 2013-10-31 Jonathan Wakely <jwakely.gcc@gmail.com>
136 * include/std/tuple (_Index_tuple, _Build_index_tuple): Move to
138 * include/std/utility (integer_sequence, make_integer_sequence,
139 index_sequence, make_index_sequence, index_sequence_for): Define.
140 * doc/xml/manual/status_cxx2014.xml: Update.
141 * testsuite/20_util/integer_sequence/intseq.cc: New.
142 * testsuite/20_util/integer_sequence/requirements/typedefs.cc: New.
144 2013-10-31 Steve Ellcey <sellcey@mips.com>
146 * configure.ac: Add header checks for fenv.h and complex.h.
147 * configure: Regenerate.
149 2013-10-31 Edward Smith-Rowland <3dw4rd@verizon.net>
151 Implement C++14 digit separators.
152 * include/include/bits/parse_numbers.h: Change struct _Digit<_Base, '`'>
153 to struct _Digit<_Base, '\''>.
155 2013-10-31 Paolo Carlini <paolo.carlini@oracle.com>
157 * testsuite/20_util/default_delete/48631_neg.cc: Tweak dg-prune.
159 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
161 * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: Fix
162 and enable VERIFY tests.
164 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
166 * include/bits/shared_ptr (__shared_ptr): Assert non-void pointer.
167 * include/bits/shared_ptr (default_delete): Likewise.
168 * testsuite/20_util/shared_ptr/cons/58839.cc: Do not use
169 default_delete<void>.
170 * testsuite/20_util/shared_ptr/cons/void_neg.cc: New.
171 * testsuite/20_util/default_delete/void_neg.cc: New.
172 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
173 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
175 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
178 * include/bits/shared_ptr_base.h
179 (__shared_ptr<T>::__shared_ptr(unique_ptr<U,D>&&)): Only use addressof
180 when unique_ptr<U,D>::pointer is not a built-in pointer type.
181 * testsuite/20_util/shared_ptr/cons/58839.cc: New.
182 * testsuite/20_util/enable_shared_from_this/members/assign.cc: New.
183 * testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc: New.
185 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
187 * include/bits/hashtable.cc (__access_protected_ctor): Define and use
188 new type instead of _Hashtable_ebo_helper.
189 * testsuite/23_containers/unordered_set/
190 not_default_constructible_hash_neg.cc: Adjust line number.
192 2013-10-28 Tim Shen <timshen91@gmail.com>
194 * regex_executor.tcc: Add comments.
196 2013-10-26 Tim Shen <timshen91@gmail.com>
198 * include/bits/regex.h: Remove unnecessary friends.
199 * include/bits/regex.tcc (__regex_algo_impl<>): Move __get_executor
201 * include/bits/regex_executor.h: Remove _DFSExecutor and _BFSExecutor;
202 they are merged into _Executor. Eliminate quantifier tracking part, so
204 * include/bits/regex_executor.tcc: Implement _Executor.
205 * testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc: New.
206 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Adjust
208 * testsuite/performance/28_regex/split.h: New.
209 * testsuite/performance/28_regex/split_bfs.cc: New.
210 * testsuite/util/testsuite_regex.h: Adjust behavior of two-executors
211 agreement judger: do not compare match_results when executor return
214 2013-10-25 François Dumont <fdumont@gcc.gnu.org>
216 * include/debug/formatter.h (__check_singular): Add const on
218 * include/debug/functions.h (__check_singular): Likewise.
219 (__check_singular(const _Safe_iterator<_Ite, _Seq>&)): Delete.
220 (__check_dereferenceable(const _Ite&)): Add const on iterator
222 (__check_dereferenceable(const _Safe_local_iterator<>&)): New.
223 * include/debug/safe_iterator.h (__check_singular_aux): Review
225 * testsuite/23_containers/vector/debug/debug_functions.cc: New.
226 * testsuite/23_containers/unordered_set/debug/debug_functions.cc:
229 2013-10-23 Chris Jefferson <chris@bubblescope.net>
230 Paolo Carlini <paolo.carlini@oracle.com>
232 * testsuite/util/testsuite_containergen.h: New.
233 * testsuite/util/testsuite_iterators.h (test_container<>::val): Add.
234 * testsuite/25_algorithms/nth_element/random_test.cc: New, use the
236 * testsuite/25_algorithms/partial_sort/random_test.cc: Likewise.
237 * testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise.
238 * testsuite/25_algorithms/sort/random_test.cc: Likewise.
240 2013-10-23 Jason Merrill <jason@redhat.com>
242 * include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
244 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
247 * include/std/chrono (minutes, hours): Change typedefs to uniformly
249 * testsuite/20_util/duration/arithmetic/58850.cc: New.
251 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
253 * testsuite/decimal/pr58815.cc: Fix thinko.
255 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
258 * include/decimal/decimal (decimal32::operator long long(),
259 decimal64::operator long long(), decimal128::operator long long()):
260 Add in c++11 mode per n3407.
261 * testsuite/decimal/pr58815.cc: New.
263 2013-10-22 Edward Smith-Rowland <3dw4rd@verizon.net>
265 * include/bits/basic_string.h (operator""s): Remove space between quotes
266 and literal identifier.
267 * include/std/chrono (operator""h, operator""min, operator""s,
268 operator""ms, operator""us, operator""ns): Ditto.
270 2013-10-22 Ed Smith-Rowland <3dw4rd@verizon.net>
272 Implement N3779 - User-defined Literals for std::complex,
273 part 2 of UDL for Standard Library Types
274 * include/std/complex: Add complex literal operators.
275 * testsuite/26_numerics/complex/literals/types.cc: New.
276 * testsuite/26_numerics/complex/literals/values.cc: New.
278 2013-10-21 Edward Smith-Rowland <3dw4rd@verizon.net>
282 * include/tr2/dynamic_bitset
283 (__dynamic_bitset_base<_WordT, _Alloc>::_M_are_all_aux,
284 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_count):
285 Use __builtin_popcountll() instead of __builtin_popcountl().
286 * include/tr2/dynamic_bitset.tcc
287 (__dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_first,
288 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_next):
289 Use __builtin_ctzll() instead of __builtin_ctzl().
291 2013-10-20 Tim Shen <timshen91@gmail.com>
293 * include/bits/regex.h: Remove virtual class _Automaton.
294 * include/bits/regex_automaton.h: Likewise.
295 * include/bits/regex.tcc: Adjust comment for policy changing.
296 * include/bits/regex_executor.h: Update comments of complexity.
297 * include/bits/regex_executor.tcc: Adjust executor choosing
298 policy. Now DFS executor is the default one.
299 * testsuite/util/testsuite_regex.h (regex_match_debug,
300 regex_search_debug): Adjust for policy changing.
302 2013-10-20 Chris Jefferson <chris@bubblescope.net>
303 Paolo Carlini <paolo.carlini@oracle.com>
306 * include/bits/stl_algo.h (__unguarded_partition_pivot): Change
307 __last - 2 to __last - 1.
308 * testsuite/25_algorithms/nth_element/58800.cc: New
310 2013-10-18 Edward Smith-Rowland <3dw4rd@verizon.net>
313 * include/tr2/dynamic_bitset (_M_resize, resize): Use input value
314 to set bits; (_M_do_left_shift, _M_do_right_shift, _M_do_to_ulong,
315 _M_do_to_ullong, _M_do_find_first, _M_do_find_next, _M_copy_from_ptr,
316 operator>>): Move long methods outline to...
317 * include/tr2/dynamic_bitset.tcc: New.
318 * include/Makefile.am: Add dynamic_bitset.tcc.
319 * include/Makefile.in: Add dynamic_bitset.tcc.
320 * testsuite/tr2/dynamic_bitset/pr58729.cc: New.
322 2013-10-18 Tim Shen <timshen91@gmail.com>
324 * include/bits/regex_scanner.tcc: (_Scanner<>::_M_scan_normal,
325 _Scanner<>::_M_eat_escape_ecma, _Scanner<>::_M_eat_escape_posix,
326 _Scanner<>::_M_eat_escape_awk): Narrow character before finding in maps.
327 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc:
330 2013-10-17 Tim Shen <timshen91@gmail.com>
332 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
333 Fix initialization orders in initialization list and add explicit braces
334 for potentially ambiguous(actually not) `else` branch to eliminate
336 * include/bits/regex_automaton.h (_NFA<>::_NFA): Likewise.
337 * include/bits/regex_compiler.h (_CharMatcher<>::_CharMatcher,
338 _BracketMatcher<>::_BracketMatcher): Likewise.
339 * include/bits/regex_compiler.tcc (_Compiler<>::_Compiler,
340 _Compiler<>::_M_atom): Likewise.
341 * include/bits/regex_executor.h (_Executor<>::_Executor): Likewise.
342 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs,
343 _Executor<>::_M_word_boundry): Likewise.
344 * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner,
345 _Scanner<>::_M_eat_class): Likewise.
346 * include/bits/regex.tcc (__regex_algo_impl<>,
347 regex_iterator<>::operator++): Likewise, and remove unused typedef.
349 2013-10-16 Tim Shen <timshen91@gmail.com>
351 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
352 Add initialization for _M_has_m1.
353 * include/bits/regex.tcc (regex_token_iterator<>::operator=): Add return
356 2013-10-15 Diego Novillo <dnovillo@google.com>
358 * testsuite/20_util/exchange/1.cc: Add missing function
361 2013-10-15 Tim Shen <timshen91@gmail.com>
364 * include/bits/regex_automaton.h (_Automaton<>::~_Automaton): Fix memory
366 * include/bits/regex_executor.h (_Executor<>::~_Executor): Likewise.
368 2013-10-11 H.J. Lu <hongjiu.lu@intel.com>
370 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
372 2013-10-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
374 * testsuite/29_atomics/atomic/cons/49445.cc
375 (dg-require-atomic-builtins): Add.
377 2013-10-09 Jonathan Wakely <jwakely.gcc@gmail.com>
379 * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of
382 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
384 * testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
386 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
388 * testsuite/*: Remove stray semi-colons after function definitions.
390 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
393 * include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
394 Delegate to constructor taking allocator.
395 (__shared_count::_S_create_from_up): Inline into ...
396 (__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
397 std::conditional instead of constrained overloads. Allocate memory
398 using the allocator type that will be used for deallocation.
399 * testsuite/20_util/shared_ptr/cons/58659.cc: New.
400 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust.
402 2013-10-08 Tim Shen <timshen91@gmail.com>
404 * include/bits/regex_executor.h: Add _TodoList class.
405 * include/bits/regex_executor.tcc (_BFSExecutor<>::_M_main): Add
406 _M_match_stack and _M_stack to make everything faster. Break if
407 _M_stack is empty, to reduce unnecessary idling.
408 * testsuite/performance/28_regex/split.cc: New.
410 2013-10-06 Tim Shen <timshen91@gmail.com>
412 * include/bits/regex.h: (regex_token_iterator<>::regex_token_iterator):
414 * include/bits/regex.tcc: (regex_replace<>): Remove default parameter.
416 2013-10-06 Tim Shen <timshen91@gmail.com>
418 * include/bits/regex.h (__regex_algo_impl<>, regex_match<>,
419 regex_search<>): New abstract function for regex_match and regex_search.
420 * include/bits/regex.tcc (__regex_algo_impl<>): Implement.
421 * include/bits/regex_executor.h
422 (_Executor<>::_M_lookahead,
423 _DFSExecutor<>::_M_clone,
424 _BFSExecutor<>::_M_clone): Let _M_clone to choose which executor to
426 * include/bits/regex_executor.tcc (__get_executor<>): Update the
427 definition to support __policy.
428 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: Use
430 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: Same.
431 * testsuite/28_regex/algorithms/regex_match/basic/string_01.cc: Same.
432 * testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc:
434 * testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc:
436 * testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc:
438 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc: Same.
439 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc: Same.
440 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: Same.
441 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
443 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: Same.
444 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
446 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
448 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: Same.
449 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
451 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
453 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: Same.
454 * testsuite/28_regex/algorithms/regex_match/extended/
455 string_bracket_01.cc: Same.
456 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
458 * testsuite/28_regex/algorithms/regex_match/extended/
459 string_questionmark.cc: Same.
460 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
462 * testsuite/28_regex/algorithms/regex_match/extended/string_any.cc:
464 * testsuite/28_regex/algorithms/regex_match/extended/
465 string_dispatch_01.cc: Same.
466 * testsuite/28_regex/algorithms/regex_match/extended/
467 string_range_00_03.cc: Same.
468 * testsuite/28_regex/algorithms/regex_match/extended/
469 string_range_01_03.cc: Same.
470 * testsuite/28_regex/algorithms/regex_match/extended/
471 string_range_02_03.cc: Same.
472 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
474 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: Same.
475 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: Same.
476 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: Same.
477 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Same.
478 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: Same.
479 * testsuite/28_regex/match_results/format.cc: Same.
480 * testsuite/util/testsuite_regex.h
481 (regex_match_debug<>, regex_search_debug<>): Implement.
483 2013-10-06 Oleg Endo <olegendo@gcc.gnu.org>
484 Paolo Carlini <paolo.carlini@oracle.com>
487 * include/c_global/cmath (signbit): Use __builtin_signbitf and
490 2013-10-03 Tim Shen <timshen91@gmail.com>
492 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs): Fix wrong
493 backup variable initialization.
495 2013-10-03 John Woolverton <jdwoolverton@gmail.com>
498 * include/std/vector: Fix garbled line in HP Copyright.
500 2013-10-03 Marc Glisse <marc.glisse@inria.fr>
502 * libsupc++/del_op.cc (operator delete): Don't test for 0 before free.
503 * libsupc++/del_opnt.cc (free): Only declare if freestanding.
504 (operator delete): Qualify free with std::.
506 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
507 Daniel Krugler <daniel.kruegler@gmail.com>
510 * include/std/functional (function::_CheckResult): Move to namespace
511 scope and rename to __check_func_return_type.
512 * testsuite/20_util/function/58569.cc: New.
514 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
517 * include/bits/shared_ptr_base.h
518 (_Sp_counted_ptr_inplace::_M_get_deleter()): Cast away cv-quals.
519 * testsuite/20_util/shared_ptr/creation/58594.cc: New.
521 2013-10-02 Tim Shen <timshen91@gmail.com>
523 * include/bits/regex_compiler.h
524 (_BracketMatcher<>::_M_add_equivalence_class): Implement it correctly.
525 * include/bits/regex_compiler.tcc (_BracketMatcher<>::operator()):
526 Add _M_equiv_set support.
527 * testsuite/28_regex/algorithms/regex_match/extended/
528 cstring_bracket_01.cc: Add new "[[=a=]]" testcase.
530 2013-10-01 Tim Shen <timshen91@gmail.com>
532 * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to
533 "is not correctly implemented".
535 2013-10-01 Tim Shen <timshen91@gmail.com>
537 * doc/xml/manual/status_cxx2011.xml: Update regex status.
538 * include/bits/regex.h (match_results<>::begin,
539 match_results<>::cbegin, match_results<>::end, match_results<>::cend):
540 [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2).
542 2013-10-01 François Dumont <fdumont@gcc.gnu.org>
544 * include/parallel/algobase.h (mismatch, equal): Provide parallel
545 version for N3671 overloads.
547 2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com>
549 * src/c++11/snprintf_lite.cc: Add missing
550 _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION
552 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
554 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for
555 _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions.
556 * configure: Regenerate.
558 2013-10-01 Tim Shen <timshen91@gmail.com>
561 * include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy)
562 (_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch.
563 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New.
565 2013-09-30 Paolo Carlini <paolo.carlini@oracle.com>
567 * include/parallel/algo.h (__find_switch): Use __binder2nd.
569 2013-09-30 Chris Jefferson <chris@bubblescope.net>
572 * include/bits/stl_algo.h (__move_median_first): Rename to
573 __move_median_to_first, change to take an addition argument.
574 (__unguarded_partition_pivot): Adjust.
575 * testsuite/performance/25_algorithms/sort.cc: New.
576 * testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
577 * testsuite/performance/25_algorithms/stable_sort.cc: Likewise.
579 2013-09-28 François Dumont <fdumont@gcc.gnu.org>
581 * include/bits/stl_algo.h (remove_copy, remove_copy_if): Declare
583 (rotate_copy, stable_partition, partial_sort_copy): Likewise.
584 (lower_bound, upper_bound, equal_range, inplace_merge): Likewise.
585 (includes, next_permutation, prev_permutation): Likewise.
586 (replace_copy, replace_copy_if, is_sorted_until): Likewise.
587 (minmax_element, is_permutation, adjacent_find): Likewise.
588 (count, count_if, search, search_n, merge): Likewise.
589 (set_intersection, set_difference): Likewise.
590 (set_symmetric_difference, min_element, max_element): Likewise.
591 * include/bits/stl_algobase.h (lower_bound): Likewise.
592 (lexicographical_compare, mismatch): Likewise.
594 2013-09-28 Tim Shen <timshen91@gmail.com>
596 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix):
597 Let ordinary char escaping in POSIX be valid.
598 * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Test this
601 2013-09-27 François Dumont <fdumont@gcc.gnu.org>
603 * include/bits/predefined_ops.h: New.
604 * include/bits/stl_heap.h: Include <bits/predefined_ops.h>.
605 (__is_heap_until, __push_heap, __adjust_heap, __pop_heap): Remove
609 (make_heap): Adapt to use latter.
611 (sort_heap): Adapt to use latter.
612 * include/bits/algobase.h: Include <bits/predefined_ops.h>.
613 (__lexicographical_compare_impl): New.
614 (__lexicographical_compare<false>::__lc): Adapt to use latter.
615 (lexicographical_compare): Likewise.
616 (__lower_bound): New.
617 (lower_bound): Adapt to use latter.
618 (equal): Use _GLIBCXX_STD_A::equal in N3671 overloads.
620 (mismatch): Use latter.
621 * include/bits/algo.h: Include <bits/predefined_ops.h>. Remove
622 <functional> include.
623 (__move_median_first, __find, __find_if, __find_if_not): Remove
625 (__find_end): Likewise.
626 (__search_n): Rename into ...
627 (__search_n_aux): ... this.
628 (__search_n): Renew, use latter.
629 (search_n): Use latter.
631 (search): Use latter.
632 (__find_end): Likewise.
633 (__remove_copy_if): New.
634 (remove_copy): Use latter.
635 (__adjacent_find): New.
636 (adjacent_find): Use latter.
638 (unique): Use latter.
639 (__unique_copy): Remove algo duplication.
640 (__stable_partition): New.
641 (stable_partition): Use latter.
642 (__heap_select): Remove algo duplication, use __make_heap.
643 (__partial_sort): New, use latter.
644 (partial_sort): Use latter.
645 (__partial_sort_copy): New.
646 (partial_sort_copy): Use latter.
647 (__unguarded_linear_insert, __insertion_sort): Remove algo
649 (__unguarded_insertion_sort, __final_insertion_sort): Likewise.
650 (__unguarded_partition, __unguarded_partition_pivot): Likewise.
651 (__partial_sort): New.
652 (partial_sort): Use latter.
655 (lower_bound): Use __lower_bound.
656 (__upper_bound): New.
657 (upper_bound): Use latter.
658 (__equal_range): New.
659 (equal_range): Use latter.
660 (__move_merge_adaptive, __move_merge_adaptive_backward): Remove
662 (__merge_adaptive, __merge_without_buffer): Likewise.
663 (__inplace_merge): New.
664 (inplace_merge): Use latter.
665 (__move_merge, __merge_sort_loop, __chunk_insertion_sort): Remove
667 (__merge_sort_with_buffer, __stable_sort_adaptive): Likewise.
668 (__inplace_stable_sort): Likewise.
670 (includes): Use latter.
671 (__next_permutation): New.
672 (next_permutation): Use latter.
673 (__prev_permutation): New.
674 (prev_permutation): Use latter.
675 (__replace_copy_if): New.
676 (replace_copy): Use latter.
677 (__is_sorted_until): New.
678 (is_sorted_unitl): Use latter.
679 (__minmax_element): New.
680 (minmax_element): Use latter.
681 (__is_permutation): New.
682 (is_permutation): Use latter.
683 (__adjacent_find): New.
684 (adjacent_find): Use latter.
687 (count_if): Likewise.
690 (__stable_sort): New.
691 (stable_sort): Use latter.
693 (set_union): Use latter.
694 (__set_intersection): New.
695 (set_intersection): Use latter.
696 (__set_difference): New.
697 (set_difference): Use latter.
698 (__set_symmetric_difference): New.
699 (set_symmetric_difference): Use latter.
700 (__min_element): New.
701 (min_element): Use latter.
702 (__max_element): New.
703 (max_element): Use latter.
704 * include/Makefile.am: Add predefined_ops.h.
705 * include/Makefile.in: Regenerate.
706 * include/parallel/algobase.h (equal, mismatch): Add overloads
708 * testsuite/25_algorithms/is_permutation/vectorbool.cc: New.
709 * testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise.
710 * testsuite/25_algorithms/find/vectorbool.cc: Likewise.
711 * testsuite/25_algorithms/find_if/vectorbool.cc: Likewise.
712 * testsuite/25_algorithms/find_first_of/vectorbool.cc: Likewise.
713 * testsuite/25_algorithms/heap/vectorbool.cc: Likewise.
714 * testsuite/25_algorithms/find_end/vectorbool.cc: Likewise.
715 * testsuite/25_algorithms/find_if_not/vectorbool.cc: Likewise.
717 2013-09-27 Jonathan Wakely <jwakely.gcc@gmail.com>
720 * include/std/functional
721 (_Function_base::_Base_manager::_M_not_empty_function): Fix overload
723 * testsuite/20_util/function/cons/57465.cc: New.
725 2013-09-26 Tim Shen <timshen91@gmail.com>
727 * regex_error.h: Remove _S_error_last to follow the standard.
729 (_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to
731 (_Scanner<>::_M_eat_escape_posix): Extended doesn't support
733 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
734 Move here from ../../extended.
735 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
738 2013-09-25 Marc Glisse <marc.glisse@inria.fr>
741 * include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after):
743 (_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->,
744 operator++, operator==, operator!=, _M_next]: Likewise.
745 (_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*,
746 operator->, operator++, operator==, operator!=, _M_next]: Likewise.
747 (operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&),
748 operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)):
750 * include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base,
751 _Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base,
752 _Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&,
753 const _Node_iterator_base&), operator!=(const _Node_iterator_base&,
754 const _Node_iterator_base&)): Likewise.
755 (_Node_iterator) [_Node_iterator, operator*, operator->, operator++]:
757 (_Node_const_iterator) [_Node_const_iterator, operator*, operator->,
758 operator++]: Likewise.
759 * include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator,
760 operator=, operator*, operator->, operator++, operator--, operator[],
761 operator+=, operator+, operator-=, operator-, base, operator _Iterator]:
763 (operator==(const _Safe_iterator&, const _Safe_iterator&),
764 operator!=(const _Safe_iterator&, const _Safe_iterator&),
765 operator<(const _Safe_iterator&, const _Safe_iterator&),
766 operator<=(const _Safe_iterator&, const _Safe_iterator&),
767 operator>(const _Safe_iterator&, const _Safe_iterator&),
768 operator>=(const _Safe_iterator&, const _Safe_iterator&),
769 operator-(const _Safe_iterator&, const _Safe_iterator&),
770 operator+(difference_type, const _Safe_iterator&)): Likewise.
771 * include/profile/iterator_tracker.h (__iterator_tracker)
772 [__iterator_tracker, base, operator _Iterator, operator->, operator++,
773 operator--, operator=, operator*, operator[], operator+=, operator+,
774 operator-=, operator-]: Likewise.
775 (operator==(const __iterator_tracker&, const __iterator_tracker&),
776 operator!=(const __iterator_tracker&, const __iterator_tracker&),
777 operator<(const __iterator_tracker&, const __iterator_tracker&),
778 operator<=(const __iterator_tracker&, const __iterator_tracker&),
779 operator>(const __iterator_tracker&, const __iterator_tracker&),
780 operator>=(const __iterator_tracker&, const __iterator_tracker&),
781 operator-(const __iterator_tracker&, const __iterator_tracker&),
782 operator+(difference_type, const __iterator_tracker&)): Likewise.
784 2013-09-24 Marc Glisse <marc.glisse@inria.fr>
788 * include/bits/basic_string.h (basic_string)
789 [basic_string(basic_string&&)]: Make the noexcept conditional.
790 [operator=(basic_string&&), assign(basic_string&&)]: Link to PR 58265.
791 [begin(), end(), rbegin(), rend(), clear]: Remove noexcept.
792 [pop_back]: Comment on the lack of noexcept.
793 * include/debug/string (basic_string) [basic_string(const _Allocator&),
794 basic_string(basic_string&&), begin(), end(), rbegin(), rend(), clear,
795 operator[](size_type), pop_back]: Comment out noexcept, until vstring
796 replaces basic_string.
798 2013-09-24 Tim Shen <timshen91@gmail.com>
800 * include/Makefile.am: Add regex.tcc.
801 * include/Makefile.in: Regenerate.
802 * include/bits/regex.h: Remove definitions to regex.tcc.
803 * include/bits/regex.tcc: New.
804 (match_results::format, regex_replace): Implement;
805 * include/bits/regex_compiler.h: Move _M_flags to the top of class
806 member list, because other members' initialization depend on it.
807 * include/bits/regex_compiler.tcc
808 (_Compiler<>::_Compiler): Adjust member initializations.
809 (_Compiler<>::_M_quantifier): Fix ungreedy interval quantifier.
810 * include/bits/regex_executor.h: Remove _RegexT from _*Executor classes.
811 In the future, all regex classes may refactor to *Impl style.
812 * include/bits/regex_executor.tcc (_Executor::_M_set_results):
813 Merge identical code from _*Executor classes.
814 * testsuite/28_regex/algorithms/regex_match/extended/
815 string_dispatch_01.cc (fake_match<>): Adjust the hacking-style testcase
816 caller for new __get_executors interface.
817 * testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc:
819 * testsuite/28_regex/match_results/format.cc: New.
820 * testsuite/28_regex/traits/char/lookup_collatename.cc: Remove digraph
822 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: Likewise.
824 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
826 * src/c++11/snprintf_lite.cc (__concat_size_t): Use
827 unsigned long long conditionally.
829 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
831 * src/c++11/snprintf_lite.cc (__concat_size_t): Use only
832 std::__int_to_char<unsigned long long>()
834 2013-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
836 * include/bits/functexcept.h (__throw_out_of_range_fmt): New.
837 * src/c++11/functexcept.cc (__throw_out_of_range_fmt): New.
838 * src/c++11/snprintf_lite.cc: New.
839 * src/c++11/Makefile.am: Add snprintf_lite.cc.
840 * src/c++11/Makefile.in: Regenerate.
841 * config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz.
842 * include/std/array (at): Use __throw_out_of_range_fmt.
843 * include/debug/array (at): Likewise.
844 * include/profile/array (at): Likewise.
845 * include/std/bitset (_M_check_initial_position, _M_check): New.
846 (bitset::bitset): Use _M_check_initial_position.
847 (set, reset, flip, test): Use _M_check.
848 * include/ext/vstring.h (_M_check, at): Use __throw_out_of_range_fmt.
849 * include/bits/stl_vector.h (_M_range_check): Likewise.
850 * include/bits/stl_bvector.h (_M_range_check): Likewise.
851 * include/bits/stl_deque.h (_M_range_check): Likewise.
852 * include/bits/basic_string.h (_M_check, at): Likewise.
853 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust.
854 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
855 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
857 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
859 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
860 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
861 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
863 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
865 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise.
866 * testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc:
868 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
869 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Likewise.
870 * testsuite/util/exception/safety.h (generate): Use __throw_out_of_range_fmt.
872 2013-09-20 Jakub Jelinek <jakub@redhat.com>
875 * testsuite/lib/libstdc++.exp (libstdc++_init): Prepend
876 -fdiagnostics-color=never to cxxflags.
878 2013-09-20 Marc Glisse <marc.glisse@inria.fr>
881 * include/bits/allocator.h (__alloc_swap::_S_do_it,
882 __shrink_to_fit_aux::_S_do_it): Mark as noexcept.
883 * include/bits/basic_string.h (basic_string::_Rep) [_S_empty_rep,
884 _M_is_leaked, _M_is_shared, _M_set_leaked, _M_set_sharable,
885 _M_set_length_and_sharable, _M_dispose]: Likewise.
886 (basic_string::_Alloc_hider::_Alloc_hider): Likewise.
887 (basic_string) [_M_data, _M_rep, _M_ibegin, _M_iend, _M_limit,
888 _M_disjunct, _M_copy, _M_move, _M_assign, _S_copy_chars, _S_compare,
889 _S_empty_rep, shrink_to_fit, operator[] const, front const, back const]:
891 [clear]: Link to PR 56166.
892 [swap]: Link to PR 58265.
893 * include/bits/stl_deque.h (_Deque_iterator) [_S_buffer_size,
894 _Deque_iterator, _M_const_cast, operator*, operator->, operator++,
895 operator--, operator+=, operator+, operator-=, operator-, operator[],
896 _M_set_node]: Mark as noexcept.
897 (operator==(const _Deque_iterator&, const _Deque_iterator&),
898 operator!=(const _Deque_iterator&, const _Deque_iterator&),
899 operator<(const _Deque_iterator&, const _Deque_iterator&),
900 operator>(const _Deque_iterator&, const _Deque_iterator&),
901 operator<=(const _Deque_iterator&, const _Deque_iterator&),
902 operator>=(const _Deque_iterator&, const _Deque_iterator&),
903 operator-(const _Deque_iterator&, const _Deque_iterator&),
904 operator+(ptrdiff_t, const _Deque_iterator&)): Likewise.
905 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
907 [~_Deque_base, _M_deallocate_node, _M_deallocate_map, _M_destroy_nodes]:
909 (_Deque_base::_Deque_impl) [_Deque_impl(const _Tp_alloc_type&),
910 _Deque_impl(_Tp_alloc_type&&)]: Likewise.
911 (deque) [_S_buffer_size, operator=(deque&&), shrink_to_fit, operator[],
912 front, back, pop_front, pop_back, swap]: Likewise.
913 [deque(), deque(const allocator_type&)]: Merge.
914 * include/debug/deque (deque) [operator=(deque&&), shrink_to_fit,
915 operator[], front, back, pop_front, pop_back, swap]: Mark as noexcept.
916 * include/profile/deque (deque) [operator=(deque&&), operator[], front,
917 back, pop_front, pop_back, swap]: Likewise.
918 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
920 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
922 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
924 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
927 2013-09-20 Alan Modra <amodra@gmail.com>
929 * configure: Regenerate.
931 2013-09-19 Marc Glisse <marc.glisse@inria.fr>
934 * include/bits/stl_tree.h (_Rb_tree_node_base) [_S_minimum, _S_maximum]:
936 (_Rb_tree_iterator) [_Rb_tree_iterator, operator*, operator->,
937 operator++, operator--, operator==, operator!=]: Likewise.
938 (_Rb_tree_const_iterator) [_Rb_tree_const_iterator, _M_const_cast,
939 operator*, operator->, operator++, operator--, operator==, operator!=]:
941 (operator==(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&),
942 operator!=(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&)):
944 (_Rb_tree) [_M_put_node, _M_destroy_node, _M_root, _M_leftmost,
945 _M_rightmost, _M_begin, _M_end, _S_left, _S_right, _S_minimum,
946 _S_maximum]: Likewise.
947 * include/debug/string (basic_string) [basic_string(const _Allocator&),
948 shrink_to_fit, operator[], pop_back]: Likewise.
949 * include/ext/vstring.h (__versa_string) [_M_limit, _M_disjunct,
950 _M_ibegin, _M_iend, __versa_string(const _Alloc&),
951 operator=(__versa_string&&), shrink_to_fit, operator[], front,
952 back, assign(__versa_string&&), swap]: Likewise.
953 (__versa_string) [__versa_string(), __versa_string(const _Alloc&)]:
956 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
959 * include/bits/stl_iterator.h (__normal_iterator) [__normal_iterator,
960 _M_const_cast, operator*, operator->, operator++, operator--,
961 operator[], operator+=, operator+, operator-=, operator-, base]:
963 (operator==(const __normal_iterator&, const __normal_iterator&),
964 operator!=(const __normal_iterator&, const __normal_iterator&),
965 operator<(const __normal_iterator&, const __normal_iterator&),
966 operator>(const __normal_iterator&, const __normal_iterator&),
967 operator<=(const __normal_iterator&, const __normal_iterator&),
968 operator>=(const __normal_iterator&, const __normal_iterator&),
969 operator-(const __normal_iterator&, const __normal_iterator&),
970 operator+(difference_type, const __normal_iterator&)): Likewise.
971 * include/bits/stl_list.h (list) [splice, _M_check_equal_allocators]:
973 (list::_M_check_equal_allocators): Abort instead of throwing.
974 * include/debug/array (array) [operator[], front, back]: Mark as
976 * include/profile/array (array) [operator[], front, back]: Likewise.
977 * include/std/array (array) [operator[], front, back]: Likewise.
978 * include/debug/list (list::splice): Likewise.
979 * include/profile/list (list::splice): Likewise.
980 * testsuite/23_containers/list/operations/5.cc: Remove file.
981 * testsuite/23_containers/list/operations/5.h: Likewise.
983 2013-09-18 Tim Shen <timshen91@gmail.com>
985 * include/bits/regex.h: Add friend classes.
986 (match_results<>::position, regex_iterator<>::operator++):
987 Implement position specification in regex_iterator.
988 (regex_match<>, regex_search<>):
989 Move match_results initializations to these function. Remove `todo`.
990 * include/bits/regex_compiler.tcc:
991 (_Compiler<>::_M_quantifier): Fix greedy/ungreedy of interval matching.
992 * include/bits/regex_constants.h:
993 Fix indentation. Change match_flag_type to enum type.
994 * include/bits/regex_executor.h:
995 Merge identical code to the base class _Executor.
996 Support flags in regex_constants.
997 * include/bits/regex_executor.tcc: Likewise.
998 * include/bits/regex_scanner.h: Add comments.
999 * include/bits/regex_scanner.tcc: Same.
1000 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc:
1002 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New.
1003 * testsuite/28_regex/iterators/regex_iterator/char/
1004 string_position_01.cc: Remove `xfail`.
1005 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc:
1006 Remove `xfail` and make the case really work.
1008 2013-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1010 * testsuite/performance/25_algorithms/search_n.cc: Fix typo.
1012 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
1015 * include/bits/list.tcc (_List_base::_M_clear, list::erase): Mark as
1017 * include/bits/stl_list.h (_List_iterator) [_List_iterator,
1018 _M_const_cast, operator*, operator->, operator++, operator--,
1019 operator==, operator!=]: Likewise.
1020 (_List_const_iterator) [_List_const_iterator, _M_const_cast, operator*,
1021 operator->, operator++, operator--, operator==, operator!=]: Likewise.
1022 (operator==(const _List_iterator&, const _List_const_iterator&),
1023 operator!=(const _List_iterator&, const _List_const_iterator&)):
1025 (_List_impl) [_List_impl(const _Node_alloc_type&),
1026 _List_impl(_Node_alloc_type&&)]: Likewise.
1027 (_List_base) [_M_put_node, _List_base(const _Node_alloc_type&),
1028 _List_base(_List_base&&), _M_clear, _M_init]: Likewise.
1029 (list) [list(), list(const allocator_type&)]: Merge.
1030 (list) [list(const allocator_type&), front, back, pop_front, pop_back,
1031 erase, _M_erase]: Mark as noexcept.
1032 * include/debug/list (list) [list(const _Allocator&), front, back,
1033 pop_front, pop_back, _M_erase, erase]: Likewise.
1034 * include/profile/list (list) [list(const _Allocator&), front, back,
1035 pop_front, pop_back, erase]: Likewise.
1036 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1038 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1040 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1042 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1045 2013-09-17 Marc Glisse <marc.glisse@inria.fr>
1048 * include/bits/stl_vector.h (vector::vector(),
1049 vector::vector(const allocator_type&)): Merge.
1050 (_Vector_impl::_Vector_impl(_Tp_alloc_type const&),
1051 _Vector_impl::_Vector_impl(_Tp_alloc_type&&),
1052 _Vector_impl::_M_swap_data,
1053 _Vector_base::_Vector_base(const allocator_type&),
1054 _Vector_base::_Vector_base(allocator_type&&),
1055 _Vector_base::_Vector_base(_Vector_base&&), _Vector_base::~_Vector_base,
1056 vector::vector(const allocator_type&), vector::operator[],
1057 vector::operator[] const, vector::front, vector::front const,
1058 vector::back, vector::back const, vector::pop_back,
1059 vector::_M_erase_at_end): Mark as noexcept.
1060 * include/debug/vector (vector::vector(const _Allocator&),
1061 vector::operator[], vector::operator[] const, vector::front,
1062 vector::front const, vector::back, vector::back const, vector::pop_back,
1063 _M_requires_reallocation, _M_update_guaranteed_capacity,
1064 _M_invalidate_after_nth): Mark as noexcept.
1065 * include/profile/vector (vector::vector(const _Allocator&),
1066 vector::operator[], vector::operator[] const, vector::front,
1067 vector::front const, vector::back, vector::back const): Mark as
1069 (vector::vector(vector&&, const _Allocator&)): Remove wrong noexcept.
1070 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1072 * testsuite/23_containers/vector/requirements/dr438/
1073 constructor_1_neg.cc: Likewise.
1074 * testsuite/23_containers/vector/requirements/dr438/
1075 constructor_2_neg.cc: Likewise.
1076 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1079 2013-09-14 Tim Shen <timshen91@gmail.com>
1081 * include/bits/regex.h (regex_match<>, regex_search<>):
1082 Change regex_executor caller. Now use their return value instead
1083 of checking __m[0].matched to find out if it's successful.
1084 (regex_search<>): Move the search logic to regex_executor.
1085 * include/bits/regex_automaton.h: Add some new _Opcode. Refactor
1087 * include/bits/regex_automaton.tcc: Add DEBUG dump for new
1088 _Opcode. Refactor _NFA::_M_insert_*.
1089 * include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa):
1090 Use make_shared instead of construct by hand.
1091 * include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion.
1092 * include/bits/regex_constants.h: Fix indentation and line breaking.
1093 * include/bits/regex_executor.h: Add _ResultsEntry to support
1094 greedy/ungreedy mode. Move regex_search logic here.
1095 * include/bits/regex_executor.tcc: Implement assertions and
1096 greedy/ungreedy matching.
1097 * include/bits/regex_scanner.h: Add a new token _S_token_ungreedy.
1098 * include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy.
1099 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New.
1100 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New.
1101 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
1104 2013-09-13 Paolo Carlini <paolo.carlini@oracle.com>
1107 * include/ext/sso_string_base.h (__sso_string_base<>::
1108 __sso_string_base(__sso_string_base&&)): Fix thinkos about
1109 _M_length vs _M_set_length.
1110 * testsuite/ext/vstring/cons/58415-1.cc: New.
1111 * testsuite/ext/vstring/cons/58415-2.cc: Likewise.
1113 2013-09-12 Paolo Carlini <paolo.carlini@oracle.com>
1116 * include/bits/stl_iterator.h (__normal_iterator<>::operator[],
1117 operator+=, operator+, operator-=, operator-): Take the argument
1119 * testsuite/24_iterators/normal_iterator/58403.cc: New.
1121 2013-09-11 Mitsuru Kariya <kariya_mitsuru@hotmail.com>
1122 Chris Jefferson <chris@bubblescope.net>
1125 * include/bits/stl_algo.h (search_n): Fix to guarantee a number
1126 of comparisons <= number of elements in the range.
1127 * testsuite/25_algorithms/search_n/58358.cc: New.
1128 * testsuite/25_algorithms/search_n/iterator.cc: Extend.
1130 2013-09-10 Ed Smith-Rowland <3dw4rd@verizon.net>
1132 * testsuite/28_regex/traits/wchar_t/value.cc: Change template args
1133 from char to wchar_t, literals from 'x' to L'x'.
1135 2013-09-10 Kai Tietz <ktietz@redhat.com>
1138 * config/abi/pre/gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS*
1141 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1144 * include/bits/stl_algobase.h (copy_backward): Fix documentation
1147 2013-09-05 Tim Shen <timshen91@gmail.com>
1149 * include/bits/regex_automaton.h: Add dummy node type. Rewrite
1151 * include/bits/regex_automaton.tcc: Implement them.
1152 * include/bits/regex_compiler.h: Rewrite _Compiler to use new
1153 _StateSeq interfaces.
1154 * include/bits/regex_compiler.tcc: Implement them.
1155 * include/bits/regex_scanner.h: Add word boundry assertion token.
1156 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
1157 Support word boundry.
1158 * testsuite/28_regex/algorithms/regex_match/basic/
1159 string_range_02_03.cc: Remove "xfail".
1160 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
1162 * testsuite/28_regex/algorithms/regex_match/extended/
1163 string_range_02_03.cc: Likewise.
1164 * testsuite/28_regex/algorithms/regex_match/extended/
1165 cstring_questionmark.cc: Remove xfail and get correct length of
1167 * testsuite/28_regex/algorithms/regex_match/extended/
1168 string_range_00_03.cc: Likewise.
1169 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
1171 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
1173 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New.
1175 2013-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1178 * include/bits/random.tcc (negative_binomial_distribution<>::
1179 operator()(_UniformRandomNumberGenerator&, const param_type&)):
1180 Fix typo in template argument.
1181 * testsuite/26_numerics/random/negative_binomial_distribution/
1182 operators/58302.cc: New.
1184 2013-09-02 Tim Shen <timshen91@gmail.com>
1186 * regex_automaton.h: Rearrange _NFA's layout.
1187 * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
1188 Rearrange _BracketMatcher's layout.
1189 (_BracketMatcher<>::_M_add_char): Use set instead of vector for
1191 (_BracketMatcher<>::_M_add_collating_element): Likewise.
1192 (_BracketMatcher<>::_M_make_range): Likewise.
1193 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
1194 appropriate constructors of matchers above.
1195 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
1197 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
1198 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
1200 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
1202 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
1203 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
1205 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
1207 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1210 * include/debug/functions.h (__foreign_iterator_aux4): Use
1211 sequence const_pointer as common type to compare pointers. Add a
1212 fallback overload in case pointers cannot be cast to sequence
1214 * testsuite/23_containers/vector/modifiers/insert/58148.cc: New.
1216 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1219 * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add
1220 __gnu_debug::__base calls on iterators passed to internal debug
1222 (__glibcxx_check_partitioned_lower_pred): Likewise.
1223 (__glibcxx_check_partitioned_upper): Likewise.
1224 (__glibcxx_check_partitioned_upper_pred): Likewise.
1225 (__glibcxx_check_sorted): Likewise.
1226 (__glibcxx_check_sorted_pred): Likewise.
1227 (__glibcxx_check_sorted_set): Likewise.
1228 (__glibcxx_check_sorted_set_pred): Likewise.
1229 * include/debug/functions.h (__check_partitioned_lower):
1230 Remove code to detect safe iterators.
1231 (__check_partitioned_upper): Likewise.
1232 (__check_sorted): Likewise.
1234 2013-08-29 Tim Shen <timshen91@gmail.com>
1236 * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits.
1237 (regex_iterator<>::regex_iterator): Return nullptr when regex_search
1239 (regex_token_iterator<>::_M_end_of_seq): Should be defined true when
1240 _M_result is(not isn't) nullptr.
1241 * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference
1242 instead of by value.
1243 * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add
1244 _M_traits to _DFSExecutor.
1245 * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to
1247 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
1249 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
1252 2013-08-26 Tim Shen <timshen91@gmail.com>
1254 * include/Makefile.am: Add regex_scanner.{h,tcc}.
1255 * include/Makefile.in: Regenerate.
1256 * include/bits/regex.h (match_search): Handle the `__first == __last`
1257 situation correctly.
1258 * include/bits/regex_compiler.h: Move _Scanner...
1259 * include/bits/regex_scanner.h: ...to here. New.
1260 * include/bits/regex_compiler.tcc: Move _Scanner...
1261 * include/bits/regex_scanner.tcc: ...to here, too. New.
1262 * include/bits/regex_executor.tcc: Use value instead of reference for
1264 * include/std/regex: Add regex_scanner.h
1265 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
1266 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
1267 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
1268 * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
1269 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.
1271 2013-08-22 Tim Shen <timshen91@gmail.com>
1273 * include/bits/regex.h: Replace 8 spaces in indentation with a tab.
1274 * include/bits/regex_automaton.h: Same.
1275 * include/bits/regex_automaton.tcc: Same.
1276 * include/bits/regex_compiler.h: Same.
1277 * include/bits/regex_compiler.tcc: Same.
1278 * include/bits/regex_constants.h: Same.
1279 * include/bits/regex_executor.h: Same.
1280 * include/bits/regex_executor.tcc: Same.
1282 2013-08-22 Tim Shen <timshen91@gmail.com>
1284 * include/bits/regex.h: Executor caller.
1285 * include/bits/regex_executor.h: Fix empty grouping problem.
1286 * include/bits/regex_executor.tcc: Same.
1287 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
1290 2013-08-20 Phil Muldoon <pmuldoon@redhat.com>
1293 http://sourceware.org/bugzilla/show_bug.cgi?id=15195
1295 * python/libstdcxx/v6/printers.py (Printer.__call__): If a value
1296 is a reference, fetch referenced value.
1297 (RxPrinter.invoke): Ditto.
1298 * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
1299 flag. Add referenced value tests.
1301 2013-08-20 Tim Shen <timshen91@gmail.com>
1303 * include/bits/regex_constants.h: Add underlying `unsigned int` for
1304 enum syntax_option_type.
1306 2013-08-18 Tim Shen <timshen91@gmail.com>
1308 * include/bits/regex_automaton.h: _S_opcode_backref.
1309 * include/bits/regex_automaton.tcc: Backref automaton support.
1310 * include/bits/regex_compiler.tcc: Parsing support.
1311 * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor.
1312 * include/bits/regex_executor.tcc: Add _S_opcode_backref support.
1313 * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New.
1315 2013-08-16 Tim Shen <timshen91@gmail.com>
1317 * include/bits/regex.h (regex_traits<>::transform_primary):
1318 Avoid past-the-end dereferences.
1320 2013-08-14 Paolo Carlini <paolo.carlini@oracle.com>
1323 * include/bits/basic_string.h (basic_string<>::operator[]): Fix
1324 _GLIBCXX_DEBUG_PEDASSERT check vs C++11.
1325 * include/ext/vstring.h: Likewise.
1326 * testsuite/21_strings/basic_string/element_access/char/58163.cc:
1328 * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc:
1330 * testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
1331 * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
1333 2013-08-14 Uros Bizjak <ubizjak@gmail.com>
1335 * src/c++98/compatibility.cc (_ZTIe): Use
1336 reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
1340 2013-08-09 Tim Shen <timshen91@gmail.com>
1342 * include/bits/regex_constants.h: Change syntax_option_type to enum
1345 2013-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1347 * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp.
1349 2013-08-08 François Dumont <fdumont@gcc.gnu.org>
1351 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
1352 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
1354 (_Before_begin<>): Remove.
1355 * include/bits/hashtable.h (_Hashtable): Inherit from
1356 _Hashtable_alloc and adapt. Restore _M_before_begin field.
1357 * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include.
1358 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
1359 access to hashtable before begin.
1360 * testsuite/23_containers/unordered_set/
1361 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
1362 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1365 2013-08-07 Tim Shen <timshen91@gmail.com>
1367 * include/Makefile.am: Adjust to new files.
1368 * include/Makefile.in: Regenerate.
1369 * include/bits/regex.h: Adjust to new interfaces.
1370 * include/bits/regex_automaton.h: New.
1371 * include/bits/regex_automaton.tcc: New.
1372 * include/bits/regex_compiler.h: Adjust to new files.
1373 * include/bits/regex_compiler.tcc: New.
1374 * include/bits/regex_constants.h: Tail spaces.
1375 * include/bits/regex_error.h: Likewise.
1376 * include/bits/regex_executor.h: New.
1377 * include/bits/regex_executor.tcc: New.
1378 * include/std/regex: Adjust to new files.
1379 * testsuite/28_regex/algorithms/regex_match/extended/
1380 string_dispatch_01.cc: Adjust to new interfaces.
1382 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1384 * include/ext/atomicity.h: Add #pragma GCC system_header.
1386 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1389 * include/bits/random.h (cauchy_distribution<>::min,
1390 extreme_value_distribution<>::min, normal_distribution<>::min,
1391 student_t_distribution<>::min): Fix.
1392 * include/ext/random (normal_mv_distribution<>::min): Likewise.
1393 * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
1395 testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
1397 * testsuite/26_numerics/random/extreme_value_distribution/cons/
1399 testsuite/26_numerics/random/extreme_value_distribution/cons/
1400 default.cc: Likewise.
1401 * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
1403 * testsuite/26_numerics/random/normal_distribution/cons/default.cc:
1405 * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
1407 * testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
1409 * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
1410 * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
1412 * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
1414 * testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
1417 * testsuite/ext/von_mises_distribution/*: Move to...
1418 * testsuite/ext/random/von_mises_distribution/*: ... here.
1419 * testsuite/ext/triangular_distribution/*: Move to...
1420 * testsuite/ext/random/triangular_distribution/*: ... here.
1422 2013-08-06 Caroline Tice <cmtice@google.com>
1424 * fragment.am: Add XTEMPLATE_FLAGS.
1425 * configure.ac: Add definitions for --enable-vtable-verify.
1426 * acinclude.m4: Add --enable-vtable-verify and
1427 --disable-vtable-verify; define --enable-vtable-verify; define
1428 VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
1429 * config/abi/pre/gnu.ver: Export symbols for vtable verification.
1430 * libsupc++/Makefile.am: Define vtv_sources and add it to
1431 libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
1432 * libsupc++/vtv_stubs.cc: New file.
1433 * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
1434 * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
1435 VTV_CXXLINKFLAGS to CXXLINK.
1436 * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
1437 to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
1438 * src/C++11/Makefile.am: Ditto.
1439 * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
1440 * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
1441 cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
1442 * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
1443 libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
1444 cxxvtvflags to cxx_final.
1445 * testsuite/18_support/bad_exception/23591_thread-1.c: Add
1446 -fvtable-verify=none to compiler flags.
1447 * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
1449 * configure: Regenerated.
1450 * Makefile.in: Regenerated.
1451 * python/Makefile.in: Regenerated.
1452 * include/Makefile.in: Regenerated.
1453 * libsupc++/Makefile.in: Regenerated.
1454 * config.h.in: Regenerated.
1455 * po/Makefile.in: Regenerated.
1456 * src/Makefile.in: Regenerated.
1457 * src/c++98/Makefile.in: Regenerated.
1458 * src/c++11/Makefile.in: Regenerated.
1459 * doc/Makefile.in: Regenerated.
1460 * testsuite/Makefile.in: Regenerated.
1462 2013-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1464 Revert the last commit.
1466 2013-08-06 François Dumont <fdumont@gcc.gnu.org>
1468 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
1469 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
1471 (_Before_begin<>): Remove.
1472 * include/bits/hashtable.h (_Hashtable): Inherit from
1473 _Hashtable_alloc and adapt. Restore _M_before_begin field.
1474 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
1475 access to hashtable before begin.
1476 * testsuite/23_containers/unordered_set/
1477 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
1478 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1481 2013-08-03 Tim Shen <timshen91@gmail.com>
1483 Implement bracket expression.
1484 * include/bits/regex.h: Remove constexpr from "|=", etc.
1485 * include/bits/regex_compiler.h: Parse bracket expression.
1486 * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
1488 * include/bits/regex_nfa.tcc: Implement them.
1489 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1490 from regex_search to regex_match.
1491 * testsuite/28_regex/algorithms/regex_match/extended/
1492 cstring_bracket_01.cc: New.
1494 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1496 * include/debug/functions.h (__foreign_iterator_aux4):
1497 Initialize __l and __ge.
1499 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1502 * include/debug/functions.h: Include <bits/move.h>; minor formatting
1504 (__foreign_iterator_aux4): Declare __l and __ge constexpr.
1505 * include/debug/safe_iterator.h (_Safe_iterator<>::operator->):
1507 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
1508 operator->): Likewise.
1510 2013-08-01 François Dumont <fdumont@gcc.gnu.org>
1513 * include/debug/formatter.h (_Debug_msg_id): Add
1514 __msg_insert_itself_range entry.
1515 * include/debug/functions.h (_Insert_range_from_self_is_safe<>):
1516 New, indicate container types supporting self range insertion in
1518 (__foreign_iterator): New, check if an iterator points to a given
1520 * include/debug/macros.h (__glibcxx_check_insert_range): Add check
1521 using __foreign_iterator.
1522 (__gibcxx_check_insert_range_after): Likewise.
1523 * include/debug/string (_Insert_range_from_self_is_safe<>):
1524 Partially specialized to mark __gnu_debug::basic_string<> as
1525 supporting self range insert.
1526 * include/debug/list (_Insert_range_from_self_is_safe<>):
1527 Partially specialized to mark std::list as supporting self range
1528 insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
1529 * include/debug/forward_list (_Insert_range_from_self_is_safe<>):
1531 * src/c++11/debug.cc (_S_debug_messages): Add
1532 __msg_insert_itself_range_entry message.
1533 (_Error_formatter::_Parameter::_M_print_description): Display
1534 iterator sequence address rather than sequence address when the
1535 parameter type is an iterator.
1536 (_Error_formatter::_M_print_word): Enhance behavior when
1537 displaying a word with an appended '\n'.
1538 * testsuite/util/debug/checks.h (check_insert4<>): New.
1539 * testsuite/23_containers/deque/debug/insert5_neg.cc: New.
1540 * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
1541 * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
1542 * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
1543 * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
1544 * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
1547 2013-08-01 Fabien Chêne <fabien@gcc.gnu.org>
1550 * include/tr1/cmath: Remove pow(double,double) overload, remove a
1551 duplicated comment about DR 550. Add a comment to explain the
1553 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
1555 2013-07-31 Tim Shen <timshen91@gmail.com>
1557 Thompson matcher refactored. Fix grouping problem.
1558 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1559 * include/bits/regex_compiler.h: Tweak for auto switching.
1560 * include/bits/regex_grep_matcher.h: Class structure.
1561 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1562 matcher) refactoring.
1563 * include/bits/regex_nfa.h: Change _Results's interfaces.
1564 * include/std/regex: Includes <map> and <queue>.
1565 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1567 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1569 * testsuite/28_regex/algorithms/regex_match/extended/
1570 string_dispatch_01.cc: New.
1572 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
1575 * include/bits/stl_bvector.h: Use friend struct hash intead of
1576 friend class hash to work around useless warnings produced by
1578 * include/std/bitset: Likewise.
1580 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
1582 * src/c++11/functexcept.cc: Do not include the whole <regex>.
1583 * src/c++11/regex.cc: Likewise.
1585 2013-07-31 Tim Shen <timshen91@gmail.com>
1589 2013-07-31 Tim Shen <timshen91@gmail.com>
1591 Thompson matcher refactored. Fix grouping problem.
1592 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1593 * include/bits/regex_compiler.h: Tweak for auto switching.
1594 * include/bits/regex_grep_matcher.h: Class structure.
1595 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1596 matcher) refactoring.
1597 * include/bits/regex_nfa.h: Change _Results's interfaces.
1598 * include/std/regex: Includes <map> and <queue>.
1599 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1601 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1603 * testsuite/28_regex/algorithms/regex_match/extended/
1604 string_dispatch_01.cc: New.
1606 2013-07-30 Paolo Carlini <paolo.carlini@oracle.com>
1610 2013-07-30 Tim Shen <timshen91@gmail.com>
1612 Thompson matcher refactored. Fix grouping problem.
1613 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1614 * include/bits/regex_compiler.h: Tweak for auto switching.
1615 * include/bits/regex_grep_matcher.h: Class structure.
1616 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1617 matcher) refactoring.
1618 * include/bits/regex_nfa.h: Change _Results's interfaces.
1619 * include/std/regex: Includes <map> and <queue>.
1620 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1622 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1624 * testsuite/28_regex/algorithms/regex_match/extended/
1625 string_dispatch_01.cc: New.
1627 2013-07-29 Nathan Froyd <froydnj@gcc.gnu.org>
1629 * include/std/atomic (compare_exchange_weak, compare_exchange_strong):
1630 Add call to __cmpexch_failure_order.
1631 * testsuite/util/testsuite_common_types.h
1632 (compare_exchange_order_lowering): New generator.
1633 * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc:
1636 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com>
1638 * include/std/complex (pow(const complex<>&, int)): Enable in
1640 * testsuite/26_numerics/complex/dr844.cc: Adjust.
1641 * doc/xml/manual/intro.xml: Update.
1643 2013-07-25 Tim Shen <timshen91@gmail.com>
1645 Add documents and comments.
1646 * include/bits/regex.h: Documents and comments.
1647 * include/bits/regex_grep_matcher.h: Likewise.
1648 * include/bits/regex_grep_matcher.tcc: Likewise.
1649 * testsuite/28_regex/iterators/regex_iterator/char/
1650 string_position_01.cc: New.
1652 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1655 * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and
1658 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1660 * include/bits/random.h (random_device): Avoid using the FILE type.
1661 * include/std/random: Do not include <cstdio>.
1662 * src/c++11/random.cc: ... include it here.
1663 (random_device::_M_init, random_device::_M_fini,
1664 random_device::_M_getval): Cast back and forth void* and FILE*.
1666 2013-07-24 Tim Shen <timshen91@gmail.com>
1668 Reimplment matcher using Depth-first search(backtracking).
1671 * include/bits/regex.h: regex_match() and regex_search().
1672 * include/bits/regex_cursor.h: Fix _M_set_pos().
1673 * include/bits/regex_grep_matcher.h: add _M_dfs_match().
1674 * include/bits/regex_grep_matcher.tcc: Implement it.
1675 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New.
1676 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New.
1677 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
1680 2013-07-23 Tim Shen <timshen91@gmail.com>
1682 Implement regex_iterator and regex_token_iterator.
1683 * include/bits/regex.h: regex_iterator and regex_token_iterator.
1684 * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
1686 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
1688 * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
1690 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
1693 2013-07-23 Paolo Carlini <paolo.carlini@oracle.com>
1695 * include/std/random: Add back <cstdio> include.
1696 * src/c++11/random.cc: Don't include <cstdio> here.
1698 2013-07-22 Jason Merrill <jason@redhat.com>
1701 * libsupc++/atexit_thread.cc (run): Delete cleanup elts.
1703 2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
1706 * src/c++11/random.cc (random_device::_M_getval): If possible, use
1707 read instead of std::fread.
1708 * include/std/random: Do not include <cstdio> unnecessarily.
1710 2013-07-21 Tim Shen <timshen91@gmail.com>
1712 Partially implement regex_search.
1713 * include/bits/regex.h: regex_search.
1714 * include/bits/regex_grep_matcher.h: _M_search_from_first.
1715 * include/bits/regex_grep_matcher.tcc: Implement it.
1716 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
1718 2013-07-21 Jonathan Wakely <jwakely.gcc@gmail.com>
1721 * include/std/condition_variable (condition_variable_any): Move into
1722 inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
1723 * src/c++11/condition_variable.cc (condition_variable_any): Move
1725 * src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
1726 * src/Makefile.am: Add new source file.
1727 * src/Makefile.in: Regenerate.
1729 2013-07-09 Tim Shen <timshen91@gmail.com>
1731 Implement class regex_traits.
1732 * include/bits/regex.h: Implement lookup_classname and
1733 lookup_collatename; modify isctype; partially implement
1735 * testsuite/28_regex/traits/char/isctype.cc: Add more test cases.
1736 * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
1737 * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
1738 * testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
1739 * testsuite/28_regex/traits/wchar_t/isctype.cc: New.
1740 * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New.
1741 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New.
1742 * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New.
1744 2013-07-07 Ed Smith-Rowland <3dw4rd@verizon.net>
1746 * doc/xml/manual/status_cxx2014.xml: Add links for papers.
1748 2013-07-05 François Dumont <fdumont@gcc.gnu.org>
1750 * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
1752 (_MoveReuseOrAllocNode): Remove.
1753 (_Insert_base): Take a functor defining how the node is generated.
1754 * include/bits/hashtable.h: Adapt.
1755 (operator=(initializer_list<value_type>)): Reuse node if any.
1756 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1757 Adjust dg-error line number.
1758 * testsuite/23_containers/unordered_set/
1759 not_default_constructible_hash_neg.cc: Likewise.
1761 2013-07-05 Paolo Carlini <paolo.carlini@oracle.com>
1763 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1764 Tweak, avoid potential undefined behavior.
1765 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1767 * testsuite/23_containers/vector/bool/modifiers/insert/
1768 const_iterator.cc: Likewise.
1769 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1772 2013-07-04 Veres Lajos <vlajos@gmail.com>
1773 Jonathan Wakely <jwakely.gcc@gmail.com>
1775 * config/locale/generic/codecvt_members.cc: Fix typo.
1776 * configure.host: Likewise.
1777 * doc/html/manual/policy_data_structures_design.html: Likewise.
1778 * doc/xml/manual/policy_data_structures.xml: Likewise.
1779 * include/bits/hashtable.h: Likewise.
1780 * include/bits/random.h: Likewise.
1781 * include/profile/impl/profiler_trace.h: Likewise.
1782 * testsuite/23_containers/deque/cons/2.cc: Likewise.
1783 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
1784 * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise.
1785 * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
1787 2013-07-04 Ray Chason <chasonr@newsguy.com>
1788 Paolo Carlini <paolo.carlini@oracle.com>
1791 * include/bits/regex.h (regex_token_iterator<>::operator==,
1792 regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
1793 regex_token_iterator<>::operator->): Declare const.
1795 2013-07-01 Paolo Carlini <paolo.carlini@oracle.com>
1797 * include/bits/stl_list.h (list<>::insert(iterator,
1798 size_type, const value_type&), list<>::insert(iterator,
1799 initializer_list<>), list<>::insert(iterator, _InputIterator,
1800 _InputIterator), list<>::splice(iterator, list&&),
1801 list<>::splice(iterator, list&), list<>::splice(iterator, list&&,
1802 iterator), list<>::splice(iterator, list&, iterator),
1803 list<>::splice(iterator, list&&, iterator, iterator),
1804 list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11
1805 signatures to take const_iterator(s).
1806 * include/bits/list.tcc (list<>::insert(const_iterator, size_type,
1807 const value_type&), list<>::insert(const_iterator, _InputIterator,
1808 _InputIterator)): Define.
1809 * include/ext/vstring.h (__versa_string<>::insert(iterator,
1810 size_type, _CharT), __versa_string<>::insert(iterator,
1811 _InputIterator, _InputIterator), __versa_string<>::insert(iterator,
1812 std::initializer_list<>), __versa_string<>::replace(iterator,
1813 iterator, _InputIterator, _InputIterator), __versa_string<>::
1814 replace(iterator, iterator, std::initializer_list<>)): Adjust C++11
1815 signatures to take const_iterator(s).
1816 (__versa_string<>::_M_replace_dispatch): Take const_iterators.
1817 * include/ext/vstring.tcc: Likewise.
1818 * include/debug/list: Adjust.
1819 * include/profile/list: Likewise.
1820 * testsuite/23_containers/list/operations/splice/const_iterator.cc:
1822 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1824 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
1826 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
1828 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
1830 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
1833 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1834 Adjust dg-error line number.
1835 * testsuite/23_containers/list/requirements/dr438/
1836 constructor_1_neg.cc: Likewise.
1837 * testsuite/23_containers/list/requirements/dr438/
1838 constructor_2_neg.cc: Likewise.
1839 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1842 2013-06-30 Paolo Carlini <paolo.carlini@oracle.com>
1844 * include/bits/stl_deque.h (deque<>::insert(iterator,
1845 size_type, const value_type&), deque<>::insert(iterator,
1846 initializer_list<>), deque<>::insert(iterator, _InputIterator,
1847 _InputIterator)): Adjust C++11 signatures to take a const_iterator.
1848 * include/bits/stl_vector.h: Likewise.
1849 * include/bits/stl_bvector.h: Likewise.
1850 * include/debug/deque: Adjust.
1851 * include/debug/vector: Likewise.
1852 * include/profile/deque: Likewise.
1853 * include/profile/vector: Likewise.
1854 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1856 * testsuite/23_containers/vector/bool/modifiers/insert/
1857 const_iterator.cc: Likewise.
1858 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1861 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1862 Adjust dg-error line number.
1863 * testsuite/23_containers/deque/requirements/dr438/
1864 constructor_1_neg.cc: Likewise.
1865 * testsuite/23_containers/deque/requirements/dr438/
1866 constructor_2_neg.cc: Likewise.
1867 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1869 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1871 * testsuite/23_containers/vector/requirements/dr438/
1872 constructor_1_neg.cc: Likewise.
1873 * testsuite/23_containers/vector/requirements/dr438/
1874 constructor_2_neg.cc: Likewise.
1875 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1878 2013-06-29 François Dumont <fdumont@gcc.gnu.org>
1880 * include/bits/hashtable_policy.h (_Insert_base): Consider hint in
1882 * include/bits/hashtable.h: Likewise.
1883 * testsuite/23_containers/unordered_multimap/insert/hint.cc: New.
1884 * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc:
1886 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1887 Adjust dg-error line number.
1888 * testsuite/23_containers/unordered_set/
1889 not_default_constructible_hash_neg.cc: Likewise.
1890 * doc/xml/manual/containers.xml: Document hinting in unordered
1893 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1895 * testsuite/21_strings/basic_string/operations/*: Move inside
1896 testsuite/21_strings/basic_string/operations/data/.
1897 * testsuite/21_strings/basic_string/compare/*: Move inside
1898 testsuite/21_strings/basic_string/operations/.
1899 * testsuite/21_strings/basic_string/find/*: Likewise.
1900 * testsuite/21_strings/basic_string/rfind/*: Likewise.
1901 * testsuite/21_strings/basic_string/substr/*: Likewise.
1903 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1905 * testsuite/21_strings/basic_string/append/*: Move inside
1906 testsuite/21_strings/basic_string/modifiers/.
1907 * testsuite/21_strings/basic_string/assign/*: Likewise.
1908 * testsuite/21_strings/basic_string/insert/*: Likewise.
1909 * testsuite/21_strings/basic_string/replace/*: Likewise.
1910 * testsuite/21_strings/basic_string/modifiers/pop_back/char/
1911 pop_back.cc: Rename to 1.cc.
1912 * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/
1913 pop_back.cc: Likewise.
1914 * testsuite/ext/vstring/assign/*: Move inside
1915 testsuite/ext/vstring/modifiers/.
1917 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1919 * include/bits/stl_deque.h (deque<>::insert(iterator,
1920 const value_type&), deque<>::insert(iterator, value_type&&),
1921 deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to
1922 take a const_iterator.
1923 (deque<>::erase): Simplify.
1924 * include/bits/stl_list.h: Likewise.
1925 (_List_iterator<>::_M_const_cast): Add.
1926 * include/bits/stl_vector.h: Likewise.
1927 * include/bits/stl_bvector.h: Likewise.
1928 (_Bit_iterator::_M_const_cast): Add.
1929 * include/bits/deque.tcc: Adjust definitions.
1930 * include/bits/list.tcc: Likewise.
1931 * include/bits/vector.tcc: Likewise.
1932 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
1933 Define trivial version in C++98 mode.
1934 * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT),
1935 __versa_string<>::replace(iterator, iterator, const __versa_string&),
1936 __versa_string<>::replace(iterator, iterator, const _CharT*,
1937 size_type), __versa_string<>::replace(iterator, iterator,
1938 const _CharT*), __versa_string<>::replace(iterator, iterator,
1939 size_type, _CharT)): Adjust C++11 signatures to take a pair of
1941 * include/debug/deque: Adjust.
1942 * include/debug/list: Likewise.
1943 * include/debug/vector: Likewise.
1944 * include/profile/deque: Likewise.
1945 * include/profile/list: Likewise.
1946 * include/profile/vector: Likewise.
1947 (vector<>::emplace): Add.
1948 * testsuite/util/exception/safety.h: Update.
1949 * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
1951 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1953 * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
1955 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1957 * testsuite/23_containers/vector/bool/modifiers/insert/
1958 const_iterator.cc: Likewise.
1959 * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
1961 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1963 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
1965 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
1967 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
1969 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
1972 * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/
1973 ext/vstring/modifiers/erase/char/.
1974 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/
1975 ext/vstring/modifiers/wchar_t/.
1976 * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/
1977 ext/vstring/modifiers/pop_back/char/.
1978 * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to
1979 testsuite/ext/vstring/modifiers/pop_back/wchar_t/.
1981 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1982 Adjust dg-error line number.
1983 * testsuite/23_containers/deque/requirements/dr438/
1984 constructor_1_neg.cc: Likewise.
1985 * testsuite/23_containers/deque/requirements/dr438/
1986 constructor_2_neg.cc: Likewise.
1987 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1989 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1991 * testsuite/23_containers/list/requirements/dr438/
1992 constructor_1_neg.cc: Likewise.
1993 * testsuite/23_containers/list/requirements/dr438/
1994 constructor_2_neg.cc: Likewise.
1995 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1997 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1999 * testsuite/23_containers/vector/requirements/dr438/
2000 constructor_1_neg.cc: Likewise.
2001 * testsuite/23_containers/vector/requirements/dr438/
2002 constructor_2_neg.cc: Likewise.
2003 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2006 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>
2008 Status page for C++2014 library features
2009 * doc/xml/faq.xml: Add link to new C++14 status page.
2010 * doc/xml/manual/intro.xml: Ditto.
2011 * doc/xml/manual/status_cxx2014.xml: New.
2013 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2015 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid
2016 spurious fails with check-debug.
2017 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc:
2019 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.
2020 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc:
2023 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2026 * include/bits/char_traits.h (char_traits<char>::lt): Implement
2028 * testsuite/21_strings/char_traits/requirements/char/57704.cc: New.
2030 2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
2033 * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
2034 declare per the letter of the C++ standard in terms of void.
2035 * include/c_std/cstdlib: Likewise.
2037 2013-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2040 * include/bits/random.h (binomial_distribution<>::_M_waiting):
2041 Add double parameter.
2042 * include/bits/random.tcc (binomial_distribution<>::operator()
2043 (_UniformRandomNumberGenerator&, const param_type&)): Pass
2044 __param._M_q to _M_waiting.
2045 (_M_waiting): Adjust.
2046 * testsuite/26_numerics/random/binomial_distribution/
2047 operators/values.cc: Add tests.
2049 2013-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2052 * include/std/valarray (valarray<>::operator=(const _Expr<>&)):
2053 Implement correctly C++11 26.6.2.3/1.
2054 * testsuite/26_numerics/valarray/dr630-3.C: New.
2056 2013-06-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2059 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
2060 functionality to new __timed_mutex_impl mixin. Overload try_lock_until
2061 to handle conversion between different clocks. Replace constrained
2062 __try_lock_for_impl overloads with conditional increment.
2063 * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
2064 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
2066 2013-06-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2067 Chris Jefferson <chris@bubblescope.net>
2069 * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671
2070 dispatch to traditional std::equal for random-access iterators.
2071 (__equal2_aux, __equal2): Remove.
2072 (__equal::equal): Remove unused overloads.
2073 * include/bits/stl_algo.h (is_permutation): Fix typos.
2075 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2077 * include/std/shared_mutex (shared_lock::operator=): Add missing
2080 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2083 * include/bits/forward_list.h (_Fwd_list_base): Convert to/from
2084 allocator's pointer type.
2085 * include/bits/hashtable.h (_Hashtable): Likewise.
2086 * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
2087 * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
2088 * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
2089 * testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
2091 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2093 * include/std/shared_mutex: Implement N3659.
2094 * include/bits/c++14_warning.h: New.
2095 * include/Makefile.am: Add new headers.
2096 * include/Makefile.in: Regenerate.
2097 * testsuite/30_threads/shared_lock/cons/1.cc: New.
2098 * testsuite/30_threads/shared_lock/locking/2.cc: New.
2099 * testsuite/30_threads/shared_lock/cons/2.cc: New.
2100 * testsuite/30_threads/shared_lock/locking/3.cc: New.
2101 * testsuite/30_threads/shared_lock/cons/3.cc: New.
2102 * testsuite/30_threads/shared_lock/locking/4.cc: New.
2103 * testsuite/30_threads/shared_lock/cons/4.cc: New.
2104 * testsuite/30_threads/shared_lock/modifiers/1.cc: New.
2105 * testsuite/30_threads/shared_lock/cons/5.cc: New.
2106 * testsuite/30_threads/shared_lock/modifiers/2.cc: New.
2107 * testsuite/30_threads/shared_lock/cons/6.cc: New.
2108 * testsuite/30_threads/shared_lock/requirements/
2109 explicit_instantiation.cc: New.
2110 * testsuite/30_threads/shared_lock/locking/1.cc: New.
2111 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
2112 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
2113 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
2114 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
2115 * testsuite/30_threads/shared_mutex/requirements/
2116 standard_layout.cc: New.
2117 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
2118 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
2120 2013-06-15 Paolo Carlini <paolo.carlini@oracle.com>
2123 * include/bits/unordered_map.h (unordered_map<>::insert,
2124 unordered_multimap<>::insert): Use std::forward, not std::move.
2125 * testsuite/23_containers/unordered_map/insert/57619.C: New.
2126 * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
2128 2013-06-14 Alan Modra <amodra@gmail.com>
2130 * configure.host (abi_baseline_pair): Match powerpc64*.
2132 2013-06-13 Daniel Krugler <daniel.kruegler@gmail.com>
2134 * include/std/type_traits (is_function): Support ref-qualified
2136 (is_copy_constructible, is_move_constructible, is_copy_assignable,
2137 is_move_assignable, is_nothrow_copy_constructible,
2138 is_nothrow_move_constructible, is_nothrow_copy_assignable,
2139 is_nothrow_move_assignable): Implement LWG 2196.
2140 (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement
2142 (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove,
2144 * testsuite/20_util/add_lvalue_reference/value.cc: Extend.
2145 * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
2146 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
2147 * testsuite/20_util/is_assignable/value.cc: Likewise.
2148 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
2149 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
2150 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
2151 * testsuite/20_util/is_function/value.cc: Likewise.
2152 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
2153 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
2154 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
2155 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
2156 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
2157 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
2159 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2161 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2163 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2166 2013-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2168 * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(),
2169 __gnu_cxx::__airy_bi()): Remove.
2170 * testsuite/tr1/5_numerical_facilities/special_functions/
2171 10_cyl_bessel_k/airy.cc: Fix.
2173 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net>
2176 * include/tr1/modified_bessel_func.tcc (__airy): Remove return
2178 (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
2179 * testsuite/tr1/5_numerical_facilities/special_functions/
2180 10_cyl_bessel_k/airy.cc: New.
2182 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
2184 Fix library literals error involving namespace __detail.
2185 * include/std/chrono: Rename __detail to __select_type. Reformat.
2186 * include/bits/basic_string.h: Reformat.
2187 * testsuite/20_util/duration/literals/ns_detail.cc: New.
2189 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com>
2192 * include/c_global/cstddef (max_align_t): Add to namespace std.
2193 * include/c_std/cstddef: Likewise.
2194 * testsuite/18_support/max_align_t/requirements/1.cc: New.
2195 * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
2197 2013-06-10 Benjamin Kosnik <bkoz@redhat.com>
2199 * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
2200 * include/bits/stl_map.h (erase): Use abi_tag when C++11.
2201 * include/bits/stl_multimap.h: Same.
2202 * include/bits/stl_multiset.h: Same.
2203 * include/bits/stl_set.h: Same.
2204 * include/bits/stl_tree.h: Same.
2205 * include/std/complex (real, imag): Use macro for abi_tag.
2207 * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
2208 * testsuite/util/testsuite_containers.h (erase_external): New
2210 (erase_external_iterators): Same.
2211 (linkage_check_cxx98_cxx11_erase): Same.
2212 (linkage_check_cxx98_cxx11_erase_iterators): Same.
2213 * testsuite/util/testsuite_shared.cc: Define.
2214 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
2215 * testsuite/23_containers/map/modifiers/erase/
2216 dr130-linkage-check.cc: New.
2217 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
2218 * testsuite/23_containers/multimap/modifiers/erase/
2219 dr130-linkage-check.cc: New.
2220 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
2221 * testsuite/23_containers/multiset/modifiers/erase/
2222 dr130-linkage-check.cc: New.
2223 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
2224 * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
2226 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
2228 * testsuite/23_containers/map/dr130.cc: Move...
2229 * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
2230 * testsuite/23_containers/multimap/dr130.cc: Move ...
2231 * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
2232 * testsuite/23_containers/multiset/dr130.cc: Move...
2233 * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
2234 * testsuite/23_containers/set/dr130.cc: Move...
2235 * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
2237 2013-06-10 Thomas Schwinge <thomas@codesourcery.com>
2239 * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
2240 handling of Linux-based x86 systems to cover all GNU systems.
2241 * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
2242 * testsuite/18_support/pthread_guard.cc: Likewise.
2243 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
2245 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
2247 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
2248 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
2249 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2250 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2251 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2252 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2253 * testsuite/23_containers/list/pthread1.cc: Likewise.
2254 * testsuite/23_containers/list/pthread5.cc: Likewise.
2255 * testsuite/23_containers/map/pthread6.cc: Likewise.
2256 * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
2258 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2260 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
2261 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
2262 * testsuite/30_threads/async/42819.cc: Likewise.
2263 * testsuite/30_threads/async/49668.cc: Likewise.
2264 * testsuite/30_threads/async/54297.cc: Likewise.
2265 * testsuite/30_threads/async/any.cc: Likewise.
2266 * testsuite/30_threads/async/async.cc: Likewise.
2267 * testsuite/30_threads/async/launch.cc: Likewise.
2268 * testsuite/30_threads/async/sync.cc: Likewise.
2269 * testsuite/30_threads/call_once/39909.cc: Likewise.
2270 * testsuite/30_threads/call_once/49668.cc: Likewise.
2271 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2272 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
2273 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2274 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
2275 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
2276 * testsuite/30_threads/condition_variable/members/53841.cc:
2278 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
2280 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
2281 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
2282 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2283 * testsuite/30_threads/condition_variable_any/members/1.cc:
2285 * testsuite/30_threads/condition_variable_any/members/2.cc:
2287 * testsuite/30_threads/future/cons/move.cc: Likewise.
2288 * testsuite/30_threads/future/members/45133.cc: Likewise.
2289 * testsuite/30_threads/future/members/get.cc: Likewise.
2290 * testsuite/30_threads/future/members/get2.cc: Likewise.
2291 * testsuite/30_threads/future/members/share.cc: Likewise.
2292 * testsuite/30_threads/future/members/valid.cc: Likewise.
2293 * testsuite/30_threads/future/members/wait.cc: Likewise.
2294 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
2295 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
2296 * testsuite/30_threads/lock/1.cc: Likewise.
2297 * testsuite/30_threads/lock/2.cc: Likewise.
2298 * testsuite/30_threads/lock/3.cc: Likewise.
2299 * testsuite/30_threads/lock/4.cc: Likewise.
2300 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2301 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2302 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2303 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2304 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
2305 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2306 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2307 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2308 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
2309 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
2310 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
2311 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
2312 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
2313 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
2314 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
2315 * testsuite/30_threads/packaged_task/cons/move_assign.cc:
2317 * testsuite/30_threads/packaged_task/members/get_future.cc:
2319 * testsuite/30_threads/packaged_task/members/get_future2.cc:
2321 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
2322 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
2323 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
2324 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
2325 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
2326 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
2327 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
2328 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
2329 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
2330 * testsuite/30_threads/promise/cons/1.cc: Likewise.
2331 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
2332 * testsuite/30_threads/promise/cons/move.cc: Likewise.
2333 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
2334 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
2335 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
2336 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
2337 * testsuite/30_threads/promise/members/set_exception2.cc:
2339 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
2340 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
2341 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
2342 * testsuite/30_threads/promise/members/swap.cc: Likewise.
2343 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2344 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2346 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2347 * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
2349 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
2351 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2352 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2353 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2354 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2355 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2357 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2358 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2359 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2361 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
2363 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
2365 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
2367 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2369 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2371 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2373 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2375 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2377 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
2379 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
2380 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
2381 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
2382 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
2383 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
2384 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
2385 * testsuite/30_threads/shared_future/members/wait_for.cc:
2387 * testsuite/30_threads/shared_future/members/wait_until.cc:
2389 * testsuite/30_threads/this_thread/1.cc: Likewise.
2390 * testsuite/30_threads/this_thread/2.cc: Likewise.
2391 * testsuite/30_threads/this_thread/3.cc: Likewise.
2392 * testsuite/30_threads/this_thread/4.cc: Likewise.
2393 * testsuite/30_threads/thread/cons/1.cc: Likewise.
2394 * testsuite/30_threads/thread/cons/2.cc: Likewise.
2395 * testsuite/30_threads/thread/cons/3.cc: Likewise.
2396 * testsuite/30_threads/thread/cons/4.cc: Likewise.
2397 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
2398 * testsuite/30_threads/thread/cons/5.cc: Likewise.
2399 * testsuite/30_threads/thread/cons/6.cc: Likewise.
2400 * testsuite/30_threads/thread/cons/7.cc: Likewise.
2401 * testsuite/30_threads/thread/cons/8.cc: Likewise.
2402 * testsuite/30_threads/thread/cons/9.cc: Likewise.
2403 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
2404 * testsuite/30_threads/thread/members/1.cc: Likewise.
2405 * testsuite/30_threads/thread/members/2.cc: Likewise.
2406 * testsuite/30_threads/thread/members/3.cc: Likewise.
2407 * testsuite/30_threads/thread/members/4.cc: Likewise.
2408 * testsuite/30_threads/thread/members/5.cc: Likewise.
2409 * testsuite/30_threads/thread/members/hardware_concurrency.cc:
2411 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
2412 * testsuite/30_threads/thread/native_handle/typesizes.cc:
2414 * testsuite/30_threads/thread/swap/1.cc: Likewise.
2415 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2416 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
2418 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2419 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2420 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
2422 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2423 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2424 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2425 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2426 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2427 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2428 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2429 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2430 * testsuite/30_threads/try_lock/1.cc: Likewise.
2431 * testsuite/30_threads/try_lock/2.cc: Likewise.
2432 * testsuite/30_threads/try_lock/3.cc: Likewise.
2433 * testsuite/30_threads/try_lock/4.cc: Likewise.
2434 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2435 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2436 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2437 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2438 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2439 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2440 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2441 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2442 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2443 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2444 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2445 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2446 * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
2447 * testsuite/ext/profile/mh.cc: Likewise.
2448 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
2449 * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
2450 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
2452 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
2454 * testsuite/util/testsuite_performance.h: Extend current handling
2455 of Linux-based systems to cover all glibc-based systems.
2457 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2459 * include/std/mutex (call_once): Remove parentheses to fix error in
2460 c++1y and gnu++1y mode.
2461 * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
2462 thread to avoid undefined behaviour.
2464 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2466 Simplify and clean up library literals.
2467 * include/std/chrono: Simplify namespace and versioning management.
2468 * include/bits/basic_string.h: Ditto.
2469 * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
2470 * testsuite/20_util/duration/literals/values.cc: Ditto.
2471 * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
2472 * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
2474 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2476 Implement N3654 - Quoted Strings Library Proposal
2477 * include/std/iomanip: Add quoted(String, Char delim, Char escape)
2478 manipulators and supporting machinery in c++1y mode.
2479 * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
2480 * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
2482 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2484 * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
2487 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2489 * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
2490 * include/bits/stl_algobase.h (equal, mismatch): Likewise.
2491 * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
2492 * testsuite/25_algorithms/equal/2.cc: New.
2493 * testsuite/25_algorithms/equal/check_type2.cc: New.
2494 * testsuite/25_algorithms/is_permutationqual/2.cc: New.
2495 * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
2496 * testsuite/25_algorithms/mismatch/2.cc: New.
2497 * testsuite/25_algorithms/mismatch/check_type2.cc: New.
2498 * testsuite/util/testsuite_iterators.h: Fix spelling.
2500 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2502 * include/std/type-traits (integral_constant::operator()): Implement
2504 * testsuite/20_util/integral_constant/call_operator.cc: New.
2505 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2507 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2509 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2512 2013-06-07 Uros Bizjak <ubizjak@gmail.com>
2514 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2516 2013-06-05 Tom Tromey <tromey@redhat.com>
2518 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
2520 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com>
2523 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
2525 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net>
2527 * include/std/chrono: Collapse redundant 'inline' from 'inline
2529 * include/std/tuple: Ditto.
2530 * include/bits/move.h: Ditto.
2532 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
2534 Implement N3642 - User-defined Literals for Standard Library Types
2535 * include/bits/parse_numbers.h: New.
2536 * include/std/chrono: Add duration literal operators.
2537 * include/bits/basic_string.h: Add string literal operators.
2538 * include/Makefile.in: Add parse_numbers.h.
2539 * include/Makefile.am: Ditto.
2540 * testsuite/20_util/duration/literals/values.cc: New.
2541 * testsuite/20_util/duration/literals/types.cc: New.
2542 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
2543 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
2544 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
2545 * testsuite/21_strings/basic_string/literals/values.cc: New.
2546 * testsuite/21_strings/basic_string/literals/types.cc: New.
2548 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2550 * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
2551 !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
2552 calling non-existent from_time_t.
2554 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2556 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2559 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
2561 * include/std/chrono: Wrap clocks in inline namespace _V2.
2562 * src/c++11/chrono.cc: Same.
2563 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
2564 file, with default configure macros selected.
2566 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
2568 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
2570 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
2571 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
2572 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
2574 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2576 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
2577 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
2579 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
2580 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
2581 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
2582 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
2583 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
2584 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2586 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
2587 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
2589 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2591 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
2592 (CLOCK_MONOTONIC): Define.
2594 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2596 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
2599 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
2601 2013-05-24 Jakub Jelinek <jakub@redhat.com>
2603 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
2604 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
2605 don't define system_clock::is_steady, system_clock::now() and
2606 steady_clock::is_steady.
2607 (std::chrono::system_clock::now()): If
2608 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
2609 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
2610 (std::chrono::system_clock::now()): Likewise. Add weak attribute
2611 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
2613 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
2614 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
2615 * src/c++11/compatibility-chrono.cc: New file.
2616 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
2617 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
2618 * testsuite/util/testsuite_abi.cc (check_version): Add
2619 GLIBCXX_3.4.20 version and make it the latest.
2620 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
2621 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
2622 @@GLIBCXX_3.4.20 instead.
2623 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
2624 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
2625 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
2627 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2629 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
2630 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
2632 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
2633 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
2634 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
2635 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
2636 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
2637 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2639 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
2640 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
2641 * config.h.in: Regenerated.
2642 * src/Makefile.in: Regenerated.
2643 * configure: Regenerated.
2645 2013-05-23 Matthias Klose <doko@ubuntu.com>
2647 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
2648 (ext_headers): Remove ${ext_host_headers}.
2649 (stamp-${host_alias}): Create ${host_builddir}/../ext.
2650 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
2651 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
2652 * include/Makefile.in: Regenerate.
2653 * include/ext/random: Include ext/opt_random.h.
2655 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2657 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
2658 enable features if target OS is known to support them.
2659 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
2660 * configure: Regenerate.
2662 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2665 * include/std/functional (__invoke): Do not form function types with
2666 abstract return type.
2667 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
2669 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
2671 * include/std/tuple (get): Implement N3670.
2672 * include/std/utility (get): Likewise.
2673 * testsuite/20_util/pair/get.cc: Move to ...
2674 * testsuite/20_util/pair/astuple/get.cc: Here.
2675 * testsuite/20_util/pair/astuple/astuple.cc: New.
2676 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
2677 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
2678 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
2679 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
2680 * testsuite/20_util/pair/astuple/get_neg.cc: New.
2681 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
2682 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
2683 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
2685 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2687 * Revert last commit.
2689 2013-05-19 Matthias Klose <doko@ubuntu.com>
2691 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
2692 (ext_headers): Remove ${ext_host_headers}.
2693 (stamp-${host_alias}): Create ${host_builddir}/../ext.
2694 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
2695 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
2696 * include/Makefile.in: Regenerate.
2698 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2700 * include/std/system_error (error_category::error_category()): LWG
2701 2145: Declare public and constexpr.
2702 * src/c++11/system_error.cc (error_category::error_category()): Move
2704 * src/c++11/compatibility-c++0x.cc: Here.
2706 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2708 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
2710 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2712 * include/bits/unique_ptr.h (make_unique): Declare inline.
2713 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
2714 (default_delete, unique_ptr): Add doxygen comments.
2715 * include/bits/shared_ptr_base.h: Improve doxygen comments.
2716 * include/bits/shared_ptr.h: Likewise.
2717 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
2719 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
2721 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2723 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
2725 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2727 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
2729 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2731 * include/std/utility (exchange): Define.
2732 * testsuite/20_util/exchange/1.cc: New.
2734 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2736 * include/bits/unique_ptr.h (make_unique): Define.
2737 * testsuite/20_util/unique_ptr/creation/single.cc: New.
2738 * testsuite/20_util/unique_ptr/creation/array.cc: New.
2739 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
2741 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
2743 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
2744 rendering of std::tr1 unordered containers iterator.
2745 (StdHashtableIterator): New, render std unordered containers iterator.
2746 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
2748 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
2750 * include/bits/basic_string.h (getline): Fix doxygen comments.
2752 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
2754 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2755 Use std::pointer_traits.
2757 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
2759 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
2761 * libsupc++/Makefile.in: Regenerate.
2762 * libsupc++/bad_array_length.cc: Tweak.
2763 * libsupc++/bad_array_new.cc: Tweak.
2765 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
2768 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
2769 (_Deque_iterator<>::_M_const_cast): Add.
2770 (deque<>::_M_erase): Declare.
2771 * include/bits/deque.tcc: ... and define.
2772 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
2773 (_List_const_iterator<>::_M_const_cast): Add.
2774 * include/bits/list.tcc (erase (iterator)): Fix.
2775 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2776 Add; include <ext/cast.h>.
2777 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
2778 (vector<>::_M_erase): Declare.
2779 * include/bits/stl_bvector.h: Likewise.
2780 * include/bits/vector.tcc (vector<>::_M_erase): Define.
2781 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
2782 * include/debug/deque: Adjust.
2783 * include/debug/list: Likewise.
2784 * include/debug/vector: Likewise.
2785 * include/profile/deque: Likewise.
2786 * include/profile/list: Likewise.
2787 * include/profile/vector: Likewise.
2788 * testsuite/util/exception/safety.h (erase_base<deque>,
2789 erase_base<deque>, erase_base<vector>): Remove.
2790 (erase_base<__versa_string>): Update.
2791 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
2792 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
2793 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
2794 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
2795 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
2797 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
2798 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2799 Adjust dg-error line numbers.
2800 * testsuite/23_containers/deque/requirements/dr438/
2801 constructor_1_neg.cc: Likewise.
2802 * testsuite/23_containers/deque/requirements/dr438/
2803 constructor_2_neg.cc: Likewise.
2804 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2806 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2808 * testsuite/23_containers/list/requirements/dr438/
2809 constructor_1_neg.cc: Likewise.
2810 * testsuite/23_containers/list/requirements/dr438/
2811 constructor_2_neg.cc: Likewise.
2812 * testsuite/23_containers/list/requirements/dr438/
2813 insert_neg.cc: Likewise.
2814 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2816 * testsuite/23_containers/vector/requirements/dr438/
2817 constructor_1_neg.cc: Likewise.
2818 * testsuite/23_containers/vector/requirements/dr438/
2819 constructor_2_neg.cc: Likewise.
2820 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2823 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
2825 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
2827 2013-05-08 Jason Merrill <jason@redhat.com>
2829 Add std::bad_array_length (N3639)
2830 * libsupc++/new: Add std::bad_array_length.
2831 * libsupc++/bad_array_length.cc: New.
2832 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
2833 * libsupc++/Makefile.in: Build them.
2834 * config/abi/pre/gnu.ver: Add new symbols.
2835 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
2837 2013-05-08 Andi Kleen <ak@linux.intel.com>
2840 * libstdc++-v3/include/bits/atomic_base.h
2841 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
2842 (atomic_thread_fence, atomic_signal_fence, test_and_set,
2843 clear, store, load, exchange, compare_exchange_weak)
2844 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
2845 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
2847 2013-05-08 Jason Merrill <jason@redhat.com>
2849 Add std::bad_array_new_length (N2932)
2850 * libsupc++/new: Add std::bad_array_new_length.
2851 * libsupc++/bad_array_new.cc: New.
2852 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
2853 * libsupc++/Makefile.in: Build them.
2854 * config/abi/pre/gnu.ver: Add new symbols.
2855 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
2857 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
2860 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
2862 * include/Makefile.in: Regenerated.
2864 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
2866 * include/profile/unordered_base.h: New.
2867 * include/Makefile.am: Add new profile header.
2868 * include/Makefile.in: Regenerate.
2869 * include/profile/impl/profiler.h
2870 (__profcxx_inefficient_hash_is_on): New macro.
2871 * include/profile/unordered_map (std::profile::unordered_map<>):
2872 Use new _Unordered_profile base class. Use default implementations
2873 for special functions.
2874 (std::profile::unordered_multimap<>): Likewise.
2875 * include/profile/unordered_set (std::profile::unordered_set<>):
2877 (std::profile::unordered_multiset<>): Likewise.
2878 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
2879 MoveOnly equality operator signature.
2881 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2883 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
2884 constexpr_data.cc: Move...
2885 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
2887 * testsuite/20_util/integral_constant/requirements/
2888 explicit_instantiation.cc: New.
2889 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
2891 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
2892 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
2894 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
2895 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
2897 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2899 * include/std/type_traits (is_null_pointer): Add.
2900 (__is_nullptr_t): Implement in terms of the latter.
2901 (is_fundamental, is_scalar): Adjust.
2902 * testsuite/20_util/is_null_pointer/requirements/
2903 explicit_instantiation.cc: New.
2904 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
2906 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
2907 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2909 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2911 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2914 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2916 * include/c_global/cstdio: Add comment about LWG 2249.
2917 * include/c_std/cstdio: Likewise.
2919 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2921 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
2923 * include/std/mutex (__recursive_mutex_base): Likewise.
2925 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2928 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
2929 implement EBO safely.
2930 (_Sp_counted_base::_M_get_deleter): Add noexcept.
2931 (_Sp_counter_ptr): Use noexcept instead of comments.
2932 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
2933 (_Sp_counted_ptr_inplace): Likewise.
2934 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
2935 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
2936 custom allocator and test construction with custom allocator.
2937 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
2940 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
2942 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
2943 dialect to -std=gnu++11.
2945 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
2947 * include/bits/hashtable_policy.h
2948 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
2949 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
2951 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
2953 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
2954 * include/c_std/cstdio (gets): Likewise.
2955 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
2957 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
2960 * include/debug/unordered_map (unordered_map, unordered_multimap):
2961 Fix default allocator type.
2962 * include/profile/unordered_map (unordered_map, unordered_multimap):
2964 * include/bits/unordered_map.h: Fix comments.
2966 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
2969 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
2970 move implementation to make_exception_ptr.
2971 * include/std/future (_State_base::_M_break_promise): Replace
2972 copy_exception with make_exception_ptr.
2973 * testsuite/18_support/exception_ptr/move.cc: Likewise.
2974 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
2975 * testsuite/30_threads/future/members/get2.cc: Likewise.
2976 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
2977 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
2978 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
2979 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
2981 2013-04-22 Jason Merrill <jason@redhat.com>
2983 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
2985 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
2986 substitution" lines.
2988 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
2990 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
2991 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
2992 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
2994 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
2996 * include/bits/hashtable_policy.h: Add C++11 allocator support.
2997 * include/bits/hashtable.h: Likewise.
2998 * include/bits/unordered_set.h: Likewise.
2999 * include/bits/unordered_map.h: Likewise.
3000 * include/debug/unordered_set: Likewise.
3001 * include/debug/unordered_map: Likewise.
3002 * include/std/unordered_set: Remove bits/algobase.h
3003 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
3004 * include/std/unordered_map: Likewise.
3005 * include/ext/throw_allocator.h: Add checks on calls to allocator
3007 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
3008 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
3009 * testsuite/util/regression/rand/priority_queue
3010 /container_rand_regression_test.tcc: Adapt.
3011 * testsuite/util/regression/rand/assoc
3012 /container_rand_regression_test.tcc: Likewise.
3013 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
3014 * testsuite/23_containers/unordered_set
3015 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
3016 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
3017 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
3018 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
3019 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
3020 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
3021 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
3022 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
3023 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
3024 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
3026 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
3027 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
3029 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
3030 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
3031 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
3032 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
3033 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
3034 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
3035 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
3037 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
3038 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
3039 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
3041 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
3042 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
3044 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
3045 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
3047 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3049 * include/std/type_traits (is_signed): Simplify.
3050 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3051 Adjust dg-error line numbers.
3052 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3054 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3056 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3059 * include/std/complex (complex<float>::real, complex<float>::imag,
3060 complex<double>::real, complex<double>::imag,
3061 complex<long double>::real, complex<long double>::imag): Declare
3062 as const member functions.
3063 * include/std/type_traits (integral_constant<>::operator value_type):
3066 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3069 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
3070 * testsuite/25_algorithms/pop_heap/57010.cc: New.
3072 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
3074 * src/c++11/system_error.cc (generic_category_instance): Add
3076 (system_category_instance): Likewise.
3077 * src/c++11/future.cc (__fec): Likewise.
3079 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3081 * doc/xml/manual/extensions.xml: Fix anachronism.
3083 2013-04-09 Tom Tromey <tromey@redhat.com>
3085 * configure, config.h.in: Rebuild.
3086 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
3088 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
3090 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
3092 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
3094 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
3096 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
3098 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3100 * include/Makefile.am: Add ext/aligned_buffer.h
3101 * include/Makefile.in: Regenerate.
3102 * include/ext/aligned_buffer.h: New.
3103 * include/std/future (_Result): Use __aligned_buffer.
3104 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
3105 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
3106 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
3109 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3111 * include/bits/forward_list.h: Only include required headers.
3112 (forward_list::reference): Define directly, not using __alloc_traits.
3113 (forward_list::const_reference): Likewise.
3115 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
3117 * include/std/functional (_Derives_from_unary_function): Remove.
3118 (_Derives_from_binary_function): Remove.
3119 * include/std/type_traits (__sfinae_types): Remove.
3120 (__is_assignable_helper): Adapt.
3121 (__is_convertible_helper): Adapt.
3122 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
3123 Remove several explicit instantiations of integral_constant.
3124 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
3125 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3126 Adapt dg-error line number.
3127 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3129 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3130 * testsuite/20_util/bind/ref_neg.cc: Likewise.
3132 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
3135 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
3136 get_terminate() accessors.
3137 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
3138 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
3140 * libsupc++/new_handler.cc: Likewise.
3142 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
3144 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
3146 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
3149 * include/debug/array (tuple_size, tuple_element): Do not declare.
3150 * include/profile/array: Likewise.
3151 * testsuite/23_containers/array/tuple_interface/
3152 tuple_element_debug_neg.cc: Adjust dg-error line number.
3154 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
3156 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
3157 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
3159 (set_terminate(terminate_handler)): Set atomically.
3160 (set_unexpected(terminate_handler)): Likewise.
3161 * libsupc++/new (get_new_handler()): Declare.
3162 * libsupc++/new_handler.cc (get_new_handler()): Define.
3163 (set_new_handler(new_handler)): Set atomically.
3164 (__new_handler): Use internal linkage.
3165 * libsupc++/new_op.cc (operator new): Use get_new_handler().
3166 * libsupc++/new_opnt.cc (operator new): Likewise.
3167 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
3168 * configure: Regenerate.
3169 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
3170 * libsupc++/Makefile.in: Regenerate.
3171 * config/abi/pre/gnu.ver: Add new exports.
3172 * doc/xml/manual/status_cxx2011.xml: Update.
3173 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
3175 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
3176 * testsuite/18_support/new_handler.cc: New.
3177 * testsuite/18_support/terminate_handler.cc: New.
3178 * testsuite/18_support/unexpected_handler.cc: New.
3180 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3182 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
3183 defer to general documentation on contributing to GCC.
3184 * doc/html/*: Regenerate.
3186 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
3188 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
3190 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
3193 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
3195 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
3197 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
3199 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
3201 * doc/xml/manual/policy_data_structures: Remove direct link to
3202 IBM Haifa Research Labs.
3204 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
3205 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
3207 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
3210 * doc/xml/manual/shared_ptr.xml: Use canonical address for
3213 2013-03-27 Kai Tietz <ktietz@redhat.com>
3215 * crossconfig.m4: Add support for cygwin x64 target.
3216 * configure: Regenerated.
3218 2013-03-25 Kai Tietz <ktietz@redhat.com>
3220 * testsuite/18_support/50594.cc: For mingw-targets use only static
3222 * testsuite/19_diagnostics/error_category/operators/equal.cc
3223 * testsuite/19_diagnostics/error_code/cons/1.cc
3224 * testsuite/19_diagnostics/error_code/operators/bool.cc
3225 * testsuite/19_diagnostics/error_code/operators/equal.cc
3226 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
3227 * testsuite/19_diagnostics/error_condition/cons/1.cc
3228 * testsuite/19_diagnostics/error_condition/operators/bool.cc
3229 * testsuite/19_diagnostics/error_condition/operators/equal.cc
3230 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
3231 * testsuite/23_containers/set/requirements/exception/basic.cc
3232 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
3233 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
3235 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
3238 * include/ext/debug_allocator.h (debug_allocator): Add missing members
3239 to meet allocator requirements.
3240 * testsuite/ext/debug_allocator/56170.cc: New.
3242 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3245 * include/std/chrono (__is_ratio): Uglify T.
3247 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
3249 PR libstdc++/55977 (partial, std::vector and std::deque bits)
3250 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
3251 _InputIterator, std::input_iterator_tag)): Use emplace_back.
3252 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
3253 _InputIterator, std::input_iterator_tag)): Likewise.
3254 * testsuite/23_containers/vector/cons/55977.cc: New.
3255 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
3256 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3257 Adjust dg-error line number.
3258 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3261 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
3264 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
3265 _InputIterator, __false_type)): Use emplace_back.
3266 * testsuite/23_containers/list/cons/55979.cc: New.
3267 * testsuite/23_containers/list/modifiers/1.h: Adjust.
3268 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3269 Adjust dg-error line number.
3271 2013-03-16 Jason Merrill <jason@redhat.com>
3274 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
3276 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3279 * libsupc++/exception_ptr.h (type_info): Declare.
3281 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3284 * include/std/mutex (lock_guard, unique_lock, lock): Define without
3285 depending on _GLIBCXX_HAS_GTHREADS.
3286 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
3288 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3291 * include/std/future (__future_base::_Result): Add result_type
3293 (__future_base::_S_allocate_result): Overload for std::allocator.
3294 (__future_base::_Task_setter): Use _Result::result_type instead of
3295 deducing the type from the task.
3296 (__future_base::_Task_state): Store allocator to allow shared state
3297 to be reset. Replace std::function with member of target object type
3299 (__future_base::_Task_state_base): New abstract base class.
3300 (__future_base::_Task_state_base::_M_run): New virtual function to
3301 invoke type-erased target object.
3302 (__future_base::_Task_state_base::_M_reset): New virtual function to
3303 create new shared_state using same target object and allocator.
3304 (__future_base::__create_task_state): Allocate a new _Task_state.
3305 (packaged_task::packaged_task): Use __create_task_state.
3306 (packaged_task::reset): Use _Task_state_base::_M_reset.
3307 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
3309 2013-03-15 Tom Tromey <tromey@redhat.com>
3311 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
3312 (PROBE2): New macro.
3313 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
3314 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
3315 * configure.ac: Check for sys/sdt.h.
3316 * configure, config.h.in: Rebuild.
3318 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
3321 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
3322 allocator_traits instead of calling construct directly.
3323 * testsuite/23_containers/map/56613.cc: New.
3325 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
3327 * doc/html/*: Regenerate.
3329 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
3332 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
3333 * testsuite/20_util/is_fundamental/value.cc: Extend.
3334 * testsuite/20_util/is_compound/value.cc: Likewise.
3336 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
3338 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
3341 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
3343 * include/bits/memoryfwd.h: New. Centralize forward declarations.
3344 * include/bits/algorithmfwd.h: Consistent comments.
3345 * include/bits/localefwd.h: Same.
3346 * include/ext/vstring_fwd.h: Same.
3347 * include/parallel/algorithmfwd.h: Same.
3348 * include/parallel/numericfwd.h: Same.
3349 * include/std/iosfwd: Same.
3351 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
3353 * include/ext/alloc_traits.h: Remove allocator forward decl.
3354 * include/bits/stl_construct.h: Same.
3355 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
3356 forward decl. Consistent comments.
3358 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
3360 * include/Makefile.am (bits_headers): Add memoryfwd.h.
3361 * include/Makefile.in: Regenerate.
3364 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
3366 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
3367 Reset pointers after deallocation when memory can be reused.
3368 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
3369 elements to really challenge C++11 allocator integration.
3370 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
3371 * testsuite/23_containers/vector/allocator/copy_assign.cc:
3373 * testsuite/23_containers/vector/allocator/move_assign.cc:
3375 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
3376 swap vector back before checks on memory/personality mapping are
3378 * testsuite/23_containers/forward_list/allocator/minimal.cc:
3379 Insert element to really challenge C++11 allocator integration.
3380 * testsuite/23_containers/forward_list/allocator/copy.cc:
3382 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
3384 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
3386 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
3387 and swap forward_list back before checks on memory/personality
3388 mapping are performed.
3390 2013-03-07 Jakub Jelinek <jakub@redhat.com>
3392 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3393 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3394 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3396 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3397 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3398 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3399 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3400 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3401 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3403 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3405 * scripts/extract_symvers.pl: Omit symbols bound to base
3407 * scripts/extract_symvers.in: Likewise.
3408 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3409 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3410 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3411 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3412 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3414 2013-03-04 Ulrich Drepper <drepper@gmail.com>
3416 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
3417 Optimize generation function by pulling computation of __r into the
3418 constructor for param_type. Also compare _M_mu in operator==.
3421 2013-03-02 Ulrich Drepper <drepper@gmail.com>
3423 Add triangular and von Mises distributions.
3424 * include/ext/random: Include <ext/cmath>.
3425 Add __gnu_cxx::triangular_distribution<> and
3426 __gnu_cxx::von_mises_distribution<> classes.
3427 * include/ext/random.tcc: Add out-of-line functions for
3428 __gnu_cxx::triangular_distribution<> and
3429 __gnu_cxx::von_mises_distribution<>.
3430 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
3431 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
3432 * testsuite/ext/triangular_distribution/operators/serialize.cc:
3434 * testsuite/ext/triangular_distribution/operators/equal.cc:
3436 * testsuite/ext/triangular_distribution/operators/inequal.cc:
3438 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
3440 * testsuite/ext/triangular_distribution/requirements/
3441 explicit_instantiation/1.cc: New file.
3442 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
3443 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
3444 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
3446 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
3447 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
3449 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
3451 * testsuite/ext/von_mises_distribution/requirements/
3452 explicit_instantiation/1.cc: New file.
3455 * include/Makefile.am (ext_headers): Add cmath.
3456 * include/Makefile.in: Regenerated.
3457 * include/ext/cmath: New file.
3459 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3461 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3462 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3463 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3464 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3465 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3467 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
3470 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
3471 * testsuite/29_atomics/atomic/operators/56012.cc: New.
3474 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
3476 * testsuite/29_atomics/atomic/operators/56011.cc: New.
3478 2013-02-25 Jason Merrill <jason@redhat.com>
3480 * configure.ac: Check for __cxa_thread_atexit_impl.
3481 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
3483 * config.h.in, configure: Regenerate.
3485 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3487 * include/std/streambuf (basic_streambuf): Use injected class name
3488 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
3491 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3493 * doc/html/faq.html: Fix spelling.
3494 * doc/xml/faq.xml: Likewise.
3495 * include/bits/basic_ios.h: Likewise.
3496 * include/bits/regex.h: Likewise.
3497 * include/std/istream: Likewise.
3498 * include/std/streambuf: Likewise.
3500 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3502 * testsuite/23_containers/unordered_set/55043.cc: Add missing
3503 namespace qualification.
3504 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
3506 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
3508 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
3509 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
3510 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
3511 * include/bits/stl_pair.h: Add to utilities group.
3512 * include/std/tuple: Same.
3513 * include/std/typeindex: Same.
3515 * include/bits/stringfwd.h: Fix markup.
3516 * include/std/limits: Same.
3517 * include/std/type_traits: Same.
3518 * include/tr1/memory: Same.
3519 * include/tr1/regex: Same.
3520 * scripts/run_doxygen: Comment.
3521 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
3523 2013-02-14 Jason Merrill <jason@redhat.com>
3525 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
3526 test if unsupported.
3528 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
3531 * include/std/complex (complex): Undefine.
3532 * include/c_compatibility/complex.h (complex): Only undefine if
3533 <complex> has been included.
3534 * testsuite/26_numerics/complex/56111.cc: New testcase.
3536 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
3538 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
3539 default constructor protected.
3540 * include/bits/hashtable.h: static assert that _Hash_code_base has
3541 a default constructor available through inheritance.
3543 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3545 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
3548 2013-02-12 Julian Brown <julian@codesourcery.com>
3550 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
3551 Don't expect dots after abbreviated weekday names for ru_RU for
3552 glibc versions >= 2.17.
3553 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
3556 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3558 * include/bits/random.tcc (__transform): Remove.
3560 (discrete_distribution<>::param_type::_M_initialize): Adjust.
3561 (piecewise_constant_distribution<>::param_type::_M_initialize):
3563 (piecewise_linear_distribution<>::param_type::_M_initialize):
3566 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
3568 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
3569 Use -fimplicit-templates.
3570 * src/c++11/Makefile.in: Regenerate.
3571 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
3572 std::lower_bound template.
3574 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
3576 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
3577 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
3578 in C++11 mode and if available in the underlying C library.
3579 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
3580 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
3581 _GLIBCXX_HAVE_QUICK_EXIT.
3583 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
3585 * doc/html/*: Regenerate.
3587 2013-02-11 Jason Merrill <jason@redhat.com>
3589 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
3590 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
3591 * config.h.in, configure: Regenerate.
3592 * include/c_std/cstdlib: Add atexit and at_quick_exit.
3593 * include/c_global/cstdlib: Add atexit and at_quick_exit.
3594 * testsuite/18_support/quick_exit/quick_exit.cc: New.
3596 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
3600 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
3603 * include/bits/basic_ios.h: Replace operator void*() const
3604 with explicit operator bool() const in C++11 and greater.
3605 * testsuite/27_io/basic_ios/pr56193.cc: New file.
3607 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
3608 Jonathan Wakely <jwakely.gcc@gmail.com>
3610 * doc/xml/manual/containers.xml: Add section on unordered containers.
3611 * doc/xml/manual/using.xml: Fix incomplete sentence.
3613 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3616 * include/bits/hashtable.h (__cache_default): Check if hash function
3618 * testsuite/23_containers/unordered_set/56267.cc: New.
3619 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
3620 dg-error line number.
3621 * testsuite/23_containers/unordered_set/
3622 not_default_constructible_hash_neg.cc: Likewise.
3625 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
3627 * testsuite/23_containers/unordered_set/56278.cc: New.
3629 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
3631 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
3634 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
3637 * include/tr1/special_function_util.h: Remove spurious const
3638 from numeric arguments.
3639 * include/tr1/riemann_zeta.tcc: Likewise.
3640 * include/tr1/exp_integral.tcc: Likewise.
3641 * include/tr1/bessel_function.tcc: Likewise.
3642 * include/tr1/hypergeometric.tcc: Likewise.
3643 * include/tr1/modified_bessel_func.tcc: Likewise.
3644 * include/tr1/poly_laguerre.tcc: Likewise.
3645 * include/tr1/gamma.tcc: Likewise.
3646 * include/tr1/legendre_function.tcc: Likewise.
3647 * include/tr1/poly_hermite.tcc: Likewise.
3648 * include/tr1/ell_integral.tcc: Likewise.
3649 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
3650 If argument is zero return function value.
3651 * testsuite/tr1/5_numerical_facilities/special_functions/
3652 08_cyl_bessel_i/pr56216.cc: New.
3654 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
3656 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
3658 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
3661 * include/bits/basic_ios.h: Replace operator void*() const
3662 with explicit operator bool() const in C++11 and greater.
3663 * testsuite/27_io/basic_ios/pr56193.cc: New file.
3665 2013-02-04 Dodji Seketeli <dodji@redhat.com>
3667 Add missing explicit instantiation for std::lower_bound template
3668 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
3669 missing instantiation for std::lower_bound template.
3671 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
3673 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
3674 * include/bits/basic_string.h: Specialize previous to mark
3675 std::hash for string types as slow.
3676 * include/bits/hashtable.h (__cache_default): Replace is_integral
3677 with __is_fast_hash.
3678 * src/c++11/hash_c++0x.cc: Add type_traits include.
3679 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
3680 Adapt dg-error line number.
3681 * testsuite/23_containers/unordered_set/
3682 not_default_constructible_hash_neg.cc: Likewise.
3684 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
3685 Paolo Carlini <paolo.carlini@oracle.com>
3687 PR libstdc++/56202 (again)
3688 * include/bits/random.tcc (binomial_distribution<>::
3689 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
3692 * include/bits/random.h: Fix comment typo.
3694 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
3695 Paolo Carlini <paolo.carlini@oracle.com>
3698 * include/bits/random.tcc (binomial_distribution<>::
3699 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
3702 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
3704 Update copyright years.
3705 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
3706 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
3707 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
3708 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
3709 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
3710 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
3711 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
3712 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
3713 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
3714 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
3715 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
3716 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
3717 testsuite/29_atomics/atomic/cons/assign_neg.cc,
3718 testsuite/29_atomics/atomic/cons/copy_neg.cc,
3719 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
3720 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
3721 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
3722 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
3723 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
3724 Update lines in dg error matches.
3726 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
3728 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
3730 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
3732 * include/bits/hashtable_policy.h
3733 (_Prime_rehash_policy::_M_next_bkt)
3734 (_Prime_rehash_policy::_M_need_rehash): Move definition...
3735 * src/c++11/hashtable_c++0x.cc: ... here.
3736 * src/shared/hashtable-aux.cc: Remove c++config.h include.
3737 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
3740 2013-01-29 Jason Merrill <jason@redhat.com>
3743 * config/abi/pre/gnu.ver: Don't export construction vtables.
3744 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
3746 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3749 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
3750 to construct value_type explicitly before trying to extract the key.
3751 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
3753 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
3755 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
3756 _Hashtable_ebo_helper to embed functors into the local_iterator
3757 when necessary. Pass information about functors involved in hash
3759 * include/bits/hashtable.h (__cache_default): Do not cache for
3760 builtin integral types unless the hash functor is not noexcept
3761 qualified or is not default constructible. Adapt static assertions
3762 and local iterator instantiations.
3763 * include/debug/unordered_set
3764 (std::__debug::unordered_set<>::erase): Detect local iterators to
3765 invalidate using contained node rather than generating a dummy
3766 local_iterator instance.
3767 (std::__debug::unordered_multiset<>::erase): Likewise.
3768 * include/debug/unordered_map
3769 (std::__debug::unordered_map<>::erase): Likewise.
3770 (std::__debug::unordered_multimap<>::erase): Likewise.
3771 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
3772 std::tr1 and std versions of unordered_set regardless of any
3773 macro. Add test on default cache behavior.
3774 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
3775 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
3777 * testsuite/23_containers/unordered_set/
3778 not_default_constructible_hash_neg.cc: New.
3779 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
3781 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
3784 * include/std/complex (pow(const complex<>&, int)): Avoid __n
3787 2013-01-22 Jakub Jelinek <jakub@redhat.com>
3789 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
3790 Tightten scan-assembler-times regexps, add dg-additional-options for
3791 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
3794 2013-01-12 Andi Kleen <ak@linux.intel.com>
3795 Jonathan Wakely <jwakely.gcc@gmail.com>
3798 * include/bits/atomic_base.h (__memory_order_modifier): Add
3799 __memory_order_mask, __memory_order_modifier_mask,
3800 __memory_order_hle_acquire, __memory_order_hle_release.
3801 (operator|,operator&): Add.
3802 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
3803 (__cmpexch_failure_order): Add.
3804 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
3806 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
3809 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
3812 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
3814 (__basic_future::_M_get_result()): Const qualify.
3815 (shared_future::get()): Likewise.
3816 * testsuite/30_threads/shared_future/members/get.cc: Use const
3819 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3821 PR libstdc++/55043 (again)
3822 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
3823 unless construction would be well-formed.
3824 (__allow_copy_cons, __check_copy_constructible): Define.
3825 * include/bits/unordered_map.h (__check_copy_constructible): Use as
3826 base class so copy constructor will be deleted if appropriate.
3827 (is_copy_constructible): Remove specialization.
3828 * include/bits/unordered_set.h: Likewise.
3829 * include/debug/unordered_map.h: Undo previous commit. Default copy
3830 and move constructors.
3831 * include/debug/unordered_set.h: Likewise.
3832 * include/profile/unordered_map.h: Undo previous commit.
3833 * include/profile/unordered_set.h: Likewise.
3834 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
3835 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
3836 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
3837 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
3838 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
3839 cannot support incomplete types.
3840 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
3843 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3846 * include/std/unordered_map: Include alloc_traits.h
3847 * include/std/unordered_set: Likewise.
3848 * include/bits/alloc_traits.h: Define __is_copy_insertable.
3849 * include/bits/unordered_map.h: Use it.
3850 * include/bits/unordered_set.h: Likewise.
3851 * include/debug/unordered_map.h: Likewise.
3852 * include/debug/unordered_set.h: Likewise.
3853 * include/profile/unordered_map.h: Likewise.
3854 * include/profile/unordered_set.h: Likewise.
3855 * include/bits/hashtable.h: Fix comment typos.
3856 * testsuite/23_containers/unordered_map/55043.cc: New.
3857 * testsuite/23_containers/unordered_multimap/55043.cc: New.
3858 * testsuite/23_containers/unordered_multiset/55043.cc: New.
3859 * testsuite/23_containers/unordered_set/55043.cc: New.
3861 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
3863 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
3866 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3868 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
3870 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3873 * include/std/functional (_Mem_fn::operator()): Fix constraints to
3875 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
3876 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
3878 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3881 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
3883 * configure: Regenerate.
3885 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3888 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
3889 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
3893 * include/std/functional (bad_function_call::what()): Declare.
3894 * src/c++11/functional.cc (bad_function_call::what()): Define.
3895 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
3896 * testsuite/20_util/bad_function_call/what.cc: New.
3898 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
3900 * include/bits/unordered_map.h: Fix typo in comments.
3901 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
3902 counts for unordered associative containers.
3904 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
3906 * doc/xml/manual/abi.xml: Update library and symbol versions.
3908 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
3910 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
3912 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
3915 Copyright (C) 2013 Free Software Foundation, Inc.
3917 Copying and distribution of this file, with or without modification,
3918 are permitted in any medium without royalty provided the copyright
3919 notice and this notice are preserved.