]>
Commit | Line | Data |
---|---|---|
25d24c42 JW |
1 | 2014-03-27 Jonathan Wakely <jwakely@redhat.com> |
2 | ||
3 | * doc/xml/manual/io.xml (std.io.objects): Additional markup. | |
4 | ||
6f8b5e0c JW |
5 | * doc/xml/faq.xml (faq): Refer to clauses instead of chapters. |
6 | * doc/xml/manual/appendix_contributing.xml (contrib.design_notes): | |
7 | Likewise. | |
8 | * doc/xml/manual/backwards_compatibility.xml (backwards.third): | |
9 | Likewise. | |
10 | * doc/xml/manual/test.xml (test.organization.layout): Likewise. | |
11 | ||
3941b260 JW |
12 | 2014-03-27 Jonathan Wakely <jwakely@redhat.com> |
13 | ||
14 | PR libstdc++/60612 | |
15 | * libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is | |
16 | compatible with __cxa_exception. | |
17 | * libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding. | |
18 | Fix typos in comments. | |
19 | * testsuite/18_support/exception_ptr/60612-terminate.cc: New. | |
20 | * testsuite/18_support/exception_ptr/60612-unexpected.cc: New. | |
21 | ||
5ec16257 JW |
22 | 2014-03-25 Jonathan Wakely <jwakely@redhat.com> |
23 | ||
24 | PR libstdc++/60658 | |
25 | * include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()): | |
26 | Use sizeof pointer type not the element type. | |
27 | * testsuite/29_atomics/atomic/60658.cc: New. | |
28 | ||
6f6c00f3 JJ |
29 | 2014-03-24 Jakub Jelinek <jakub@redhat.com> |
30 | ||
31 | * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update. | |
32 | * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. | |
33 | * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. | |
34 | * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. | |
35 | * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. | |
36 | * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. | |
37 | * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. | |
38 | * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. | |
39 | * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise. | |
40 | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Remove TLS | |
41 | entries. | |
42 | ||
76627edd JDA |
43 | 2014-03-23 John David Anglin <danglin@gcc.gnu.org> |
44 | ||
45 | * testsuite/23_containers/bitset/45713.cc: Skip compile on hppa*64*-*-*. | |
46 | ||
f7279c1a FD |
47 | 2014-03-23 François Dumont <fdumont@gcc.gnu.org> |
48 | ||
49 | * include/bits/hashtable.h (_Hashtable(allocator_type)): Fix call | |
50 | to delegated constructor. | |
51 | (_Hashtable(size_type, _H1, key_equal, allocator_type)): Likewise. | |
52 | (_Hashtable<_It>(_It, _It, size_type, _H1, key_equal, allocator_type)): | |
53 | Likewise. | |
54 | (_Hashtable( | |
55 | initializer_list, size_type, _H1, key_equal, allocator_type)): Likewise. | |
56 | ||
d570d678 JDA |
57 | 2014-03-23 John David Anglin <danglin@gcc.gnu.org> |
58 | ||
59 | PR libstdc++/60623 | |
60 | * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. | |
61 | ||
72d1f255 JW |
62 | 2014-03-21 Jonathan Wakely <jwakely@redhat.com> |
63 | ||
64 | PR libstdc++/60587 | |
65 | * include/debug/functions.h (_Is_contiguous_sequence): Define. | |
66 | (__foreign_iterator): Accept additional iterator. Do not dispatch on | |
67 | iterator category. | |
68 | (__foreign_iterator_aux2): Likewise. Add overload for iterators | |
69 | from different types of debug container. Use _Is_contiguous_sequence | |
70 | instead of is_lvalue_reference. | |
71 | (__foreign_iterator_aux3): Accept additional iterator. Avoid | |
72 | dereferencing past-the-end iterator. | |
73 | (__foreign_iterator_aux4): Use const value_type* instead of | |
74 | potentially user-defined const_pointer type. | |
75 | * include/debug/macros.h (__glibcxx_check_insert_range): Fix comment | |
76 | and pass end iterator to __gnu_debug::__foreign_iterator. | |
77 | (__glibcxx_check_insert_range_after): Likewise. | |
78 | (__glibcxx_check_max_load_factor): Fix comment. | |
79 | * include/debug/vector (_Is_contiguous_sequence): Define partial | |
80 | specializations. | |
81 | * testsuite/23_containers/vector/debug/57779_neg.cc: Remove | |
82 | -std=gnu++11 option and unused header. | |
83 | * testsuite/23_containers/vector/debug/60587.cc: New. | |
84 | * testsuite/23_containers/vector/debug/60587_neg.cc: New. | |
85 | ||
e70c4c41 UW |
86 | 2014-03-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
87 | ||
88 | * crossconfig.m4: Support spu-*-elf* targets. | |
89 | * configure: Regenerate. | |
90 | ||
f7e68d08 JW |
91 | 2014-03-18 Jonathan Wakely <jwakely@redhat.com> |
92 | ||
93 | PR libstdc++/60564 | |
94 | * include/std/future (__future_base::_Task_state<>): Change | |
95 | constructors to template functions using perfect forwarding. | |
96 | (__create_task_state): Use decayed type as stored task. | |
97 | (packaged_task::packaged_task(_Fn&&)): Forward instead of moving. | |
98 | * testsuite/30_threads/packaged_task/60564.cc: New. | |
99 | ||
86faf710 FD |
100 | 2014-03-16 François Dumont <fdumont@gcc.gnu.org> |
101 | ||
102 | * scripts/create_testsuite_files: Add testsuite/experimental in | |
103 | the list of folders to search for tests. | |
104 | ||
dcf39d82 AS |
105 | 2014-03-15 Andreas Schwab <schwab@linux-m68k.org> |
106 | ||
107 | * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: New file. | |
108 | ||
ee54a3b3 TS |
109 | 2014-03-15 Tim Shen <timshen91@gmail.com> |
110 | ||
111 | * include/bits/regex.h: Add/modify comments. | |
112 | * include/bits/regex_compiler.h: Likewise. | |
113 | * include/bits/regex_executor.h: Likewise. | |
114 | * include/bits/regex_executor.tcc: Likewise. | |
115 | * include/bits/regex_scanner.h: Likewise. | |
116 | ||
b1520f3d JW |
117 | 2014-03-14 Jonathan Wakely <jwakely@redhat.com> |
118 | ||
119 | PR ipa/58721 | |
120 | * config/abi/pre/gnu.ver (GLIBCXX_3.4.11): Remove unused pattern for | |
121 | _ZNSt12system_errorC* symbols which are not exported on any target. | |
122 | ||
90021b55 RM |
123 | 2014-03-12 Roland McGrath <mcgrathr@google.com> |
124 | Mark Seaborn <mseaborn@google.com> | |
125 | ||
126 | PR libstdc++/59392 | |
127 | * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with | |
128 | the address of a null pointer, not with a null pointer to pointer. | |
129 | Copy comment for this case from eh_personality.cc:__cxa_call_unexpected. | |
130 | * testsuite/18_support/bad_exception/59392.cc: New file. | |
131 | ||
06dce007 JW |
132 | 2014-03-11 Jonathan Wakely <jwakely@redhat.com> |
133 | ||
134 | PR libstdc++/60499 | |
135 | * include/debug/forward_list (forward_list::operator=(forward_list&&)): | |
136 | Uglify name. | |
137 | * include/debug/map (map::operator=(map&&)): Likewise. | |
138 | * include/debug/multimap (multimap::operator=(multimap&&)): Likewise. | |
139 | * include/debug/multiset (multiset::operator=(multiset&&)): Likewise. | |
140 | * include/debug/set (set::operator=(set&&)): Likewise. | |
141 | * include/debug/unordered_map | |
142 | (unordered_map::operator=(unordered_map&&)): Likewise. | |
143 | (unordered_multimap::operator=(unordered_multimap&&)): Likewise. | |
144 | * include/debug/unordered_set | |
145 | (unordered_set::operator=(unordered_set&&)): Likewise. | |
146 | (unordered_multiset::operator=(unordered_multiset&&)): Likewise. | |
147 | * include/debug/vector (vector::operator=(vector&&)): Likewise. | |
148 | * testsuite/23_containers/forward_list/debug/60499.cc: New | |
149 | * testsuite/23_containers/map/debug/60499.cc: New | |
150 | * testsuite/23_containers/multimap/debug/60499.cc: New | |
151 | * testsuite/23_containers/multiset/debug/60499.cc: New | |
152 | * testsuite/23_containers/set/debug/60499.cc: New | |
153 | * testsuite/23_containers/unordered_map/debug/60499.cc: New | |
154 | * testsuite/23_containers/unordered_multimap/debug/60499.cc: New | |
155 | * testsuite/23_containers/unordered_multiset/debug/60499.cc: New | |
156 | * testsuite/23_containers/unordered_set/debug/60499.cc: New | |
157 | * testsuite/23_containers/vector/debug/60499.cc: New | |
158 | ||
700bf0d3 ESR |
159 | 2014-03-05 Ed Smith-Rowland <3dw4rd@verizon.net> |
160 | ||
161 | * doc/xml/manual/status_cxx2014.xml: Add new items and latest papers | |
162 | for filesystem and fundamentals TS work items. | |
163 | ||
064fd5a8 PC |
164 | 2014-03-04 Paolo Carlini <paolo.carlini@oracle.com> |
165 | ||
166 | PR c++/60376 | |
167 | * testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: | |
168 | Adjust dg-error directives. | |
169 | ||
91bb5cd9 TS |
170 | 2014-02-26 Tim Shen <timshen91@gmail.com> |
171 | ||
172 | * include/bits/regex.tcc (match_results<>::format, | |
173 | regex_replace<>): Update __out after calling std::copy. | |
174 | * testsuite/28_regex/algorithms/regex_replace/char/dr2213.cc: | |
175 | Add testcase. | |
176 | * testsuite/28_regex/match_results/format.cc: Likewise. | |
177 | ||
6aba6941 MG |
178 | 2014-02-22 Marc Glisse <marc.glisse@inria.fr> |
179 | ||
180 | PR libstdc++/60308 | |
181 | * include/bits/stl_deque.h (_Deque_base::_Deque_base(const | |
182 | allocator_type&)): Remove redundant call to _M_initialize_map. | |
183 | (deque::deque(const allocator_type&)): Initialize _Base with a | |
184 | constructor that calls _M_initialize_map. | |
185 | ||
186 | Partial revert: | |
187 | ||
188 | 2013-09-20 Marc Glisse <marc.glisse@inria.fr> | |
189 | PR libstdc++/58338 | |
190 | (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to | |
191 | _M_initialize_map. | |
192 | ||
94ff3384 ESR |
193 | 2014-02-21 Ed Smith-Rowland <3dw4rd@verizon.net> |
194 | ||
195 | Rename testsuite directory shared_mutex to shared_timed_mutex | |
196 | for consistency. | |
197 | * testsuite/30_threads/shared_mutex: Moved to... | |
198 | * testsuite/30_threads/shared_timed_mutex: ...here | |
199 | ||
4bbfc5fa ESR |
200 | 2014-02-20 Ed Smith-Rowland <3dw4rd@verizon.net> |
201 | ||
202 | Rename shared_mutex to shared_timed_mutex per C++14 acceptance of N3891. | |
203 | * include/std/shared_mutex: Rename shared_mutex to shared_timed_mutex. | |
204 | * testsuite/30_threads/shared_lock/locking/2.cc: Ditto. | |
205 | * testsuite/30_threads/shared_lock/locking/4.cc: Ditto. | |
206 | * testsuite/30_threads/shared_lock/locking/1.cc: Ditto. | |
207 | * testsuite/30_threads/shared_lock/locking/3.cc: Ditto. | |
208 | * testsuite/30_threads/shared_lock/requirements/ | |
209 | explicit_instantiation.cc: Ditto. | |
210 | * testsuite/30_threads/shared_lock/requirements/typedefs.cc: Ditto. | |
211 | * testsuite/30_threads/shared_lock/cons/2.cc: Ditto. | |
212 | * testsuite/30_threads/shared_lock/cons/4.cc: Ditto. | |
213 | * testsuite/30_threads/shared_lock/cons/1.cc: Ditto. | |
214 | * testsuite/30_threads/shared_lock/cons/6.cc: Ditto. | |
215 | * testsuite/30_threads/shared_lock/cons/3.cc: Ditto. | |
216 | * testsuite/30_threads/shared_lock/cons/5.cc: Ditto. | |
217 | * testsuite/30_threads/shared_lock/modifiers/2.cc: Ditto. | |
218 | * testsuite/30_threads/shared_lock/modifiers/1.cc: Ditto. | |
219 | * testsuite/30_threads/shared_mutex/requirements/ | |
220 | standard_layout.cc: Ditto. | |
221 | * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Ditto. | |
222 | * testsuite/30_threads/shared_mutex/cons/1.cc: Ditto. | |
223 | * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: Ditto. | |
224 | * testsuite/30_threads/shared_mutex/try_lock/2.cc: Ditto. | |
225 | * testsuite/30_threads/shared_mutex/try_lock/1.cc: Ditto. | |
226 | ||
53a6d1ce RO |
227 | 2014-02-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
228 | ||
229 | * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail | |
230 | execution on i?86-*-solaris2.9, remove comment. | |
231 | * testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise. | |
232 | ||
5a47e4c5 RS |
233 | 2014-02-09 Richard Sandiford <rdsandiford@googlemail.com> |
234 | ||
235 | * config/abi/post/mips64-linux-gnu/32/baseline_symbols.txt: New file. | |
236 | * config/abi/post/mips64-linux-gnu/baseline_symbols.txt: Update. | |
237 | * config/abi/post/mips64-linux-gnu/64/baseline_symbols.txt: Likewise. | |
238 | ||
85c13695 | 239 | 2014-01-29 Jonathan Wakely <jwakely@redhat.com> |
20067423 JW |
240 | |
241 | * include/bits/alloc_traits.h (allocator_traits::_S_allocate): Do | |
242 | not use varargs when argument could be non-POD. | |
243 | (__alloctr_rebind_helper): Eliminate static const bool member by | |
244 | using true_type and false_type. | |
245 | (allocator_traits::__allocate_helper): Likewise. | |
246 | (allocator_traits::__construct_helper): Likewise. | |
247 | (allocator_traits::__destroy_helper): Likewise. | |
248 | (allocator_traits::__maxsize_helper): Likewise. | |
249 | (allocator_traits::__select_helper): Likewise. | |
250 | * include/bits/ptr_traits.h (__ptrtr_rebind_helper): Likewise. | |
251 | * include/bits/stl_tree.h (_Rb_tree::operator=(const _Rb_tree&)): | |
252 | Remove redundant condition. | |
253 | * include/bits/stl_vector.h (vector::operator=(const vector&)): | |
254 | Likewise. | |
255 | (_Vector_impl::_M_allocate, _Vector_impl::_M_deallocate): Use | |
256 | indirection through __alloc_traits. | |
257 | * include/ext/alloc_traits.h (__allocator_always_compares_equal): | |
258 | Eliminate static const bool members by using true_type and false_type. | |
259 | (__gnu_cxx::__alloc_traits::__is_custom_pointer): Optimize. | |
260 | * testsuite/util/testsuite_allocator.h (PointerBase): Define. | |
261 | * testsuite/20_util/allocator_traits/members/allocate_hint_nonpod.cc: | |
262 | New. | |
263 | * testsuite/20_util/allocator_traits/requirements/typedefs2.cc: New. | |
264 | ||
8a972abd JW |
265 | PR libstdc++/59829 |
266 | * include/bits/stl_vector.h (vector::data()): Call _M_data_ptr. | |
267 | (vector::_M_data_ptr): New overloaded functions to ensure empty | |
268 | vectors do not dereference the pointer. | |
269 | * testsuite/23_containers/vector/59829.cc: New. | |
270 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
271 | Adjust dg-error line number. | |
272 | * testsuite/23_containers/vector/requirements/dr438/ | |
273 | constructor_1_neg.cc: Likewise. | |
274 | * testsuite/23_containers/vector/requirements/dr438/ | |
275 | constructor_2_neg.cc: Likewise. | |
276 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
277 | Likewise. | |
278 | ||
d530142d JW |
279 | PR libstdc++/21609 |
280 | * include/ext/array_allocator.h: Add deprecated attribute. | |
281 | ||
1492a408 JW |
282 | PR libstdc++/57226 |
283 | * doc/xml/manual/debug.xml (debug.gdb): Update documentation for | |
284 | installation and use of python printers. | |
285 | * doc/xml/manual/status_cxx2011.xml: Update. | |
286 | * doc/html/*: Regenerate. | |
287 | ||
156b60e0 JW |
288 | 2014-01-28 Jonathan Wakely <jwakely@redhat.com> |
289 | Kyle Lippincott <spectral@google.com> | |
290 | ||
291 | PR libstdc++/59656 | |
292 | * include/bits/shared_ptr.h (shared_ptr): Add new non-throwing | |
293 | constructor and grant friendship to weak_ptr. | |
294 | (weak_ptr::lock()): Use new constructor. | |
295 | * include/bits/shared_ptr_base.h | |
296 | (_Sp_counted_base::_M_add_ref_lock_nothrow()): Declare new function | |
297 | and define specializations. | |
298 | (__shared_count): Add new non-throwing constructor. | |
299 | (__shared_ptr): Add new non-throwing constructor and grant friendship | |
300 | to __weak_ptr. | |
301 | (__weak_ptr::lock()): Use new constructor. | |
302 | * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error. | |
303 | * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise. | |
304 | ||
fb1ca954 JW |
305 | 2014-01-27 Jonathan Wakely <jwakely@redhat.com> |
306 | ||
307 | PR libstdc++/59215 | |
308 | * include/bits/shared_ptr_base.h | |
309 | (_Sp_counted_base<_S_atomic>::_M_add_ref_lock()): Use relaxed atomic | |
310 | load. | |
311 | ||
ccc2e73c JM |
312 | 2014-01-27 Jason Merrill <jason@redhat.com> |
313 | ||
314 | Core DR 475 | |
315 | PR c++/41174 | |
316 | PR c++/59224 | |
317 | * libsupc++/eh_throw.cc (__cxa_throw): Set uncaughtExceptions. | |
318 | * libsupc++/eh_alloc.cc (__cxa_allocate_dependent_exception) | |
319 | (__cxa_allocate_exception): Don't set it here. | |
320 | ||
4d0bb770 JW |
321 | 2014-01-26 Jonathan Wakely <jwakely@redhat.com> |
322 | ||
323 | * include/bits/stl_map.h: Remove anachronistic comment. | |
324 | * include/bits/stl_multimap.h: Add whitespace. | |
325 | * testsuite/23_containers/map/modifiers/emplace/1.cc: Use | |
326 | -std=gnu++11 instead of -std=c++11. | |
327 | * testsuite/23_containers/map/operators/2.cc: Likewise. | |
328 | * testsuite/23_containers/multimap/modifiers/emplace/1.cc: Likewise. | |
329 | * testsuite/23_containers/multiset/modifiers/emplace/1.cc: Likewise. | |
330 | * testsuite/23_containers/set/modifiers/emplace/1.cc: Likewise. | |
331 | ||
2720e16b JW |
332 | * acinclude.m4 (GLIBCXX_ENABLE_C99): Fix typo. |
333 | * configure: Regenerate. | |
334 | ||
bb393514 ESR |
335 | 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> |
336 | ||
337 | PR libstdc++/59531 | |
338 | * testsuite/experimental/string_view/operations/copy/char/1.cc: New. | |
339 | * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: New. | |
340 | ||
341 | 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> | |
342 | Peter A. Bigot <pab@pabigot.com> | |
343 | ||
344 | PR libstdc++/59531 | |
345 | * include/experimental/string_view | |
346 | (copy(_CharT*, size_type, size_type) const): Correct throw string. | |
347 | Correct copy start location. | |
348 | ||
349 | 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> | |
350 | Peter A. Bigot <pab@pabigot.com> | |
351 | ||
352 | PR libstdc++/59530 | |
353 | * include/experimental/string_view (operator[](size_type) const): | |
354 | Fix one-off index error in debug check. | |
355 | * testsuite/experimental/string_view/element_access/char/1.cc: Don't | |
356 | test basic_string_view at size(). | |
357 | * testsuite/experimental/string_view/element_access/wchar_t/1.cc: Ditto. | |
358 | ||
359 | 2014-01-24 Ed Smith-Rowland <3dw4rd@verizon.net> | |
360 | Peter A. Bigot <pab@pabigot.com> | |
361 | ||
362 | PR libstdc++/59529 | |
363 | * include/experimental/string_view | |
364 | (basic_string_view(const _CharT*, size_type)): Don't care if len == 0. | |
365 | * testsuite/experimental/string_view/operations/substr/char/1.cc: | |
366 | Comment out catch of out_of_range; No terminating null | |
367 | in basic_string_view. Check begin == end. | |
368 | * testsuite/experimental/string_view/operations/substr/wchar_t/1.cc: | |
369 | Ditto. | |
370 | ||
f7491277 JW |
371 | 2014-01-24 Jonathan Wakely <jwakely@redhat.com> |
372 | ||
373 | PR libstdc++/59548 | |
374 | * include/debug/safe_base.h (_Safe_sequence_base): Define copy | |
375 | constructor to prevent it being implicitly defined as deleted, but | |
376 | do not copy anything. | |
377 | * include/debug/safe_unordered_base.h (_Safe_unordered_container_base): | |
378 | Define copy and move constructors similar to _Safe_sequence_base's. | |
379 | * testsuite/23_containers/unordered_map/59548.cc: New. | |
380 | ||
7370b9df BRF |
381 | 2014-01-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
382 | Steve Ellcey <sellcey@mips.com> | |
383 | ||
384 | * acinclude.m4 (GLIBCXX_CHECK_TMPNAM): New check for tmpnam | |
385 | function. | |
386 | * configure.ac: Use GLIBCXX_CHECK_TMPNAM. | |
387 | * (configure, config.h.in): Regenerate. | |
388 | * include/c_global/cstdio: Guard ::tmpnam with _GLIBCXX_USE_TMPNAM | |
389 | ||
1f0affce JW |
390 | 2014-01-23 Jonathan Wakely <jwakely@redhat.com> |
391 | ||
392 | * doc/xml/faq.xml (a-how_to_set_paths): Expand FAQ answer. | |
393 | * doc/xml/manual/abi.xml (abi.versioning.history): Correct symver. | |
394 | ||
6a5839c8 JW |
395 | PR libstdc++/59872 |
396 | * include/bits/stl_map.h (map::operator=(map&&)): Fix comment. | |
397 | * include/bits/stl_multimap.h (multimap::operator=(multimap&&)): | |
398 | Likewise. | |
399 | * include/bits/stl_multiset.h (multiset::operator=(multiset&&)): | |
400 | Likewise. | |
401 | * include/bits/stl_set.h (set::operator=(set&&)): Likewise. | |
402 | * include/bits/stl_tree.h (_Rb_tree::_M_move_data): New overloaded | |
403 | functions to perform moving or copying of elements from rvalue tree. | |
404 | (_Rb_tree::_Rb_tree(_Rb_tree&&)): Use _M_move_data. | |
405 | (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_allocator&&)): Likewise. | |
406 | * testsuite/23_containers/map/59872.cc: New. | |
407 | * testsuite/23_containers/map/56613.cc: Remove duplicate include. | |
408 | ||
af0e0fa0 JW |
409 | 2014-01-22 Jonathan Wakely <jwakely@redhat.com> |
410 | ||
411 | * include/bits/stl_deque.h (_Deque_impl): Move comment. | |
412 | ||
c3cdd71f JW |
413 | PR libstdc++/58764 |
414 | * include/bits/stl_deque.h (deque::deque(const allocator_type&): | |
415 | Split into separate default constructor and constructor taking | |
416 | allocator. | |
417 | * include/bits/stl_list.h (list::list(const allocator_type&): Likewise. | |
418 | * include/bits/stl_vector.h (vector::vector(const allocator_type&): | |
419 | Likewise. | |
420 | * include/debug/deque (deque::deque(const allocator_type&)): Likewise. | |
421 | * include/debug/list (list::list(const _Allocator&)): Likewise. | |
422 | * include/debug/map.h (map::map(const _Compare&, const _Allocator&)): | |
423 | Likewise. | |
424 | * include/debug/multimap.h | |
425 | (multimap::multimap(const _Compare&, const _Allocator&)): Likewise. | |
426 | * include/debug/set.h (set::set(const _Compare&, const _Allocator&)): | |
427 | Likewise. | |
428 | * include/debug/multiset.h | |
429 | (multiset::multiset(const _Compare&, const _Allocator&)): Likewise. | |
430 | * include/debug/vector (vector::vector(const allocator_type&)): | |
431 | Likewise. | |
432 | * include/profile/deque (deque::deque(const _Allocator&)): Likewise. | |
433 | * include/profile/list (list::list(const _Allocator&)): Likewise. | |
434 | * include/profile/map.h | |
435 | (map::map(const _Compare&, const _Allocator&)): Likewise. | |
436 | * include/profile/multimap.h | |
437 | (multimap::multimap(const _Compare&, const _Allocator&)): Likewise. | |
438 | * include/profile/set.h | |
439 | (set::set(const _Compare&, const _Allocator&)): Likewise. | |
440 | * include/profile/multiset.h | |
441 | (multiset::multiset(const _Compare&, const _Allocator&)): Likewise. | |
442 | * include/profile/vector (vector::vector(const _Allocator&)): | |
443 | Likewise. | |
444 | * testsuite/23_containers/deque/58764.cc: New. | |
445 | * testsuite/23_containers/list/58764.cc: New. | |
446 | * testsuite/23_containers/map/58764.cc: New. | |
447 | * testsuite/23_containers/multimap/58764.cc: New. | |
448 | * testsuite/23_containers/set/58764.cc: New. | |
449 | * testsuite/23_containers/multiset/58764.cc: New. | |
450 | * testsuite/23_containers/vector/58764.cc: New. | |
451 | * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: | |
452 | Adjust dg-error line number. | |
453 | * testsuite/23_containers/deque/requirements/dr438/ | |
454 | constructor_1_neg.cc: Likewise. | |
455 | * testsuite/23_containers/deque/requirements/dr438/ | |
456 | constructor_2_neg.cc: Likewise. | |
457 | * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: | |
458 | Likewise. | |
459 | * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: | |
460 | Likewise. | |
461 | * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: | |
462 | Likewise. | |
463 | * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: | |
464 | Likewise. | |
465 | * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: | |
466 | Likewise. | |
467 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
468 | Likewise. | |
469 | * testsuite/23_containers/vector/requirements/dr438/ | |
d9dcda6f JW |
470 | constructor_1_neg.cc: Likewise. |
471 | * testsuite/23_containers/vector/requirements/dr438/ | |
472 | constructor_2_neg.cc: Likewise. | |
473 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
474 | Likewise. | |
475 | ||
476 | PR libstdc++/58764 (again) | |
477 | * include/bits/stl_list.h (list): Make default constructor's exception | |
478 | specification conditional. | |
479 | * include/bits/stl_vector.h (vector): Likewise. | |
480 | * testsuite/util/testsuite_allocator.h (SimpleAllocator): Add noexcept | |
481 | to default constructor. | |
482 | * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: | |
483 | Adjust dg-error line number. | |
484 | * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: | |
485 | Likewise. | |
486 | * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: | |
487 | Likewise. | |
488 | * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: | |
489 | Likewise. | |
490 | * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: | |
491 | Likewise. | |
492 | * testsuite/23_containers/vector/requirements/dr438/ | |
c3cdd71f JW |
493 | constructor_1_neg.cc: Likewise. |
494 | * testsuite/23_containers/vector/requirements/dr438/ | |
495 | constructor_2_neg.cc: Likewise. | |
496 | * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: | |
497 | Likewise. | |
498 | ||
8f7082f5 TS |
499 | 2014-01-21 Tim Shen <timshen91@gmail.com> |
500 | ||
501 | * include/bits/regex.tcc: Remove incorrect `nosubs` handling. | |
502 | * include/bits/regex_scanner.tcc: Handle `nosubs` correctly. | |
503 | * testsuite/28_regex/constants/syntax_option_type.cc: Add a test case. | |
504 | ||
6ff956e3 JW |
505 | 2014-01-21 Jonathan Wakely <jwakely@redhat.com> |
506 | ||
507 | PR libstdc++/56267 | |
508 | * include/bits/hashtable.h (__cache_default): Do not depend on | |
509 | whether the hash function is DefaultConstructible or CopyAssignable. | |
510 | (_Hashtable): Adjust static assertions. | |
511 | * doc/xml/manual/containers.xml (containers.unordered.cache): Update. | |
512 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust | |
513 | dg-error line number. | |
514 | * testsuite/23_containers/unordered_set/ | |
515 | not_default_constructible_hash_neg.cc: Remove. | |
516 | ||
9d0bb2ea FD |
517 | 2014-01-20 François Dumont <fdumont@gcc.gnu.org> |
518 | ||
519 | * scripts/create_testsuite_files: Add testsuite/experimental in | |
520 | the list of folders to search for tests. | |
521 | * include/experimental/string_view | |
522 | (basic_string_view<>::operator[]): Comment _GLIBCXX_DEBUG_ASSERT, | |
523 | incompatible with constexpr qualifier. | |
524 | (basic_string_view<>::front()): Likewise. | |
525 | (basic_string_view<>::back()): Likewise. | |
526 | * testsuite/experimental/string_view/element_access/wchar_t/2.cc: | |
527 | Merge dg-options directives into one. | |
528 | * testsuite/experimental/string_view/element_access/char/2.cc: | |
529 | Likewise. Remove invalid experimental namespace scope on | |
530 | string_view_type. | |
531 | ||
92e16228 JW |
532 | 2014-01-20 Jonathan Wakely <jwakely@redhat.com> |
533 | ||
534 | PR libstdc++/56267 | |
535 | * include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant | |
536 | friendship to _Local_iterator_base<..., false>. | |
537 | (_Local_iterator_base): Give protected access to all existing members. | |
538 | (_Local_iterator_base::_M_curr()): New public accessor. | |
539 | (_Local_iterator_base::_M_get_bucket()): New public accessor. | |
540 | (_Local_iterator_base<..., false>::_M_init()): New function to manage | |
541 | the lifetime of the _Hash_code_base explicitly. | |
542 | (_Local_iterator_base<..., false>::_M_destroy()): Likewise. | |
543 | (_Local_iterator_base<..., false>): Define copy constructor and copy | |
544 | assignment operator that use new functions to manage _Hash_code_base. | |
545 | (operator==(const _Local_iterator_base&, const _Local_iterator_base&), | |
546 | operator==(const _Local_iterator_base&, const _Local_iterator_base&)): | |
547 | Use public API for _Local_iterator_base. | |
548 | * include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise. | |
549 | * include/debug/unordered_map (__debug::unordered_map::erase(), | |
550 | __debug::unordered_multimap::erase()): Likewise. | |
551 | * include/debug/unordered_set (__debug::unordered_set::erase(), | |
552 | __debug::unordered_multiset::erase()): Likewise. | |
553 | * testsuite/23_containers/unordered_set/56267-2.cc: New test. | |
554 | ||
053eb1f3 TS |
555 | 2014-01-19 Tim Shen <timshen91@gmail.com> |
556 | ||
557 | * include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()): | |
558 | Fix parse error of multiple consecutive quantifiers like "a**". | |
559 | * include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()): | |
560 | Likewise. | |
561 | * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New. | |
562 | ||
1217ee06 FD |
563 | 2014-01-17 François Dumont <fdumont@gcc.gnu.org> |
564 | ||
565 | * include/profile/set.h (set): Implement C++11 allocator-aware | |
566 | container requirements. | |
567 | * include/profile/map.h (map): Likewise. | |
568 | * include/profile/multiset.h (multiset): Likewise. | |
569 | * include/profile/multimap.h (multimap): Likewise. | |
570 | * include/profile/set.h | |
571 | (set::operator=(const set&)): Define as default in C++11 mode. | |
572 | (set::operator=(set&&)): Likewise. | |
573 | * include/profile/map.h | |
574 | (map::operator=(const map&)): Likewise. | |
575 | (map::operator=(map&&)): Likewise. | |
576 | * include/profile/multiset.h | |
577 | (multiset::operator=(const multiset&)): Likewise. | |
578 | (multiset::operator=(multiset&&)): Likewise. | |
579 | * include/profile/multimap.h | |
580 | (multimap::operator=(const multimap&)): Likewise. | |
581 | (multimap::operator=(multimap&&)): Likewise. | |
582 | * include/profile/set.h (set::operator=(std::initializer_list<>)): | |
583 | Rely on the same operator from normal mode. | |
584 | * include/profile/map.h (map::operator=(std::initializer_list<>)): | |
585 | Likewise. | |
586 | * include/profile/multiset.h | |
587 | (multiset::operator=(std::initializer_list<>)): Likewise. | |
588 | * include/profile/multimap.h | |
589 | (multimap::operator=(std::initializer_list<>)): Likewise. | |
590 | * include/profile/set.h (set::swap(set&)): Add noexcept | |
591 | specification. | |
592 | * include/profile/map.h (map::swap(map&)): Likewise. | |
593 | * include/profile/multiset.h (multiset::swap(multiset&)): Likewise. | |
594 | * include/profile/multimap.h (multimap::swap(multimap&)): Likewise. | |
595 | ||
ddf41e9d TS |
596 | 2014-01-17 Tim Shen <timshen91@gmail.com> |
597 | ||
598 | * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not | |
599 | use std::map. | |
600 | * include/bits/regex_automaton.h: Do not use std::set. | |
601 | * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(), | |
602 | _BracketMatcher<>::_M_add_collating_element(), | |
603 | _BracketMatcher<>::_M_add_equivalence_class(), | |
604 | _BracketMatcher<>::_M_make_range()): Likewise. | |
605 | * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()): | |
606 | Likewise. | |
607 | * include/bits/regex_executor.h: Do not use std::queue. | |
608 | * include/bits/regex_executor.tcc (_Executor<>::_M_main(), | |
609 | _Executor<>::_M_dfs()): Likewise. | |
610 | * include/std/regex: Remove <map>, <set> and <queue>. | |
611 | ||
612 | 2014-01-17 Tim Shen <timshen91@gmail.com> | |
613 | ||
614 | * include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(), | |
615 | basic_regex<>::assign()): Change __compile_nfa to accept | |
616 | const _CharT* only. | |
617 | * include/bits/regex_compiler.h: Change _Compiler's template | |
618 | argument from <_FwdIter, _TraitsT> to <_TraitsT>. | |
619 | * include/bits/regex_compiler.tcc: Likewise. | |
620 | ||
621 | 2014-01-17 Tim Shen <timshen91@gmail.com> | |
622 | ||
623 | * include/bits/regex_compiler.h: Change _ScannerT into char-type | |
624 | templated. | |
625 | * include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate | |
626 | _ScannerBase from _Scanner; Change _Scanner's template argument from | |
627 | _FwdIter to _CharT. Avoid use of std::map and std::set by using arrays | |
628 | instead. | |
629 | * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(), | |
630 | _Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(), | |
631 | _Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()): | |
632 | Likewise. | |
633 | * include/std/regex: Add <cstring> for using strchr. | |
634 | ||
635 | 2014-01-17 Tim Shen <timshen91@gmail.com> | |
636 | ||
637 | * bits/regex_automaton.tcc: Indentation fix. | |
638 | * bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>, | |
639 | _RegexTranslator<> _AnyMatcher<>, _CharMatcher<>, | |
640 | _BracketMatcher<>): Add bool option template parameters and | |
641 | specializations to make matching more efficient and space saving. | |
642 | * bits/regex_compiler.tcc: Likewise. | |
643 | ||
1bb59e05 FD |
644 | 2014-01-15 François Dumont <fdumont@gcc.gnu.org> |
645 | ||
9b7dc56e | 646 | PR libstdc++/59712 |
1bb59e05 FD |
647 | * include/bits/hashtable_policy.h: Fix some long lines. |
648 | * include/bits/hashtable.h (__hash_code_base_access): Define and | |
649 | use it to check its _M_bucket_index noexcept qualification. Use | |
650 | also in place of... | |
651 | (__access_protected_ctor): ...this. | |
652 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
653 | Adapt line number. | |
654 | * testsuite/23_containers/unordered_set/ | |
655 | not_default_constructible_hash_neg.cc: Likewise. | |
656 | ||
51835a80 FD |
657 | 2014-01-13 François Dumont <fdumont@gcc.gnu.org> |
658 | ||
659 | * include/debug/set.h (set): Implement C++11 allocator-aware | |
660 | container requirements. | |
661 | * include/debug/map.h (map): Likewise. | |
662 | * include/debug/multiset.h (multiset): Likewise. | |
663 | * include/debug/multimap.h (multimap): Likewise. | |
664 | * include/debug/set.h (set::operator=(set&&)): Add noexcept and | |
665 | fix implementation regarding management of safe iterators. | |
666 | * include/debug/map.h (map::operator=(map&&)): Likewise. | |
667 | * include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise. | |
668 | * include/debug/multimap.h (multimap::operator=(multimap&&)): | |
669 | Likewise. | |
670 | * include/debug/set.h (set::operator=(std::initializer_list<>)): | |
671 | Rely on the same operator from normal mode. | |
672 | * include/debug/map.h (map::operator=(std::initializer_list<>)): | |
673 | Likewise. | |
674 | * include/debug/multiset.h | |
675 | (multiset::operator=(std::initializer_list<>)): Likewise. | |
676 | * include/debug/multimap.h | |
677 | (multimap::operator=(std::initializer_list<>)): Likewise. | |
678 | * include/debug/set.h (set::swap(set&)): Add noexcept | |
679 | specification, add allocator equality check. | |
680 | * include/debug/map.h (map::swap(map&)): Likewise. | |
681 | * include/debug/multiset.h (multiset::swap(multiset&)): Likewise. | |
682 | * include/debug/multimap.h (multimap::swap(multimap&)): Likewise. | |
683 | ||
92bf1382 JW |
684 | 2014-01-10 Jonathan Wakely <jwakely@redhat.com> |
685 | ||
686 | PR libstdc++/59698 | |
687 | * doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup | |
688 | and stylistic improvements. | |
689 | * doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise | |
690 | and update for C++11. | |
691 | * doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise. | |
692 | ||
b1fb52ca JW |
693 | PR libstdc++/59687 |
694 | * doc/xml/manual/backwards_compatibility.xml | |
695 | (backwards.third.nocreate_noreplace): Correct and expand. | |
696 | ||
48c7451e JW |
697 | PR libstdc++/59699 |
698 | * doc/xml/manual/support.xml (std.support.types.null): Update links. | |
699 | ||
f0bc4aea JW |
700 | 2014-01-09 Jonathan Wakely <jwakely@redhat.com> |
701 | ||
702 | PR libstdc++/59738 | |
703 | * include/bits/stl_vector.h (vector<>::_M_move_assign): Restore | |
704 | support for non-Movable types. | |
705 | ||
4bc0ec32 JW |
706 | PR libstdc++/59680 |
707 | * src/c++11/thread.cc (__sleep_for): Fix call to ::sleep. | |
708 | ||
ace295af FD |
709 | 2014-01-08 François Dumont <fdumont@gcc.gnu.org> |
710 | ||
711 | * include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass | |
712 | *this allocator instance when building temporary vector instance | |
713 | so that *this allocator does not get moved. | |
714 | * include/debug/safe_base.h | |
715 | (_Safe_sequence_base(_Safe_sequence_base&&)): New. | |
716 | * include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new | |
717 | move constructor from _Safe_sequence_base. | |
718 | (__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap | |
719 | safe iterators if the instance is moved. | |
720 | (__gnu_debug::vector<>::operator=(vector&&)): Likewise. | |
721 | * testsuite/23_containers/vector/allocator/move.cc (test01): Add | |
722 | check on a vector iterator. | |
723 | * testsuite/23_containers/vector/allocator/move_assign.cc | |
724 | (test02): Likewise. | |
725 | (test03): New, test with a non-propagating allocator. | |
726 | * testsuite/23_containers/vector/debug/move_assign_neg.cc: New. | |
727 | ||
f43cc2a6 TS |
728 | 2014-01-07 Tim Shen <timshen91@gmail.com> |
729 | ||
730 | * include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(), | |
731 | _AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(), | |
732 | _CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(), | |
733 | _BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(), | |
734 | _BracketMatcher<>::_M_add_char(), | |
735 | _BracketMatcher<>::_M_add_collating_element(), | |
736 | _BracketMatcher<>::_M_add_equivalence_class(), | |
737 | _BracketMatcher<>::_M_add_character_class(), | |
738 | _BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(), | |
739 | _BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()): | |
740 | Fix _AnyMatcher behavior of POSIX style and move _M_flags | |
741 | to template parameter; Add cache for _BracketMatcher. Adjust | |
742 | declarations from here... | |
743 | * include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also, | |
744 | imbuing a regex will trigger a recompilation to rebuild the cache. | |
745 | * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(), | |
746 | _Compiler<>::_M_bracket_expression()): Adjust matchers' caller for | |
747 | different template bool parameters. | |
748 | * include/bits/regex_executor.h: Remove unnecessary declarations. | |
749 | * include/std/regex: Adjust including orders. | |
750 | * testsuite/28_regex/traits/char/user_defined.cc: New. | |
751 | * testsuite/28_regex/traits/wchar_t/user_defined.cc: New. | |
752 | ||
14c12d0d RO |
753 | 2014-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
754 | ||
755 | * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate. | |
756 | * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise. | |
757 | * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. | |
758 | * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. | |
759 | * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. | |
760 | ||
aa118a03 RS |
761 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
762 | ||
763 | Update copyright years | |
764 | ||
f9030485 RS |
765 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
766 | ||
767 | * testsuite/18_support/new_handler.cc, | |
768 | testsuite/18_support/terminate_handler.cc, | |
769 | testsuite/18_support/unexpected_handler.cc: Use the standard form for | |
770 | the copyright notice. | |
86a2db33 | 771 | \f |
94c13a09 | 772 | Copyright (C) 2014 Free Software Foundation, Inc. |
3cc6dd4d | 773 | |
86a2db33 JJ |
774 | Copying and distribution of this file, with or without modification, |
775 | are permitted in any medium without royalty provided the copyright | |
776 | notice and this notice are preserved. |