]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/ChangeLog
2015-05-29 François Dumont fdumont@gcc.gnu.org>
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
adad2a7d
FD
12015-05-29 François Dumont fdumont@gcc.gnu.org>
2
3 * include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
4 _GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
5 * include/debug/assertions.h: ...here, new.
6 * include/debug/formatter.h
7 (_Error_formatter::_Is_iterator_value_type): New.
8 (_Error_formatter::_Is_instance): New.
9 (_Error_formatter::_Parameter): Make public and not friend anymore.
10 (_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
11 (_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
12 entry.
13 (_Error_formatter::_Parameter::_Type): New.
14 (_Error_formatter::_Parameter::_Instance): New, inherit from
15 latter.
16 (union _Error_formatter::_Parameter::_M_variant): Reorganize.
17 (_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
18 overloads take iterator through a const reference.
19 (_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
20 New.
21 (_Parameter(const _Type&, const char*, _Is_instance)): New.
22 (_Error_formatter::_M_print_type): Delete.
23 (_Error_formatter::_M_iterator_value_type): New.
24 (_Error_formatter::_M_instance): New.
25 * include/Makefile.am: Add new above debug file.
26 * include/Makefile.in: Regenerate.
27 * include/debug/functions.h
28 (__check_dereferenceable(const _Safe_iterator<>&),
29 __valid_range(const _Safe_iterator<>&),
30 __is_safe_random_iterator<_Safe_iterator<>>): Move...
31 * include/debug/safe_iterator.h: ... here.
32 Replace debug.h include with assertions.h.
33 (__check_singular_aux): Move...
34 * include/debug/safe_base.h: ... here.
35 * include/debug/functions.h
36 (__check_dereferenceable(const _Safe_local_iterator<>&),
37 __valid_range(const _Safe_local_iterator<>&): Move...
38 * include/debug/safe_local_iterator.h: ...here.
39 * include/debug/safe_sequence.h: Replace debug.h with assertions.h.
40 Remove _Safe_iterator declaration.
41 * include/debug/safe_unordered_container.h: Replace debug.h with
42 assertions.h.
43 * include/debug/array: Replace safe_sequence.h include with
44 formatter.h and macros.h.
45 * include/debug/deque: Include functions.tcc.
46 * include/debug/forward_list: Likewise.
47 * include/debug/list: Likewise.
48 * include/debug/string: Likewise.
49 * include/debug/vector: Likewise.
50 * include/bits/unique_ptr.h: Replace debug.h include with new
51 assertions.h.
52 * include/bits/stl_iterator_base_funcs.h: Likewise.
53 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
54 Adjust dg-error line number.
55 * testsuite/23_containers/array/tuple_interface/
56 tuple_element_debug_neg.cc: Likewise.
57 * src/c++11/debug.cc: Adapt.
58
6759edde
JW
592015-05-29 Jonathan Wakely <jwakely@redhat.com>
60
cfba236a
JW
61 * doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
62 * doc/html/manual/*: Regenerate.
63
75eb6443
JW
64 * include/std/future (__async_result_of): New alias template.
65 (async): Use __async_result_of to pass decayed types to result_of.
66 * testsuite/30_threads/async/lwg2021.cc: New.
67 * doc/xml/manual/intro.xml: Document LWG 2021 status.
68
6759edde
JW
69 PR libstdc++/66327
70 * include/bits/stl_algobase.h (__equal<true>::equal): Do not call
71 memcmp with null pointers.
72 (__lexicographical_compare<true>::__lc): Do not call memcmp for empty
73 ranges.
74
6a344b95
JW
752015-05-28 Jonathan Wakely <jwakely@redhat.com>
76
ac3efa77
JW
77 PR libstdc++/65352
78 * include/profile/array (array::data): Use _S_ptr.
79 * include/debug/array (array::data): Likewise.
80
6a344b95
JW
81 PR libstdc++/65352
82 * include/std/array (__array_traits::_S_ptr): New function.
83 (array::data): Use _S_ptr to avoid creating invalid reference.
84 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
85 dg-error line numbers.
86 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
87 likewise.
88
2097b5b0
JW
892015-05-27 Jonathan Wakely <jwakely@redhat.com>
90
151fbaac
JW
91 * include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
92 instead of downcasting.
93 (_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
94 (_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
95 (_Rb_tree::_S_iter): Remove.
96 (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
97 (_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
98 instead of _S_lower_bound_tr
99 (_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
100 (_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
101 instead of calling _S_lower_bound_tr.
102 (_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
103 (_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
104 instead of calling _S_upper_bound_tr.
105 (_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
106 (_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
107 (_Rb_tree::equal_range): Use _Base_ptr for end pointer.
108 (_Rb_tree::_M_get_insert_unique_pos): Likewise.
109 (_Rb_tree::_M_get_insert_equal_pos): Likewise.
110 (_Rb_tree::_M_insert_equal_lower_node): Likewise.
111 (_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
112 _Rb_tree::_M_emplace_hint_unique): Remove static_cast.
113
2097b5b0
JW
114 PR libstdc++/66017
115 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
116 (_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
117 from _Base_ptr.
118 (_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
119 (_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
120 * include/ext/aligned_buffer.h (__aligned_membuf): New type using
121 alignment of _Tp as a member subobject, not as a complete object.
122 * python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
123 _Link_type manually as it might not be in the debug info.
124
419587a0
DE
1252015-05-26 Doug Evans <dje@google.com>
126
127 * python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
128 operator-> support.
129 * testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
130 operator->.
131
4a72a6dd
JW
1322015-05-26 Jonathan Wakely <jwakely@redhat.com>
133
134 * include/bits/locale_conv.h: Fix copyright years.
135 * include/bits/quoted_string.h: Likewise.
136 * src/filesystem/Makefile.am: Likewise.
137 * testsuite/22_locale/conversions/buffer/1.cc: Likewise.
138 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
139 Likewise.
140 * testsuite/22_locale/conversions/string/1.cc: Likewise.
141 * testsuite/22_locale/conversions/string/2.cc: Likewise.
142 * testsuite/22_locale/conversions/string/3.cc: Likewise.
143 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
144 Likewise.
145 * testsuite/22_locale/conversions/string/requirements/typedefs.cc:
146 Likewise.
147 * testsuite/util/testsuite_fs.h: Likewise.
148
e2897e23
FD
1492015-05-23 François Dumont fdumont@gcc.gnu.org>
150
151 PR libstdc++/64657
152 * include/debug/functions.h (__check_sorted_aux): Cast expression to
153 void.
154
e3592e19
DE
1552015-05-21 David Edelsohn <dje.gcc@gmail.com>
156
157 PR target/66224
158 * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
159 Don't use isync. Use lwsync if available.
160 * configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
161 powerpc cpu definition.
162
4177264e
JM
1632015-05-21 Jason Merrill <jason@redhat.com>
164
165 * libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
166 * libsupc++/del_op.cc: Likewise.
167
e3592e19 1682015-05-20 François Dumont fdumont@gcc.gnu.org>
fd2ef117 169
fa5cc2db
FD
170 * include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
171 usage of typeid.
172 (_Error_formatter::_M_print_type): New.
173 * src/c++11/debug.cc
174 (_Error_formatter::_Parameter::_M_print_field): Use latter.
175 (_Error_formatter::_M_print_type): Implement latter using
176 __cxaabiv1::__cxa_demangle to print demangled type name.
177
fd2ef117
FD
178 * include/bits/cpp_type_traits.h
179 (std::move_iterator): Delete declaration.
180 (std::__is_move_iterator<move_iterator>): Move partial specialization...
181 * include/bits/stl_iterator.h: ... here.
182 (std::__miter_base): Overloads for std::reverse_iterator and
183 std::move_iterator.
184 * include/bits/stl_algobase.h (std::__miter_base): Provide default
185 implementation.
186
793cac74
JW
1872015-05-20 Jonathan Wakely <jwakely@redhat.com>
188
7769c9de
JW
189 * testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
190
793cac74
JW
191 PR libstdc++/66078
192 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
193 overload for pointers.
194 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
195 808590.cc: Add -std=gnu++03 switch.
196 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
197 808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
198 * testsuite/23_containers/vector/modifiers/push_back/
199 strong_guarantee.cc: New.
200
8e725716
JW
2012015-05-19 Jonathan Wakely <jwakely@redhat.com>
202
203 * include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
204 (operator==(const list&, const list&)): If size() is O(1) compare
205 sizes before comparing each element.
206 * include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
207 (list::resize): Use _M_resize_pos.
208
90f0d176
FD
2092015-05-19 François Dumont <fdumont@gcc.gnu.org>
210
211 * testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
212 invocations.
213 * testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
214 * testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
215 * testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
216
49c65434
RR
2172015-05-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
218
219 * configure.host: Define cpu_defines_dir for ARM.
220 * config/cpu/arm/cpu_defines.h: New file.
221
e55b80f5
FD
2222015-05-17 François Dumont <fdumont@gcc.gnu.org>
223
224 * include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
225 missing constructors.
226 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
227 Likewise.
228 * include/debug/unordered_map (unordered_map, unordered_multimap): Add
229 missing constructors.
230 * include/debug/unordered_set (unordered_set, unordered_multiset):
231 Likewise.
232 * include/profile/unordered_map (unordered_map, unordered_multimap): Add
233 missing constructors.
234 * include/profile/unordered_set (unordered_set, unordered_multiset):
235 Likewise.
e55b80f5 236
9caf7b27
JW
2372015-05-15 Jonathan Wakely <jwakely@redhat.com>
238
239 * src/filesystem/ops.cc (stat_type): Define alias for struct stat and
240 use throughout the file.
241 (make_file_type): New function.
242 (file_size(const path&, error_code&)): Report an error for anything
243 that isn't a regular file.
244 (status(const path&), symlink_status(const path&)): Do not throw for
245 file_type::not_found.
246 (temp_directory_path()): Check additional environment variables.
247 * testsuite/experimental/filesystem/operations/exists.cc: New.
248 * testsuite/experimental/filesystem/operations/file_size.cc: New.
249 * testsuite/experimental/filesystem/operations/status.cc: New.
250 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
251 New.
252
ddbd742b
NM
2532015-05-14 Nathan Myers <ncm@cantrip.org>
254 Jonathan Wakely <jwakely@redhat.com>
255
256 PR libstdc++/66055
257 * include/std/unordered_map (unordered_map, unordered_multimap): Add
258 missing constructors.
259 * include/std/unordered_set (unordered_set, unordered_multiset):
260 Likewise.
261 * testsuite/23_containers/unordered_map/cons/66055.cc: New.
262 * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
263 * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
264 * testsuite/23_containers/unordered_set/cons/66055.cc: New.
265
0b9fc9fe
JW
2662015-05-14 Jonathan Wakely <jwakely@redhat.com>
267
a0c4531c
JW
268 PR libstdc++/66011
269 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
270 sendfile.
271 * config.h.in: Regenerate.
272 * configure: Regenerate.
273 * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
274 not return after copying contents. Use fchmod, fchmodat, and sendfile
275 when available.
276 (current_path, permissions, space): Use errno not return value.
277
0b9fc9fe
JW
278 PR libstdc++/66018
279 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
280 dirent.d_type.
281 * config.h.in: Regenerate.
282 * configure: Regenerate.
283 * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
284
9b92a9f3
EB
2852015-05-13 Eric Botcazou <ebotcazou@adacore.com>
286
287 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
288 * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
289 * config.h.in: Regenerate.
290 * configure: Likewise.
291 * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
292 __USING_SJLJ_EXCEPTIONS__.
293 * libsupc++/eh_throw.cc: Likewise.
294 * libsupc++/eh_ptr.cc: Likewise.
295 * doc/html/manual/appendix_porting.html: Remove
296 GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
297 * doc/xml/manual/build_hacking.xml: Likewise.
298 * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
299 * doc/xml/manual/configure.xml: Likewise.
300
32ff3768
JW
3012015-05-13 Jonathan Wakely <jwakely@redhat.com>
302
098aac94
JW
303 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
304 for nullptr (LWG 2415).
305 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
306 construction from empty unique_ptr.
307 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
308 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
309
49d50b6b
JW
310 * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
311 Define (LWG 2454).
312 * testsuite/20_util/raw_storage_iterator/base.cc: New.
313
e6508eaf
JW
314 * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
315 Remove explicit (LWG 2407).
316
bcb896ab
JW
317 * include/bits/basic_string.h (basic_string::basic_string()): Make
318 noexcept conditional on allocator (LWG 2455).
319
d0cad9fe
JW
320 * include/std/complex (polar): Check for negative rho (LWG 2459).
321
ac68f97c
JW
322 * include/experimental/tuple (apply): Handle pointers to member (LWG
323 2418).
324 * include/std/functional (_Mem_fn_base): Make constructors constexpr.
325 (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
326 * testsuite/experimental/tuple/apply.cc: Test pointer to member.
327
9933eb86
JW
328 * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
329
32e6a60e
JW
330 * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
331 * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
332 * testsuite/23_containers/forward_list/allocator/minimal.cc:
333 Likewise.
334 * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
335 * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
336 * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
337 * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
338 * testsuite/23_containers/unordered_map/allocator/minimal.cc:
339 Likewise.
340 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
341 Likewise.
342 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
343 Likewise.
344 * testsuite/23_containers/unordered_set/allocator/minimal.cc:
345 Likewise.
346 * testsuite/util/testsuite_allocator.h: Remove unused parameter.
347
32ff3768
JW
348 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
349 * configure: Regenerate.
350
6ef93676
MH
3512015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
352
353 * Makefile.in: Regenerated with automake-1.11.6.
354 * aclocal.m4: Likewise.
355 * configure: Likewise.
356 * doc/Makefile.in: Likewise.
357 * include/Makefile.in: Likewise.
358 * libsupc++/Makefile.in: Likewise.
359 * po/Makefile.in: Likewise.
360 * python/Makefile.in: Likewise.
361 * src/Makefile.in: Likewise.
362 * src/c++11/Makefile.in: Likewise.
363 * src/c++98/Makefile.in: Likewise.
364 * src/filesystem/Makefile.in: Likewise.
365 * testsuite/Makefile.in: Likewise.
366
839473d0
JM
3672015-05-09 Jason Merrill <jason@redhat.com>
368
369 * testsuite/20_util/headers/functional/synopsis.cc: Add
370 _GLIBCXX14_CONSTEXPR.
371 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
372
6cd9cb89
JM
3732015-05-08 Jason Merrill <jason@redhat.com>
374
f8356d52
JM
375 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
376 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
377 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
378 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
379 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
380 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
381 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
382 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
383 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
384 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
e2897e23
FD
385 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
386 Likewise.
f8356d52 387 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
e2897e23
FD
388 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
389 Adjust expected errors.
390 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
391 Likewise.
392 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
393 Likewise.
394 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
395 Likewise.
396 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
397 Likewise.
398 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
399 Likewise.
400 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
401 Likewise.
402 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
403 Likewise.
404 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
405 Likewise.
406 * testsuite/23_containers/vector/requirements/dr438
407 /constructor_1_neg.cc: Likewise.
408 * testsuite/23_containers/vector/requirements/dr438
409 /constructor_2_neg.cc: Likewise.
410 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
411 Likewise.
f8356d52
JM
412 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
413 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
414 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
415 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
e2897e23
FD
416 * testsuite/ext/array_allocator/check_allocate_max_size.cc:
417 Add -Wno-deprecated.
418 * testsuite/ext/array_allocator/check_deallocate_null.cc:
419 Add -Wno-deprecated.
f8356d52
JM
420 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
421 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
422 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
e2897e23
FD
423 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
424 Add -std=c++98.
425 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
426 Add -std=c++98.
427 * testsuite/tr1/2_general_utilities/shared_ptr/assign
428 /auto_ptr_rvalue_neg.cc: Add -std=c++98.
429 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
430 Add -std=c++98 -fno-show-column.
431 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
432 Add -std=c++98.
433 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
434 Add -std=c++98.
f8356d52
JM
435 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
436 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
437
6cd9cb89
JM
438 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
439 * src/c++98/Makefile.in: Regenerate.
440 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
441 * src/Makefile.in: Regenerate.
442
6c0b8a53
JW
4432015-05-02 Jonathan Wakely <jwakely@redhat.com>
444
f6341d8d
JW
445 PR libstdc++/51617
446 * include/std/future (async): Change default policy to launch::async.
447
563777d7
JW
448 * include/experimental/any (any::_Storage): Fix alignment of buffer.
449 (any::_Internal): Check alignment of type.
450 * testsuite/experimental/any/cons/aligned.cc: New.
451 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
452
b4f504de
JW
453 * include/experimental/iterator (ostream_joiner): Simplify by using
454 the injected-class-name and the ostream_type typedef.
455
a623b6f0
JW
456 * include/experimental/iterator: New. Define ostream_joiner.
457 * include/Makefile.am: Add new header.
458 * include/Makefile.in: Regenerate.
459 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
460 * testsuite/experimental/iterator/ostream_joiner.cc: New.
461 * testsuite/experimental/iterator/requirements.cc: New.
462 * doc/xml/manual/status_cxx2017.xml: Update status.
463 * doc/html/manual/status.html: Regenerate.
464
6c0b8a53
JW
465 * include/experimental/numeric: New. Define gcd and lcm.
466 * include/Makefile.am: Add new header.
467 * include/Makefile.in: Regenerate.
468 * testsuite/experimental/numeric/gcd.cc: New.
469 * testsuite/experimental/numeric/lcm.cc: New.
470 * doc/xml/manual/status_cxx2017.xml: Update status.
471 * doc/html/manual/status.html: Regenerate.
472
fe4b6acb
ESR
4732015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
474
475 Revert addition of feature macros from other headers per latest SD-6.
6c0b8a53
JW
476 * include/experimental/deque: Remove feature-test macro.
477 * include/experimental/forward_list: Ditto.
478 * include/experimental/list: Ditto.
479 * include/experimental/map: Ditto.
480 * include/experimental/set: Ditto.
481 * include/experimental/string: Ditto.
482 * include/experimental/unordered_map: Ditto.
483 * include/experimental/unordered_set: Ditto.
fe4b6acb 484
58f270df
JW
4852015-05-02 Jonathan Wakely <jwakely@redhat.com>
486
9407c6fa
JW
487 * include/experimental/any (any::_Storage): Make non-copyable.
488 (any::any): Do not copy _Storage object.
489 (any::operator=): Implement more efficiently than swapping.
490 (any::swap): Use new _Op_xfer operation.
491 (any::_Op::_Op_xfer): New enumerator.
492 (_Manager_internal::_S_alloc): Remove unused function.
493 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
494 parameter instead of returning a _Storage object.
495 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
496 _Op_xfer operation for moving and swapping.
497 * testsuite/experimental/any/cons/nontrivial.cc: New.
498 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
499
5b244a78
JW
500 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
501 Declare.
502 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
503 Define.
504
cb2ef49e
JW
505 PR libstdc++/65978
506 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
507 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
508 and fix tests for forward_as_tuple and tie.
509
58f270df
JW
510 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
511 Set timespec members explicitly instead of with a braced-init-list.
512 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
513
9c0717ed
ESR
5142015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
515
516 * include/experimental/deque: Add feature-test macro.
517 * include/experimental/forward_list: Ditto.
518 * include/experimental/list: Ditto.
519 * include/experimental/map: Ditto.
520 * include/experimental/set: Ditto.
521 * include/experimental/string: Ditto.
522 * include/experimental/unordered_map: Ditto.
523 * include/experimental/unordered_set: Ditto.
524
64b07900
JW
5252015-05-01 Jonathan Wakely <jwakely@redhat.com>
526
b275f0cb
JW
527 * include/experimental/memory: Correct feature-test macro.
528
64b07900
JW
529 * include/experimental/memory: Add feature-test macro.
530 * include/experimental/vector: Likewise.
531 * doc/xml/manual/status_cxx2017.xml: Update status.
532 * doc/html/manual/status.html: Regenerate.
533
261b7e8a
VV
5342015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
535
536 Implement observer_ptr.
537 * include/Makefile.am: Add new header.
538 * include/Makefile.in: Regenerate.
539 * include/experimental/memory: New.
540 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
541 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
542 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
543 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
544 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
545 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
546 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
547 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
548
ce1b114a
JW
5492015-05-01 Jonathan Wakely <jwakely@redhat.com>
550
4ad37627
JW
551 * src/filesystem/path.cc (path::compare): Do not copy strings.
552
bf53e6a9
JW
553 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
554 is not available.
555 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
556 * configure: Regenerate.
557 * config.h.in: Regenerate.
558 * configure.ac: Check for utime.h
559 * include/experimental/fs_path.h (path::string<>)
560 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
561 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
562 closedir, dirent, readdir_r): Replace dummy functions with #error.
563 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
564 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
565 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
566 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
567 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
568 error_code.
569
a00d74c4
JW
570 * include/experimental/fs_path.h (path::_List): Use vector instead of
571 list.
572 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
573 * src/filesystem/path.cc: Use std::prev instead of decrementing
574 rvalues. Fix whitespace.
575 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
576 Do not decrement iterators before begin.
577
d6e023f3
JW
578 * include/experimental/fs_dir.h: Fix use of non-reserved names.
579 * include/experimental/fs_ops.h: Likewise.
580 * include/experimental/fs_path.h: Likewise.
581 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
582 C++11 when checking for support.
583
e9cd0064
JW
584 * include/bits/locale_classes.h (locale::facet): Delete copy
585 operations in C++11 mode.
586
ff0164b4
JW
587 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
588
ce1b114a
JW
589 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
590 * configure: Regenerate.
591
ea365e01
ESR
5922015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
593
594 Inline one-line erasure dispatch functions.
595 * include/experimental/forward_list (erase_if(), erase()): Inline.
596 * include/experimental/list (erase_if(), erase()): Inline.
597 * include/experimental/map (erase_if(*)): Inline.
598 * include/experimental/set (erase_if(*)): Inline.
599 * include/experimental/string (erase_if(), erase()): Inline.
600 * include/experimental/unordered_map (erase_if(*)): Inline.
601 * include/experimental/unordered_set (erase_if(*)): Inline.
602
6fc456c3
JW
6032015-05-01 Jonathan Wakely <jwakely@redhat.com>
604
1d15ed75
JW
605 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
606 * doc/xml/manual/status_cxx2011.xml: Update status tables.
607 * doc/xml/manual/status_cxx2014.xml: Likewise.
608 * doc/xml/manual/status_cxx2017.xml: New.
609 * doc/xml/manual/using.xml: Fix typo.
610 * doc/html/*: Regenerate.
611
6fc456c3
JW
612 * include/std/memory (pointer_safety, declare_reachable,
613 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
614 get_pointer_safety): Define.
615 * testsuite/20_util/pointer_safety/1.cc: New.
616
0ca7ba9a
JW
6172015-04-30 Jonathan Wakely <jwakely@redhat.com>
618
619 Implement N4100 File System TS
620 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
621 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
622 * config.h.in: Regenerate.
623 * configure: Regenerate.
624 * configure.ac: Enable filesystem TS and check its dependencies.
625 * include/Makefile.am: Add new headers.
626 * include/Makefile.in: Regenerate.
627 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
628 __str_codecvt_out): Move code conversion logic from wstring_convert
629 into new global functions.
630 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
631 functions.
632 (wstring_convert::_M_conv): Remove.
633 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
634 * include/experimental/filesystem: New.
635 * include/experimental/fs_dir.h: New.
636 * include/experimental/fs_fwd.h: New.
637 * include/experimental/fs_ops.h: New.
638 * include/experimental/fs_path.h: New.
639 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
640 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
641 * src/Makefile.am (SUBDIRS): Add filesystem.
642 * src/Makefile.in: Regenerate.
643 * src/filesystem/Makefile.am: New.
644 * src/filesystem/Makefile.in: New.
645 * src/filesystem/dir.cc: New.
646 * src/filesystem/ops.cc: New.
647 * src/filesystem/path.cc: New.
648 * testsuite/experimental/filesystem/operations/absolute.cc: New.
649 * testsuite/experimental/filesystem/operations/copy.cc: New.
650 * testsuite/experimental/filesystem/operations/current_path.cc: New.
651 * testsuite/experimental/filesystem/path/append/path.cc: New.
652 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
653 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
654 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
655 * testsuite/experimental/filesystem/path/compare/path.cc: New.
656 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
657 * testsuite/experimental/filesystem/path/concat/path.cc: New.
658 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
659 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
660 * testsuite/experimental/filesystem/path/construct/default.cc: New.
661 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
662 * testsuite/experimental/filesystem/path/construct/range.cc: New.
663 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
664 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
665 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
666 New.
667 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
668 New.
669 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
670 New.
671 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
672 New.
673 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
674 New.
675 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
676 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
677 New.
678 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
679 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
680 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
681 New.
682 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
683 New.
684 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
685 New.
686 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
687 New.
688 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
689 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
690 * testsuite/experimental/filesystem/path/query/empty.cc: New.
691 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
692 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
693 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
694 New.
695 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
696 New.
697 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
698 New.
699 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
700 New.
701 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
702 New.
703 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
704 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
705 * testsuite/util/testsuite_fs.h: New.
706
c0b12dad
ESR
7072015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
708
709 Add fundamentals TR container erasure.
710 * include/Makefile.am: Add new headers.
711 * include/Makefile.in: Add new headers.
712 * include/experimental/array: New.
713 * include/experimental/deque: New.
714 * include/experimental/erase_if.tcc: New.
715 * include/experimental/forward_list: New.
716 * include/experimental/list: New.
717 * include/experimental/map: New.
718 * include/experimental/set: New.
719 * include/experimental/string: New.
720 * include/experimental/unordered_map: New.
721 * include/experimental/unordered_set: New.
722 * include/experimental/vector: New.
723 * testsuite/experimental/deque/erasure.cc: New.
724 * testsuite/experimental/forward_list/erasure.cc: New.
725 * testsuite/experimental/list/erasure.cc: New.
726 * testsuite/experimental/map/erasure.cc: New.
727 * testsuite/experimental/set/erasure.cc: New.
728 * testsuite/experimental/string/erasure.cc: New.
729 * testsuite/experimental/unordered_map/erasure.cc: New.
730 * testsuite/experimental/unordered_set/erasure.cc: New.
731 * testsuite/experimental/vector/erasure.cc: New.
732
e1c444fe
FD
7332015-04-30 François Dumont <fdumont@gcc.gnu.org>
734
735 * include/bits/cpp_type_traits.h
736 (__gnu_cxx::__is_normal_iterator): Delete.
737 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
738 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
739 (std::__niter_base): Overloads for std::reverse_iterator,
740 __gnu_cxx::__normal_iterator and std::move_iterator.
741
2f132d1d
FD
7422015-04-30 François Dumont <fdumont@gcc.gnu.org>
743
744 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
745 Delete.
746 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
747 Remove usage of latter and compute size of the prime numbers array
748 locally.
749
8996b63b
DE
7502015-04-29 Doug Evans <dje@google.com>
751
752 PR libstdc++/65839
753 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
754 Replace all lookups of "bool" with this.
755 (get_std_size_type): New function. Replace all lookups of std::size_t
756 with this.
757 (*Worker): New method get_result_type.
758 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
759 (ListWorkerBase.__init__): New arg val_type. All callers updated.
760 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
761 Delete setting of name, enabled.
762 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
763 updated. Delete setting of name.
764 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
765 libstdc++ xmethod matchers.
766 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
767 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
768 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
769 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
770 * testsuite/libstdc++-xmethods/list.cc: Ditto.
771 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
772 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
773
b693b879
DE
7742015-04-29 Doug Evans <dje@google.com>
775
776 Use consistent naming for value type attributes.
777 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
778 to _val_type.
779 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
780 (ArrayFrontWorker, ArrayBackWorker): Ditto.
781 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
782 (DequeWorkerBase): Rename elemtype to val_type.
783 (ForwardListWorkerBase): Rename _elem_type to _val_type.
784 (ForwardListFrontWorker): Ditto. And rename elem_address to
785 val_address.
786 (ForwardListMethodsMatcher): Rename elem_type to val_type.
787 (VectorWorkerBase): Rename _elemtype to _val_type.
788
f970a17d
JW
7892015-04-29 Jonathan Wakely <jwakely@redhat.com>
790
952bc7a6
JW
791 PR libstdc++/65760
792 * include/std/functional (__check_func_return_type): Use is_same to
793 avoid using _is_convertible on incomplete types.
794 * testsuite/20_util/function/65760.cc: New.
795
f970a17d
JW
796 PR libstdc++/64657
797 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
798 expression to void.
799 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
800 time_get::_M_extract_num, time_get::_M_extract_name,
801 time_get::_M_extract_wday_or_month): Likewise.
802 * include/bits/stl_algo.h (__includes, __replace_copy_if,
803 __is_sorted_until, __is_permutation, transform): Likewise.
804 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
805 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
806 * include/bits/stl_numeric.h (inner_product): Likewise.
807 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
808 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
809 input_iterator_wrapper): Declare unusable comma operator.
810 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
811 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
812 New.
813
874ef163
DE
8142015-04-28 Doug Evans <dje@google.com>
815
816 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
817 Define to zero.
818
2e7e2075
JW
8192015-04-28 Jonathan Wakely <jwakely@redhat.com>
820
821 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
822 implementations.
823
0088583b
JW
8242015-04-28 Jonathan Wakely <jwakely@redhat.com>
825
826 * Makefile.am (SUBDIRS): Move python to hosted_source.
827 * Makefile.in: Regenerate.
828 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
829 * configure: Regenerate.
830
fa9ac912
MG
8312015-04-28 Marc Glisse <marc.glisse@inria.fr>
832
833 PR libstdc++/65883
834 * include/std/limits (numeric_limits): Add missing unsigned.
835
77e95469
SB
8362015-04-28 Stephan Bergmann <sbergman@redhat.com>
837
838 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
839
bd1eb5e0
JW
8402015-04-28 Jonathan Wakely <jwakely@redhat.com>
841
73d81d3a
JW
842 PR libstdc++/60333
843 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
844 Handle enumeration types larger than sizeof(long).
845 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
846 make it signed.
847 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
848 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
849 Likewise.
850 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
851 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
852 dg-error.
853 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
854
956d1814
JW
855 PR libstdc++/61645
856 * include/bits/forward_list.h (forward_list::splice_after): Add
857 noexcept.
858 * include/bits/forward_list.tcc (forward_list::splice_after):
859 Likewise.
860
d747ee05
JW
861 PR libstdc++/65631
862 * include/bits/random.h (seed_seq) Define copy constructor and copy
863 assignment as deleted.
864 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
865
196e0493
JW
866 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
867 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
868 Use -std=gnu++1z. Check feature-test macro.
869
bd1eb5e0
JW
870 * include/std/type_traits (void_t): Add.
871 * testsuite/20_util/void_t/1.cc: New.
872
e4846be7
TS
8732015-04-28 Tim Shen <timshen@google.com>
874
875 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
876 * include/bits/regex_automaton.tcc: Throw exception when parsing
877 back-reference with flag __polynomial.
878 * include/bits/regex_constants.h: Add extension flag
879 syntax_option_type __polynomial.
880 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
881 Alternative operation will be fixed in the coming refactoring.
882 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
883 loose match_search_debug to use DFS only.
884
1a9f2592
SL
8852015-04-27 Sandra Loosemore <sandra@codesourcery.com>
886
887 PR libstdc++/65909
888 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
889 Make the generated test program fail gracefully if the target
890 doesn't support passing command-line arguments.
891
03e73da6
FL
8922015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
893 Jonathan Wakely <jwakely@redhat.com>
894
895 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
896 Return false or zero if the library is built without exceptions.
897 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
898 the library is built without exceptions.
899
03a16cc4
VV
9002015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
901
913ae610
VV
902 * config/abi/pre/gnu.ver: Fix comment.
903
03a16cc4
VV
904 Add support for std::uncaught_exceptions.
905 * acinclude.m4: Bump libtool_VERSION.
906 * config/abi/pre/gnu.ver: Export the new symbol.
907 * configure: Regenerate.
908 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
909 * libsupc++/exception (uncaught_exceptions): New.
910 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
911 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
912
f5eedc39
DP
9132015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
914 Michael Hanselmann <public@hansmi.ch>
915
916 PR libstdc++/62258
917 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
918 uncaught exceptions.
919 * testsuite/18_support/exception_ptr/62258.cc: New.
920
991607ab
JW
9212015-04-27 Jonathan Wakely <jwakely@redhat.com>
922
923 * doc/xml/manual/extensions.xml: Add cross-reference.
924 * doc/html/manual/ext_compile_checks.html: Regenerate.
925
85da5c30
SN
9262015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
927
928 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
929 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
930
04934297
RL
9312015-04-22 Renlin Li <renlin.li@arm.com>
932
933 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
934 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
935 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
936 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
937 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
938
0ee59f1f
JW
9392015-04-21 Jonathan Wakely <jwakely@redhat.com>
940
8a29fdfd
JW
941 * doc/xml/manual/configure.xml: Update descriptions of options
942 affecting dual ABI and add cross-references.
943 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
944 * doc/xml/manual/using.xml: Document ABI transition.
945 * doc/html/*: Regenerate.
946
0ee59f1f
JW
947 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
948 * doc/xml/manual/using.xml: Document newer -std options. Use better
949 examples of nested namespaces.
950
9adc2d48
JW
9512015-04-20 Jonathan Wakely <jwakely@redhat.com>
952
953 * doc/xml/manual/concurrency_extensions.xml: Update documentation
954 on atomics.
955 * doc/xml/manual/using.xml: Likewise. Improve markup.
956 * doc/html/*: Regenerate.
957
eea6e989
RO
9582015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
959
960 * scripts/extract_symvers.pl: Ignore elfdump error output.
961
194571f1
MG
9622015-04-14 Marc Glisse <marc.glisse@inria.fr>
963
964 PR libstdc++/61347
965 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
966 _List_const_iterator): Declare.
967 (__distance): Declare new overloads for _List_iterator and
968 _List_const_iterator.
969 * include/bits/stl_list.h (__distance): New overloads for
970 _List_iterator and _List_const_iterator.
971 * testsuite/23_containers/list/61347.cc: New testcase.
972
453e2916
JW
9732015-04-14 Jonathan Wakely <jwakely@redhat.com>
974
975 * doc/xml/manual/evolution.xml: Fix typos.
976 * doc/html/manual/api.html: Regenerate.
977
03576259
HPN
9782015-04-14 Hans-Peter Nilsson <hp@axis.com>
979
980 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
981 alignment is larger-equal, not equal, to default alignment.
982
1fcbcb6b
JW
9832015-04-13 Jonathan Wakely <jwakely@redhat.com>
984
985 PR libstdc++/65754
986 * config/abi/pre/gnu.ver: Export base object constructors for
987 fstreams.
988 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
989 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
990 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
991 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
992 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
993 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
994 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
995 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
996 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
997 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
998 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
999 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1000 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1001 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1002 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1003 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1004 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1005 * testsuite/27_io/basic_fstream/cons/base.cc: New.
1006
040175d5
JW
10072015-04-13 Jonathan Wakely <jwakely@redhat.com>
1008
1009 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
1010 * doc/html/*: Regenerate.
1011
a5701316
UB
10122015-04-12 Uros Bizjak <ubizjak@gmail.com>
1013
1014 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
1015
2fb17d35
AS
10162015-04-10 Andreas Schwab <schwab@linux-m68k.org>
1017
cb86fa22
AS
1018 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
1019
2fb17d35
AS
1020 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
1021
cd80c79c
JW
10222015-04-10 Jonathan Wakely <jwakely@redhat.com>
1023
1024 * doc/xml/manual/test.xml: Improve documentation on running a subset
1025 of tests.
1026 * doc/html/manual/test.html: Regenerate.
1027
00778bed
BS
10282015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1029
1030 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
1031 for GCC 5.1 release.
1032 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1033 Likewise.
1034
43b0e124
JW
10352015-04-10 Jonathan Wakely <jwakely@redhat.com>
1036
1037 * include/std/shared_mutex (shared_timed_mutex): Add comments to
1038 explain the logic in the non-pthread_rwlock_t version.
1039 (_Mutex): Remove redundant type.
1040 (_M_n_readers): Rename to _S_max_readers.
1041 (_M_write_entered, _M_readers): New convenience functions.
1042 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
1043 functions. Use predicates with condition variables. Simplify bitwise
1044 operations.
1045 (try_lock_for, try_shared_lock_for): Convert duration to time_point
1046 and call try_lock_until or try_shared_lock_until respectively.
1047 (try_lock_until, try_shared_lock_until): Wait on the condition
1048 variables until the specified time passes.
1049 (unlock): Add Debug Mode assertion.
1050 (unlock_shared): Add Debug Mode assertion.
1051 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
1052
c3d71b62
JW
1053 * include/std/shared_mutex (shared_timed_mutex): Only use
1054 pthread_rwlock_t when the POSIX Timeouts option is supported.
1055 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
1056 dg-require-gthreads-timed.
1057 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
1058 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
1059 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
1060
1bf13744
L
10612015-04-09 H.J. Lu <hongjiu.lu@intel.com>
1062
1063 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
1064
4cbaaa45
JW
10652015-04-09 Jonathan Wakely <jwakely@redhat.com>
1066 Richard Henderson <rth@redhat.com>
1067
1068 PR libstdc++/65147
1069 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
1070 alignment.
1071 * include/std/atomic (atomic): For types with a power of two size set
1072 alignment to at least the size.
1073 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1074 * testsuite/29_atomics/atomic/65147.cc: New.
1075 * testsuite/29_atomics/atomic_integral/65147.cc: New.
1076
9a165842
RO
10772015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1078
1079 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
1080 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1081 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1082
466df27b
JJ
10832015-04-07 Jakub Jelinek <jakub@redhat.com>
1084
1085 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
1086 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1087 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1088 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
1089 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
1090 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
1091 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
1092 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
1093
744e26e7
JW
10942015-03-30 Jonathan Wakely <jwakely@redhat.com>
1095
1096 PR libstdc++/65630
1097 * config/abi/pre/gnu.ver: Export operator+ for new strings.
1098 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
1099 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
1100
28943113
TS
11012015-03-28 Tim Shen <timshen@google.com>
1102
1103 PR libstdc++/65420
1104 * include/bits/regex_constants.h: Use constexpr variables for flags.
1105 * testsuite/28_regex/constants/constexpr.cc: New testcase.
1106
04f69fda
JW
11072015-03-27 Jonathan Wakely <jwakely@redhat.com>
1108
1109 PR libstdc++/65499
1110 * include/std/chrono: Add using-directive for literals to std::chrono.
1111 * testsuite/20_util/duration/literals/65499.cc: New.
1112
d1a74a28
JW
11132015-03-26 Jonathan Wakely <jwakely@redhat.com>
1114
1115 PR libstdc++/58038
1116 PR libstdc++/60421
1117 * include/std/thread (this_thread::sleep_for): Check for negative
1118 durations.
1119 (this_thread::sleep_until): Check for times in the past.
1120 * testsuite/30_threads/this_thread/58038.cc: New.
1121 * testsuite/30_threads/this_thread/60421.cc: New.
1122
4280698d
JW
11232015-03-26 Jonathan Wakely <jwakely@redhat.com>
1124
1125 PR libstdc++/62259
1126 PR libstdc++/65147
1127 * include/std/atomic (atomic<T>): Increase alignment for types with
1128 the same size as one of the integral types.
1129 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1130 * testsuite/29_atomics/atomic/62259.cc: New.
1131
8be56851
RH
11322015-03-26 Richard Henderson <rth@redhat.com>
1133
1134 PR libstdc++/65033
1135 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
1136 a fake pointer indicating type alignment.
1137 (__atomic_base<T *>::is_lock_free): Likewise.
1138 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
1139
28fda0c4
AL
11402015-03-25 Alan Lawrence <alan.lawrence@arm.com>
1141
1142 PR libstdc++/33394
1143 * testsuite/21_strings/basic_string/pthread33394.cc: Use
1144 dg-additional-options.
1145
ea348bbe
PC
11462015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
1147
1148 PR libstdc++/65543
1149 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
1150 thinko in r150387.
1151 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
1152 Likewise.
1153 * testsuite/27_io/rvalue_streams-2.cc: New.
1154
9ccd0dba
JW
11552015-03-24 Jonathan Wakely <jwakely@redhat.com>
1156
1157 PR libstdc++/33394
1158 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
1159
8dcf3d3c
JW
11602015-03-23 Jonathan Wakely <jwakely@redhat.com>
1161
1162 PR libstdc++/64967
1163 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
1164 * configure: Regenerate.
1165 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
1166 system_category): Use macros for versioned namespace.
1167 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
1168
c00acee4
JG
11692015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
1170
1171 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
1172 test for unused for ARM.
1173 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
1174 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
1175
df6d9c7f
JW
11762015-03-20 Jonathan Wakely <jwakely@redhat.com>
1177
1178 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
1179 * include/ext/codecvt_specializations.h (encoding_state,
1180 encoding_char_traits): Remove abi-tag and use inline namespace.
1181 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
1182
7cb73573
JM
11832015-03-19 Jason Merrill <jason@redhat.com>
1184
1185 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
1186 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
1187
168ad5f5
JW
11882015-03-18 Jonathan Wakely <jwakely@redhat.com>
1189
1190 PR c++/65046
1191 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
1192 get_catalogs): Add abi-tag.
1193 * include/ext/codecvt_specializations.h (encoding_state,
1194 encoding_char_traits): Likewise.
1195 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
1196 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
1197 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
1198 money_get_shim, money_put_shim, messages_shim): Likewise.
1199 * src/c++11/future.cc (future_error_category::message): Likewise.
1200 * src/c++11/system_error.cc (generic_error_category::message,
1201 system_error_category::message): Likewise.
1202 (__sso_string): Disable -Wabi-tag warnings.
1203
2a9611d0
JW
12042015-03-18 Jonathan Wakely <jwakely@redhat.com>
1205
1206 PR libstdc++/13631
1207 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
1208 implementation for old glibc. Fix whitespace.
1209
5e0216f1
JW
12102015-03-18 Jonathan Wakely <jwakely@redhat.com>
1211 Torvald Riegel <triegel@redhat.com>
1212
1213 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
1214 * config.h.in: Regenerate.
1215 * configure: Regenerate.
1216 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
1217 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
1218 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
1219 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
1220 EDEADLK.
1221
95f2fd9c
JW
12222015-03-17 Jonathan Wakely <jwakely@redhat.com>
1223
1224 * libsupc++/nested_exception.h: Do not try to derive from final
1225 classes.
1226 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
1227 final class.
1228
1c6f4a14
JW
1229 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
1230 unused exception variable.
1231 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
1232 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
1233 test.
1234 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
1235
9b78b1e7
JW
12362015-03-13 Jonathan Wakely <jwakely@redhat.com>
1237
1238 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
1239 * configure: Regenerate.
1240
e83a01c3
JW
1241 * include/experimental/system_error: Fix include guard.
1242
04a17093
RL
12432015-03-12 Renlin Li <renlin.li@arm.com>
1244
1245 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
1246 wrapped target.
1247
84839a51
TS
12482015-03-10 Tim Shen <timshen@google.com>
1249
1250 PR libstdc++/64441
1251 * include/bits/regex.h (match_results<>::size,
1252 match_results<>::position, match_results<>::str,
1253 match_results<>::operator[], match_results<>::prefix,
1254 match_results<>::suffix, match_results<>::end,
1255 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
1256 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
1257 global __unmatched_sub. Add unmatched submatch as part of
1258 match_results.
1259 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
1260 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
1261 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
1262 New testcases.
1263
d2e0c00b
JW
12642015-03-09 Jonathan Wakely <jwakely@redhat.com>
1265
1266 PR libstdc++/64467
1267 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
1268 for newlib targets. Really fix mixed line-endings this time.
1269
664e99ea
JW
12702015-03-06 Jonathan Wakely <jwakely@redhat.com>
1271
1272 * include/std/future (future_error(error_code)): Construct base
1273 class with error_code's message.
1274 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
1275 temporary string.
1276
9933260f
JW
12772015-03-05 Jonathan Wakely <jwakely@redhat.com>
1278
1279 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1280 noconv result.
1281 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
1282 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
1283
b6584a72
JW
12842015-03-04 Jonathan Wakely <jwakely@redhat.com>
1285
1286 PR libstdc++/64797
1287 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1288 incomplete multibyte sequences correctly.
1289 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
1290 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
1291 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
1292 Define constants.
1293 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
1294 Define convenience functions.
1295 (read_utf8_code_point): Return relevant constant to distinguish
1296 incomplete characters from invalid sequences.
1297 (read_utf16_code_point): Likewise. Check for invalid sequences.
1298 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
1299 (utf16_out): Check for invalid sequences.
1300 (utf16_span): Fix condition.
1301 (ucs2_out): Use is_high_surrogate.
1302 (ucs2_in): Use incomplete_mb_character constant and fix condition.
1303 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
1304 * testsuite/22_locale/conversions/buffer/1.cc: New.
1305 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
1306 char32_t instead of wchar_t.
1307 * testsuite/22_locale/conversions/string/3.cc: New.
1308
71ca36ba
IS
13092015-03-03 Iain Sandoe <iain@codesourcery.com>
1310
1311 PR libstdc++/64883
1312 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
1313 visibility for Darwin.
1314 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
1315 also deprecated.
1316 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
1317
9d8dbe73
JW
13182015-03-02 Jonathan Wakely <jwakely@redhat.com>
1319
1320 PR libstdc++/65279
1321 * include/std/scoped_allocator (__inner_type_impl,
1322 scoped_allocator_adaptor): Add defaulted copy assignment and move
1323 assignment operators.
1324 * testsuite/20_util/scoped_allocator/65279.cc: New.
1325
e59a2e94
JW
13262015-03-02 Jonathan Wakely <jwakely@redhat.com>
1327
1328 PR libstdc++/64367
1329 * include/std/stdexcept (__sso_string): Don't use non-static member
1330 in sizeof.
1331
f083b434
MK
13322015-02-28 Matthias Klose <doko@ubuntu.com>
1333
1334 PR libstdc++/65246
1335 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
1336
1d5f1ff2
JW
13372015-02-22 Jonathan Wakely <jwakely@redhat.com>
1338
1339 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
1340 * doc/html/manual/status.html: Regenerate.
1341
deaa1ccb
JW
13422015-02-20 Jonathan Wakely <jwakely@redhat.com>
1343
1344 PR libstdc++/64695
1345 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
1346 tuple layout.
1347
b56ac9d5
JW
1348 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
1349 behavior.
1350 * doc/html/manual/status.html: Regenerate.
1351
87839f22
JW
13522015-02-19 Jonathan Wakely <jwakely@redhat.com>
1353
1354 PR libstdc++/58357
1355 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
1356 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
1357
53b2288f
HPN
13582015-02-19 Hans-Peter Nilsson <hp@axis.com>
1359
1360 PR testsuite/65093
1361 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
1362 (test01): Add explanatory comment. Keep only the bd1 sub-test and
1363 split out bd2, bd3, bd4, and bd5 sub-tests into...
1364 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
1365 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
1366 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
1367 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
1368 New separate files with the old parts.
1369
7f971f18
JW
13702015-02-18 Jonathan Wakely <jwakely@redhat.com>
1371
1372 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
1373 surrogate pairs.
1374 (utf16_in): Pass mode argument to write_utf16_code_point.
1375 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
1376 native byte order.
1377 * testsuite/22_locale/codecvt/char16_t.cc: New.
1378 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
1379
01bf6bdb
JW
1380 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
1381 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
1382
fb968187
RS
13832015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1384 Jonathan Wakely <jwakely@redhat.com>
1385
1386 * testsuite/22_locale/codecvt/char32_t.cc: New.
1387
faa7d78e
JW
13882015-02-17 Jonathan Wakely <jwakely@redhat.com>
1389
1390 PR libstdc++/65085
1391 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
1392 empty string gets null-terminated.
1393 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
1394
1e0c223f
MW
13952015-02-13 Matthew Wahab <matthew.wahab@arm.com>
1396
1397 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
1398 mixed line-endings introduced in last change.
1399
72900b83
MW
14002015-02-12 Matthew Wahab <matthew.wahab@arm.com>
1401
1402 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
1403 for __NEWLIB__ macro with a dejagnu set macro.
1404 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1405
ff9eac29
MW
14062015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1407
d2e0c00b 1408 PR libstdc++/64467
ff9eac29
MW
1409 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
1410 special case for '\n'.
1411 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1412
516db2dd
JW
14132015-02-01 Jonathan Wakely <jwakely@redhat.com>
1414
1415 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
1416
13fc08e4
JW
14172015-02-01 Jonathan Wakely <jwakely@redhat.com>
1418
1419 PR libstdc++/64883
1420 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
1421 of deprecated.
1422 * include/c_std/cstdio (gets): Likewise.
1423 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
1424 with attributes used in darwin headers.
1425
536616b7
JJ
14262015-01-29 Jakub Jelinek <jakub@redhat.com>
1427
1428 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
1429 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
1430 * configure: Regenerated.
1431
f4392940
L
14322015-01-29 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1435 after vtv_cygmin is set.
1436 * configure: Regenerated.
1437
23842e91
MK
14382015-01-29 Matthias Klose <doko@ubuntu.com>
1439
1440 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1441 unconditionally.
1442 * configure: Regenerate.
1443
8be349ee
CT
14442015-01-29 Caroline Tice <cmtice@google.com>
1445
1446 Committing VTV Cywin/Ming patch for Patrick Wollgast
1447 * configure: Regenerate.
1448 * libsupc++/Makefile.in: Regenerate.
1449 * src/Makefile.in: Regenerate.
1450
85d44192
JW
14512015-01-29 Jonathan Wakely <jwakely@redhat.com>
1452
1453 * include/bits/atomic_base.h: Use __always_inline__ instead of
1454 always_inline.
1455 * include/bits/atomic_futex.h: Likewise.
1456 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
1457 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
1458 __packed__ instead of packed.
1459 * include/std/shared_mutex: Use __unused__ instead of unused.
1460 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
1461 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
1462 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
1463
8be349ee 14642015-01-28 Caroline Tice <cmtice@google.com>
f7f049fa
CT
1465
1466 Committing VTV Cywin/Ming patch for Patrick Wollgast
1467 * acinclude.m4: Define VTV_CYGMIN.
f7f049fa
CT
1468 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
1469 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
f7f049fa
CT
1470 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
1471 for Cygwin and MinGW.
1472 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
1473 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
1474 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
f7f049fa 1475
739cdc90
JW
14762015-01-28 Jonathan Wakely <jwakely@redhat.com>
1477
1478 PR libstdc++/64828
1479 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
1480 * libsupc++/Makefile.in: Regenerate.
1481 * src/c++11/Makefile.in: Regenerate.
1482
f6d04238
KT
14832015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1484
1485 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
1486 check for unsupported.
1487 (v3_target_compile_as_c): Likewise.
1488
8aa33fad
RB
14892015-01-28 Richard Biener <rguenther@suse.de>
1490
1491 PR libstdc++/64798
1492 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
1493 data member.
1494 (pool::allocate): Adjust allocation size and alignment to
1495 that change.
1496 (pool::free): Adjust pointer offsetting.
1497
506f03c3
JW
14982015-01-27 Jonathan Wakely <jwakely@redhat.com>
1499
1500 PR libstdc++/64368
1501 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
1502 shared_timed_mutex::try_lock_until): Only define when POSIX thread
1503 timeouts option is supported.
1504 (shared_timed_mutex::try_shared_lock_for,
1505 shared_timed_mutex::try_shared_lock_until): Likewise.
1506
831a3a9e
JW
15072015-01-26 Jonathan Wakely <jwakely@redhat.com>
1508
1509 PR libstdc++/64368
1510 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
1511 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
1512 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
1513 and use cache's _M_grouping field.
1514 (__numpunct_fill_cache): Likewise.
1515 (__moneypunct_fill_cache): Improve comments.
1516
c7ac7dda
JW
15172015-01-26 Jonathan Wakely <jwakely@redhat.com>
1518
1519 * testsuite/23_containers/set/operations/2.cc: Add test for
1520 non-transparent comparison function.
1521
5eb1643c
OE
15222015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
1523
1524 PR target/29366
1525 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
1526 Remove SH4A inline asm and lock based implementations and use the
1527 defaults from ext/atomicity.h.
1528
130dc027
JW
15292015-01-23 Jonathan Wakely <jwakely@redhat.com>
1530
1531 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
1532 new std::string constructors for byname facets.
1533
cce93c76
RB
15342015-01-22 Richard Biener <rguenther@suse.de>
1535
1536 PR libstdc++/64535
1537 * libsupc++/eh_alloc.cc: Include new.
1538 (bitmask_type): Remove.
1539 (one_buffer): Likewise.
1540 (emergency_buffer): Likewise.
1541 (emergency_used): Likewise.
1542 (dependents_buffer): Likewise.
1543 (dependents_used): Likewise.
1544 (class pool): New custom fixed-size arena, variable size object
1545 allocator.
1546 (emergency_pool): New global.
1547 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
1548 (__cxxabiv1::__cxa_free_exception): Likewise.
1549 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
1550 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
1551
770acfc9
TS
15522015-01-22 Tim Shen <timshen@google.com>
1553
1554 PR libstdc++/64680
1555 * include/bits/regex.h (basic_regex<>::basic_regex,
1556 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
1557 standard interface.
1558 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
1559
77033d26
TS
15602015-01-22 Tim Shen <timshen@google.com>
1561
1562 PR libstdc++/64649
1563 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1564 regex_traits<>::lookup_classname): Correctly narrow input chars.
1565 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
1566
f81f49c1
JW
15672015-01-21 Jonathan Wakely <jwakely@redhat.com>
1568
1569 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
1570
deff1f41
JW
15712015-01-21 Jonathan Wakely <jwakely@redhat.com>
1572
1573 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
1574
7d56e747
JW
15752015-01-20 Jonathan Wakely <jwakely@redhat.com>
1576
1577 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
1578 * doc/xml/manual/status_cxx2014.xml: Update status.
1579 * doc/html/manual/status.html: Regenerate.
1580
4159cf0d
JW
15812015-01-20 Jonathan Wakely <jwakely@redhat.com>
1582
1583 PR libstdc++/64650
1584 * include/experimental/optional (bad_optional_access): Add default
1585 constructor.
1586 * testsuite/experimental/optional/requirements.cc: Test for default
1587 constructor.
1588
91c78ea5
JW
15892015-01-20 Jonathan Wakely <jwakely@redhat.com>
1590
1591 * include/bits/stl_map.h (map::find<>, map::count<>,
1592 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1593 member function templates to perform heterogeneous lookup.
1594 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
1595 multimap::lower_bound<>, multimap::upper_bound<>,
1596 multimap::equal_range<>): Likewise.
1597 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
1598 multiset::lower_bound<>, multiset::upper_bound<>,
1599 multiset::equal_range<>): Likewise.
1600 * include/bits/stl_set.h (set::find<>, set::count<>,
1601 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1602 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
1603 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
1604 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
1605 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
1606 * testsuite/23_containers/map/operations/2.cc: New.
1607 * testsuite/23_containers/multimap/operations/2.cc: New.
1608 * testsuite/23_containers/multiset/operations/2.cc: New.
1609 * testsuite/23_containers/set/operations/2.cc: New.
1610
71a16cd8
JW
16112015-01-20 Jonathan Wakely <jwakely@redhat.com>
1612
1613 * config/abi/pre/gnu.ver: Export new constructors.
1614 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
1615 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
1616 specializations and declare explicit instantiations.
1617 * include/bits/locale_classes.h (locale, collate_byname): Add string
1618 constructors.
1619 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
1620 Likewise.
1621 * include/bits/locale_facets_nonio.h (time_get_byname,
1622 time_put_byname, moneypunct_byname, messages_byname): Likewise.
1623 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
1624 codecvt_byname<char32_t>): Define explicit instantiations.
1625 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
1626 Instantiate string constructors.
1627 (ctype_byname): Define string constructor.
1628 * testsuite/22_locale/codecvt_byname/1.cc: New.
1629 * testsuite/22_locale/collate_byname/1.cc: New.
1630 * testsuite/22_locale/ctype_byname/2.cc: New.
1631 * testsuite/22_locale/messages_byname/1.cc: New.
1632 * testsuite/22_locale/moneypunct_byname/1.cc: New.
1633 * testsuite/22_locale/numpunct_byname/1.cc: New.
1634
0e4974d6
JW
16352015-01-20 Jonathan Wakely <jwakely@redhat.com>
1636
1637 PR libstdc++/64658
1638 * include/std/atomic (atomic_init): Define.
1639 * testsuite/29_atomics/atomic/64658.cc: New.
1640
e5f35533
TS
16412015-01-19 Tim Shen <timshen@google.com>
1642
1643 PR libstdc++/64649
1644 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1645 regex_traits<>::lookup_classname): Support forward iterators.
1646 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
1647 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
1648
60c176fb
TS
16492015-01-19 Tim Shen <timshen@google.com>
1650
1651 PR libstdc++/64584
1652 PR libstdc++/64585
1653 * include/bits/regex.h (basic_regex<>::basic_regex,
1654 basic_regex<>::assign, basic_regex<>::imbue,
1655 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
1656 imbuing basic_regex; Make assign() transactional against exception.
1657 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
1658 __compile_nfa SFINAE.
1659 * include/std/regex: Adjust include order to avoid __compile_nfa
1660 forward declaration.
1661 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
1662 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
1663
8bae22b7
VV
16642015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
1665 Jonathan Wakely <jwakely@redhat.com>
1666
1667 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
1668 on overloads for arrays.
1669 (cbegin, cend, rbegin, rend, crbegin, crend): New.
1670 * testsuite/24_iterators/range_access_cpp14.cc: New.
1671
257024e3
JW
16722015-01-18 Jonathan Wakely <jwakely@redhat.com>
1673
1674 PR libstdc++/64646
1675 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
1676 end of the second range.
1677 * testsuite/25_algorithms/is_permutation/64646.cc: New.
1678
fded3d73
JW
16792015-01-18 Jonathan Wakely <jwakely@redhat.com>
1680
1681 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
1682 * doc/html/manual/status.html: Regenerate.
1683
87361f30
JW
16842015-01-18 Jonathan Wakely <jwakely@redhat.com>
1685
1686 * include/bits/atomic_futex.h: Use mutex and condition_variable when
1687 atomic int is not lock-free. Make member variables private.
1688 * src/c++11/futex.cc: Likewise.
1689
1e3919ac
JW
1690 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
1691
c6c1bfd9
JW
16922015-01-17 Jonathan Wakely <jwakely@redhat.com>
1693
1694 PR libstdc++/64638
1695 * include/bits/atomic_futex.h: Use appropriate config macros for
1696 availability of std::mutex, std::condition and std::chrono.
1697
21c4af43
VV
16982015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
1699 Jonathan Wakely <jwakely@redhat.com>
1700
1701 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
1702 * doc/html/*: Regenerate.
1703
1d0a12dc
JW
17042015-01-17 Jonathan Wakely <jwakely@redhat.com>
1705
1706 DR 488
1707 PR libstdc++/58357
1708 * include/bits/algorithmfwd.h (rotate): Return an iterator.
1709 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
1710 * testsuite/25_algorithms/rotate/dr488.cc: New.
1711 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
1712 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1713 2.cc: Likewise.
1714 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1715 pod.cc: Likewise.
1716
d31b8797
JW
17172015-01-17 Jonathan Wakely <jwakely@redhat.com>
1718
1719 PR libstdc++/60940
1720 * include/bits/atomic_base.h: Remove atomic integral typedefs as
1721 synonyms for __atomic_base<int> etc.
1722 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
1723 likewise for all atomic integral types.
1724 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1725 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1726
3ecec1ef
JW
17272015-01-17 Jonathan Wakely <jwakely@redhat.com>
1728
1729 PR libstdc++/56785
1730 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
1731 and define one-element specialization.
1732 * testsuite/20_util/tuple/56785.cc: New.
1733
c23ccace
JW
17342015-01-17 Jonathan Wakely <jwakely@redhat.com>
1735
1736 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
1737 Remove unused header.
1738 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
1739 Likewise.
1740 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1741 Likewise.
1742
96d8c147
JW
17432015-01-16 Jonathan Wakely <jwakely@redhat.com>
1744
1745 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
1746 * include/std/locale: Include new header.
1747 * include/Makefile.am: Add it.
1748 * include/Makefile.in: Regenerate.
1749 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
1750 * testsuite/22_locale/conversions/string/1.cc: New.
1751 * testsuite/22_locale/conversions/string/2.cc: New.
1752 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
1753 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
1754 New.
1755
28af1fb3
JW
17562015-01-16 Jonathan Wakely <jwakely@redhat.com>
1757
1758 * config/abi/pre/gnu.ver: Export new symbols.
1759 * include/Makefile.am: Add codecvt.
1760 * include/Makefile.in: Regenerate.
1761 * include/std/codecvt: New header.
1762 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
1763 __codecvt_utf8_utf16_base): Define specializations.
1764 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
1765 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
1766 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1767 New.
1768
eae801ba
TR
17692015-01-16 Torvald Riegel <triegel@redhat.com>
1770
1771 * src/c++11/futex.cc: New file.
1772 * include/bits/atomic_futex.h: New file.
1773 * include/std/future (__future_base::_State_baseV2): Use
1774 atomic_futex_unsigned instead of mutex+condvar.
1775 * src/c++11/futex.cc: Likewise.
1776 * include/Makefile.am: Add atomic_futex.h.
1777 * include/Makefile.in: Likewise.
1778 * src/c++11/Makefile.am: Add futex.cc.
1779 * src/c++11/Makefile.in: Likewise.
1780
bb93f35d
JW
17812015-01-16 Jonathan Wakely <jwakely@redhat.com>
1782
1783 * acinclude.m4: Fix typo in comment.
1784 * configure: Regenerate.
1785 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
1786 codecvt<char16_t, char, mbstate_t>): Declare specializations.
1787 * include/bits/locale_facets.h: Reserve space for new specializations.
1788 * src/c++11/Makefile.am: Add codecvt.cc.
1789 * src/c++11/Makefile.in: Regenerate.
1790 * src/c++11/codecvt.cc: New.
1791 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
1792 with -std=gnu++11.
1793 * src/c++98/Makefile.in: Regenerate.
1794 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
1795 * src/c++98/localename.cc: Likewise.
1796 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
1797 * testsuite/22_locale/codecvt/utf8.cc: New.
1798 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
1799 specializations are installed in locale objects.
1800
6220fdff
TR
18012015-01-16 Torvald Riegel <triegel@redhat.com>
1802
1803 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
1804 implementation.
1805
6eb61481
JW
18062015-01-13 Jonathan Wakely <jwakely@redhat.com>
1807
1808 PR libstdc++/64571
1809 * config/abi/pre/gnu.ver: Export fstream functions using new string.
1810
5e67acc9
JW
18112015-01-12 Jonathan Wakely <jwakely@redhat.com>
1812
1813 PR libstdc++/64560
1814 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
1815 for RTTI support.
1816
1b9ad1d9
JW
1817 PR libstdc++/64553
1818 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
1819
f1f3453e
TS
18202015-01-10 Thomas Schwinge <thomas@codesourcery.com>
1821
1822 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
1823 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
1824 Multi Processing Runtime Library".
1825
0edf5aad
JW
18262015-01-09 Jonathan Wakely <jwakely@redhat.com>
1827
1828 PR libstdc++/64476
1829 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
1830 is_assignable arguments.
1831 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
1832 New.
1833
4c470097
AT
18342015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1835
1836 * libsupc++/unwind-cxx.h: Revert previous commit.
1837
82a19768
AT
18382015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1839
1840 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
1841
a8e67466
TS
18422015-01-09 Tim Shen <timshen@google.com>
1843
1844 PR libstdc++/64239
1845 * include/bits/regex.h (match_results<>::swap): Use std::swap
1846 instead of swap.
1847 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
1848 Likewise.
1849 * testsuite/28_regex/match_results/swap.cc: New testcase.
1850
c66b93fe
JW
18512015-01-08 Jonathan Wakely <jwakely@redhat.com>
1852
1853 PR libstdc++/60132
1854 * include/std/type_traits (has_trivial_default_constructor,
1855 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
1856 attribute.
1857 * testsuite/20_util/has_trivial_copy_assign/requirements/
1858 explicit_instantiation.cc: Use -Wno-deprecated.
1859 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
1860 Likewise.
1861 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
1862 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1863 explicit_instantiation.cc: Likewise.
1864 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1865 typedefs.cc: Likewise.
1866 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
1867 * testsuite/20_util/has_trivial_default_constructor/requirements/
1868 explicit_instantiation.c: Likewise.
1869 * testsuite/20_util/has_trivial_default_constructor/requirements/
1870 typedefs.cc: Likewise.
1871 * testsuite/20_util/has_trivial_default_constructor/value.cc:
1872 Likewise.
1873 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
1874 trait.
1875 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
1876 * testsuite/util/testsuite_common_types.h: Likewise.
1877
ea0b599a
JW
18782015-01-08 Jonathan Wakely <jwakely@redhat.com>
1879
1880 * include/bits/hashtable_policy.h: Use __bool_constant.
1881
23608da4
JW
18822015-01-07 Jonathan Wakely <jwakely@redhat.com>
1883
1884 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
1885 * libsupc++/Makefile.in: Regenerate.
1886
63f21361
JW
18872015-01-06 Jonathan Wakely <jwakely@redhat.com>
1888
1889 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
1890
5624e564
JJ
18912015-01-05 Jakub Jelinek <jakub@redhat.com>
1892
1893 Update copyright years.
1894
f034f370
JW
18952015-01-04 Jonathan Wakely <jwakely@redhat.com>
1896
1897 PR libstdc++/64483
1898 * testsuite/18_support/exception_ptr/64241.cc: Use
1899 dg-require-atomic-builtins.
1900
b0e65755
JW
19012015-01-02 Jonathan Wakely <jwakely@redhat.com>
1902
1903 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
1904 date.
1905
d0cbab5f
TS
19062015-01-02 Tim Shen <timshen@google.com>
1907
1908 PR libstdc++/64475
1909 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
1910 iterator, since the original one shouldn't be mutated.
1911
e4dd5b69
BE
19122015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1913
1914 PR libstdc++/64422
1915 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
1916 (string::insert): Likewise.
1917 (string::replace): Likewise.
1918 (wstring::erase): Likewise.
1919 (wstring::insert): Likewise.
1920 (wstring::replace): Likewise.
1921 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
1922
6e4d8cb6
JW
19232015-01-02 Jonathan Wakely <jwakely@redhat.com>
1924
1925 PR libstdc++/64468
1926 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
1927
b4df5e92
JW
19282015-01-02 Jonathan Wakely <jwakely@redhat.com>
1929
1930 PR libstdc++/64438
1931 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
1932 Revert removal of dg-require-string-conversions.
1933 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1934 Likewise.
1935 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1936 Likewise.
1937 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1938 Likewise.
1939 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1940 Likewise.
1941 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1942 Likewise.
1943 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1944 Likewise.
1945 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1946 Likewise.
1947 * testsuite/21_strings/basic_string/numeric_conversions/char/
1948 stoull.cc: Likewise.
1949 * testsuite/21_strings/basic_string/numeric_conversions/char/
1950 to_string.cc: Likewise.
1951\f
1952Copyright (C) 2015 Free Software Foundation, Inc.
1953
1954Copying and distribution of this file, with or without modification,
1955are permitted in any medium without royalty provided the copyright
1956notice and this notice are preserved.