1 2014-03-15 Andreas Schwab <schwab@linux-m68k.org>
3 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: New file.
5 2014-03-15 Tim Shen <timshen91@gmail.com>
7 * include/bits/regex.h: Add/modify comments.
8 * include/bits/regex_compiler.h: Likewise.
9 * include/bits/regex_executor.h: Likewise.
10 * include/bits/regex_executor.tcc: Likewise.
11 * include/bits/regex_scanner.h: Likewise.
13 2014-03-14 Jonathan Wakely <jwakely@redhat.com>
16 * config/abi/pre/gnu.ver (GLIBCXX_3.4.11): Remove unused pattern for
17 _ZNSt12system_errorC* symbols which are not exported on any target.
19 2014-03-12 Roland McGrath <mcgrathr@google.com>
20 Mark Seaborn <mseaborn@google.com>
23 * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with
24 the address of a null pointer, not with a null pointer to pointer.
25 Copy comment for this case from eh_personality.cc:__cxa_call_unexpected.
26 * testsuite/18_support/bad_exception/59392.cc: New file.
28 2014-03-11 Jonathan Wakely <jwakely@redhat.com>
31 * include/debug/forward_list (forward_list::operator=(forward_list&&)):
33 * include/debug/map (map::operator=(map&&)): Likewise.
34 * include/debug/multimap (multimap::operator=(multimap&&)): Likewise.
35 * include/debug/multiset (multiset::operator=(multiset&&)): Likewise.
36 * include/debug/set (set::operator=(set&&)): Likewise.
37 * include/debug/unordered_map
38 (unordered_map::operator=(unordered_map&&)): Likewise.
39 (unordered_multimap::operator=(unordered_multimap&&)): Likewise.
40 * include/debug/unordered_set
41 (unordered_set::operator=(unordered_set&&)): Likewise.
42 (unordered_multiset::operator=(unordered_multiset&&)): Likewise.
43 * include/debug/vector (vector::operator=(vector&&)): Likewise.
44 * testsuite/23_containers/forward_list/debug/60499.cc: New
45 * testsuite/23_containers/map/debug/60499.cc: New
46 * testsuite/23_containers/multimap/debug/60499.cc: New
47 * testsuite/23_containers/multiset/debug/60499.cc: New
48 * testsuite/23_containers/set/debug/60499.cc: New
49 * testsuite/23_containers/unordered_map/debug/60499.cc: New
50 * testsuite/23_containers/unordered_multimap/debug/60499.cc: New
51 * testsuite/23_containers/unordered_multiset/debug/60499.cc: New
52 * testsuite/23_containers/unordered_set/debug/60499.cc: New
53 * testsuite/23_containers/vector/debug/60499.cc: New
55 2014-03-05 Ed Smith-Rowland <3dw4rd@verizon.net>
57 * doc/xml/manual/status_cxx2014.xml: Add new items and latest papers
58 for filesystem and fundamentals TS work items.
60 2014-03-04 Paolo Carlini <paolo.carlini@oracle.com>
63 * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc:
64 Adjust dg-error directives.
66 2014-02-26 Tim Shen <timshen91@gmail.com>
68 * include/bits/regex.tcc (match_results<>::format,
69 regex_replace<>): Update __out after calling std::copy.
70 * testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc:
72 * testsuite/28_regex/match_results/format.cc: Likewise.
74 2014-02-22 Marc Glisse <marc.glisse@inria.fr>
77 * include/bits/stl_deque.h (_Deque_base::_Deque_base(const
78 allocator_type&)): Remove redundant call to _M_initialize_map.
79 (deque::deque(const allocator_type&)): Initialize _Base with a
80 constructor that calls _M_initialize_map.
84 2013-09-20 Marc Glisse <marc.glisse@inria.fr>
86 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
89 2014-02-21 Ed Smith-Rowland <3dw4rd@verizon.net>
91 Rename testsuite directory shared_mutex to shared_timed_mutex
93 * testsuite/30_threads/shared_mutex: Moved to...
94 * testsuite/30_threads/shared_timed_mutex: ...here
96 2014-02-20 Ed Smith-Rowland <3dw4rd@verizon.net>
98 Rename shared_mutex to shared_timed_mutex per C++14 acceptance of N3891.
99 * include/std/shared_mutex: Rename shared_mutex to shared_timed_mutex.
100 * testsuite/30_threads/shared_lock/locking/2.cc: Ditto.
101 * testsuite/30_threads/shared_lock/locking/4.cc: Ditto.
102 * testsuite/30_threads/shared_lock/locking/1.cc: Ditto.
103 * testsuite/30_threads/shared_lock/locking/3.cc: Ditto.
104 * testsuite/30_threads/shared_lock/requirements/
105 explicit_instantiation.cc: Ditto.
106 * testsuite/30_threads/shared_lock/requirements/typedefs.cc: Ditto.
107 * testsuite/30_threads/shared_lock/cons/2.cc: Ditto.
108 * testsuite/30_threads/shared_lock/cons/4.cc: Ditto.
109 * testsuite/30_threads/shared_lock/cons/1.cc: Ditto.
110 * testsuite/30_threads/shared_lock/cons/6.cc: Ditto.
111 * testsuite/30_threads/shared_lock/cons/3.cc: Ditto.
112 * testsuite/30_threads/shared_lock/cons/5.cc: Ditto.
113 * testsuite/30_threads/shared_lock/modifiers/2.cc: Ditto.
114 * testsuite/30_threads/shared_lock/modifiers/1.cc: Ditto.
115 * testsuite/30_threads/shared_mutex/requirements/
116 standard_layout.cc: Ditto.
117 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Ditto.
118 * testsuite/30_threads/shared_mutex/cons/1.cc: Ditto.
119 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: Ditto.
120 * testsuite/30_threads/shared_mutex/try_lock/2.cc: Ditto.
121 * testsuite/30_threads/shared_mutex/try_lock/1.cc: Ditto.
123 2014-02-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
125 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail
126 execution on i?86-*-solaris2.9, remove comment.
127 * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
129 2014-02-09 Richard Sandiford <rdsandiford@googlemail.com>
131 * config/abi/post/mips64-linux-gnu/32/baseline_symbols.txt: New file.
132 * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Update.
133 * config/abi/post/mips64-linux-gnu/64/baseline_symbols.txt: Likewise.
135 2014-01-29 Jonathan Wakely <jwakely@redhat.com>
137 * include/bits/alloc_traits.h (allocator_traits::_S_allocate): Do
138 not use varargs when argument could be non-POD.
139 (__alloctr_rebind_helper): Eliminate static const bool member by
140 using true_type and false_type.
141 (allocator_traits::__allocate_helper): Likewise.
142 (allocator_traits::__construct_helper): Likewise.
143 (allocator_traits::__destroy_helper): Likewise.
144 (allocator_traits::__maxsize_helper): Likewise.
145 (allocator_traits::__select_helper): Likewise.
146 * include/bits/ptr_traits.h (__ptrtr_rebind_helper): Likewise.
147 * include/bits/stl_tree.h (_Rb_tree::operator=(const _Rb_tree&)):
148 Remove redundant condition.
149 * include/bits/stl_vector.h (vector::operator=(const vector&)):
151 (_Vector_impl::_M_allocate, _Vector_impl::_M_deallocate): Use
152 indirection through __alloc_traits.
153 * include/ext/alloc_traits.h (__allocator_always_compares_equal):
154 Eliminate static const bool members by using true_type and false_type.
155 (__gnu_cxx::__alloc_traits::__is_custom_pointer): Optimize.
156 * testsuite/util/testsuite_allocator.h (PointerBase): Define.
157 * testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc:
159 * testsuite/20_util/allocator_traits/requirements/typedefs2.cc: New.
162 * include/bits/stl_vector.h (vector::data()): Call _M_data_ptr.
163 (vector::_M_data_ptr): New overloaded functions to ensure empty
164 vectors do not dereference the pointer.
165 * testsuite/23_containers/vector/59829.cc: New.
166 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
167 Adjust dg-error line number.
168 * testsuite/23_containers/vector/requirements/dr438/
169 constructor_1_neg.cc: Likewise.
170 * testsuite/23_containers/vector/requirements/dr438/
171 constructor_2_neg.cc: Likewise.
172 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
176 * include/ext/array_allocator.h: Add deprecated attribute.
179 * doc/xml/manual/debug.xml (debug.gdb): Update documentation for
180 installation and use of python printers.
181 * doc/xml/manual/status_cxx2011.xml: Update.
182 * doc/html/*: Regenerate.
184 2014-01-28 Jonathan Wakely <jwakely@redhat.com>
185 Kyle Lippincott <spectral@google.com>
188 * include/bits/shared_ptr.h (shared_ptr): Add new non-throwing
189 constructor and grant friendship to weak_ptr.
190 (weak_ptr::lock()): Use new constructor.
191 * include/bits/shared_ptr_base.h
192 (_Sp_counted_base::_M_add_ref_lock_nothrow()): Declare new function
193 and define specializations.
194 (__shared_count): Add new non-throwing constructor.
195 (__shared_ptr): Add new non-throwing constructor and grant friendship
197 (__weak_ptr::lock()): Use new constructor.
198 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
199 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
201 2014-01-27 Jonathan Wakely <jwakely@redhat.com>
204 * include/bits/shared_ptr_base.h
205 (_Sp_counted_base<_S_atomic>::_M_add_ref_lock()): Use relaxed atomic
208 2014-01-27 Jason Merrill <jason@redhat.com>
213 * libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions.
214 * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception)
215 (__cxa_allocate_exception): Don't set it here.
217 2014-01-26 Jonathan Wakely <jwakely@redhat.com>
219 * include/bits/stl_map.h: Remove anachronistic comment.
220 * include/bits/stl_multimap.h: Add whitespace.
221 * testsuite/23_containers/map/modifiers/emplace/1.cc: Use
222 -std=gnu++11 instead of -std=c++11.
223 * testsuite/23_containers/map/operators/2.cc: Likewise.
224 * testsuite/23_containers/multimap/modifiers/emplace/1.cc: Likewise.
225 * testsuite/23_containers/multiset/modifiers/emplace/1.cc: Likewise.
226 * testsuite/23_containers/set/modifiers/emplace/1.cc: Likewise.
228 * acinclude.m4 (GLIBCXX_ENABLE_C99): Fix typo.
229 * configure: Regenerate.
231 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
234 * testsuite/experimental/string_view/operations/copy/char/1.cc: New.
235 * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: New.
237 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
238 Peter A. Bigot <pab@pabigot.com>
241 * include/experimental/string_view
242 (copy(_CharT*, size_type, size_type) const): Correct throw string.
243 Correct copy start location.
245 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
246 Peter A. Bigot <pab@pabigot.com>
249 * include/experimental/string_view (operator[](size_type) const):
250 Fix one-off index error in debug check.
251 * testsuite/experimental/string_view/element_access/char/1.cc: Don't
252 test basic_string_view at size().
253 * testsuite/experimental/string_view/element_access/wchar_t/1.cc: Ditto.
255 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net>
256 Peter A. Bigot <pab@pabigot.com>
259 * include/experimental/string_view
260 (basic_string_view(const _CharT*, size_type)): Don't care if len == 0.
261 * testsuite/experimental/string_view/operations/substr/char/1.cc:
262 Comment out catch of out_of_range; No terminating null
263 in basic_string_view. Check begin == end.
264 * testsuite/experimental/string_view/operations/substr/wchar_t/1.cc:
267 2014-01-24 Jonathan Wakely <jwakely@redhat.com>
270 * include/debug/safe_base.h (_Safe_sequence_base): Define copy
271 constructor to prevent it being implicitly defined as deleted, but
272 do not copy anything.
273 * include/debug/safe_unordered_base.h (_Safe_unordered_container_base):
274 Define copy and move constructors similar to _Safe_sequence_base's.
275 * testsuite/23_containers/unordered_map/59548.cc: New.
277 2014-01-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
278 Steve Ellcey <sellcey@mips.com>
280 * acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam
282 * configure.ac: Use GLIBCXX_CHECK_TMPNAM.
283 * (configure, config.h.in): Regenerate.
284 * include/c_global/cstdio: Guard ::tmpnam with _GLIBCXX_USE_TMPNAM
286 2014-01-23 Jonathan Wakely <jwakely@redhat.com>
288 * doc/xml/faq.xml (a-how_to_set_paths): Expand FAQ answer.
289 * doc/xml/manual/abi.xml (abi.versioning.history): Correct symver.
292 * include/bits/stl_map.h (map::operator=(map&&)): Fix comment.
293 * include/bits/stl_multimap.h (multimap::operator=(multimap&&)):
295 * include/bits/stl_multiset.h (multiset::operator=(multiset&&)):
297 * include/bits/stl_set.h (set::operator=(set&&)): Likewise.
298 * include/bits/stl_tree.h (_Rb_tree::_M_move_data): New overloaded
299 functions to perform moving or copying of elements from rvalue tree.
300 (_Rb_tree::_Rb_tree(_Rb_tree&&)): Use _M_move_data.
301 (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_allocator&&)): Likewise.
302 * testsuite/23_containers/map/59872.cc: New.
303 * testsuite/23_containers/map/56613.cc: Remove duplicate include.
305 2014-01-22 Jonathan Wakely <jwakely@redhat.com>
307 * include/bits/stl_deque.h (_Deque_impl): Move comment.
310 * include/bits/stl_deque.h (deque::deque(const allocator_type&):
311 Split into separate default constructor and constructor taking
313 * include/bits/stl_list.h (list::list(const allocator_type&): Likewise.
314 * include/bits/stl_vector.h (vector::vector(const allocator_type&):
316 * include/debug/deque (deque::deque(const allocator_type&)): Likewise.
317 * include/debug/list (list::list(const _Allocator&)): Likewise.
318 * include/debug/map.h (map::map(const _Compare&, const _Allocator&)):
320 * include/debug/multimap.h
321 (multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
322 * include/debug/set.h (set::set(const _Compare&, const _Allocator&)):
324 * include/debug/multiset.h
325 (multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
326 * include/debug/vector (vector::vector(const allocator_type&)):
328 * include/profile/deque (deque::deque(const _Allocator&)): Likewise.
329 * include/profile/list (list::list(const _Allocator&)): Likewise.
330 * include/profile/map.h
331 (map::map(const _Compare&, const _Allocator&)): Likewise.
332 * include/profile/multimap.h
333 (multimap::multimap(const _Compare&, const _Allocator&)): Likewise.
334 * include/profile/set.h
335 (set::set(const _Compare&, const _Allocator&)): Likewise.
336 * include/profile/multiset.h
337 (multiset::multiset(const _Compare&, const _Allocator&)): Likewise.
338 * include/profile/vector (vector::vector(const _Allocator&)):
340 * testsuite/23_containers/deque/58764.cc: New.
341 * testsuite/23_containers/list/58764.cc: New.
342 * testsuite/23_containers/map/58764.cc: New.
343 * testsuite/23_containers/multimap/58764.cc: New.
344 * testsuite/23_containers/set/58764.cc: New.
345 * testsuite/23_containers/multiset/58764.cc: New.
346 * testsuite/23_containers/vector/58764.cc: New.
347 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
348 Adjust dg-error line number.
349 * testsuite/23_containers/deque/requirements/dr438/
350 constructor_1_neg.cc: Likewise.
351 * testsuite/23_containers/deque/requirements/dr438/
352 constructor_2_neg.cc: Likewise.
353 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
355 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
357 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
359 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
361 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
363 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
365 * testsuite/23_containers/vector/requirements/dr438/
366 constructor_1_neg.cc: Likewise.
367 * testsuite/23_containers/vector/requirements/dr438/
368 constructor_2_neg.cc: Likewise.
369 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
372 PR libstdc++/58764 (again)
373 * include/bits/stl_list.h (list): Make default constructor's exception
374 specification conditional.
375 * include/bits/stl_vector.h (vector): Likewise.
376 * testsuite/util/testsuite_allocator.h (SimpleAllocator): Add noexcept
377 to default constructor.
378 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
379 Adjust dg-error line number.
380 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
382 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
384 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
386 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
388 * testsuite/23_containers/vector/requirements/dr438/
389 constructor_1_neg.cc: Likewise.
390 * testsuite/23_containers/vector/requirements/dr438/
391 constructor_2_neg.cc: Likewise.
392 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
395 2014-01-21 Tim Shen <timshen91@gmail.com>
397 * include/bits/regex.tcc: Remove incorrect `nosubs` handling.
398 * include/bits/regex_scanner.tcc: Handle `nosubs` correctly.
399 * testsuite/28_regex/constants/syntax_option_type.cc: Add a test case.
401 2014-01-21 Jonathan Wakely <jwakely@redhat.com>
404 * include/bits/hashtable.h (__cache_default): Do not depend on
405 whether the hash function is DefaultConstructible or CopyAssignable.
406 (_Hashtable): Adjust static assertions.
407 * doc/xml/manual/containers.xml (containers.unordered.cache): Update.
408 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
409 dg-error line number.
410 * testsuite/23_containers/unordered_set/
411 not_default_constructible_hash_neg.cc: Remove.
413 2014-01-20 François Dumont <fdumont@gcc.gnu.org>
415 * scripts/create_testsuite_files: Add testsuite/experimental in
416 the list of folders to search for tests.
417 * include/experimental/string_view
418 (basic_string_view<>::operator[]): Comment _GLIBCXX_DEBUG_ASSERT,
419 incompatible with constexpr qualifier.
420 (basic_string_view<>::front()): Likewise.
421 (basic_string_view<>::back()): Likewise.
422 * testsuite/experimental/string_view/element_access/wchar_t/2.cc:
423 Merge dg-options directives into one.
424 * testsuite/experimental/string_view/element_access/char/2.cc:
425 Likewise. Remove invalid experimental namespace scope on
428 2014-01-20 Jonathan Wakely <jwakely@redhat.com>
431 * include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant
432 friendship to _Local_iterator_base<..., false>.
433 (_Local_iterator_base): Give protected access to all existing members.
434 (_Local_iterator_base::_M_curr()): New public accessor.
435 (_Local_iterator_base::_M_get_bucket()): New public accessor.
436 (_Local_iterator_base<..., false>::_M_init()): New function to manage
437 the lifetime of the _Hash_code_base explicitly.
438 (_Local_iterator_base<..., false>::_M_destroy()): Likewise.
439 (_Local_iterator_base<..., false>): Define copy constructor and copy
440 assignment operator that use new functions to manage _Hash_code_base.
441 (operator==(const _Local_iterator_base&, const _Local_iterator_base&),
442 operator==(const _Local_iterator_base&, const _Local_iterator_base&)):
443 Use public API for _Local_iterator_base.
444 * include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise.
445 * include/debug/unordered_map (__debug::unordered_map::erase(),
446 __debug::unordered_multimap::erase()): Likewise.
447 * include/debug/unordered_set (__debug::unordered_set::erase(),
448 __debug::unordered_multiset::erase()): Likewise.
449 * testsuite/23_containers/unordered_set/56267-2.cc: New test.
451 2014-01-19 Tim Shen <timshen91@gmail.com>
453 * include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()):
454 Fix parse error of multiple consecutive quantifiers like "a**".
455 * include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()):
457 * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New.
459 2014-01-17 François Dumont <fdumont@gcc.gnu.org>
461 * include/profile/set.h (set): Implement C++11 allocator-aware
462 container requirements.
463 * include/profile/map.h (map): Likewise.
464 * include/profile/multiset.h (multiset): Likewise.
465 * include/profile/multimap.h (multimap): Likewise.
466 * include/profile/set.h
467 (set::operator=(const set&)): Define as default in C++11 mode.
468 (set::operator=(set&&)): Likewise.
469 * include/profile/map.h
470 (map::operator=(const map&)): Likewise.
471 (map::operator=(map&&)): Likewise.
472 * include/profile/multiset.h
473 (multiset::operator=(const multiset&)): Likewise.
474 (multiset::operator=(multiset&&)): Likewise.
475 * include/profile/multimap.h
476 (multimap::operator=(const multimap&)): Likewise.
477 (multimap::operator=(multimap&&)): Likewise.
478 * include/profile/set.h (set::operator=(std::initializer_list<>)):
479 Rely on the same operator from normal mode.
480 * include/profile/map.h (map::operator=(std::initializer_list<>)):
482 * include/profile/multiset.h
483 (multiset::operator=(std::initializer_list<>)): Likewise.
484 * include/profile/multimap.h
485 (multimap::operator=(std::initializer_list<>)): Likewise.
486 * include/profile/set.h (set::swap(set&)): Add noexcept
488 * include/profile/map.h (map::swap(map&)): Likewise.
489 * include/profile/multiset.h (multiset::swap(multiset&)): Likewise.
490 * include/profile/multimap.h (multimap::swap(multimap&)): Likewise.
492 2014-01-17 Tim Shen <timshen91@gmail.com>
494 * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not
496 * include/bits/regex_automaton.h: Do not use std::set.
497 * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(),
498 _BracketMatcher<>::_M_add_collating_element(),
499 _BracketMatcher<>::_M_add_equivalence_class(),
500 _BracketMatcher<>::_M_make_range()): Likewise.
501 * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()):
503 * include/bits/regex_executor.h: Do not use std::queue.
504 * include/bits/regex_executor.tcc (_Executor<>::_M_main(),
505 _Executor<>::_M_dfs()): Likewise.
506 * include/std/regex: Remove <map>, <set> and <queue>.
508 2014-01-17 Tim Shen <timshen91@gmail.com>
510 * include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(),
511 basic_regex<>::assign()): Change __compile_nfa to accept
513 * include/bits/regex_compiler.h: Change _Compiler's template
514 argument from <_FwdIter, _TraitsT> to <_TraitsT>.
515 * include/bits/regex_compiler.tcc: Likewise.
517 2014-01-17 Tim Shen <timshen91@gmail.com>
519 * include/bits/regex_compiler.h: Change _ScannerT into char-type
521 * include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate
522 _ScannerBase from _Scanner; Change _Scanner's template argument from
523 _FwdIter to _CharT. Avoid use of std::map and std::set by using arrays
525 * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(),
526 _Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(),
527 _Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()):
529 * include/std/regex: Add <cstring> for using strchr.
531 2014-01-17 Tim Shen <timshen91@gmail.com>
533 * bits/regex_automaton.tcc: Indentation fix.
534 * bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>,
535 _RegexTranslator<> _AnyMatcher<>, _CharMatcher<>,
536 _BracketMatcher<>): Add bool option template parameters and
537 specializations to make matching more efficient and space saving.
538 * bits/regex_compiler.tcc: Likewise.
540 2014-01-15 François Dumont <fdumont@gcc.gnu.org>
543 * include/bits/hashtable_policy.h: Fix some long lines.
544 * include/bits/hashtable.h (__hash_code_base_access): Define and
545 use it to check its _M_bucket_index noexcept qualification. Use
547 (__access_protected_ctor): ...this.
548 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
550 * testsuite/23_containers/unordered_set/
551 not_default_constructible_hash_neg.cc: Likewise.
553 2014-01-13 François Dumont <fdumont@gcc.gnu.org>
555 * include/debug/set.h (set): Implement C++11 allocator-aware
556 container requirements.
557 * include/debug/map.h (map): Likewise.
558 * include/debug/multiset.h (multiset): Likewise.
559 * include/debug/multimap.h (multimap): Likewise.
560 * include/debug/set.h (set::operator=(set&&)): Add noexcept and
561 fix implementation regarding management of safe iterators.
562 * include/debug/map.h (map::operator=(map&&)): Likewise.
563 * include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise.
564 * include/debug/multimap.h (multimap::operator=(multimap&&)):
566 * include/debug/set.h (set::operator=(std::initializer_list<>)):
567 Rely on the same operator from normal mode.
568 * include/debug/map.h (map::operator=(std::initializer_list<>)):
570 * include/debug/multiset.h
571 (multiset::operator=(std::initializer_list<>)): Likewise.
572 * include/debug/multimap.h
573 (multimap::operator=(std::initializer_list<>)): Likewise.
574 * include/debug/set.h (set::swap(set&)): Add noexcept
575 specification, add allocator equality check.
576 * include/debug/map.h (map::swap(map&)): Likewise.
577 * include/debug/multiset.h (multiset::swap(multiset&)): Likewise.
578 * include/debug/multimap.h (multimap::swap(multimap&)): Likewise.
580 2014-01-10 Jonathan Wakely <jwakely@redhat.com>
583 * doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
584 and stylistic improvements.
585 * doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
586 and update for C++11.
587 * doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.
590 * doc/xml/manual/backwards_compatibility.xml
591 (backwards.third.nocreate_noreplace): Correct and expand.
594 * doc/xml/manual/support.xml (std.support.types.null): Update links.
596 2014-01-09 Jonathan Wakely <jwakely@redhat.com>
599 * include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
600 support for non-Movable types.
603 * src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.
605 2014-01-08 François Dumont <fdumont@gcc.gnu.org>
607 * include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
608 *this allocator instance when building temporary vector instance
609 so that *this allocator does not get moved.
610 * include/debug/safe_base.h
611 (_Safe_sequence_base(_Safe_sequence_base&&)): New.
612 * include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new
613 move constructor from _Safe_sequence_base.
614 (__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap
615 safe iterators if the instance is moved.
616 (__gnu_debug::vector<>::operator=(vector&&)): Likewise.
617 * testsuite/23_containers/vector/allocator/move.cc (test01): Add
618 check on a vector iterator.
619 * testsuite/23_containers/vector/allocator/move_assign.cc
621 (test03): New, test with a non-propagating allocator.
622 * testsuite/23_containers/vector/debug/move_assign_neg.cc: New.
624 2014-01-07 Tim Shen <timshen91@gmail.com>
626 * include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
627 _AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
628 _CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
629 _BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
630 _BracketMatcher<>::_M_add_char(),
631 _BracketMatcher<>::_M_add_collating_element(),
632 _BracketMatcher<>::_M_add_equivalence_class(),
633 _BracketMatcher<>::_M_add_character_class(),
634 _BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
635 _BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
636 Fix _AnyMatcher behavior of POSIX style and move _M_flags
637 to template parameter; Add cache for _BracketMatcher. Adjust
638 declarations from here...
639 * include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
640 imbuing a regex will trigger a recompilation to rebuild the cache.
641 * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
642 _Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
643 different template bool parameters.
644 * include/bits/regex_executor.h: Remove unnecessary declarations.
645 * include/std/regex: Adjust including orders.
646 * testsuite/28_regex/traits/char/user_defined.cc: New.
647 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New.
649 2014-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
651 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
652 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
653 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
654 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
655 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
657 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
659 Update copyright years
661 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
663 * testsuite/18_support/new_handler.cc,
664 testsuite/18_support/terminate_handler.cc,
665 testsuite/18_support/unexpected_handler.cc: Use the standard form for
666 the copyright notice.
668 Copyright (C) 2014 Free Software Foundation, Inc.
670 Copying and distribution of this file, with or without modification,
671 are permitted in any medium without royalty provided the copyright
672 notice and this notice are preserved.