1 2013-11-13 Marc Glisse <marc.glisse@inria.fr>
4 * include/ext/pod_char_traits.h: Uglify V, I and S.
6 2013-11-11 Jonathan Wakely <jwakely.gcc@gmail.com>
9 * include/std/mutex (__timed_mutex_impl::__clock_t): Use
10 high_resolution_clock for absolute timeouts, because
11 pthread_mutex_timedlock uses CLOCK_REALTIME not CLOCK_MONOTONIC.
12 (__timed_mutex_impl::_M_try_lock_for): Use steady_clock for relative
13 timeouts as per [thread.req.timing].
14 (__timed_mutex_impl::_M_try_lock_until<Clock,Duration>): Convert to
15 __clock_t time point instead of using _M_try_lock_for.
17 2013-11-09 Jonathan Wakely <jwakely.gcc@gmail.com>
20 * include/bits/stl_algobase.h (__copy_move::__copy_m): Use assertion
21 to prevent using memmove() on non-assignable types.
22 (__copy_move_backward::__copy_move_b): Likewise.
23 * include/bits/stl_uninitialized.h (uninitialized_copy
24 uninitialized_copy_n, uninitialized_fill, uninitialized_fill_n,
25 __uninitialized_default, __uninitialized_default_n): Check for
26 assignable as well as trivial.
27 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
29 * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
31 * testsuite/20_util/specialized_algorithms/uninitialized_fill/
33 * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/
35 * testsuite/25_algorithms/copy/58982.cc: New.
36 * testsuite/25_algorithms/copy_n/58982.cc: New.
38 2013-11-08 François Dumont <fdumont@gcc.gnu.org>
40 * include/debug/safe_iterator.h (_BeforeBeginHelper<>::_S_Is):
41 Take only a const safe iterator reference.
42 (_BeforeBeginHelper<>::_S_Is_beginnest): Likewise.
43 (__get_distance): Take only one type of iterator.
44 (_Safe_iterator<>::_M_valid_range<>): Not template anymore.
45 (_Safe_iterator<>::_M_get_sequence()): Return pointer to const
46 sequence from a const_iterator and a pointer to sequence from an
48 * include/debug/safe_iterator.tcc: Adapt.
49 * include/debug/safe_local_iterator.h
50 (_Safe_local_iterator<>::_M_valid_range<>): Not template anymore.
51 (_Safe_local_iterator<>::_M_get_sequence()): Return pointer to
52 const sequence from a const_iterator and a pointer to sequence
54 * include/debug/safe_local_iterator.tcc: Adapt.
55 * include/debug/forward_list
56 (_BeforeBeginHelper<std::__debug::forward_list<>>): Adapt.
58 2013-11-08 Jonathan Wakely <jwakely.gcc@gmail.com>
60 * include/bits/regex_automaton.h (__detail::_State): Split
61 non-dependent parts into new _State_base.
62 (__detail::_NFA): Likewise for _NFA_base. Use std::move() to avoid
63 copies when inserting _MatcherT and _StateT objects.
64 * include/bits/regex_automaton.tcc: Move member definitions to base
65 class. Qualify dependent names.
66 * include/bits/regex_compiler.h (__detail::_Compiler::_M_get_nfa): Make
67 non-const and use std::move to avoid copying.
68 * include/bits/regex_compiler.tcc: Likewise.
69 * include/bits/regex_executor.h (__detail::_Executor::_M_is_word): Use
70 array, so past-the-end iterator is valid.
72 * include/bits/regex_automaton.h (__detail::_State, __detail::_NFA,
73 __detail::_StateSeq): Remove redundant _CharT template parameters.
74 * include/bits/regex_automaton.tcc: Likewise.
75 * include/bits/regex_compiler.h (__detail::_Compiler): Likewise.
76 (__compile_nfa): Add object generator for _Compiler.
77 * include/bits/regex_compiler.tcc: Remove _CharT template parameters.
78 * include/bits/regex_executor.h: Likewise.
79 * include/bits/regex_executor.tcc: Likewise.
80 * include/bits/regex.h (basic_regex): Assert char_type matches. Use
81 __compile_nfa object generator. Remove _CharT template parameter.
83 * include/bits/regex_compiler.h (__detail::_AnyMatcher,
84 __detail::_CharMatcher, __detail::_BracketMatcher): Remove redundant
85 _CharT template parameters.
86 * include/bits/regex_compiler.tcc: Likewise.
88 * include/bits/regex_compiler.h (__detail::__compile_nfa): Overload
89 so that std::basic_string<C> and std::vector<C> iterators dispatch to
90 the const C* compiler.
92 * include/bits/regex_compiler.h (__detail::__has_contiguous_iter):
93 vector<bool> storage is not contiguous.
95 2013-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
97 * include/bits/regex_automaton.h (_S_opcode_word_boundry): Rename to
98 _S_opcode_word_boundary.
99 * include/bits/regex_automaton.tcc: Likewise.
100 * include/bits/regex_executor.h (__detail::_Executor::_M_word_boundry):
101 Rename to _M_word_boundary.
102 * include/bits/regex_executor.tcc: Likewise.
104 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
106 N3655 C++1y TransformationTraits Redux
107 * include/std/type_traits (remove_const_t, remove_volatile_t,
108 remove_cv_t, add_const_t, add_volatile_t, add_cv_t, remove_reference_t,
109 add_lvalue_reference_t, add_rvalue_reference_t, make_signed_t,
110 make_unsigned_t, remove_extent_t, remove_all_extents_t,
111 remove_pointer_t, add_pointer_t, aligned_storage_t, decay_t,
112 enable_if_t, conditional_t, common_type_t, underlying_type_t,
113 result_of_t): Define.
114 * doc/xml/manual/status_cxx2014.xml: Update.
115 * testsuite/20_util/add_lvalue_reference/requirements/typedefs-3.cc:
117 * testsuite/20_util/add_rvalue_reference/requirements/typedefs-3.cc:
119 * testsuite/20_util/common_type/requirements/typedefs-3.cc: New.
120 * testsuite/20_util/conditional/requirements/typedefs-2.cc: New.
121 * testsuite/20_util/decay/requirements/typedefs-2.cc: New.
122 * testsuite/20_util/enable_if/requirements/typedefs-2.cc: New.
123 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
124 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
125 * testsuite/20_util/remove_reference/requirements/typedefs.cc: New.
126 * testsuite/20_util/result_of/requirements/typedefs.cc: New.
127 * testsuite/20_util/underlying_type/requirements/typedefs-3.cc: New.
128 * testsuite/20_util/common_type/requirements/typedefs-2.cc: Change to
130 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
131 * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Likewise.
132 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
134 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
136 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
139 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
141 * doc/xml/manual/status_cxx2011.xml: Document aligned_union as
144 2013-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
145 Paolo Carlini <paolo.carlini@oracle.com>
147 * include/experimental/optional: Use __and_<> and __not_<> in
148 conditions. Style fixes.
149 (__constexpr_addressof, swap): Make inline.
150 * testsuite/experimental/optional/cons/copy.cc: Adjust constants for
152 * testsuite/experimental/optional/cons/move.cc: Likewise.
153 * testsuite/experimental/optional/cons/value.cc: Likewise.
154 * testsuite/experimental/optional/constexpr/cons/value.cc: Likewise.
156 2013-11-01 Michael Brune <lucdanton@free.fr>
158 * include/bits/enable_special_members.h: New.
159 * include/experimental/optional: New.
160 * include/Makefile.am: Handle include/experimental.
161 * include/Makefile.in: Regenerate.
162 * testsuite/libstdc++-dg/conformance.exp: Run tests from
163 testsuite/experimental sub-directory.
164 * testsuite/experimental/optional/assignment/1.cc: New.
165 * testsuite/experimental/optional/assignment/2.cc: New.
166 * testsuite/experimental/optional/assignment/3.cc: New.
167 * testsuite/experimental/optional/assignment/4.cc: New.
168 * testsuite/experimental/optional/assignment/5.cc: New.
169 * testsuite/experimental/optional/assignment/6.cc: New.
170 * testsuite/experimental/optional/cons/copy.cc: New.
171 * testsuite/experimental/optional/cons/default.cc: New.
172 * testsuite/experimental/optional/cons/move.cc: New.
173 * testsuite/experimental/optional/cons/value.cc: New.
174 * testsuite/experimental/optional/constexpr/cons/default.cc: New.
175 * testsuite/experimental/optional/constexpr/cons/value.cc: New.
176 * testsuite/experimental/optional/constexpr/in_place.cc: New.
177 * testsuite/experimental/optional/constexpr/make_optional.cc: New.
178 * testsuite/experimental/optional/constexpr/nullopt.cc: New.
179 * testsuite/experimental/optional/constexpr/observers/1.cc: New.
180 * testsuite/experimental/optional/constexpr/observers/2.cc: New.
181 * testsuite/experimental/optional/constexpr/observers/3.cc: New.
182 * testsuite/experimental/optional/constexpr/observers/4.cc: New.
183 * testsuite/experimental/optional/constexpr/observers/5.cc: New.
184 * testsuite/experimental/optional/constexpr/relops/1.cc: New.
185 * testsuite/experimental/optional/constexpr/relops/2.cc: New.
186 * testsuite/experimental/optional/constexpr/relops/3.cc: New.
187 * testsuite/experimental/optional/constexpr/relops/4.cc: New.
188 * testsuite/experimental/optional/constexpr/relops/5.cc: New.
189 * testsuite/experimental/optional/constexpr/relops/6.cc: New.
190 * testsuite/experimental/optional/in_place.cc: New.
191 * testsuite/experimental/optional/make_optional.cc: New.
192 * testsuite/experimental/optional/nullopt.cc: New.
193 * testsuite/experimental/optional/observers/1.cc: New.
194 * testsuite/experimental/optional/observers/2.cc: New.
195 * testsuite/experimental/optional/observers/3.cc: New.
196 * testsuite/experimental/optional/observers/4.cc: New.
197 * testsuite/experimental/optional/observers/5.cc: New.
198 * testsuite/experimental/optional/relops/1.cc: New.
199 * testsuite/experimental/optional/relops/2.cc: New.
200 * testsuite/experimental/optional/relops/3.cc: New.
201 * testsuite/experimental/optional/relops/4.cc: New.
202 * testsuite/experimental/optional/relops/5.cc: New.
203 * testsuite/experimental/optional/relops/6.cc: New.
204 * testsuite/experimental/optional/requirements.cc: New.
205 * testsuite/experimental/optional/swap/1.cc: New.
207 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
209 * include/bits/stl_function.h (logical_not<void>): Add noexcept.
211 2013-11-01 Paolo Carlini <paolo.carlini@oracle.com>
214 * include/c_global/cstdio: Undef getchar.
216 2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
218 N3421 C++1y Transparent functors
219 * include/bits/stl_function.h (plus<void>, minus<void>,
220 multiplies<void>, divides<void>, modulus<void>, negate<void>,
221 equal_to<void>, not_equal_to<void>, greater<void>, less<void>,
222 greater_equal<void>, less_equal<void>, logical_and<void>,
223 logical_or<void>, logical_not<void>, bit_and<void>, bit_or<void>,
224 bit_xor<void>, bit_not<void>): Define.
225 * doc/xml/manual/status_cxx2014.xml: Update.
226 * testsuite/20_util/function_objects/comparisons_void.cc: New.
228 2013-10-31 Jonathan Wakely <jwakely.gcc@gmail.com>
230 * include/std/tuple (_Index_tuple, _Build_index_tuple): Move to
232 * include/std/utility (integer_sequence, make_integer_sequence,
233 index_sequence, make_index_sequence, index_sequence_for): Define.
234 * doc/xml/manual/status_cxx2014.xml: Update.
235 * testsuite/20_util/integer_sequence/intseq.cc: New.
236 * testsuite/20_util/integer_sequence/requirements/typedefs.cc: New.
238 2013-10-31 Steve Ellcey <sellcey@mips.com>
240 * configure.ac: Add header checks for fenv.h and complex.h.
241 * configure: Regenerate.
243 2013-10-31 Edward Smith-Rowland <3dw4rd@verizon.net>
245 Implement C++14 digit separators.
246 * include/include/bits/parse_numbers.h: Change struct _Digit<_Base, '`'>
247 to struct _Digit<_Base, '\''>.
249 2013-10-31 Paolo Carlini <paolo.carlini@oracle.com>
251 * testsuite/20_util/default_delete/48631_neg.cc: Tweak dg-prune.
253 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
255 * testsuite/29_atomics/atomic/operators/pointer_partial_void.cc: Fix
256 and enable VERIFY tests.
258 2013-10-30 Jonathan Wakely <jwakely.gcc@gmail.com>
260 * include/bits/shared_ptr (__shared_ptr): Assert non-void pointer.
261 * include/bits/shared_ptr (default_delete): Likewise.
262 * testsuite/20_util/shared_ptr/cons/58839.cc: Do not use
263 default_delete<void>.
264 * testsuite/20_util/shared_ptr/cons/void_neg.cc: New.
265 * testsuite/20_util/default_delete/void_neg.cc: New.
266 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
267 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
269 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
272 * include/bits/shared_ptr_base.h
273 (__shared_ptr<T>::__shared_ptr(unique_ptr<U,D>&&)): Only use addressof
274 when unique_ptr<U,D>::pointer is not a built-in pointer type.
275 * testsuite/20_util/shared_ptr/cons/58839.cc: New.
276 * testsuite/20_util/enable_shared_from_this/members/assign.cc: New.
277 * testsuite/20_util/enable_shared_from_this/members/unique_ptr.cc: New.
279 2013-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
281 * include/bits/hashtable.cc (__access_protected_ctor): Define and use
282 new type instead of _Hashtable_ebo_helper.
283 * testsuite/23_containers/unordered_set/
284 not_default_constructible_hash_neg.cc: Adjust line number.
286 2013-10-28 Tim Shen <timshen91@gmail.com>
288 * regex_executor.tcc: Add comments.
290 2013-10-26 Tim Shen <timshen91@gmail.com>
292 * include/bits/regex.h: Remove unnecessary friends.
293 * include/bits/regex.tcc (__regex_algo_impl<>): Move __get_executor
295 * include/bits/regex_executor.h: Remove _DFSExecutor and _BFSExecutor;
296 they are merged into _Executor. Eliminate quantifier tracking part, so
298 * include/bits/regex_executor.tcc: Implement _Executor.
299 * testsuite/28_regex/algorithms/regex_match/ecma/char/ungreedy.cc: New.
300 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Adjust
302 * testsuite/performance/28_regex/split.h: New.
303 * testsuite/performance/28_regex/split_bfs.cc: New.
304 * testsuite/util/testsuite_regex.h: Adjust behavior of two-executors
305 agreement judger: do not compare match_results when executor return
308 2013-10-25 François Dumont <fdumont@gcc.gnu.org>
310 * include/debug/formatter.h (__check_singular): Add const on
312 * include/debug/functions.h (__check_singular): Likewise.
313 (__check_singular(const _Safe_iterator<_Ite, _Seq>&)): Delete.
314 (__check_dereferenceable(const _Ite&)): Add const on iterator
316 (__check_dereferenceable(const _Safe_local_iterator<>&)): New.
317 * include/debug/safe_iterator.h (__check_singular_aux): Review
319 * testsuite/23_containers/vector/debug/debug_functions.cc: New.
320 * testsuite/23_containers/unordered_set/debug/debug_functions.cc:
323 2013-10-23 Chris Jefferson <chris@bubblescope.net>
324 Paolo Carlini <paolo.carlini@oracle.com>
326 * testsuite/util/testsuite_containergen.h: New.
327 * testsuite/util/testsuite_iterators.h (test_container<>::val): Add.
328 * testsuite/25_algorithms/nth_element/random_test.cc: New, use the
330 * testsuite/25_algorithms/partial_sort/random_test.cc: Likewise.
331 * testsuite/25_algorithms/partial_sort_copy/random_test.cc: Likewise.
332 * testsuite/25_algorithms/sort/random_test.cc: Likewise.
334 2013-10-23 Jason Merrill <jason@redhat.com>
336 * include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
338 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
341 * include/std/chrono (minutes, hours): Change typedefs to uniformly
343 * testsuite/20_util/duration/arithmetic/58850.cc: New.
345 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
347 * testsuite/decimal/pr58815.cc: Fix thinko.
349 2013-10-23 Paolo Carlini <paolo.carlini@oracle.com>
352 * include/decimal/decimal (decimal32::operator long long(),
353 decimal64::operator long long(), decimal128::operator long long()):
354 Add in c++11 mode per n3407.
355 * testsuite/decimal/pr58815.cc: New.
357 2013-10-22 Edward Smith-Rowland <3dw4rd@verizon.net>
359 * include/bits/basic_string.h (operator""s): Remove space between quotes
360 and literal identifier.
361 * include/std/chrono (operator""h, operator""min, operator""s,
362 operator""ms, operator""us, operator""ns): Ditto.
364 2013-10-22 Ed Smith-Rowland <3dw4rd@verizon.net>
366 Implement N3779 - User-defined Literals for std::complex,
367 part 2 of UDL for Standard Library Types
368 * include/std/complex: Add complex literal operators.
369 * testsuite/26_numerics/complex/literals/types.cc: New.
370 * testsuite/26_numerics/complex/literals/values.cc: New.
372 2013-10-21 Edward Smith-Rowland <3dw4rd@verizon.net>
376 * include/tr2/dynamic_bitset
377 (__dynamic_bitset_base<_WordT, _Alloc>::_M_are_all_aux,
378 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_count):
379 Use __builtin_popcountll() instead of __builtin_popcountl().
380 * include/tr2/dynamic_bitset.tcc
381 (__dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_first,
382 __dynamic_bitset_base<_WordT, _Alloc>::_M_do_find_next):
383 Use __builtin_ctzll() instead of __builtin_ctzl().
385 2013-10-20 Tim Shen <timshen91@gmail.com>
387 * include/bits/regex.h: Remove virtual class _Automaton.
388 * include/bits/regex_automaton.h: Likewise.
389 * include/bits/regex.tcc: Adjust comment for policy changing.
390 * include/bits/regex_executor.h: Update comments of complexity.
391 * include/bits/regex_executor.tcc: Adjust executor choosing
392 policy. Now DFS executor is the default one.
393 * testsuite/util/testsuite_regex.h (regex_match_debug,
394 regex_search_debug): Adjust for policy changing.
396 2013-10-20 Chris Jefferson <chris@bubblescope.net>
397 Paolo Carlini <paolo.carlini@oracle.com>
400 * include/bits/stl_algo.h (__unguarded_partition_pivot): Change
401 __last - 2 to __last - 1.
402 * testsuite/25_algorithms/nth_element/58800.cc: New
404 2013-10-18 Edward Smith-Rowland <3dw4rd@verizon.net>
407 * include/tr2/dynamic_bitset (_M_resize, resize): Use input value
408 to set bits; (_M_do_left_shift, _M_do_right_shift, _M_do_to_ulong,
409 _M_do_to_ullong, _M_do_find_first, _M_do_find_next, _M_copy_from_ptr,
410 operator>>): Move long methods outline to...
411 * include/tr2/dynamic_bitset.tcc: New.
412 * include/Makefile.am: Add dynamic_bitset.tcc.
413 * include/Makefile.in: Add dynamic_bitset.tcc.
414 * testsuite/tr2/dynamic_bitset/pr58729.cc: New.
416 2013-10-18 Tim Shen <timshen91@gmail.com>
418 * include/bits/regex_scanner.tcc: (_Scanner<>::_M_scan_normal,
419 _Scanner<>::_M_eat_escape_ecma, _Scanner<>::_M_eat_escape_posix,
420 _Scanner<>::_M_eat_escape_awk): Narrow character before finding in maps.
421 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc:
424 2013-10-17 Tim Shen <timshen91@gmail.com>
426 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
427 Fix initialization orders in initialization list and add explicit braces
428 for potentially ambiguous(actually not) `else` branch to eliminate
430 * include/bits/regex_automaton.h (_NFA<>::_NFA): Likewise.
431 * include/bits/regex_compiler.h (_CharMatcher<>::_CharMatcher,
432 _BracketMatcher<>::_BracketMatcher): Likewise.
433 * include/bits/regex_compiler.tcc (_Compiler<>::_Compiler,
434 _Compiler<>::_M_atom): Likewise.
435 * include/bits/regex_executor.h (_Executor<>::_Executor): Likewise.
436 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs,
437 _Executor<>::_M_word_boundry): Likewise.
438 * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner,
439 _Scanner<>::_M_eat_class): Likewise.
440 * include/bits/regex.tcc (__regex_algo_impl<>,
441 regex_iterator<>::operator++): Likewise, and remove unused typedef.
443 2013-10-16 Tim Shen <timshen91@gmail.com>
445 * include/bits/regex.h (regex_token_iterator<>::regex_token_iterator):
446 Add initialization for _M_has_m1.
447 * include/bits/regex.tcc (regex_token_iterator<>::operator=): Add return
450 2013-10-15 Diego Novillo <dnovillo@google.com>
452 * testsuite/20_util/exchange/1.cc: Add missing function
455 2013-10-15 Tim Shen <timshen91@gmail.com>
458 * include/bits/regex_automaton.h (_Automaton<>::~_Automaton): Fix memory
460 * include/bits/regex_executor.h (_Executor<>::~_Executor): Likewise.
462 2013-10-11 H.J. Lu <hongjiu.lu@intel.com>
464 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
466 2013-10-10 Marcus Shawcroft <marcus.shawcroft@arm.com>
468 * testsuite/29_atomics/atomic/cons/49445.cc
469 (dg-require-atomic-builtins): Add.
471 2013-10-09 Jonathan Wakely <jwakely.gcc@gmail.com>
473 * testsuite/20_util/shared_ptr/cons/58659.cc: Use VERIFY instead of
476 2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
478 * testsuite/20_util/shared_ptr/cons/58659.cc: Use __builtin_abort().
480 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
482 * testsuite/*: Remove stray semi-colons after function definitions.
484 2013-10-08 Jonathan Wakely <jwakely.gcc@gmail.com>
487 * include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
488 Delegate to constructor taking allocator.
489 (__shared_count::_S_create_from_up): Inline into ...
490 (__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
491 std::conditional instead of constrained overloads. Allocate memory
492 using the allocator type that will be used for deallocation.
493 * testsuite/20_util/shared_ptr/cons/58659.cc: New.
494 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust.
496 2013-10-08 Tim Shen <timshen91@gmail.com>
498 * include/bits/regex_executor.h: Add _TodoList class.
499 * include/bits/regex_executor.tcc (_BFSExecutor<>::_M_main): Add
500 _M_match_stack and _M_stack to make everything faster. Break if
501 _M_stack is empty, to reduce unnecessary idling.
502 * testsuite/performance/28_regex/split.cc: New.
504 2013-10-06 Tim Shen <timshen91@gmail.com>
506 * include/bits/regex.h: (regex_token_iterator<>::regex_token_iterator):
508 * include/bits/regex.tcc: (regex_replace<>): Remove default parameter.
510 2013-10-06 Tim Shen <timshen91@gmail.com>
512 * include/bits/regex.h (__regex_algo_impl<>, regex_match<>,
513 regex_search<>): New abstract function for regex_match and regex_search.
514 * include/bits/regex.tcc (__regex_algo_impl<>): Implement.
515 * include/bits/regex_executor.h
516 (_Executor<>::_M_lookahead,
517 _DFSExecutor<>::_M_clone,
518 _BFSExecutor<>::_M_clone): Let _M_clone to choose which executor to
520 * include/bits/regex_executor.tcc (__get_executor<>): Update the
521 definition to support __policy.
522 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: Use
524 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: Same.
525 * testsuite/28_regex/algorithms/regex_match/basic/string_01.cc: Same.
526 * testsuite/28_regex/algorithms/regex_match/basic/string_range_00_03.cc:
528 * testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc:
530 * testsuite/28_regex/algorithms/regex_match/basic/string_range_02_03.cc:
532 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc: Same.
533 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc: Same.
534 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: Same.
535 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
537 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: Same.
538 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
540 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
542 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: Same.
543 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
545 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
547 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: Same.
548 * testsuite/28_regex/algorithms/regex_match/extended/
549 string_bracket_01.cc: Same.
550 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
552 * testsuite/28_regex/algorithms/regex_match/extended/
553 string_questionmark.cc: Same.
554 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
556 * testsuite/28_regex/algorithms/regex_match/extended/string_any.cc:
558 * testsuite/28_regex/algorithms/regex_match/extended/
559 string_dispatch_01.cc: Same.
560 * testsuite/28_regex/algorithms/regex_match/extended/
561 string_range_00_03.cc: Same.
562 * testsuite/28_regex/algorithms/regex_match/extended/
563 string_range_01_03.cc: Same.
564 * testsuite/28_regex/algorithms/regex_match/extended/
565 string_range_02_03.cc: Same.
566 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
568 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: Same.
569 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: Same.
570 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: Same.
571 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: Same.
572 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: Same.
573 * testsuite/28_regex/match_results/format.cc: Same.
574 * testsuite/util/testsuite_regex.h
575 (regex_match_debug<>, regex_search_debug<>): Implement.
577 2013-10-06 Oleg Endo <olegendo@gcc.gnu.org>
578 Paolo Carlini <paolo.carlini@oracle.com>
581 * include/c_global/cmath (signbit): Use __builtin_signbitf and
584 2013-10-03 Tim Shen <timshen91@gmail.com>
586 * include/bits/regex_executor.tcc (_DFSExecutor<>::_M_dfs): Fix wrong
587 backup variable initialization.
589 2013-10-03 John Woolverton <jdwoolverton@gmail.com>
592 * include/std/vector: Fix garbled line in HP Copyright.
594 2013-10-03 Marc Glisse <marc.glisse@inria.fr>
596 * libsupc++/del_op.cc (operator delete): Don't test for 0 before free.
597 * libsupc++/del_opnt.cc (free): Only declare if freestanding.
598 (operator delete): Qualify free with std::.
600 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
601 Daniel Krugler <daniel.kruegler@gmail.com>
604 * include/std/functional (function::_CheckResult): Move to namespace
605 scope and rename to __check_func_return_type.
606 * testsuite/20_util/function/58569.cc: New.
608 2013-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
611 * include/bits/shared_ptr_base.h
612 (_Sp_counted_ptr_inplace::_M_get_deleter()): Cast away cv-quals.
613 * testsuite/20_util/shared_ptr/creation/58594.cc: New.
615 2013-10-02 Tim Shen <timshen91@gmail.com>
617 * include/bits/regex_compiler.h
618 (_BracketMatcher<>::_M_add_equivalence_class): Implement it correctly.
619 * include/bits/regex_compiler.tcc (_BracketMatcher<>::operator()):
620 Add _M_equiv_set support.
621 * testsuite/28_regex/algorithms/regex_match/extended/
622 cstring_bracket_01.cc: Add new "[[=a=]]" testcase.
624 2013-10-01 Tim Shen <timshen91@gmail.com>
626 * doc/xml/manual/status_cxx2011.xml: Change "is not implemented" to
627 "is not correctly implemented".
629 2013-10-01 Tim Shen <timshen91@gmail.com>
631 * doc/xml/manual/status_cxx2011.xml: Update regex status.
632 * include/bits/regex.h (match_results<>::begin,
633 match_results<>::cbegin, match_results<>::end, match_results<>::cend):
634 [28.10.3.13], [28.10.3.14] Always iterate the range [0, size()-2).
636 2013-10-01 François Dumont <fdumont@gcc.gnu.org>
638 * include/parallel/algobase.h (mismatch, equal): Provide parallel
639 version for N3671 overloads.
641 2013-10-01 Paul Pluzhnikov <ppluzhnikov@google.com>
643 * src/c++11/snprintf_lite.cc: Add missing
644 _GLIBCXX_{BEGIN,END}_NAMESPACE_VERSION
646 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
648 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Also check for
649 _Unwind_SjLj_Register when deciding if to set enable_sjlj_exceptions.
650 * configure: Regenerate.
652 2013-10-01 Tim Shen <timshen91@gmail.com>
655 * include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy)
656 (_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch.
657 * testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New.
659 2013-09-30 Paolo Carlini <paolo.carlini@oracle.com>
661 * include/parallel/algo.h (__find_switch): Use __binder2nd.
663 2013-09-30 Chris Jefferson <chris@bubblescope.net>
666 * include/bits/stl_algo.h (__move_median_first): Rename to
667 __move_median_to_first, change to take an addition argument.
668 (__unguarded_partition_pivot): Adjust.
669 * testsuite/performance/25_algorithms/sort.cc: New.
670 * testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
671 * testsuite/performance/25_algorithms/stable_sort.cc: Likewise.
673 2013-09-28 François Dumont <fdumont@gcc.gnu.org>
675 * include/bits/stl_algo.h (remove_copy, remove_copy_if): Declare
677 (rotate_copy, stable_partition, partial_sort_copy): Likewise.
678 (lower_bound, upper_bound, equal_range, inplace_merge): Likewise.
679 (includes, next_permutation, prev_permutation): Likewise.
680 (replace_copy, replace_copy_if, is_sorted_until): Likewise.
681 (minmax_element, is_permutation, adjacent_find): Likewise.
682 (count, count_if, search, search_n, merge): Likewise.
683 (set_intersection, set_difference): Likewise.
684 (set_symmetric_difference, min_element, max_element): Likewise.
685 * include/bits/stl_algobase.h (lower_bound): Likewise.
686 (lexicographical_compare, mismatch): Likewise.
688 2013-09-28 Tim Shen <timshen91@gmail.com>
690 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix):
691 Let ordinary char escaping in POSIX be valid.
692 * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Test this
695 2013-09-27 François Dumont <fdumont@gcc.gnu.org>
697 * include/bits/predefined_ops.h: New.
698 * include/bits/stl_heap.h: Include <bits/predefined_ops.h>.
699 (__is_heap_until, __push_heap, __adjust_heap, __pop_heap): Remove
703 (make_heap): Adapt to use latter.
705 (sort_heap): Adapt to use latter.
706 * include/bits/algobase.h: Include <bits/predefined_ops.h>.
707 (__lexicographical_compare_impl): New.
708 (__lexicographical_compare<false>::__lc): Adapt to use latter.
709 (lexicographical_compare): Likewise.
710 (__lower_bound): New.
711 (lower_bound): Adapt to use latter.
712 (equal): Use _GLIBCXX_STD_A::equal in N3671 overloads.
714 (mismatch): Use latter.
715 * include/bits/algo.h: Include <bits/predefined_ops.h>. Remove
716 <functional> include.
717 (__move_median_first, __find, __find_if, __find_if_not): Remove
719 (__find_end): Likewise.
720 (__search_n): Rename into ...
721 (__search_n_aux): ... this.
722 (__search_n): Renew, use latter.
723 (search_n): Use latter.
725 (search): Use latter.
726 (__find_end): Likewise.
727 (__remove_copy_if): New.
728 (remove_copy): Use latter.
729 (__adjacent_find): New.
730 (adjacent_find): Use latter.
732 (unique): Use latter.
733 (__unique_copy): Remove algo duplication.
734 (__stable_partition): New.
735 (stable_partition): Use latter.
736 (__heap_select): Remove algo duplication, use __make_heap.
737 (__partial_sort): New, use latter.
738 (partial_sort): Use latter.
739 (__partial_sort_copy): New.
740 (partial_sort_copy): Use latter.
741 (__unguarded_linear_insert, __insertion_sort): Remove algo
743 (__unguarded_insertion_sort, __final_insertion_sort): Likewise.
744 (__unguarded_partition, __unguarded_partition_pivot): Likewise.
745 (__partial_sort): New.
746 (partial_sort): Use latter.
749 (lower_bound): Use __lower_bound.
750 (__upper_bound): New.
751 (upper_bound): Use latter.
752 (__equal_range): New.
753 (equal_range): Use latter.
754 (__move_merge_adaptive, __move_merge_adaptive_backward): Remove
756 (__merge_adaptive, __merge_without_buffer): Likewise.
757 (__inplace_merge): New.
758 (inplace_merge): Use latter.
759 (__move_merge, __merge_sort_loop, __chunk_insertion_sort): Remove
761 (__merge_sort_with_buffer, __stable_sort_adaptive): Likewise.
762 (__inplace_stable_sort): Likewise.
764 (includes): Use latter.
765 (__next_permutation): New.
766 (next_permutation): Use latter.
767 (__prev_permutation): New.
768 (prev_permutation): Use latter.
769 (__replace_copy_if): New.
770 (replace_copy): Use latter.
771 (__is_sorted_until): New.
772 (is_sorted_unitl): Use latter.
773 (__minmax_element): New.
774 (minmax_element): Use latter.
775 (__is_permutation): New.
776 (is_permutation): Use latter.
777 (__adjacent_find): New.
778 (adjacent_find): Use latter.
781 (count_if): Likewise.
784 (__stable_sort): New.
785 (stable_sort): Use latter.
787 (set_union): Use latter.
788 (__set_intersection): New.
789 (set_intersection): Use latter.
790 (__set_difference): New.
791 (set_difference): Use latter.
792 (__set_symmetric_difference): New.
793 (set_symmetric_difference): Use latter.
794 (__min_element): New.
795 (min_element): Use latter.
796 (__max_element): New.
797 (max_element): Use latter.
798 * include/Makefile.am: Add predefined_ops.h.
799 * include/Makefile.in: Regenerate.
800 * include/parallel/algobase.h (equal, mismatch): Add overloads
802 * testsuite/25_algorithms/is_permutation/vectorbool.cc: New.
803 * testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise.
804 * testsuite/25_algorithms/find/vectorbool.cc: Likewise.
805 * testsuite/25_algorithms/find_if/vectorbool.cc: Likewise.
806 * testsuite/25_algorithms/find_first_of/vectorbool.cc: Likewise.
807 * testsuite/25_algorithms/heap/vectorbool.cc: Likewise.
808 * testsuite/25_algorithms/find_end/vectorbool.cc: Likewise.
809 * testsuite/25_algorithms/find_if_not/vectorbool.cc: Likewise.
811 2013-09-27 Jonathan Wakely <jwakely.gcc@gmail.com>
814 * include/std/functional
815 (_Function_base::_Base_manager::_M_not_empty_function): Fix overload
817 * testsuite/20_util/function/cons/57465.cc: New.
819 2013-09-26 Tim Shen <timshen91@gmail.com>
821 * regex_error.h: Remove _S_error_last to follow the standard.
823 (_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to
825 (_Scanner<>::_M_eat_escape_posix): Extended doesn't support
827 * testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
828 Move here from ../../extended.
829 * testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
832 2013-09-25 Marc Glisse <marc.glisse@inria.fr>
835 * include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after):
837 (_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->,
838 operator++, operator==, operator!=, _M_next]: Likewise.
839 (_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*,
840 operator->, operator++, operator==, operator!=, _M_next]: Likewise.
841 (operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&),
842 operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)):
844 * include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base,
845 _Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base,
846 _Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&,
847 const _Node_iterator_base&), operator!=(const _Node_iterator_base&,
848 const _Node_iterator_base&)): Likewise.
849 (_Node_iterator) [_Node_iterator, operator*, operator->, operator++]:
851 (_Node_const_iterator) [_Node_const_iterator, operator*, operator->,
852 operator++]: Likewise.
853 * include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator,
854 operator=, operator*, operator->, operator++, operator--, operator[],
855 operator+=, operator+, operator-=, operator-, base, operator _Iterator]:
857 (operator==(const _Safe_iterator&, const _Safe_iterator&),
858 operator!=(const _Safe_iterator&, const _Safe_iterator&),
859 operator<(const _Safe_iterator&, const _Safe_iterator&),
860 operator<=(const _Safe_iterator&, const _Safe_iterator&),
861 operator>(const _Safe_iterator&, const _Safe_iterator&),
862 operator>=(const _Safe_iterator&, const _Safe_iterator&),
863 operator-(const _Safe_iterator&, const _Safe_iterator&),
864 operator+(difference_type, const _Safe_iterator&)): Likewise.
865 * include/profile/iterator_tracker.h (__iterator_tracker)
866 [__iterator_tracker, base, operator _Iterator, operator->, operator++,
867 operator--, operator=, operator*, operator[], operator+=, operator+,
868 operator-=, operator-]: Likewise.
869 (operator==(const __iterator_tracker&, const __iterator_tracker&),
870 operator!=(const __iterator_tracker&, const __iterator_tracker&),
871 operator<(const __iterator_tracker&, const __iterator_tracker&),
872 operator<=(const __iterator_tracker&, const __iterator_tracker&),
873 operator>(const __iterator_tracker&, const __iterator_tracker&),
874 operator>=(const __iterator_tracker&, const __iterator_tracker&),
875 operator-(const __iterator_tracker&, const __iterator_tracker&),
876 operator+(difference_type, const __iterator_tracker&)): Likewise.
878 2013-09-24 Marc Glisse <marc.glisse@inria.fr>
882 * include/bits/basic_string.h (basic_string)
883 [basic_string(basic_string&&)]: Make the noexcept conditional.
884 [operator=(basic_string&&), assign(basic_string&&)]: Link to PR 58265.
885 [begin(), end(), rbegin(), rend(), clear]: Remove noexcept.
886 [pop_back]: Comment on the lack of noexcept.
887 * include/debug/string (basic_string) [basic_string(const _Allocator&),
888 basic_string(basic_string&&), begin(), end(), rbegin(), rend(), clear,
889 operator[](size_type), pop_back]: Comment out noexcept, until vstring
890 replaces basic_string.
892 2013-09-24 Tim Shen <timshen91@gmail.com>
894 * include/Makefile.am: Add regex.tcc.
895 * include/Makefile.in: Regenerate.
896 * include/bits/regex.h: Remove definitions to regex.tcc.
897 * include/bits/regex.tcc: New.
898 (match_results::format, regex_replace): Implement;
899 * include/bits/regex_compiler.h: Move _M_flags to the top of class
900 member list, because other members' initialization depend on it.
901 * include/bits/regex_compiler.tcc
902 (_Compiler<>::_Compiler): Adjust member initializations.
903 (_Compiler<>::_M_quantifier): Fix ungreedy interval quantifier.
904 * include/bits/regex_executor.h: Remove _RegexT from _*Executor classes.
905 In the future, all regex classes may refactor to *Impl style.
906 * include/bits/regex_executor.tcc (_Executor::_M_set_results):
907 Merge identical code from _*Executor classes.
908 * testsuite/28_regex/algorithms/regex_match/extended/
909 string_dispatch_01.cc (fake_match<>): Adjust the hacking-style testcase
910 caller for new __get_executors interface.
911 * testsuite/28_regex/algorithms/regex_replace/char/basic_replace.cc:
913 * testsuite/28_regex/match_results/format.cc: New.
914 * testsuite/28_regex/traits/char/lookup_collatename.cc: Remove digraph
916 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: Likewise.
918 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
920 * src/c++11/snprintf_lite.cc (__concat_size_t): Use
921 unsigned long long conditionally.
923 2013-09-23 Paul Pluzhnikov <ppluzhnikov@google.com>
925 * src/c++11/snprintf_lite.cc (__concat_size_t): Use only
926 std::__int_to_char<unsigned long long>()
928 2013-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
930 * include/bits/functexcept.h (__throw_out_of_range_fmt): New.
931 * src/c++11/functexcept.cc (__throw_out_of_range_fmt): New.
932 * src/c++11/snprintf_lite.cc: New.
933 * src/c++11/Makefile.am: Add snprintf_lite.cc.
934 * src/c++11/Makefile.in: Regenerate.
935 * config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz.
936 * include/std/array (at): Use __throw_out_of_range_fmt.
937 * include/debug/array (at): Likewise.
938 * include/profile/array (at): Likewise.
939 * include/std/bitset (_M_check_initial_position, _M_check): New.
940 (bitset::bitset): Use _M_check_initial_position.
941 (set, reset, flip, test): Use _M_check.
942 * include/ext/vstring.h (_M_check, at): Use __throw_out_of_range_fmt.
943 * include/bits/stl_vector.h (_M_range_check): Likewise.
944 * include/bits/stl_bvector.h (_M_range_check): Likewise.
945 * include/bits/stl_deque.h (_M_range_check): Likewise.
946 * include/bits/basic_string.h (_M_check, at): Likewise.
947 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust.
948 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
949 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc:
951 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc:
953 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
954 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
955 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
957 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
959 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise.
960 * testsuite/23_containers/array/tuple_interface/tuple_element_debug_neg.cc:
962 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Likewise.
963 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Likewise.
964 * testsuite/util/exception/safety.h (generate): Use __throw_out_of_range_fmt.
966 2013-09-20 Jakub Jelinek <jakub@redhat.com>
969 * testsuite/lib/libstdc++.exp (libstdc++_init): Prepend
970 -fdiagnostics-color=never to cxxflags.
972 2013-09-20 Marc Glisse <marc.glisse@inria.fr>
975 * include/bits/allocator.h (__alloc_swap::_S_do_it,
976 __shrink_to_fit_aux::_S_do_it): Mark as noexcept.
977 * include/bits/basic_string.h (basic_string::_Rep) [_S_empty_rep,
978 _M_is_leaked, _M_is_shared, _M_set_leaked, _M_set_sharable,
979 _M_set_length_and_sharable, _M_dispose]: Likewise.
980 (basic_string::_Alloc_hider::_Alloc_hider): Likewise.
981 (basic_string) [_M_data, _M_rep, _M_ibegin, _M_iend, _M_limit,
982 _M_disjunct, _M_copy, _M_move, _M_assign, _S_copy_chars, _S_compare,
983 _S_empty_rep, shrink_to_fit, operator[] const, front const, back const]:
985 [clear]: Link to PR 56166.
986 [swap]: Link to PR 58265.
987 * include/bits/stl_deque.h (_Deque_iterator) [_S_buffer_size,
988 _Deque_iterator, _M_const_cast, operator*, operator->, operator++,
989 operator--, operator+=, operator+, operator-=, operator-, operator[],
990 _M_set_node]: Mark as noexcept.
991 (operator==(const _Deque_iterator&, const _Deque_iterator&),
992 operator!=(const _Deque_iterator&, const _Deque_iterator&),
993 operator<(const _Deque_iterator&, const _Deque_iterator&),
994 operator>(const _Deque_iterator&, const _Deque_iterator&),
995 operator<=(const _Deque_iterator&, const _Deque_iterator&),
996 operator>=(const _Deque_iterator&, const _Deque_iterator&),
997 operator-(const _Deque_iterator&, const _Deque_iterator&),
998 operator+(ptrdiff_t, const _Deque_iterator&)): Likewise.
999 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
1001 [~_Deque_base, _M_deallocate_node, _M_deallocate_map, _M_destroy_nodes]:
1003 (_Deque_base::_Deque_impl) [_Deque_impl(const _Tp_alloc_type&),
1004 _Deque_impl(_Tp_alloc_type&&)]: Likewise.
1005 (deque) [_S_buffer_size, operator=(deque&&), shrink_to_fit, operator[],
1006 front, back, pop_front, pop_back, swap]: Likewise.
1007 [deque(), deque(const allocator_type&)]: Merge.
1008 * include/debug/deque (deque) [operator=(deque&&), shrink_to_fit,
1009 operator[], front, back, pop_front, pop_back, swap]: Mark as noexcept.
1010 * include/profile/deque (deque) [operator=(deque&&), operator[], front,
1011 back, pop_front, pop_back, swap]: Likewise.
1012 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1014 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
1016 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
1018 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1021 2013-09-20 Alan Modra <amodra@gmail.com>
1023 * configure: Regenerate.
1025 2013-09-19 Marc Glisse <marc.glisse@inria.fr>
1028 * include/bits/stl_tree.h (_Rb_tree_node_base) [_S_minimum, _S_maximum]:
1030 (_Rb_tree_iterator) [_Rb_tree_iterator, operator*, operator->,
1031 operator++, operator--, operator==, operator!=]: Likewise.
1032 (_Rb_tree_const_iterator) [_Rb_tree_const_iterator, _M_const_cast,
1033 operator*, operator->, operator++, operator--, operator==, operator!=]:
1035 (operator==(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&),
1036 operator!=(const _Rb_tree_iterator&, const _Rb_tree_const_iterator&)):
1038 (_Rb_tree) [_M_put_node, _M_destroy_node, _M_root, _M_leftmost,
1039 _M_rightmost, _M_begin, _M_end, _S_left, _S_right, _S_minimum,
1040 _S_maximum]: Likewise.
1041 * include/debug/string (basic_string) [basic_string(const _Allocator&),
1042 shrink_to_fit, operator[], pop_back]: Likewise.
1043 * include/ext/vstring.h (__versa_string) [_M_limit, _M_disjunct,
1044 _M_ibegin, _M_iend, __versa_string(const _Alloc&),
1045 operator=(__versa_string&&), shrink_to_fit, operator[], front,
1046 back, assign(__versa_string&&), swap]: Likewise.
1047 (__versa_string) [__versa_string(), __versa_string(const _Alloc&)]:
1050 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
1053 * include/bits/stl_iterator.h (__normal_iterator) [__normal_iterator,
1054 _M_const_cast, operator*, operator->, operator++, operator--,
1055 operator[], operator+=, operator+, operator-=, operator-, base]:
1057 (operator==(const __normal_iterator&, const __normal_iterator&),
1058 operator!=(const __normal_iterator&, const __normal_iterator&),
1059 operator<(const __normal_iterator&, const __normal_iterator&),
1060 operator>(const __normal_iterator&, const __normal_iterator&),
1061 operator<=(const __normal_iterator&, const __normal_iterator&),
1062 operator>=(const __normal_iterator&, const __normal_iterator&),
1063 operator-(const __normal_iterator&, const __normal_iterator&),
1064 operator+(difference_type, const __normal_iterator&)): Likewise.
1065 * include/bits/stl_list.h (list) [splice, _M_check_equal_allocators]:
1067 (list::_M_check_equal_allocators): Abort instead of throwing.
1068 * include/debug/array (array) [operator[], front, back]: Mark as
1070 * include/profile/array (array) [operator[], front, back]: Likewise.
1071 * include/std/array (array) [operator[], front, back]: Likewise.
1072 * include/debug/list (list::splice): Likewise.
1073 * include/profile/list (list::splice): Likewise.
1074 * testsuite/23_containers/list/operations/5.cc: Remove file.
1075 * testsuite/23_containers/list/operations/5.h: Likewise.
1077 2013-09-18 Tim Shen <timshen91@gmail.com>
1079 * include/bits/regex.h: Add friend classes.
1080 (match_results<>::position, regex_iterator<>::operator++):
1081 Implement position specification in regex_iterator.
1082 (regex_match<>, regex_search<>):
1083 Move match_results initializations to these function. Remove `todo`.
1084 * include/bits/regex_compiler.tcc:
1085 (_Compiler<>::_M_quantifier): Fix greedy/ungreedy of interval matching.
1086 * include/bits/regex_constants.h:
1087 Fix indentation. Change match_flag_type to enum type.
1088 * include/bits/regex_executor.h:
1089 Merge identical code to the base class _Executor.
1090 Support flags in regex_constants.
1091 * include/bits/regex_executor.tcc: Likewise.
1092 * include/bits/regex_scanner.h: Add comments.
1093 * include/bits/regex_scanner.tcc: Same.
1094 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc:
1096 * testsuite/28_regex/algorithms/regex_search/ecma/flags.cc: New.
1097 * testsuite/28_regex/iterators/regex_iterator/char/
1098 string_position_01.cc: Remove `xfail`.
1099 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc:
1100 Remove `xfail` and make the case really work.
1102 2013-09-18 Paolo Carlini <paolo.carlini@oracle.com>
1104 * testsuite/performance/25_algorithms/search_n.cc: Fix typo.
1106 2013-09-18 Marc Glisse <marc.glisse@inria.fr>
1109 * include/bits/list.tcc (_List_base::_M_clear, list::erase): Mark as
1111 * include/bits/stl_list.h (_List_iterator) [_List_iterator,
1112 _M_const_cast, operator*, operator->, operator++, operator--,
1113 operator==, operator!=]: Likewise.
1114 (_List_const_iterator) [_List_const_iterator, _M_const_cast, operator*,
1115 operator->, operator++, operator--, operator==, operator!=]: Likewise.
1116 (operator==(const _List_iterator&, const _List_const_iterator&),
1117 operator!=(const _List_iterator&, const _List_const_iterator&)):
1119 (_List_impl) [_List_impl(const _Node_alloc_type&),
1120 _List_impl(_Node_alloc_type&&)]: Likewise.
1121 (_List_base) [_M_put_node, _List_base(const _Node_alloc_type&),
1122 _List_base(_List_base&&), _M_clear, _M_init]: Likewise.
1123 (list) [list(), list(const allocator_type&)]: Merge.
1124 (list) [list(const allocator_type&), front, back, pop_front, pop_back,
1125 erase, _M_erase]: Mark as noexcept.
1126 * include/debug/list (list) [list(const _Allocator&), front, back,
1127 pop_front, pop_back, _M_erase, erase]: Likewise.
1128 * include/profile/list (list) [list(const _Allocator&), front, back,
1129 pop_front, pop_back, erase]: Likewise.
1130 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1132 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1134 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
1136 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1139 2013-09-17 Marc Glisse <marc.glisse@inria.fr>
1142 * include/bits/stl_vector.h (vector::vector(),
1143 vector::vector(const allocator_type&)): Merge.
1144 (_Vector_impl::_Vector_impl(_Tp_alloc_type const&),
1145 _Vector_impl::_Vector_impl(_Tp_alloc_type&&),
1146 _Vector_impl::_M_swap_data,
1147 _Vector_base::_Vector_base(const allocator_type&),
1148 _Vector_base::_Vector_base(allocator_type&&),
1149 _Vector_base::_Vector_base(_Vector_base&&), _Vector_base::~_Vector_base,
1150 vector::vector(const allocator_type&), vector::operator[],
1151 vector::operator[] const, vector::front, vector::front const,
1152 vector::back, vector::back const, vector::pop_back,
1153 vector::_M_erase_at_end): Mark as noexcept.
1154 * include/debug/vector (vector::vector(const _Allocator&),
1155 vector::operator[], vector::operator[] const, vector::front,
1156 vector::front const, vector::back, vector::back const, vector::pop_back,
1157 _M_requires_reallocation, _M_update_guaranteed_capacity,
1158 _M_invalidate_after_nth): Mark as noexcept.
1159 * include/profile/vector (vector::vector(const _Allocator&),
1160 vector::operator[], vector::operator[] const, vector::front,
1161 vector::front const, vector::back, vector::back const): Mark as
1163 (vector::vector(vector&&, const _Allocator&)): Remove wrong noexcept.
1164 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1166 * testsuite/23_containers/vector/requirements/dr438/
1167 constructor_1_neg.cc: Likewise.
1168 * testsuite/23_containers/vector/requirements/dr438/
1169 constructor_2_neg.cc: Likewise.
1170 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1173 2013-09-14 Tim Shen <timshen91@gmail.com>
1175 * include/bits/regex.h (regex_match<>, regex_search<>):
1176 Change regex_executor caller. Now use their return value instead
1177 of checking __m[0].matched to find out if it's successful.
1178 (regex_search<>): Move the search logic to regex_executor.
1179 * include/bits/regex_automaton.h: Add some new _Opcode. Refactor
1181 * include/bits/regex_automaton.tcc: Add DEBUG dump for new
1182 _Opcode. Refactor _NFA::_M_insert_*.
1183 * include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa):
1184 Use make_shared instead of construct by hand.
1185 * include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion.
1186 * include/bits/regex_constants.h: Fix indentation and line breaking.
1187 * include/bits/regex_executor.h: Add _ResultsEntry to support
1188 greedy/ungreedy mode. Move regex_search logic here.
1189 * include/bits/regex_executor.tcc: Implement assertions and
1190 greedy/ungreedy matching.
1191 * include/bits/regex_scanner.h: Add a new token _S_token_ungreedy.
1192 * include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy.
1193 * testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New.
1194 * testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New.
1195 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
1198 2013-09-13 Paolo Carlini <paolo.carlini@oracle.com>
1201 * include/ext/sso_string_base.h (__sso_string_base<>::
1202 __sso_string_base(__sso_string_base&&)): Fix thinkos about
1203 _M_length vs _M_set_length.
1204 * testsuite/ext/vstring/cons/58415-1.cc: New.
1205 * testsuite/ext/vstring/cons/58415-2.cc: Likewise.
1207 2013-09-12 Paolo Carlini <paolo.carlini@oracle.com>
1210 * include/bits/stl_iterator.h (__normal_iterator<>::operator[],
1211 operator+=, operator+, operator-=, operator-): Take the argument
1213 * testsuite/24_iterators/normal_iterator/58403.cc: New.
1215 2013-09-11 Mitsuru Kariya <kariya_mitsuru@hotmail.com>
1216 Chris Jefferson <chris@bubblescope.net>
1219 * include/bits/stl_algo.h (search_n): Fix to guarantee a number
1220 of comparisons <= number of elements in the range.
1221 * testsuite/25_algorithms/search_n/58358.cc: New.
1222 * testsuite/25_algorithms/search_n/iterator.cc: Extend.
1224 2013-09-10 Ed Smith-Rowland <3dw4rd@verizon.net>
1226 * testsuite/28_regex/traits/wchar_t/value.cc: Change template args
1227 from char to wchar_t, literals from 'x' to L'x'.
1229 2013-09-10 Kai Tietz <ktietz@redhat.com>
1232 * config/abi/pre/gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS*
1235 2013-09-07 Paolo Carlini <paolo.carlini@oracle.com>
1238 * include/bits/stl_algobase.h (copy_backward): Fix documentation
1241 2013-09-05 Tim Shen <timshen91@gmail.com>
1243 * include/bits/regex_automaton.h: Add dummy node type. Rewrite
1245 * include/bits/regex_automaton.tcc: Implement them.
1246 * include/bits/regex_compiler.h: Rewrite _Compiler to use new
1247 _StateSeq interfaces.
1248 * include/bits/regex_compiler.tcc: Implement them.
1249 * include/bits/regex_scanner.h: Add word boundry assertion token.
1250 * include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_ecma):
1251 Support word boundry.
1252 * testsuite/28_regex/algorithms/regex_match/basic/
1253 string_range_02_03.cc: Remove "xfail".
1254 * testsuite/28_regex/algorithms/regex_match/extended/cstring_plus.cc:
1256 * testsuite/28_regex/algorithms/regex_match/extended/
1257 string_range_02_03.cc: Likewise.
1258 * testsuite/28_regex/algorithms/regex_match/extended/
1259 cstring_questionmark.cc: Remove xfail and get correct length of
1261 * testsuite/28_regex/algorithms/regex_match/extended/
1262 string_range_00_03.cc: Likewise.
1263 * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
1265 * testsuite/28_regex/algorithms/regex_match/extended/cstring_range.cc:
1267 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_02.cc: New.
1269 2013-09-03 Paolo Carlini <paolo.carlini@oracle.com>
1272 * include/bits/random.tcc (negative_binomial_distribution<>::
1273 operator()(_UniformRandomNumberGenerator&, const param_type&)):
1274 Fix typo in template argument.
1275 * testsuite/26_numerics/random/negative_binomial_distribution/
1276 operators/58302.cc: New.
1278 2013-09-02 Tim Shen <timshen91@gmail.com>
1280 * regex_automaton.h: Rearrange _NFA's layout.
1281 * include/bits/regex_compiler.h: Add _AnyMatcher and _CharMatcher.
1282 Rearrange _BracketMatcher's layout.
1283 (_BracketMatcher<>::_M_add_char): Use set instead of vector for
1285 (_BracketMatcher<>::_M_add_collating_element): Likewise.
1286 (_BracketMatcher<>::_M_make_range): Likewise.
1287 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom): Use
1288 appropriate constructors of matchers above.
1289 * testsuite/28_regex/algorithms/regex_match/ecma/char/anymatcher.cc:
1291 * testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc: New.
1292 * testsuite/28_regex/algorithms/regex_match/ecma/char/empty_range.cc:
1294 * testsuite/28_regex/algorithms/regex_match/ecma/char/emptygroup.cc:
1296 * testsuite/28_regex/algorithms/regex_match/ecma/char/hex.cc: New.
1297 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
1299 * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc: New.
1301 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1304 * include/debug/functions.h (__foreign_iterator_aux4): Use
1305 sequence const_pointer as common type to compare pointers. Add a
1306 fallback overload in case pointers cannot be cast to sequence
1308 * testsuite/23_containers/vector/modifiers/insert/58148.cc: New.
1310 2013-08-30 François Dumont <fdumont@gcc.gnu.org>
1313 * include/debug/macros.h (__glibcxx_check_partitioned_lower): Add
1314 __gnu_debug::__base calls on iterators passed to internal debug
1316 (__glibcxx_check_partitioned_lower_pred): Likewise.
1317 (__glibcxx_check_partitioned_upper): Likewise.
1318 (__glibcxx_check_partitioned_upper_pred): Likewise.
1319 (__glibcxx_check_sorted): Likewise.
1320 (__glibcxx_check_sorted_pred): Likewise.
1321 (__glibcxx_check_sorted_set): Likewise.
1322 (__glibcxx_check_sorted_set_pred): Likewise.
1323 * include/debug/functions.h (__check_partitioned_lower):
1324 Remove code to detect safe iterators.
1325 (__check_partitioned_upper): Likewise.
1326 (__check_sorted): Likewise.
1328 2013-08-29 Tim Shen <timshen91@gmail.com>
1330 * include/bits/regex.h (basic_regex<>::assign): Don't lose _M_traits.
1331 (regex_iterator<>::regex_iterator): Return nullptr when regex_search
1333 (regex_token_iterator<>::_M_end_of_seq): Should be defined true when
1334 _M_result is(not isn't) nullptr.
1335 * include/bits/regex_compiler.h: Store _Compiler::_M_traits by reference
1336 instead of by value.
1337 * include/bits/regex_executor.h (_DFSExecutor<>::_DFSExecutor): Add
1338 _M_traits to _DFSExecutor.
1339 * include/bits/regex_executor.tcc (__get_executor<>): Pass traits to
1341 * testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
1343 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
1346 2013-08-26 Tim Shen <timshen91@gmail.com>
1348 * include/Makefile.am: Add regex_scanner.{h,tcc}.
1349 * include/Makefile.in: Regenerate.
1350 * include/bits/regex.h (match_search): Handle the `__first == __last`
1351 situation correctly.
1352 * include/bits/regex_compiler.h: Move _Scanner...
1353 * include/bits/regex_scanner.h: ...to here. New.
1354 * include/bits/regex_compiler.tcc: Move _Scanner...
1355 * include/bits/regex_scanner.tcc: ...to here, too. New.
1356 * include/bits/regex_executor.tcc: Use value instead of reference for
1358 * include/std/regex: Add regex_scanner.h
1359 * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New.
1360 * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New.
1361 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New.
1362 * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New.
1363 * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New.
1365 2013-08-22 Tim Shen <timshen91@gmail.com>
1367 * include/bits/regex.h: Replace 8 spaces in indentation with a tab.
1368 * include/bits/regex_automaton.h: Same.
1369 * include/bits/regex_automaton.tcc: Same.
1370 * include/bits/regex_compiler.h: Same.
1371 * include/bits/regex_compiler.tcc: Same.
1372 * include/bits/regex_constants.h: Same.
1373 * include/bits/regex_executor.h: Same.
1374 * include/bits/regex_executor.tcc: Same.
1376 2013-08-22 Tim Shen <timshen91@gmail.com>
1378 * include/bits/regex.h: Executor caller.
1379 * include/bits/regex_executor.h: Fix empty grouping problem.
1380 * include/bits/regex_executor.tcc: Same.
1381 * testsuite/28_regex/algorithms/regex_match/ecma/cstring_emptygroup.cc:
1384 2013-08-20 Phil Muldoon <pmuldoon@redhat.com>
1387 http://sourceware.org/bugzilla/show_bug.cgi?id=15195
1389 * python/libstdcxx/v6/printers.py (Printer.__call__): If a value
1390 is a reference, fetch referenced value.
1391 (RxPrinter.invoke): Ditto.
1392 * testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
1393 flag. Add referenced value tests.
1395 2013-08-20 Tim Shen <timshen91@gmail.com>
1397 * include/bits/regex_constants.h: Add underlying `unsigned int` for
1398 enum syntax_option_type.
1400 2013-08-18 Tim Shen <timshen91@gmail.com>
1402 * include/bits/regex_automaton.h: _S_opcode_backref.
1403 * include/bits/regex_automaton.tcc: Backref automaton support.
1404 * include/bits/regex_compiler.tcc: Parsing support.
1405 * include/bits/regex_executor.h: Add _M_traits for _DFSExecutor.
1406 * include/bits/regex_executor.tcc: Add _S_opcode_backref support.
1407 * testsuite/28_regex/algorithms/regex_match/ecma/string_backref.cc: New.
1409 2013-08-16 Tim Shen <timshen91@gmail.com>
1411 * include/bits/regex.h (regex_traits<>::transform_primary):
1412 Avoid past-the-end dereferences.
1414 2013-08-14 Paolo Carlini <paolo.carlini@oracle.com>
1417 * include/bits/basic_string.h (basic_string<>::operator[]): Fix
1418 _GLIBCXX_DEBUG_PEDASSERT check vs C++11.
1419 * include/ext/vstring.h: Likewise.
1420 * testsuite/21_strings/basic_string/element_access/char/58163.cc:
1422 * testsuite/21_strings/basic_string/element_access/wchar_t/58163.cc:
1424 * testsuite/ext/vstring/element_access/char/58163.cc: Likewise.
1425 * testsuite/ext/vstring/element_access/wchar_t/58163.cc: Likewise.
1427 2013-08-14 Uros Bizjak <ubizjak@gmail.com>
1429 * src/c++98/compatibility.cc (_ZTIe): Use
1430 reinterpret_cast<const cast *> to avoid -Wcast-qual warnings.
1434 2013-08-09 Tim Shen <timshen91@gmail.com>
1436 * include/bits/regex_constants.h: Change syntax_option_type to enum
1439 2013-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1441 * include/bits/regex.h: Replace _A, _B, _C, _R by _Ap, _Bp, _Cp, _Rp.
1443 2013-08-08 François Dumont <fdumont@gcc.gnu.org>
1445 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
1446 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
1448 (_Before_begin<>): Remove.
1449 * include/bits/hashtable.h (_Hashtable): Inherit from
1450 _Hashtable_alloc and adapt. Restore _M_before_begin field.
1451 * src/c++11/hashtable_c++0x.cc: Add ext/alloc_traits.h include.
1452 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
1453 access to hashtable before begin.
1454 * testsuite/23_containers/unordered_set/
1455 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
1456 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1459 2013-08-07 Tim Shen <timshen91@gmail.com>
1461 * include/Makefile.am: Adjust to new files.
1462 * include/Makefile.in: Regenerate.
1463 * include/bits/regex.h: Adjust to new interfaces.
1464 * include/bits/regex_automaton.h: New.
1465 * include/bits/regex_automaton.tcc: New.
1466 * include/bits/regex_compiler.h: Adjust to new files.
1467 * include/bits/regex_compiler.tcc: New.
1468 * include/bits/regex_constants.h: Tail spaces.
1469 * include/bits/regex_error.h: Likewise.
1470 * include/bits/regex_executor.h: New.
1471 * include/bits/regex_executor.tcc: New.
1472 * include/std/regex: Adjust to new files.
1473 * testsuite/28_regex/algorithms/regex_match/extended/
1474 string_dispatch_01.cc: Adjust to new interfaces.
1476 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1478 * include/ext/atomicity.h: Add #pragma GCC system_header.
1480 2013-08-07 Paolo Carlini <paolo.carlini@oracle.com>
1483 * include/bits/random.h (cauchy_distribution<>::min,
1484 extreme_value_distribution<>::min, normal_distribution<>::min,
1485 student_t_distribution<>::min): Fix.
1486 * include/ext/random (normal_mv_distribution<>::min): Likewise.
1487 * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
1489 testsuite/26_numerics/random/cauchy_distribution/cons/default.cc:
1491 * testsuite/26_numerics/random/extreme_value_distribution/cons/
1493 testsuite/26_numerics/random/extreme_value_distribution/cons/
1494 default.cc: Likewise.
1495 * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
1497 * testsuite/26_numerics/random/normal_distribution/cons/default.cc:
1499 * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
1501 * testsuite/26_numerics/random/student_t_distribution/cons/default.cc:
1503 * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
1504 * testsuite/ext/random/normal_mv_distribution/cons/default.cc: Likewise.
1506 * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
1508 * testsuite/26_numerics/random/exponential_distribution/cons/default.cc:
1511 * testsuite/ext/von_mises_distribution/*: Move to...
1512 * testsuite/ext/random/von_mises_distribution/*: ... here.
1513 * testsuite/ext/triangular_distribution/*: Move to...
1514 * testsuite/ext/random/triangular_distribution/*: ... here.
1516 2013-08-06 Caroline Tice <cmtice@google.com>
1518 * fragment.am: Add XTEMPLATE_FLAGS.
1519 * configure.ac: Add definitions for --enable-vtable-verify.
1520 * acinclude.m4: Add --enable-vtable-verify and
1521 --disable-vtable-verify; define --enable-vtable-verify; define
1522 VTV_CXXFLAGS, VTV_PCH_CXXFLAGS and VTV_CXXLINKFLAGS.
1523 * config/abi/pre/gnu.ver: Export symbols for vtable verification.
1524 * libsupc++/Makefile.am: Define vtv_sources and add it to
1525 libsupc___la_SOURCES and libsupc__convenience_la_SOURCES.
1526 * libsupc++/vtv_stubs.cc: New file.
1527 * include/Makefile.am: Add VTV_PCH_CXXFLAGS to PCHFLAGS.
1528 * src/Makefile.am: Add VTV_CXXFLAGS to AM_CXXFLAGS; add
1529 VTV_CXXLINKFLAGS to CXXLINK.
1530 * src/c++98/Makefile.am: Comment out XTEMPLATE_FLAGS; add VTV_CXXFLAGS
1531 to AM_CXXFLAGS; add VTV_CXXXLINKFLAGS to CXXLINK.
1532 * src/C++11/Makefile.am: Ditto.
1533 * doc/xml/manual/configure.xml: Add entry for --enable-vtable-verify.
1534 * scripts/testsuite_flags.in: Add cxxvtvflags to Usage; cause
1535 cxxvtvflags to use VTV_CXXFLAGS and VTV_CXXLINKFLAGS.
1536 * testsuite/lib/libstdc++.exp: Add cxxvtvflags; add code to locate
1537 libvtv if --enable-vtable-verify was used; set cxxvtvflags; add
1538 cxxvtvflags to cxx_final.
1539 * testsuite/18_support/bad_exception/23591_thread-1.c: Add
1540 -fvtable-verify=none to compiler flags.
1541 * testsuite/17_intro/freestanding.cc: Add -fvtable-verify=none
1543 * configure: Regenerated.
1544 * Makefile.in: Regenerated.
1545 * python/Makefile.in: Regenerated.
1546 * include/Makefile.in: Regenerated.
1547 * libsupc++/Makefile.in: Regenerated.
1548 * config.h.in: Regenerated.
1549 * po/Makefile.in: Regenerated.
1550 * src/Makefile.in: Regenerated.
1551 * src/c++98/Makefile.in: Regenerated.
1552 * src/c++11/Makefile.in: Regenerated.
1553 * doc/Makefile.in: Regenerated.
1554 * testsuite/Makefile.in: Regenerated.
1556 2013-08-06 Paolo Carlini <paolo.carlini@oracle.com>
1558 Revert the last commit.
1560 2013-08-06 François Dumont <fdumont@gcc.gnu.org>
1562 * include/bits/hashtable_policy.h (_Hashtable_alloc): New.
1563 (_ReuseOrAllocNode, _AllocNode): Adapt to use latter rather than
1565 (_Before_begin<>): Remove.
1566 * include/bits/hashtable.h (_Hashtable): Inherit from
1567 _Hashtable_alloc and adapt. Restore _M_before_begin field.
1568 * python/libstdcxx/v6/printers.py (StdHashtableIterator): Adapt
1569 access to hashtable before begin.
1570 * testsuite/23_containers/unordered_set/
1571 not_default_constructible_hash_neg.cc: Adapt dg-error line number.
1572 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1575 2013-08-03 Tim Shen <timshen91@gmail.com>
1577 Implement bracket expression.
1578 * include/bits/regex.h: Remove constexpr from "|=", etc.
1579 * include/bits/regex_compiler.h: Parse bracket expression.
1580 * include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
1582 * include/bits/regex_nfa.tcc: Implement them.
1583 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1584 from regex_search to regex_match.
1585 * testsuite/28_regex/algorithms/regex_match/extended/
1586 cstring_bracket_01.cc: New.
1588 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1590 * include/debug/functions.h (__foreign_iterator_aux4):
1591 Initialize __l and __ge.
1593 2013-08-02 Paolo Carlini <paolo.carlini@oracle.com>
1596 * include/debug/functions.h: Include <bits/move.h>; minor formatting
1598 (__foreign_iterator_aux4): Declare __l and __ge constexpr.
1599 * include/debug/safe_iterator.h (_Safe_iterator<>::operator->):
1601 * include/debug/safe_local_iterator.h (_Safe_local_iterator<>::
1602 operator->): Likewise.
1604 2013-08-01 François Dumont <fdumont@gcc.gnu.org>
1607 * include/debug/formatter.h (_Debug_msg_id): Add
1608 __msg_insert_itself_range entry.
1609 * include/debug/functions.h (_Insert_range_from_self_is_safe<>):
1610 New, indicate container types supporting self range insertion in
1612 (__foreign_iterator): New, check if an iterator points to a given
1614 * include/debug/macros.h (__glibcxx_check_insert_range): Add check
1615 using __foreign_iterator.
1616 (__gibcxx_check_insert_range_after): Likewise.
1617 * include/debug/string (_Insert_range_from_self_is_safe<>):
1618 Partially specialized to mark __gnu_debug::basic_string<> as
1619 supporting self range insert.
1620 * include/debug/list (_Insert_range_from_self_is_safe<>):
1621 Partially specialized to mark std::list as supporting self range
1622 insert if _GLIBCXX_DEBUG_PEDANTIC is not defined.
1623 * include/debug/forward_list (_Insert_range_from_self_is_safe<>):
1625 * src/c++11/debug.cc (_S_debug_messages): Add
1626 __msg_insert_itself_range_entry message.
1627 (_Error_formatter::_Parameter::_M_print_description): Display
1628 iterator sequence address rather than sequence address when the
1629 parameter type is an iterator.
1630 (_Error_formatter::_M_print_word): Enhance behavior when
1631 displaying a word with an appended '\n'.
1632 * testsuite/util/debug/checks.h (check_insert4<>): New.
1633 * testsuite/23_containers/deque/debug/insert5_neg.cc: New.
1634 * testsuite/23_containers/vector/debug/insert5_neg.cc: Likewise.
1635 * testsuite/23_containers/vector/debug/insert6_neg.cc: Likewise.
1636 * testsuite/23_containers/vector/debug/57779_neg.cc: Likewise.
1637 * testsuite/23_containers/list/debug/insert5_neg.cc: Likewise.
1638 * testsuite/23_containers/forward_list/debug/insert_after4_neg.cc:
1641 2013-08-01 Fabien Chêne <fabien@gcc.gnu.org>
1644 * include/tr1/cmath: Remove pow(double,double) overload, remove a
1645 duplicated comment about DR 550. Add a comment to explain the
1647 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: New.
1649 2013-07-31 Tim Shen <timshen91@gmail.com>
1651 Thompson matcher refactored. Fix grouping problem.
1652 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1653 * include/bits/regex_compiler.h: Tweak for auto switching.
1654 * include/bits/regex_grep_matcher.h: Class structure.
1655 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1656 matcher) refactoring.
1657 * include/bits/regex_nfa.h: Change _Results's interfaces.
1658 * include/std/regex: Includes <map> and <queue>.
1659 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1661 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1663 * testsuite/28_regex/algorithms/regex_match/extended/
1664 string_dispatch_01.cc: New.
1666 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
1669 * include/bits/stl_bvector.h: Use friend struct hash intead of
1670 friend class hash to work around useless warnings produced by
1672 * include/std/bitset: Likewise.
1674 2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
1676 * src/c++11/functexcept.cc: Do not include the whole <regex>.
1677 * src/c++11/regex.cc: Likewise.
1679 2013-07-31 Tim Shen <timshen91@gmail.com>
1683 2013-07-31 Tim Shen <timshen91@gmail.com>
1685 Thompson matcher refactored. Fix grouping problem.
1686 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1687 * include/bits/regex_compiler.h: Tweak for auto switching.
1688 * include/bits/regex_grep_matcher.h: Class structure.
1689 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1690 matcher) refactoring.
1691 * include/bits/regex_nfa.h: Change _Results's interfaces.
1692 * include/std/regex: Includes <map> and <queue>.
1693 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1695 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1697 * testsuite/28_regex/algorithms/regex_match/extended/
1698 string_dispatch_01.cc: New.
1700 2013-07-30 Paolo Carlini <paolo.carlini@oracle.com>
1704 2013-07-30 Tim Shen <timshen91@gmail.com>
1706 Thompson matcher refactored. Fix grouping problem.
1707 * include/bits/regex.h: Use a dispatcher _M_get_matcher().
1708 * include/bits/regex_compiler.h: Tweak for auto switching.
1709 * include/bits/regex_grep_matcher.h: Class structure.
1710 * include/bits/regex_grep_matcher.tcc: _BFSMatcher(Thompson
1711 matcher) refactoring.
1712 * include/bits/regex_nfa.h: Change _Results's interfaces.
1713 * include/std/regex: Includes <map> and <queue>.
1714 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
1716 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc:
1718 * testsuite/28_regex/algorithms/regex_match/extended/
1719 string_dispatch_01.cc: New.
1721 2013-07-29 Nathan Froyd <froydnj@gcc.gnu.org>
1723 * include/std/atomic (compare_exchange_weak, compare_exchange_strong):
1724 Add call to __cmpexch_failure_order.
1725 * testsuite/util/testsuite_common_types.h
1726 (compare_exchange_order_lowering): New generator.
1727 * testsuite/29_atomics/atomic/requirements/compare_exchange_lowering.cc:
1730 2013-07-25 Paolo Carlini <paolo.carlini@oracle.com>
1732 * include/std/complex (pow(const complex<>&, int)): Enable in
1734 * testsuite/26_numerics/complex/dr844.cc: Adjust.
1735 * doc/xml/manual/intro.xml: Update.
1737 2013-07-25 Tim Shen <timshen91@gmail.com>
1739 Add documents and comments.
1740 * include/bits/regex.h: Documents and comments.
1741 * include/bits/regex_grep_matcher.h: Likewise.
1742 * include/bits/regex_grep_matcher.tcc: Likewise.
1743 * testsuite/28_regex/iterators/regex_iterator/char/
1744 string_position_01.cc: New.
1746 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1749 * doc/xml/manual/status_cxx2011.xml: Note missing time_get::get and
1752 2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
1754 * include/bits/random.h (random_device): Avoid using the FILE type.
1755 * include/std/random: Do not include <cstdio>.
1756 * src/c++11/random.cc: ... include it here.
1757 (random_device::_M_init, random_device::_M_fini,
1758 random_device::_M_getval): Cast back and forth void* and FILE*.
1760 2013-07-24 Tim Shen <timshen91@gmail.com>
1762 Reimplment matcher using Depth-first search(backtracking).
1765 * include/bits/regex.h: regex_match() and regex_search().
1766 * include/bits/regex_cursor.h: Fix _M_set_pos().
1767 * include/bits/regex_grep_matcher.h: add _M_dfs_match().
1768 * include/bits/regex_grep_matcher.tcc: Implement it.
1769 * testsuite/28_regex/algorithms/regex_match/extended/53622.cc: New.
1770 * testsuite/28_regex/algorithms/regex_match/extended/57173.cc: New.
1771 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc:
1774 2013-07-23 Tim Shen <timshen91@gmail.com>
1776 Implement regex_iterator and regex_token_iterator.
1777 * include/bits/regex.h: regex_iterator and regex_token_iterator.
1778 * testsuite/28_regex/iterators/regex_iterator/char/string_01.cc:
1780 * testsuite/28_regex/iterators/regex_iterator/wchar_t/string_01.cc:
1782 * testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:
1784 * testsuite/28_regex/iterators/regex_token_iterator/wchar_t/
1787 2013-07-23 Paolo Carlini <paolo.carlini@oracle.com>
1789 * include/std/random: Add back <cstdio> include.
1790 * src/c++11/random.cc: Don't include <cstdio> here.
1792 2013-07-22 Jason Merrill <jason@redhat.com>
1795 * libsupc++/atexit_thread.cc (run): Delete cleanup elts.
1797 2013-07-22 Paolo Carlini <paolo.carlini@oracle.com>
1800 * src/c++11/random.cc (random_device::_M_getval): If possible, use
1801 read instead of std::fread.
1802 * include/std/random: Do not include <cstdio> unnecessarily.
1804 2013-07-21 Tim Shen <timshen91@gmail.com>
1806 Partially implement regex_search.
1807 * include/bits/regex.h: regex_search.
1808 * include/bits/regex_grep_matcher.h: _M_search_from_first.
1809 * include/bits/regex_grep_matcher.tcc: Implement it.
1810 * testsuite/28_regex/algorithms/regex_search/basic/string_01.cc: New.
1812 2013-07-21 Jonathan Wakely <jwakely.gcc@gmail.com>
1815 * include/std/condition_variable (condition_variable_any): Move into
1816 inline namespace _V2 and replace mutex member with shared_ptr<mutex>.
1817 * src/c++11/condition_variable.cc (condition_variable_any): Move
1819 * src/c++11/compatibility-condvar.cc (condition_variable_any): Here.
1820 * src/Makefile.am: Add new source file.
1821 * src/Makefile.in: Regenerate.
1823 2013-07-09 Tim Shen <timshen91@gmail.com>
1825 Implement class regex_traits.
1826 * include/bits/regex.h: Implement lookup_classname and
1827 lookup_collatename; modify isctype; partially implement
1829 * testsuite/28_regex/traits/char/isctype.cc: Add more test cases.
1830 * testsuite/28_regex/traits/char/lookup_classname.cc: Likewise.
1831 * testsuite/28_regex/traits/char/lookup_collatename.cc: Likewise.
1832 * testsuite/28_regex/traits/char/transform_primary.cc: Likewise.
1833 * testsuite/28_regex/traits/wchar_t/isctype.cc: New.
1834 * testsuite/28_regex/traits/wchar_t/lookup_classname.cc: New.
1835 * testsuite/28_regex/traits/wchar_t/lookup_collatename.cc: New.
1836 * testsuite/28_regex/traits/wchar_t/transform_primary.cc: New.
1838 2013-07-07 Ed Smith-Rowland <3dw4rd@verizon.net>
1840 * doc/xml/manual/status_cxx2014.xml: Add links for papers.
1842 2013-07-05 François Dumont <fdumont@gcc.gnu.org>
1844 * include/bits/hashtable_policy.h (_ReuseOrAllocNode): Use forward
1846 (_MoveReuseOrAllocNode): Remove.
1847 (_Insert_base): Take a functor defining how the node is generated.
1848 * include/bits/hashtable.h: Adapt.
1849 (operator=(initializer_list<value_type>)): Reuse node if any.
1850 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1851 Adjust dg-error line number.
1852 * testsuite/23_containers/unordered_set/
1853 not_default_constructible_hash_neg.cc: Likewise.
1855 2013-07-05 Paolo Carlini <paolo.carlini@oracle.com>
1857 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1858 Tweak, avoid potential undefined behavior.
1859 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1861 * testsuite/23_containers/vector/bool/modifiers/insert/
1862 const_iterator.cc: Likewise.
1863 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1866 2013-07-04 Veres Lajos <vlajos@gmail.com>
1867 Jonathan Wakely <jwakely.gcc@gmail.com>
1869 * config/locale/generic/codecvt_members.cc: Fix typo.
1870 * configure.host: Likewise.
1871 * doc/html/manual/policy_data_structures_design.html: Likewise.
1872 * doc/xml/manual/policy_data_structures.xml: Likewise.
1873 * include/bits/hashtable.h: Likewise.
1874 * include/bits/random.h: Likewise.
1875 * include/profile/impl/profiler_trace.h: Likewise.
1876 * testsuite/23_containers/deque/cons/2.cc: Likewise.
1877 * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.
1878 * testsuite/ext/pb_ds/example/basic_multimap.cc: Likewise.
1879 * testsuite/performance/23_containers/insert_erase/41975.cc: Likewise.
1881 2013-07-04 Ray Chason <chasonr@newsguy.com>
1882 Paolo Carlini <paolo.carlini@oracle.com>
1885 * include/bits/regex.h (regex_token_iterator<>::operator==,
1886 regex_token_iterator<>::operator!=, regex_token_iterator<>::operator*,
1887 regex_token_iterator<>::operator->): Declare const.
1889 2013-07-01 Paolo Carlini <paolo.carlini@oracle.com>
1891 * include/bits/stl_list.h (list<>::insert(iterator,
1892 size_type, const value_type&), list<>::insert(iterator,
1893 initializer_list<>), list<>::insert(iterator, _InputIterator,
1894 _InputIterator), list<>::splice(iterator, list&&),
1895 list<>::splice(iterator, list&), list<>::splice(iterator, list&&,
1896 iterator), list<>::splice(iterator, list&, iterator),
1897 list<>::splice(iterator, list&&, iterator, iterator),
1898 list<>::splice(iterator, list&, iterator, iterator)): Adjust C++11
1899 signatures to take const_iterator(s).
1900 * include/bits/list.tcc (list<>::insert(const_iterator, size_type,
1901 const value_type&), list<>::insert(const_iterator, _InputIterator,
1902 _InputIterator)): Define.
1903 * include/ext/vstring.h (__versa_string<>::insert(iterator,
1904 size_type, _CharT), __versa_string<>::insert(iterator,
1905 _InputIterator, _InputIterator), __versa_string<>::insert(iterator,
1906 std::initializer_list<>), __versa_string<>::replace(iterator,
1907 iterator, _InputIterator, _InputIterator), __versa_string<>::
1908 replace(iterator, iterator, std::initializer_list<>)): Adjust C++11
1909 signatures to take const_iterator(s).
1910 (__versa_string<>::_M_replace_dispatch): Take const_iterators.
1911 * include/ext/vstring.tcc: Likewise.
1912 * include/debug/list: Adjust.
1913 * include/profile/list: Likewise.
1914 * testsuite/23_containers/list/operations/splice/const_iterator.cc:
1916 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
1918 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
1920 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
1922 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
1924 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
1927 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1928 Adjust dg-error line number.
1929 * testsuite/23_containers/list/requirements/dr438/
1930 constructor_1_neg.cc: Likewise.
1931 * testsuite/23_containers/list/requirements/dr438/
1932 constructor_2_neg.cc: Likewise.
1933 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1936 2013-06-30 Paolo Carlini <paolo.carlini@oracle.com>
1938 * include/bits/stl_deque.h (deque<>::insert(iterator,
1939 size_type, const value_type&), deque<>::insert(iterator,
1940 initializer_list<>), deque<>::insert(iterator, _InputIterator,
1941 _InputIterator)): Adjust C++11 signatures to take a const_iterator.
1942 * include/bits/stl_vector.h: Likewise.
1943 * include/bits/stl_bvector.h: Likewise.
1944 * include/debug/deque: Adjust.
1945 * include/debug/vector: Likewise.
1946 * include/profile/deque: Likewise.
1947 * include/profile/vector: Likewise.
1948 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
1950 * testsuite/23_containers/vector/bool/modifiers/insert/
1951 const_iterator.cc: Likewise.
1952 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
1955 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1956 Adjust dg-error line number.
1957 * testsuite/23_containers/deque/requirements/dr438/
1958 constructor_1_neg.cc: Likewise.
1959 * testsuite/23_containers/deque/requirements/dr438/
1960 constructor_2_neg.cc: Likewise.
1961 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1963 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1965 * testsuite/23_containers/vector/requirements/dr438/
1966 constructor_1_neg.cc: Likewise.
1967 * testsuite/23_containers/vector/requirements/dr438/
1968 constructor_2_neg.cc: Likewise.
1969 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1972 2013-06-29 François Dumont <fdumont@gcc.gnu.org>
1974 * include/bits/hashtable_policy.h (_Insert_base): Consider hint in
1976 * include/bits/hashtable.h: Likewise.
1977 * testsuite/23_containers/unordered_multimap/insert/hint.cc: New.
1978 * testsuite/performance/23_containers/insert/unordered_multiset_hint.cc:
1980 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1981 Adjust dg-error line number.
1982 * testsuite/23_containers/unordered_set/
1983 not_default_constructible_hash_neg.cc: Likewise.
1984 * doc/xml/manual/containers.xml: Document hinting in unordered
1987 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1989 * testsuite/21_strings/basic_string/operations/*: Move inside
1990 testsuite/21_strings/basic_string/operations/data/.
1991 * testsuite/21_strings/basic_string/compare/*: Move inside
1992 testsuite/21_strings/basic_string/operations/.
1993 * testsuite/21_strings/basic_string/find/*: Likewise.
1994 * testsuite/21_strings/basic_string/rfind/*: Likewise.
1995 * testsuite/21_strings/basic_string/substr/*: Likewise.
1997 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
1999 * testsuite/21_strings/basic_string/append/*: Move inside
2000 testsuite/21_strings/basic_string/modifiers/.
2001 * testsuite/21_strings/basic_string/assign/*: Likewise.
2002 * testsuite/21_strings/basic_string/insert/*: Likewise.
2003 * testsuite/21_strings/basic_string/replace/*: Likewise.
2004 * testsuite/21_strings/basic_string/modifiers/pop_back/char/
2005 pop_back.cc: Rename to 1.cc.
2006 * testsuite/21_strings/basic_string/modifiers/pop_back/wchar_t/
2007 pop_back.cc: Likewise.
2008 * testsuite/ext/vstring/assign/*: Move inside
2009 testsuite/ext/vstring/modifiers/.
2011 2013-06-27 Paolo Carlini <paolo.carlini@oracle.com>
2013 * include/bits/stl_deque.h (deque<>::insert(iterator,
2014 const value_type&), deque<>::insert(iterator, value_type&&),
2015 deque<>::emplace(iterator, _Args&&...)): Adjust C++11 signatures to
2016 take a const_iterator.
2017 (deque<>::erase): Simplify.
2018 * include/bits/stl_list.h: Likewise.
2019 (_List_iterator<>::_M_const_cast): Add.
2020 * include/bits/stl_vector.h: Likewise.
2021 * include/bits/stl_bvector.h: Likewise.
2022 (_Bit_iterator::_M_const_cast): Add.
2023 * include/bits/deque.tcc: Adjust definitions.
2024 * include/bits/list.tcc: Likewise.
2025 * include/bits/vector.tcc: Likewise.
2026 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2027 Define trivial version in C++98 mode.
2028 * include/ext/vstring.h (__versa_string<>::insert(iterator, _CharT),
2029 __versa_string<>::replace(iterator, iterator, const __versa_string&),
2030 __versa_string<>::replace(iterator, iterator, const _CharT*,
2031 size_type), __versa_string<>::replace(iterator, iterator,
2032 const _CharT*), __versa_string<>::replace(iterator, iterator,
2033 size_type, _CharT)): Adjust C++11 signatures to take a pair of
2035 * include/debug/deque: Adjust.
2036 * include/debug/list: Likewise.
2037 * include/debug/vector: Likewise.
2038 * include/profile/deque: Likewise.
2039 * include/profile/list: Likewise.
2040 * include/profile/vector: Likewise.
2041 (vector<>::emplace): Add.
2042 * testsuite/util/exception/safety.h: Update.
2043 * testsuite/23_containers/deque/modifiers/emplace/const_iterator.cc:
2045 * testsuite/23_containers/deque/modifiers/insert/const_iterator.cc:
2047 * testsuite/23_containers/list/modifiers/emplace/const_iterator.cc:
2049 * testsuite/23_containers/list/modifiers/insert/const_iterator.cc:
2051 * testsuite/23_containers/vector/bool/modifiers/insert/
2052 const_iterator.cc: Likewise.
2053 * testsuite/23_containers/vector/modifiers/emplace/const_iterator.cc:
2055 * testsuite/23_containers/vector/modifiers/insert/const_iterator.cc:
2057 * testsuite/ext/vstring/modifiers/insert/char/const_iterator.cc:
2059 * testsuite/ext/vstring/modifiers/insert/wchar_t/const_iterator.cc:
2061 * testsuite/ext/vstring/modifiers/replace/char/const_iterator.cc:
2063 * testsuite/ext/vstring/modifiers/replace/wchar_t/const_iterator.cc:
2066 * testsuite/ext/vstring/modifiers/char/54577.cc: Move to testsuite/
2067 ext/vstring/modifiers/erase/char/.
2068 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Move to testsuite/
2069 ext/vstring/modifiers/wchar_t/.
2070 * testsuite/ext/vstring/modifiers/char/pop_back.cc: Move to testsuite/
2071 ext/vstring/modifiers/pop_back/char/.
2072 * testsuite/ext/vstring/modifiers/wchar_t/pop_back.cc: Move to
2073 testsuite/ext/vstring/modifiers/pop_back/wchar_t/.
2075 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2076 Adjust dg-error line number.
2077 * testsuite/23_containers/deque/requirements/dr438/
2078 constructor_1_neg.cc: Likewise.
2079 * testsuite/23_containers/deque/requirements/dr438/
2080 constructor_2_neg.cc: Likewise.
2081 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2083 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2085 * testsuite/23_containers/list/requirements/dr438/
2086 constructor_1_neg.cc: Likewise.
2087 * testsuite/23_containers/list/requirements/dr438/
2088 constructor_2_neg.cc: Likewise.
2089 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2091 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2093 * testsuite/23_containers/vector/requirements/dr438/
2094 constructor_1_neg.cc: Likewise.
2095 * testsuite/23_containers/vector/requirements/dr438/
2096 constructor_2_neg.cc: Likewise.
2097 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2100 2013-06-25 Ed Smith-Rowland <3dw4rd@verizon.net>
2102 Status page for C++2014 library features
2103 * doc/xml/faq.xml: Add link to new C++14 status page.
2104 * doc/xml/manual/intro.xml: Ditto.
2105 * doc/xml/manual/status_cxx2014.xml: New.
2107 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2109 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: Avoid
2110 spurious fails with check-debug.
2111 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc:
2113 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: Likewise.
2114 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc:
2117 2013-06-25 Paolo Carlini <paolo.carlini@oracle.com>
2120 * include/bits/char_traits.h (char_traits<char>::lt): Implement
2122 * testsuite/21_strings/char_traits/requirements/char/57704.cc: New.
2124 2013-06-24 Bernd Edlinger <bernd.edlinger@hotmail.de>
2127 * include/c_global/cstdlib (atexit, at_quick_exit): If !_GLIBCC_HOSTED,
2128 declare per the letter of the C++ standard in terms of void.
2129 * include/c_std/cstdlib: Likewise.
2131 2013-06-22 Paolo Carlini <paolo.carlini@oracle.com>
2134 * include/bits/random.h (binomial_distribution<>::_M_waiting):
2135 Add double parameter.
2136 * include/bits/random.tcc (binomial_distribution<>::operator()
2137 (_UniformRandomNumberGenerator&, const param_type&)): Pass
2138 __param._M_q to _M_waiting.
2139 (_M_waiting): Adjust.
2140 * testsuite/26_numerics/random/binomial_distribution/
2141 operators/values.cc: Add tests.
2143 2013-06-21 Paolo Carlini <paolo.carlini@oracle.com>
2146 * include/std/valarray (valarray<>::operator=(const _Expr<>&)):
2147 Implement correctly C++11 26.6.2.3/1.
2148 * testsuite/26_numerics/valarray/dr630-3.C: New.
2150 2013-06-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2153 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common
2154 functionality to new __timed_mutex_impl mixin. Overload try_lock_until
2155 to handle conversion between different clocks. Replace constrained
2156 __try_lock_for_impl overloads with conditional increment.
2157 * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin.
2158 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New.
2160 2013-06-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2161 Chris Jefferson <chris@bubblescope.net>
2163 * include/bits/stl_algobase.h (equal): Make C++14 overloads from N3671
2164 dispatch to traditional std::equal for random-access iterators.
2165 (__equal2_aux, __equal2): Remove.
2166 (__equal::equal): Remove unused overloads.
2167 * include/bits/stl_algo.h (is_permutation): Fix typos.
2169 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2171 * include/std/shared_mutex (shared_lock::operator=): Add missing
2174 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2177 * include/bits/forward_list.h (_Fwd_list_base): Convert to/from
2178 allocator's pointer type.
2179 * include/bits/hashtable.h (_Hashtable): Likewise.
2180 * testsuite/util/testsuite_allocator.h (CustomPointerAlloc): Add.
2181 * testsuite/23_containers/forward_list/allocator/ext_ptr.cc: New.
2182 * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: New.
2183 * testsuite/23_containers/vector/allocator/ext_ptr.cc: New.
2185 2013-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2187 * include/std/shared_mutex: Implement N3659.
2188 * include/bits/c++14_warning.h: New.
2189 * include/Makefile.am: Add new headers.
2190 * include/Makefile.in: Regenerate.
2191 * testsuite/30_threads/shared_lock/cons/1.cc: New.
2192 * testsuite/30_threads/shared_lock/locking/2.cc: New.
2193 * testsuite/30_threads/shared_lock/cons/2.cc: New.
2194 * testsuite/30_threads/shared_lock/locking/3.cc: New.
2195 * testsuite/30_threads/shared_lock/cons/3.cc: New.
2196 * testsuite/30_threads/shared_lock/locking/4.cc: New.
2197 * testsuite/30_threads/shared_lock/cons/4.cc: New.
2198 * testsuite/30_threads/shared_lock/modifiers/1.cc: New.
2199 * testsuite/30_threads/shared_lock/cons/5.cc: New.
2200 * testsuite/30_threads/shared_lock/modifiers/2.cc: New.
2201 * testsuite/30_threads/shared_lock/cons/6.cc: New.
2202 * testsuite/30_threads/shared_lock/requirements/
2203 explicit_instantiation.cc: New.
2204 * testsuite/30_threads/shared_lock/locking/1.cc: New.
2205 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: New.
2206 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
2207 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
2208 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
2209 * testsuite/30_threads/shared_mutex/requirements/
2210 standard_layout.cc: New.
2211 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
2212 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
2214 2013-06-15 Paolo Carlini <paolo.carlini@oracle.com>
2217 * include/bits/unordered_map.h (unordered_map<>::insert,
2218 unordered_multimap<>::insert): Use std::forward, not std::move.
2219 * testsuite/23_containers/unordered_map/insert/57619.C: New.
2220 * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
2222 2013-06-14 Alan Modra <amodra@gmail.com>
2224 * configure.host (abi_baseline_pair): Match powerpc64*.
2226 2013-06-13 Daniel Krugler <daniel.kruegler@gmail.com>
2228 * include/std/type_traits (is_function): Support ref-qualified
2230 (is_copy_constructible, is_move_constructible, is_copy_assignable,
2231 is_move_assignable, is_nothrow_copy_constructible,
2232 is_nothrow_move_constructible, is_nothrow_copy_assignable,
2233 is_nothrow_move_assignable): Implement LWG 2196.
2234 (add_lvalue_reference, add_rvalue_reference, add_pointer): Implement
2236 (__strip_reference_wrapper<<const reference_wrapper<_Tp>>): Remove,
2238 * testsuite/20_util/add_lvalue_reference/value.cc: Extend.
2239 * testsuite/20_util/add_rvalue_reference/value.cc: Likewise.
2240 * testsuite/20_util/decay/requirements/typedefs.cc: Likewise.
2241 * testsuite/20_util/is_assignable/value.cc: Likewise.
2242 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
2243 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
2244 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
2245 * testsuite/20_util/is_function/value.cc: Likewise.
2246 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
2247 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
2248 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
2249 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
2250 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
2251 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
2253 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2255 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2257 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2260 2013-06-13 Paolo Carlini <paolo.carlini@oracle.com>
2262 * include/tr1/modified_bessel_func.tcc (__gnu_cxx::__airy_ai(),
2263 __gnu_cxx::__airy_bi()): Remove.
2264 * testsuite/tr1/5_numerical_facilities/special_functions/
2265 10_cyl_bessel_k/airy.cc: Fix.
2267 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net>
2270 * include/tr1/modified_bessel_func.tcc (__airy): Remove return
2272 (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
2273 * testsuite/tr1/5_numerical_facilities/special_functions/
2274 10_cyl_bessel_k/airy.cc: New.
2276 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
2278 Fix library literals error involving namespace __detail.
2279 * include/std/chrono: Rename __detail to __select_type. Reformat.
2280 * include/bits/basic_string.h: Reformat.
2281 * testsuite/20_util/duration/literals/ns_detail.cc: New.
2283 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com>
2286 * include/c_global/cstddef (max_align_t): Add to namespace std.
2287 * include/c_std/cstddef: Likewise.
2288 * testsuite/18_support/max_align_t/requirements/1.cc: New.
2289 * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
2291 2013-06-10 Benjamin Kosnik <bkoz@redhat.com>
2293 * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
2294 * include/bits/stl_map.h (erase): Use abi_tag when C++11.
2295 * include/bits/stl_multimap.h: Same.
2296 * include/bits/stl_multiset.h: Same.
2297 * include/bits/stl_set.h: Same.
2298 * include/bits/stl_tree.h: Same.
2299 * include/std/complex (real, imag): Use macro for abi_tag.
2301 * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
2302 * testsuite/util/testsuite_containers.h (erase_external): New
2304 (erase_external_iterators): Same.
2305 (linkage_check_cxx98_cxx11_erase): Same.
2306 (linkage_check_cxx98_cxx11_erase_iterators): Same.
2307 * testsuite/util/testsuite_shared.cc: Define.
2308 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
2309 * testsuite/23_containers/map/modifiers/erase/
2310 dr130-linkage-check.cc: New.
2311 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
2312 * testsuite/23_containers/multimap/modifiers/erase/
2313 dr130-linkage-check.cc: New.
2314 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
2315 * testsuite/23_containers/multiset/modifiers/erase/
2316 dr130-linkage-check.cc: New.
2317 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
2318 * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
2320 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
2322 * testsuite/23_containers/map/dr130.cc: Move...
2323 * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
2324 * testsuite/23_containers/multimap/dr130.cc: Move ...
2325 * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
2326 * testsuite/23_containers/multiset/dr130.cc: Move...
2327 * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
2328 * testsuite/23_containers/set/dr130.cc: Move...
2329 * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
2331 2013-06-10 Thomas Schwinge <thomas@codesourcery.com>
2333 * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
2334 handling of Linux-based x86 systems to cover all GNU systems.
2335 * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
2336 * testsuite/18_support/pthread_guard.cc: Likewise.
2337 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
2339 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
2341 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
2342 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
2343 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2344 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2345 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2346 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2347 * testsuite/23_containers/list/pthread1.cc: Likewise.
2348 * testsuite/23_containers/list/pthread5.cc: Likewise.
2349 * testsuite/23_containers/map/pthread6.cc: Likewise.
2350 * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
2352 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
2354 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
2355 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
2356 * testsuite/30_threads/async/42819.cc: Likewise.
2357 * testsuite/30_threads/async/49668.cc: Likewise.
2358 * testsuite/30_threads/async/54297.cc: Likewise.
2359 * testsuite/30_threads/async/any.cc: Likewise.
2360 * testsuite/30_threads/async/async.cc: Likewise.
2361 * testsuite/30_threads/async/launch.cc: Likewise.
2362 * testsuite/30_threads/async/sync.cc: Likewise.
2363 * testsuite/30_threads/call_once/39909.cc: Likewise.
2364 * testsuite/30_threads/call_once/49668.cc: Likewise.
2365 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
2366 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
2367 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
2368 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
2369 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
2370 * testsuite/30_threads/condition_variable/members/53841.cc:
2372 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
2374 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
2375 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
2376 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
2377 * testsuite/30_threads/condition_variable_any/members/1.cc:
2379 * testsuite/30_threads/condition_variable_any/members/2.cc:
2381 * testsuite/30_threads/future/cons/move.cc: Likewise.
2382 * testsuite/30_threads/future/members/45133.cc: Likewise.
2383 * testsuite/30_threads/future/members/get.cc: Likewise.
2384 * testsuite/30_threads/future/members/get2.cc: Likewise.
2385 * testsuite/30_threads/future/members/share.cc: Likewise.
2386 * testsuite/30_threads/future/members/valid.cc: Likewise.
2387 * testsuite/30_threads/future/members/wait.cc: Likewise.
2388 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
2389 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
2390 * testsuite/30_threads/lock/1.cc: Likewise.
2391 * testsuite/30_threads/lock/2.cc: Likewise.
2392 * testsuite/30_threads/lock/3.cc: Likewise.
2393 * testsuite/30_threads/lock/4.cc: Likewise.
2394 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
2395 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
2396 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
2397 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
2398 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
2399 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
2400 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
2401 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
2402 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
2403 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
2404 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
2405 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
2406 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
2407 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
2408 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
2409 * testsuite/30_threads/packaged_task/cons/move_assign.cc:
2411 * testsuite/30_threads/packaged_task/members/get_future.cc:
2413 * testsuite/30_threads/packaged_task/members/get_future2.cc:
2415 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
2416 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
2417 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
2418 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
2419 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
2420 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
2421 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
2422 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
2423 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
2424 * testsuite/30_threads/promise/cons/1.cc: Likewise.
2425 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
2426 * testsuite/30_threads/promise/cons/move.cc: Likewise.
2427 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
2428 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
2429 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
2430 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
2431 * testsuite/30_threads/promise/members/set_exception2.cc:
2433 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
2434 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
2435 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
2436 * testsuite/30_threads/promise/members/swap.cc: Likewise.
2437 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
2438 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
2440 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
2441 * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
2443 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
2445 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
2446 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
2447 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
2448 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
2449 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
2451 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
2452 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
2453 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
2455 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
2457 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
2459 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
2461 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
2463 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
2465 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
2467 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
2469 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
2471 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
2473 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
2474 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
2475 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
2476 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
2477 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
2478 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
2479 * testsuite/30_threads/shared_future/members/wait_for.cc:
2481 * testsuite/30_threads/shared_future/members/wait_until.cc:
2483 * testsuite/30_threads/this_thread/1.cc: Likewise.
2484 * testsuite/30_threads/this_thread/2.cc: Likewise.
2485 * testsuite/30_threads/this_thread/3.cc: Likewise.
2486 * testsuite/30_threads/this_thread/4.cc: Likewise.
2487 * testsuite/30_threads/thread/cons/1.cc: Likewise.
2488 * testsuite/30_threads/thread/cons/2.cc: Likewise.
2489 * testsuite/30_threads/thread/cons/3.cc: Likewise.
2490 * testsuite/30_threads/thread/cons/4.cc: Likewise.
2491 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
2492 * testsuite/30_threads/thread/cons/5.cc: Likewise.
2493 * testsuite/30_threads/thread/cons/6.cc: Likewise.
2494 * testsuite/30_threads/thread/cons/7.cc: Likewise.
2495 * testsuite/30_threads/thread/cons/8.cc: Likewise.
2496 * testsuite/30_threads/thread/cons/9.cc: Likewise.
2497 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
2498 * testsuite/30_threads/thread/members/1.cc: Likewise.
2499 * testsuite/30_threads/thread/members/2.cc: Likewise.
2500 * testsuite/30_threads/thread/members/3.cc: Likewise.
2501 * testsuite/30_threads/thread/members/4.cc: Likewise.
2502 * testsuite/30_threads/thread/members/5.cc: Likewise.
2503 * testsuite/30_threads/thread/members/hardware_concurrency.cc:
2505 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
2506 * testsuite/30_threads/thread/native_handle/typesizes.cc:
2508 * testsuite/30_threads/thread/swap/1.cc: Likewise.
2509 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
2510 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
2512 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
2513 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
2514 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
2516 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
2517 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
2518 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
2519 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
2520 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
2521 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
2522 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
2523 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
2524 * testsuite/30_threads/try_lock/1.cc: Likewise.
2525 * testsuite/30_threads/try_lock/2.cc: Likewise.
2526 * testsuite/30_threads/try_lock/3.cc: Likewise.
2527 * testsuite/30_threads/try_lock/4.cc: Likewise.
2528 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
2529 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
2530 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
2531 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
2532 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
2533 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
2534 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
2535 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
2536 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
2537 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
2538 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
2539 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
2540 * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
2541 * testsuite/ext/profile/mh.cc: Likewise.
2542 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
2543 * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
2544 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
2546 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
2548 * testsuite/util/testsuite_performance.h: Extend current handling
2549 of Linux-based systems to cover all glibc-based systems.
2551 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2553 * include/std/mutex (call_once): Remove parentheses to fix error in
2554 c++1y and gnu++1y mode.
2555 * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
2556 thread to avoid undefined behaviour.
2558 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2560 Simplify and clean up library literals.
2561 * include/std/chrono: Simplify namespace and versioning management.
2562 * include/bits/basic_string.h: Ditto.
2563 * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
2564 * testsuite/20_util/duration/literals/values.cc: Ditto.
2565 * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
2566 * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
2568 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
2570 Implement N3654 - Quoted Strings Library Proposal
2571 * include/std/iomanip: Add quoted(String, Char delim, Char escape)
2572 manipulators and supporting machinery in c++1y mode.
2573 * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
2574 * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
2576 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2578 * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
2581 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2583 * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
2584 * include/bits/stl_algobase.h (equal, mismatch): Likewise.
2585 * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
2586 * testsuite/25_algorithms/equal/2.cc: New.
2587 * testsuite/25_algorithms/equal/check_type2.cc: New.
2588 * testsuite/25_algorithms/is_permutationqual/2.cc: New.
2589 * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
2590 * testsuite/25_algorithms/mismatch/2.cc: New.
2591 * testsuite/25_algorithms/mismatch/check_type2.cc: New.
2592 * testsuite/util/testsuite_iterators.h: Fix spelling.
2594 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2596 * include/std/type-traits (integral_constant::operator()): Implement
2598 * testsuite/20_util/integral_constant/call_operator.cc: New.
2599 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
2601 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2603 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
2606 2013-06-07 Uros Bizjak <ubizjak@gmail.com>
2608 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2610 2013-06-05 Tom Tromey <tromey@redhat.com>
2612 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
2614 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com>
2617 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
2619 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net>
2621 * include/std/chrono: Collapse redundant 'inline' from 'inline
2623 * include/std/tuple: Ditto.
2624 * include/bits/move.h: Ditto.
2626 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
2628 Implement N3642 - User-defined Literals for Standard Library Types
2629 * include/bits/parse_numbers.h: New.
2630 * include/std/chrono: Add duration literal operators.
2631 * include/bits/basic_string.h: Add string literal operators.
2632 * include/Makefile.in: Add parse_numbers.h.
2633 * include/Makefile.am: Ditto.
2634 * testsuite/20_util/duration/literals/values.cc: New.
2635 * testsuite/20_util/duration/literals/types.cc: New.
2636 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
2637 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
2638 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
2639 * testsuite/21_strings/basic_string/literals/values.cc: New.
2640 * testsuite/21_strings/basic_string/literals/types.cc: New.
2642 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
2644 * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
2645 !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
2646 calling non-existent from_time_t.
2648 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2650 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2653 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
2655 * include/std/chrono: Wrap clocks in inline namespace _V2.
2656 * src/c++11/chrono.cc: Same.
2657 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
2658 file, with default configure macros selected.
2660 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
2662 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
2664 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
2665 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
2666 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
2668 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2670 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
2671 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
2673 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
2674 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
2675 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
2676 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
2677 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
2678 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2680 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
2681 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
2683 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2685 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
2686 (CLOCK_MONOTONIC): Define.
2688 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
2690 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
2693 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
2695 2013-05-24 Jakub Jelinek <jakub@redhat.com>
2697 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
2698 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
2699 don't define system_clock::is_steady, system_clock::now() and
2700 steady_clock::is_steady.
2701 (std::chrono::system_clock::now()): If
2702 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
2703 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
2704 (std::chrono::system_clock::now()): Likewise. Add weak attribute
2705 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
2707 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
2708 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
2709 * src/c++11/compatibility-chrono.cc: New file.
2710 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
2711 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
2712 * testsuite/util/testsuite_abi.cc (check_version): Add
2713 GLIBCXX_3.4.20 version and make it the latest.
2714 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
2715 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
2716 @@GLIBCXX_3.4.20 instead.
2717 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
2718 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
2719 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
2721 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2723 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
2724 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
2726 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
2727 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
2728 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
2729 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
2730 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
2731 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
2733 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
2734 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
2735 * config.h.in: Regenerated.
2736 * src/Makefile.in: Regenerated.
2737 * configure: Regenerated.
2739 2013-05-23 Matthias Klose <doko@ubuntu.com>
2741 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
2742 (ext_headers): Remove ${ext_host_headers}.
2743 (stamp-${host_alias}): Create ${host_builddir}/../ext.
2744 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
2745 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
2746 * include/Makefile.in: Regenerate.
2747 * include/ext/random: Include ext/opt_random.h.
2749 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
2751 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
2752 enable features if target OS is known to support them.
2753 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
2754 * configure: Regenerate.
2756 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
2759 * include/std/functional (__invoke): Do not form function types with
2760 abstract return type.
2761 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
2763 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
2765 * include/std/tuple (get): Implement N3670.
2766 * include/std/utility (get): Likewise.
2767 * testsuite/20_util/pair/get.cc: Move to ...
2768 * testsuite/20_util/pair/astuple/get.cc: Here.
2769 * testsuite/20_util/pair/astuple/astuple.cc: New.
2770 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
2771 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
2772 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
2773 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
2774 * testsuite/20_util/pair/astuple/get_neg.cc: New.
2775 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
2776 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
2777 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
2779 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
2781 * Revert last commit.
2783 2013-05-19 Matthias Klose <doko@ubuntu.com>
2785 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
2786 (ext_headers): Remove ${ext_host_headers}.
2787 (stamp-${host_alias}): Create ${host_builddir}/../ext.
2788 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
2789 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
2790 * include/Makefile.in: Regenerate.
2792 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2794 * include/std/system_error (error_category::error_category()): LWG
2795 2145: Declare public and constexpr.
2796 * src/c++11/system_error.cc (error_category::error_category()): Move
2798 * src/c++11/compatibility-c++0x.cc: Here.
2800 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2802 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
2804 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2806 * include/bits/unique_ptr.h (make_unique): Declare inline.
2807 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
2808 (default_delete, unique_ptr): Add doxygen comments.
2809 * include/bits/shared_ptr_base.h: Improve doxygen comments.
2810 * include/bits/shared_ptr.h: Likewise.
2811 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
2813 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
2815 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2817 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
2819 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2821 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
2823 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2825 * include/std/utility (exchange): Define.
2826 * testsuite/20_util/exchange/1.cc: New.
2828 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
2830 * include/bits/unique_ptr.h (make_unique): Define.
2831 * testsuite/20_util/unique_ptr/creation/single.cc: New.
2832 * testsuite/20_util/unique_ptr/creation/array.cc: New.
2833 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
2835 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
2837 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
2838 rendering of std::tr1 unordered containers iterator.
2839 (StdHashtableIterator): New, render std unordered containers iterator.
2840 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
2842 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
2844 * include/bits/basic_string.h (getline): Fix doxygen comments.
2846 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
2848 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2849 Use std::pointer_traits.
2851 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
2853 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
2855 * libsupc++/Makefile.in: Regenerate.
2856 * libsupc++/bad_array_length.cc: Tweak.
2857 * libsupc++/bad_array_new.cc: Tweak.
2859 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
2862 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
2863 (_Deque_iterator<>::_M_const_cast): Add.
2864 (deque<>::_M_erase): Declare.
2865 * include/bits/deque.tcc: ... and define.
2866 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
2867 (_List_const_iterator<>::_M_const_cast): Add.
2868 * include/bits/list.tcc (erase (iterator)): Fix.
2869 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
2870 Add; include <ext/cast.h>.
2871 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
2872 (vector<>::_M_erase): Declare.
2873 * include/bits/stl_bvector.h: Likewise.
2874 * include/bits/vector.tcc (vector<>::_M_erase): Define.
2875 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
2876 * include/debug/deque: Adjust.
2877 * include/debug/list: Likewise.
2878 * include/debug/vector: Likewise.
2879 * include/profile/deque: Likewise.
2880 * include/profile/list: Likewise.
2881 * include/profile/vector: Likewise.
2882 * testsuite/util/exception/safety.h (erase_base<deque>,
2883 erase_base<deque>, erase_base<vector>): Remove.
2884 (erase_base<__versa_string>): Update.
2885 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
2886 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
2887 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
2888 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
2889 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
2891 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
2892 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2893 Adjust dg-error line numbers.
2894 * testsuite/23_containers/deque/requirements/dr438/
2895 constructor_1_neg.cc: Likewise.
2896 * testsuite/23_containers/deque/requirements/dr438/
2897 constructor_2_neg.cc: Likewise.
2898 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2900 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2902 * testsuite/23_containers/list/requirements/dr438/
2903 constructor_1_neg.cc: Likewise.
2904 * testsuite/23_containers/list/requirements/dr438/
2905 constructor_2_neg.cc: Likewise.
2906 * testsuite/23_containers/list/requirements/dr438/
2907 insert_neg.cc: Likewise.
2908 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2910 * testsuite/23_containers/vector/requirements/dr438/
2911 constructor_1_neg.cc: Likewise.
2912 * testsuite/23_containers/vector/requirements/dr438/
2913 constructor_2_neg.cc: Likewise.
2914 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2917 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
2919 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
2921 2013-05-08 Jason Merrill <jason@redhat.com>
2923 Add std::bad_array_length (N3639)
2924 * libsupc++/new: Add std::bad_array_length.
2925 * libsupc++/bad_array_length.cc: New.
2926 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
2927 * libsupc++/Makefile.in: Build them.
2928 * config/abi/pre/gnu.ver: Add new symbols.
2929 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
2931 2013-05-08 Andi Kleen <ak@linux.intel.com>
2934 * libstdc++-v3/include/bits/atomic_base.h
2935 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
2936 (atomic_thread_fence, atomic_signal_fence, test_and_set,
2937 clear, store, load, exchange, compare_exchange_weak)
2938 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
2939 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
2941 2013-05-08 Jason Merrill <jason@redhat.com>
2943 Add std::bad_array_new_length (N2932)
2944 * libsupc++/new: Add std::bad_array_new_length.
2945 * libsupc++/bad_array_new.cc: New.
2946 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
2947 * libsupc++/Makefile.in: Build them.
2948 * config/abi/pre/gnu.ver: Add new symbols.
2949 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
2951 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
2954 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
2956 * include/Makefile.in: Regenerated.
2958 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
2960 * include/profile/unordered_base.h: New.
2961 * include/Makefile.am: Add new profile header.
2962 * include/Makefile.in: Regenerate.
2963 * include/profile/impl/profiler.h
2964 (__profcxx_inefficient_hash_is_on): New macro.
2965 * include/profile/unordered_map (std::profile::unordered_map<>):
2966 Use new _Unordered_profile base class. Use default implementations
2967 for special functions.
2968 (std::profile::unordered_multimap<>): Likewise.
2969 * include/profile/unordered_set (std::profile::unordered_set<>):
2971 (std::profile::unordered_multiset<>): Likewise.
2972 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
2973 MoveOnly equality operator signature.
2975 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2977 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
2978 constexpr_data.cc: Move...
2979 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
2981 * testsuite/20_util/integral_constant/requirements/
2982 explicit_instantiation.cc: New.
2983 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
2985 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
2986 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
2988 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
2989 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
2991 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
2993 * include/std/type_traits (is_null_pointer): Add.
2994 (__is_nullptr_t): Implement in terms of the latter.
2995 (is_fundamental, is_scalar): Adjust.
2996 * testsuite/20_util/is_null_pointer/requirements/
2997 explicit_instantiation.cc: New.
2998 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
3000 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
3001 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
3003 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3005 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3008 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
3010 * include/c_global/cstdio: Add comment about LWG 2249.
3011 * include/c_std/cstdio: Likewise.
3013 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3015 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
3017 * include/std/mutex (__recursive_mutex_base): Likewise.
3019 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3022 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
3023 implement EBO safely.
3024 (_Sp_counted_base::_M_get_deleter): Add noexcept.
3025 (_Sp_counter_ptr): Use noexcept instead of comments.
3026 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
3027 (_Sp_counted_ptr_inplace): Likewise.
3028 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
3029 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
3030 custom allocator and test construction with custom allocator.
3031 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
3034 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
3036 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
3037 dialect to -std=gnu++11.
3039 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
3041 * include/bits/hashtable_policy.h
3042 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
3043 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
3045 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
3047 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
3048 * include/c_std/cstdio (gets): Likewise.
3049 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
3051 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
3054 * include/debug/unordered_map (unordered_map, unordered_multimap):
3055 Fix default allocator type.
3056 * include/profile/unordered_map (unordered_map, unordered_multimap):
3058 * include/bits/unordered_map.h: Fix comments.
3060 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
3063 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
3064 move implementation to make_exception_ptr.
3065 * include/std/future (_State_base::_M_break_promise): Replace
3066 copy_exception with make_exception_ptr.
3067 * testsuite/18_support/exception_ptr/move.cc: Likewise.
3068 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
3069 * testsuite/30_threads/future/members/get2.cc: Likewise.
3070 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
3071 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
3072 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
3073 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
3075 2013-04-22 Jason Merrill <jason@redhat.com>
3077 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
3079 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
3080 substitution" lines.
3082 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
3084 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
3085 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
3086 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
3088 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
3090 * include/bits/hashtable_policy.h: Add C++11 allocator support.
3091 * include/bits/hashtable.h: Likewise.
3092 * include/bits/unordered_set.h: Likewise.
3093 * include/bits/unordered_map.h: Likewise.
3094 * include/debug/unordered_set: Likewise.
3095 * include/debug/unordered_map: Likewise.
3096 * include/std/unordered_set: Remove bits/algobase.h
3097 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
3098 * include/std/unordered_map: Likewise.
3099 * include/ext/throw_allocator.h: Add checks on calls to allocator
3101 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
3102 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
3103 * testsuite/util/regression/rand/priority_queue
3104 /container_rand_regression_test.tcc: Adapt.
3105 * testsuite/util/regression/rand/assoc
3106 /container_rand_regression_test.tcc: Likewise.
3107 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
3108 * testsuite/23_containers/unordered_set
3109 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
3110 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
3111 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
3112 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
3113 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
3114 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
3115 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
3116 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
3117 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
3118 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
3120 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
3121 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
3123 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
3124 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
3125 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
3126 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
3127 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
3128 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
3129 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
3131 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
3132 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
3133 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
3135 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
3136 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
3138 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
3139 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
3141 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3143 * include/std/type_traits (is_signed): Simplify.
3144 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3145 Adjust dg-error line numbers.
3146 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3148 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3150 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3153 * include/std/complex (complex<float>::real, complex<float>::imag,
3154 complex<double>::real, complex<double>::imag,
3155 complex<long double>::real, complex<long double>::imag): Declare
3156 as const member functions.
3157 * include/std/type_traits (integral_constant<>::operator value_type):
3160 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
3163 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
3164 * testsuite/25_algorithms/pop_heap/57010.cc: New.
3166 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
3168 * src/c++11/system_error.cc (generic_category_instance): Add
3170 (system_category_instance): Likewise.
3171 * src/c++11/future.cc (__fec): Likewise.
3173 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3175 * doc/xml/manual/extensions.xml: Fix anachronism.
3177 2013-04-09 Tom Tromey <tromey@redhat.com>
3179 * configure, config.h.in: Rebuild.
3180 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
3182 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
3184 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
3186 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
3188 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
3190 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
3192 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3194 * include/Makefile.am: Add ext/aligned_buffer.h
3195 * include/Makefile.in: Regenerate.
3196 * include/ext/aligned_buffer.h: New.
3197 * include/std/future (_Result): Use __aligned_buffer.
3198 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
3199 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
3200 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
3203 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3205 * include/bits/forward_list.h: Only include required headers.
3206 (forward_list::reference): Define directly, not using __alloc_traits.
3207 (forward_list::const_reference): Likewise.
3209 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
3211 * include/std/functional (_Derives_from_unary_function): Remove.
3212 (_Derives_from_binary_function): Remove.
3213 * include/std/type_traits (__sfinae_types): Remove.
3214 (__is_assignable_helper): Adapt.
3215 (__is_convertible_helper): Adapt.
3216 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
3217 Remove several explicit instantiations of integral_constant.
3218 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
3219 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
3220 Adapt dg-error line number.
3221 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
3223 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
3224 * testsuite/20_util/bind/ref_neg.cc: Likewise.
3226 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
3229 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
3230 get_terminate() accessors.
3231 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
3232 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
3234 * libsupc++/new_handler.cc: Likewise.
3236 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
3238 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
3240 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
3243 * include/debug/array (tuple_size, tuple_element): Do not declare.
3244 * include/profile/array: Likewise.
3245 * testsuite/23_containers/array/tuple_interface/
3246 tuple_element_debug_neg.cc: Adjust dg-error line number.
3248 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
3250 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
3251 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
3253 (set_terminate(terminate_handler)): Set atomically.
3254 (set_unexpected(terminate_handler)): Likewise.
3255 * libsupc++/new (get_new_handler()): Declare.
3256 * libsupc++/new_handler.cc (get_new_handler()): Define.
3257 (set_new_handler(new_handler)): Set atomically.
3258 (__new_handler): Use internal linkage.
3259 * libsupc++/new_op.cc (operator new): Use get_new_handler().
3260 * libsupc++/new_opnt.cc (operator new): Likewise.
3261 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
3262 * configure: Regenerate.
3263 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
3264 * libsupc++/Makefile.in: Regenerate.
3265 * config/abi/pre/gnu.ver: Add new exports.
3266 * doc/xml/manual/status_cxx2011.xml: Update.
3267 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
3269 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
3270 * testsuite/18_support/new_handler.cc: New.
3271 * testsuite/18_support/terminate_handler.cc: New.
3272 * testsuite/18_support/unexpected_handler.cc: New.
3274 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3276 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
3277 defer to general documentation on contributing to GCC.
3278 * doc/html/*: Regenerate.
3280 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
3282 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
3284 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
3287 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
3289 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
3291 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
3293 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
3295 * doc/xml/manual/policy_data_structures: Remove direct link to
3296 IBM Haifa Research Labs.
3298 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
3299 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
3301 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
3304 * doc/xml/manual/shared_ptr.xml: Use canonical address for
3307 2013-03-27 Kai Tietz <ktietz@redhat.com>
3309 * crossconfig.m4: Add support for cygwin x64 target.
3310 * configure: Regenerated.
3312 2013-03-25 Kai Tietz <ktietz@redhat.com>
3314 * testsuite/18_support/50594.cc: For mingw-targets use only static
3316 * testsuite/19_diagnostics/error_category/operators/equal.cc
3317 * testsuite/19_diagnostics/error_code/cons/1.cc
3318 * testsuite/19_diagnostics/error_code/operators/bool.cc
3319 * testsuite/19_diagnostics/error_code/operators/equal.cc
3320 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
3321 * testsuite/19_diagnostics/error_condition/cons/1.cc
3322 * testsuite/19_diagnostics/error_condition/operators/bool.cc
3323 * testsuite/19_diagnostics/error_condition/operators/equal.cc
3324 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
3325 * testsuite/23_containers/set/requirements/exception/basic.cc
3326 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
3327 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
3329 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
3332 * include/ext/debug_allocator.h (debug_allocator): Add missing members
3333 to meet allocator requirements.
3334 * testsuite/ext/debug_allocator/56170.cc: New.
3336 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
3339 * include/std/chrono (__is_ratio): Uglify T.
3341 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
3343 PR libstdc++/55977 (partial, std::vector and std::deque bits)
3344 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
3345 _InputIterator, std::input_iterator_tag)): Use emplace_back.
3346 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
3347 _InputIterator, std::input_iterator_tag)): Likewise.
3348 * testsuite/23_containers/vector/cons/55977.cc: New.
3349 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
3350 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
3351 Adjust dg-error line number.
3352 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
3355 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
3358 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
3359 _InputIterator, __false_type)): Use emplace_back.
3360 * testsuite/23_containers/list/cons/55979.cc: New.
3361 * testsuite/23_containers/list/modifiers/1.h: Adjust.
3362 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
3363 Adjust dg-error line number.
3365 2013-03-16 Jason Merrill <jason@redhat.com>
3368 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
3370 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3373 * libsupc++/exception_ptr.h (type_info): Declare.
3375 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3378 * include/std/mutex (lock_guard, unique_lock, lock): Define without
3379 depending on _GLIBCXX_HAS_GTHREADS.
3380 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
3382 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3385 * include/std/future (__future_base::_Result): Add result_type
3387 (__future_base::_S_allocate_result): Overload for std::allocator.
3388 (__future_base::_Task_setter): Use _Result::result_type instead of
3389 deducing the type from the task.
3390 (__future_base::_Task_state): Store allocator to allow shared state
3391 to be reset. Replace std::function with member of target object type
3393 (__future_base::_Task_state_base): New abstract base class.
3394 (__future_base::_Task_state_base::_M_run): New virtual function to
3395 invoke type-erased target object.
3396 (__future_base::_Task_state_base::_M_reset): New virtual function to
3397 create new shared_state using same target object and allocator.
3398 (__future_base::__create_task_state): Allocate a new _Task_state.
3399 (packaged_task::packaged_task): Use __create_task_state.
3400 (packaged_task::reset): Use _Task_state_base::_M_reset.
3401 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
3403 2013-03-15 Tom Tromey <tromey@redhat.com>
3405 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
3406 (PROBE2): New macro.
3407 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
3408 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
3409 * configure.ac: Check for sys/sdt.h.
3410 * configure, config.h.in: Rebuild.
3412 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
3415 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
3416 allocator_traits instead of calling construct directly.
3417 * testsuite/23_containers/map/56613.cc: New.
3419 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
3421 * doc/html/*: Regenerate.
3423 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
3426 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
3427 * testsuite/20_util/is_fundamental/value.cc: Extend.
3428 * testsuite/20_util/is_compound/value.cc: Likewise.
3430 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
3432 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
3435 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
3437 * include/bits/memoryfwd.h: New. Centralize forward declarations.
3438 * include/bits/algorithmfwd.h: Consistent comments.
3439 * include/bits/localefwd.h: Same.
3440 * include/ext/vstring_fwd.h: Same.
3441 * include/parallel/algorithmfwd.h: Same.
3442 * include/parallel/numericfwd.h: Same.
3443 * include/std/iosfwd: Same.
3445 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
3447 * include/ext/alloc_traits.h: Remove allocator forward decl.
3448 * include/bits/stl_construct.h: Same.
3449 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
3450 forward decl. Consistent comments.
3452 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
3454 * include/Makefile.am (bits_headers): Add memoryfwd.h.
3455 * include/Makefile.in: Regenerate.
3458 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
3460 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
3461 Reset pointers after deallocation when memory can be reused.
3462 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
3463 elements to really challenge C++11 allocator integration.
3464 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
3465 * testsuite/23_containers/vector/allocator/copy_assign.cc:
3467 * testsuite/23_containers/vector/allocator/move_assign.cc:
3469 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
3470 swap vector back before checks on memory/personality mapping are
3472 * testsuite/23_containers/forward_list/allocator/minimal.cc:
3473 Insert element to really challenge C++11 allocator integration.
3474 * testsuite/23_containers/forward_list/allocator/copy.cc:
3476 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
3478 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
3480 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
3481 and swap forward_list back before checks on memory/personality
3482 mapping are performed.
3484 2013-03-07 Jakub Jelinek <jakub@redhat.com>
3486 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3487 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
3488 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3490 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
3491 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
3492 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
3493 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
3494 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
3495 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
3497 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3499 * scripts/extract_symvers.pl: Omit symbols bound to base
3501 * scripts/extract_symvers.in: Likewise.
3502 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3503 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3504 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3505 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3506 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3508 2013-03-04 Ulrich Drepper <drepper@gmail.com>
3510 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
3511 Optimize generation function by pulling computation of __r into the
3512 constructor for param_type. Also compare _M_mu in operator==.
3515 2013-03-02 Ulrich Drepper <drepper@gmail.com>
3517 Add triangular and von Mises distributions.
3518 * include/ext/random: Include <ext/cmath>.
3519 Add __gnu_cxx::triangular_distribution<> and
3520 __gnu_cxx::von_mises_distribution<> classes.
3521 * include/ext/random.tcc: Add out-of-line functions for
3522 __gnu_cxx::triangular_distribution<> and
3523 __gnu_cxx::von_mises_distribution<>.
3524 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
3525 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
3526 * testsuite/ext/triangular_distribution/operators/serialize.cc:
3528 * testsuite/ext/triangular_distribution/operators/equal.cc:
3530 * testsuite/ext/triangular_distribution/operators/inequal.cc:
3532 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
3534 * testsuite/ext/triangular_distribution/requirements/
3535 explicit_instantiation/1.cc: New file.
3536 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
3537 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
3538 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
3540 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
3541 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
3543 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
3545 * testsuite/ext/von_mises_distribution/requirements/
3546 explicit_instantiation/1.cc: New file.
3549 * include/Makefile.am (ext_headers): Add cmath.
3550 * include/Makefile.in: Regenerated.
3551 * include/ext/cmath: New file.
3553 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3555 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
3556 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
3557 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
3558 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3559 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3561 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
3564 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
3565 * testsuite/29_atomics/atomic/operators/56012.cc: New.
3568 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
3570 * testsuite/29_atomics/atomic/operators/56011.cc: New.
3572 2013-02-25 Jason Merrill <jason@redhat.com>
3574 * configure.ac: Check for __cxa_thread_atexit_impl.
3575 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
3577 * config.h.in, configure: Regenerate.
3579 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3581 * include/std/streambuf (basic_streambuf): Use injected class name
3582 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
3585 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3587 * doc/html/faq.html: Fix spelling.
3588 * doc/xml/faq.xml: Likewise.
3589 * include/bits/basic_ios.h: Likewise.
3590 * include/bits/regex.h: Likewise.
3591 * include/std/istream: Likewise.
3592 * include/std/streambuf: Likewise.
3594 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3596 * testsuite/23_containers/unordered_set/55043.cc: Add missing
3597 namespace qualification.
3598 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
3600 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
3602 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
3603 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
3604 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
3605 * include/bits/stl_pair.h: Add to utilities group.
3606 * include/std/tuple: Same.
3607 * include/std/typeindex: Same.
3609 * include/bits/stringfwd.h: Fix markup.
3610 * include/std/limits: Same.
3611 * include/std/type_traits: Same.
3612 * include/tr1/memory: Same.
3613 * include/tr1/regex: Same.
3614 * scripts/run_doxygen: Comment.
3615 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
3617 2013-02-14 Jason Merrill <jason@redhat.com>
3619 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
3620 test if unsupported.
3622 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
3625 * include/std/complex (complex): Undefine.
3626 * include/c_compatibility/complex.h (complex): Only undefine if
3627 <complex> has been included.
3628 * testsuite/26_numerics/complex/56111.cc: New testcase.
3630 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
3632 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
3633 default constructor protected.
3634 * include/bits/hashtable.h: static assert that _Hash_code_base has
3635 a default constructor available through inheritance.
3637 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3639 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
3642 2013-02-12 Julian Brown <julian@codesourcery.com>
3644 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
3645 Don't expect dots after abbreviated weekday names for ru_RU for
3646 glibc versions >= 2.17.
3647 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
3650 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
3652 * include/bits/random.tcc (__transform): Remove.
3654 (discrete_distribution<>::param_type::_M_initialize): Adjust.
3655 (piecewise_constant_distribution<>::param_type::_M_initialize):
3657 (piecewise_linear_distribution<>::param_type::_M_initialize):
3660 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
3662 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
3663 Use -fimplicit-templates.
3664 * src/c++11/Makefile.in: Regenerate.
3665 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
3666 std::lower_bound template.
3668 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
3670 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
3671 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
3672 in C++11 mode and if available in the underlying C library.
3673 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
3674 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
3675 _GLIBCXX_HAVE_QUICK_EXIT.
3677 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
3679 * doc/html/*: Regenerate.
3681 2013-02-11 Jason Merrill <jason@redhat.com>
3683 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
3684 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
3685 * config.h.in, configure: Regenerate.
3686 * include/c_std/cstdlib: Add atexit and at_quick_exit.
3687 * include/c_global/cstdlib: Add atexit and at_quick_exit.
3688 * testsuite/18_support/quick_exit/quick_exit.cc: New.
3690 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
3694 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
3697 * include/bits/basic_ios.h: Replace operator void*() const
3698 with explicit operator bool() const in C++11 and greater.
3699 * testsuite/27_io/basic_ios/pr56193.cc: New file.
3701 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
3702 Jonathan Wakely <jwakely.gcc@gmail.com>
3704 * doc/xml/manual/containers.xml: Add section on unordered containers.
3705 * doc/xml/manual/using.xml: Fix incomplete sentence.
3707 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
3710 * include/bits/hashtable.h (__cache_default): Check if hash function
3712 * testsuite/23_containers/unordered_set/56267.cc: New.
3713 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
3714 dg-error line number.
3715 * testsuite/23_containers/unordered_set/
3716 not_default_constructible_hash_neg.cc: Likewise.
3719 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
3721 * testsuite/23_containers/unordered_set/56278.cc: New.
3723 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
3725 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
3728 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
3731 * include/tr1/special_function_util.h: Remove spurious const
3732 from numeric arguments.
3733 * include/tr1/riemann_zeta.tcc: Likewise.
3734 * include/tr1/exp_integral.tcc: Likewise.
3735 * include/tr1/bessel_function.tcc: Likewise.
3736 * include/tr1/hypergeometric.tcc: Likewise.
3737 * include/tr1/modified_bessel_func.tcc: Likewise.
3738 * include/tr1/poly_laguerre.tcc: Likewise.
3739 * include/tr1/gamma.tcc: Likewise.
3740 * include/tr1/legendre_function.tcc: Likewise.
3741 * include/tr1/poly_hermite.tcc: Likewise.
3742 * include/tr1/ell_integral.tcc: Likewise.
3743 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
3744 If argument is zero return function value.
3745 * testsuite/tr1/5_numerical_facilities/special_functions/
3746 08_cyl_bessel_i/pr56216.cc: New.
3748 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
3750 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
3752 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
3755 * include/bits/basic_ios.h: Replace operator void*() const
3756 with explicit operator bool() const in C++11 and greater.
3757 * testsuite/27_io/basic_ios/pr56193.cc: New file.
3759 2013-02-04 Dodji Seketeli <dodji@redhat.com>
3761 Add missing explicit instantiation for std::lower_bound template
3762 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
3763 missing instantiation for std::lower_bound template.
3765 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
3767 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
3768 * include/bits/basic_string.h: Specialize previous to mark
3769 std::hash for string types as slow.
3770 * include/bits/hashtable.h (__cache_default): Replace is_integral
3771 with __is_fast_hash.
3772 * src/c++11/hash_c++0x.cc: Add type_traits include.
3773 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
3774 Adapt dg-error line number.
3775 * testsuite/23_containers/unordered_set/
3776 not_default_constructible_hash_neg.cc: Likewise.
3778 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
3779 Paolo Carlini <paolo.carlini@oracle.com>
3781 PR libstdc++/56202 (again)
3782 * include/bits/random.tcc (binomial_distribution<>::
3783 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
3786 * include/bits/random.h: Fix comment typo.
3788 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
3789 Paolo Carlini <paolo.carlini@oracle.com>
3792 * include/bits/random.tcc (binomial_distribution<>::
3793 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
3796 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
3798 Update copyright years.
3799 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
3800 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
3801 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
3802 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
3803 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
3804 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
3805 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
3806 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
3807 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
3808 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
3809 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
3810 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
3811 testsuite/29_atomics/atomic/cons/assign_neg.cc,
3812 testsuite/29_atomics/atomic/cons/copy_neg.cc,
3813 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
3814 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
3815 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
3816 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
3817 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
3818 Update lines in dg error matches.
3820 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
3822 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
3824 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
3826 * include/bits/hashtable_policy.h
3827 (_Prime_rehash_policy::_M_next_bkt)
3828 (_Prime_rehash_policy::_M_need_rehash): Move definition...
3829 * src/c++11/hashtable_c++0x.cc: ... here.
3830 * src/shared/hashtable-aux.cc: Remove c++config.h include.
3831 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
3834 2013-01-29 Jason Merrill <jason@redhat.com>
3837 * config/abi/pre/gnu.ver: Don't export construction vtables.
3838 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
3840 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3843 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
3844 to construct value_type explicitly before trying to extract the key.
3845 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
3847 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
3849 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
3850 _Hashtable_ebo_helper to embed functors into the local_iterator
3851 when necessary. Pass information about functors involved in hash
3853 * include/bits/hashtable.h (__cache_default): Do not cache for
3854 builtin integral types unless the hash functor is not noexcept
3855 qualified or is not default constructible. Adapt static assertions
3856 and local iterator instantiations.
3857 * include/debug/unordered_set
3858 (std::__debug::unordered_set<>::erase): Detect local iterators to
3859 invalidate using contained node rather than generating a dummy
3860 local_iterator instance.
3861 (std::__debug::unordered_multiset<>::erase): Likewise.
3862 * include/debug/unordered_map
3863 (std::__debug::unordered_map<>::erase): Likewise.
3864 (std::__debug::unordered_multimap<>::erase): Likewise.
3865 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
3866 std::tr1 and std versions of unordered_set regardless of any
3867 macro. Add test on default cache behavior.
3868 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
3869 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
3871 * testsuite/23_containers/unordered_set/
3872 not_default_constructible_hash_neg.cc: New.
3873 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
3875 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
3878 * include/std/complex (pow(const complex<>&, int)): Avoid __n
3881 2013-01-22 Jakub Jelinek <jakub@redhat.com>
3883 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
3884 Tightten scan-assembler-times regexps, add dg-additional-options for
3885 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
3888 2013-01-12 Andi Kleen <ak@linux.intel.com>
3889 Jonathan Wakely <jwakely.gcc@gmail.com>
3892 * include/bits/atomic_base.h (__memory_order_modifier): Add
3893 __memory_order_mask, __memory_order_modifier_mask,
3894 __memory_order_hle_acquire, __memory_order_hle_release.
3895 (operator|,operator&): Add.
3896 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
3897 (__cmpexch_failure_order): Add.
3898 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
3900 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
3903 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
3906 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
3908 (__basic_future::_M_get_result()): Const qualify.
3909 (shared_future::get()): Likewise.
3910 * testsuite/30_threads/shared_future/members/get.cc: Use const
3913 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3915 PR libstdc++/55043 (again)
3916 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
3917 unless construction would be well-formed.
3918 (__allow_copy_cons, __check_copy_constructible): Define.
3919 * include/bits/unordered_map.h (__check_copy_constructible): Use as
3920 base class so copy constructor will be deleted if appropriate.
3921 (is_copy_constructible): Remove specialization.
3922 * include/bits/unordered_set.h: Likewise.
3923 * include/debug/unordered_map.h: Undo previous commit. Default copy
3924 and move constructors.
3925 * include/debug/unordered_set.h: Likewise.
3926 * include/profile/unordered_map.h: Undo previous commit.
3927 * include/profile/unordered_set.h: Likewise.
3928 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
3929 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
3930 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
3931 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
3932 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
3933 cannot support incomplete types.
3934 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
3937 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
3940 * include/std/unordered_map: Include alloc_traits.h
3941 * include/std/unordered_set: Likewise.
3942 * include/bits/alloc_traits.h: Define __is_copy_insertable.
3943 * include/bits/unordered_map.h: Use it.
3944 * include/bits/unordered_set.h: Likewise.
3945 * include/debug/unordered_map.h: Likewise.
3946 * include/debug/unordered_set.h: Likewise.
3947 * include/profile/unordered_map.h: Likewise.
3948 * include/profile/unordered_set.h: Likewise.
3949 * include/bits/hashtable.h: Fix comment typos.
3950 * testsuite/23_containers/unordered_map/55043.cc: New.
3951 * testsuite/23_containers/unordered_multimap/55043.cc: New.
3952 * testsuite/23_containers/unordered_multiset/55043.cc: New.
3953 * testsuite/23_containers/unordered_set/55043.cc: New.
3955 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
3957 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
3960 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3962 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
3964 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
3967 * include/std/functional (_Mem_fn::operator()): Fix constraints to
3969 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
3970 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
3972 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3975 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
3977 * configure: Regenerate.
3979 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3982 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
3983 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
3987 * include/std/functional (bad_function_call::what()): Declare.
3988 * src/c++11/functional.cc (bad_function_call::what()): Define.
3989 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
3990 * testsuite/20_util/bad_function_call/what.cc: New.
3992 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
3994 * include/bits/unordered_map.h: Fix typo in comments.
3995 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
3996 counts for unordered associative containers.
3998 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
4000 * doc/xml/manual/abi.xml: Update library and symbol versions.
4002 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
4004 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
4006 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
4009 Copyright (C) 2013 Free Software Foundation, Inc.
4011 Copying and distribution of this file, with or without modification,
4012 are permitted in any medium without royalty provided the copyright
4013 notice and this notice are preserved.