5a72407acfba10fb83726e2ba73200fa4d662f4f
[gcc.git] / libstdc++-v3 / ChangeLog
1 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
2
3 PR libstdc++/64967
4 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
5 * configure: Regenerate.
6 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
7 system_category): Use macros for versioned namespace.
8 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
9
10 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
11
12 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
13 test for unused for ARM.
14 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
15 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
16
17 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
18
19 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
20 * include/ext/codecvt_specializations.h (encoding_state,
21 encoding_char_traits): Remove abi-tag and use inline namespace.
22 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
23
24 2015-03-19 Jason Merrill <jason@redhat.com>
25
26 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
27 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
28
29 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
30
31 PR c++/65046
32 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
33 get_catalogs): Add abi-tag.
34 * include/ext/codecvt_specializations.h (encoding_state,
35 encoding_char_traits): Likewise.
36 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
37 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
38 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
39 money_get_shim, money_put_shim, messages_shim): Likewise.
40 * src/c++11/future.cc (future_error_category::message): Likewise.
41 * src/c++11/system_error.cc (generic_error_category::message,
42 system_error_category::message): Likewise.
43 (__sso_string): Disable -Wabi-tag warnings.
44
45 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
46
47 PR libstdc++/13631
48 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
49 implementation for old glibc. Fix whitespace.
50
51 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
52 Torvald Riegel <triegel@redhat.com>
53
54 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
55 * config.h.in: Regenerate.
56 * configure: Regenerate.
57 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
58 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
59 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
60 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
61 EDEADLK.
62
63 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
64
65 * libsupc++/nested_exception.h: Do not try to derive from final
66 classes.
67 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
68 final class.
69
70 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
71 unused exception variable.
72 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
73 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
74 test.
75 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
76
77 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
78
79 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
80 * configure: Regenerate.
81
82 * include/experimental/system_error: Fix include guard.
83
84 2015-03-12 Renlin Li <renlin.li@arm.com>
85
86 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
87 wrapped target.
88
89 2015-03-10 Tim Shen <timshen@google.com>
90
91 PR libstdc++/64441
92 * include/bits/regex.h (match_results<>::size,
93 match_results<>::position, match_results<>::str,
94 match_results<>::operator[], match_results<>::prefix,
95 match_results<>::suffix, match_results<>::end,
96 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
97 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
98 global __unmatched_sub. Add unmatched submatch as part of
99 match_results.
100 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
101 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
102 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
103 New testcases.
104
105 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
106
107 PR libstdc++/64467
108 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
109 for newlib targets. Really fix mixed line-endings this time.
110
111 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
112
113 * include/std/future (future_error(error_code)): Construct base
114 class with error_code's message.
115 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
116 temporary string.
117
118 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
119
120 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
121 noconv result.
122 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
123 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
124
125 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
126
127 PR libstdc++/64797
128 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
129 incomplete multibyte sequences correctly.
130 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
131 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
132 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
133 Define constants.
134 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
135 Define convenience functions.
136 (read_utf8_code_point): Return relevant constant to distinguish
137 incomplete characters from invalid sequences.
138 (read_utf16_code_point): Likewise. Check for invalid sequences.
139 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
140 (utf16_out): Check for invalid sequences.
141 (utf16_span): Fix condition.
142 (ucs2_out): Use is_high_surrogate.
143 (ucs2_in): Use incomplete_mb_character constant and fix condition.
144 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
145 * testsuite/22_locale/conversions/buffer/1.cc: New.
146 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
147 char32_t instead of wchar_t.
148 * testsuite/22_locale/conversions/string/3.cc: New.
149
150 2015-03-03 Iain Sandoe <iain@codesourcery.com>
151
152 PR libstdc++/64883
153 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
154 visibility for Darwin.
155 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
156 also deprecated.
157 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
158
159 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
160
161 PR libstdc++/65279
162 * include/std/scoped_allocator (__inner_type_impl,
163 scoped_allocator_adaptor): Add defaulted copy assignment and move
164 assignment operators.
165 * testsuite/20_util/scoped_allocator/65279.cc: New.
166
167 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
168
169 PR libstdc++/64367
170 * include/std/stdexcept (__sso_string): Don't use non-static member
171 in sizeof.
172
173 2015-02-28 Matthias Klose <doko@ubuntu.com>
174
175 PR libstdc++/65246
176 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
177
178 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
179
180 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
181 * doc/html/manual/status.html: Regenerate.
182
183 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
184
185 PR libstdc++/64695
186 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
187 tuple layout.
188
189 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
190 behavior.
191 * doc/html/manual/status.html: Regenerate.
192
193 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
194
195 PR libstdc++/58357
196 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
197 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
198
199 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
200
201 PR testsuite/65093
202 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
203 (test01): Add explanatory comment. Keep only the bd1 sub-test and
204 split out bd2, bd3, bd4, and bd5 sub-tests into...
205 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
206 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
207 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
208 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
209 New separate files with the old parts.
210
211 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
212
213 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
214 surrogate pairs.
215 (utf16_in): Pass mode argument to write_utf16_code_point.
216 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
217 native byte order.
218 * testsuite/22_locale/codecvt/char16_t.cc: New.
219 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
220
221 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
222 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
223
224 2015-02-17 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
225 Jonathan Wakely <jwakely@redhat.com>
226
227 * testsuite/22_locale/codecvt/char32_t.cc: New.
228
229 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
230
231 PR libstdc++/65085
232 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
233 empty string gets null-terminated.
234 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
235
236 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
237
238 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
239 mixed line-endings introduced in last change.
240
241 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
242
243 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
244 for __NEWLIB__ macro with a dejagnu set macro.
245 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
246
247 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
248
249 PR libstdc++/64467
250 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
251 special case for '\n'.
252 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
253
254 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
255
256 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
257
258 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
259
260 PR libstdc++/64883
261 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
262 of deprecated.
263 * include/c_std/cstdio (gets): Likewise.
264 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
265 with attributes used in darwin headers.
266
267 2015-01-29 Jakub Jelinek <jakub@redhat.com>
268
269 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
270 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
271 * configure: Regenerated.
272
273 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
274
275 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
276 after vtv_cygmin is set.
277 * configure: Regenerated.
278
279 2015-01-29 Matthias Klose <doko@ubuntu.com>
280
281 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
282 unconditionally.
283 * configure: Regenerate.
284
285 2015-01-29 Caroline Tice <cmtice@google.com>
286
287 Committing VTV Cywin/Ming patch for Patrick Wollgast
288 * configure: Regenerate.
289 * libsupc++/Makefile.in: Regenerate.
290 * src/Makefile.in: Regenerate.
291
292 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
293
294 * include/bits/atomic_base.h: Use __always_inline__ instead of
295 always_inline.
296 * include/bits/atomic_futex.h: Likewise.
297 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
298 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
299 __packed__ instead of packed.
300 * include/std/shared_mutex: Use __unused__ instead of unused.
301 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
302 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
303 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
304
305 2015-01-28 Caroline Tice <cmtice@google.com>
306
307 Committing VTV Cywin/Ming patch for Patrick Wollgast
308 * acinclude.m4: Define VTV_CYGMIN.
309 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
310 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
311 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
312 for Cygwin and MinGW.
313 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
314 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
315 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
316
317 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
318
319 PR libstdc++/64828
320 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
321 * libsupc++/Makefile.in: Regenerate.
322 * src/c++11/Makefile.in: Regenerate.
323
324 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
325
326 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
327 check for unsupported.
328 (v3_target_compile_as_c): Likewise.
329
330 2015-01-28 Richard Biener <rguenther@suse.de>
331
332 PR libstdc++/64798
333 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
334 data member.
335 (pool::allocate): Adjust allocation size and alignment to
336 that change.
337 (pool::free): Adjust pointer offsetting.
338
339 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
340
341 PR libstdc++/64368
342 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
343 shared_timed_mutex::try_lock_until): Only define when POSIX thread
344 timeouts option is supported.
345 (shared_timed_mutex::try_shared_lock_for,
346 shared_timed_mutex::try_shared_lock_until): Likewise.
347
348 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
349
350 PR libstdc++/64368
351 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
352 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
353 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
354 and use cache's _M_grouping field.
355 (__numpunct_fill_cache): Likewise.
356 (__moneypunct_fill_cache): Improve comments.
357
358 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
359
360 * testsuite/23_containers/set/operations/2.cc: Add test for
361 non-transparent comparison function.
362
363 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
364
365 PR target/29366
366 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
367 Remove SH4A inline asm and lock based implementations and use the
368 defaults from ext/atomicity.h.
369
370 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
371
372 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
373 new std::string constructors for byname facets.
374
375 2015-01-22 Richard Biener <rguenther@suse.de>
376
377 PR libstdc++/64535
378 * libsupc++/eh_alloc.cc: Include new.
379 (bitmask_type): Remove.
380 (one_buffer): Likewise.
381 (emergency_buffer): Likewise.
382 (emergency_used): Likewise.
383 (dependents_buffer): Likewise.
384 (dependents_used): Likewise.
385 (class pool): New custom fixed-size arena, variable size object
386 allocator.
387 (emergency_pool): New global.
388 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
389 (__cxxabiv1::__cxa_free_exception): Likewise.
390 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
391 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
392
393 2015-01-22 Tim Shen <timshen@google.com>
394
395 PR libstdc++/64680
396 * include/bits/regex.h (basic_regex<>::basic_regex,
397 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
398 standard interface.
399 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
400
401 2015-01-22 Tim Shen <timshen@google.com>
402
403 PR libstdc++/64649
404 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
405 regex_traits<>::lookup_classname): Correctly narrow input chars.
406 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
407
408 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
409
410 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
411
412 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
413
414 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
415
416 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
417
418 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
419 * doc/xml/manual/status_cxx2014.xml: Update status.
420 * doc/html/manual/status.html: Regenerate.
421
422 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
423
424 PR libstdc++/64650
425 * include/experimental/optional (bad_optional_access): Add default
426 constructor.
427 * testsuite/experimental/optional/requirements.cc: Test for default
428 constructor.
429
430 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
431
432 * include/bits/stl_map.h (map::find<>, map::count<>,
433 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
434 member function templates to perform heterogeneous lookup.
435 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
436 multimap::lower_bound<>, multimap::upper_bound<>,
437 multimap::equal_range<>): Likewise.
438 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
439 multiset::lower_bound<>, multiset::upper_bound<>,
440 multiset::equal_range<>): Likewise.
441 * include/bits/stl_set.h (set::find<>, set::count<>,
442 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
443 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
444 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
445 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
446 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
447 * testsuite/23_containers/map/operations/2.cc: New.
448 * testsuite/23_containers/multimap/operations/2.cc: New.
449 * testsuite/23_containers/multiset/operations/2.cc: New.
450 * testsuite/23_containers/set/operations/2.cc: New.
451
452 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
453
454 * config/abi/pre/gnu.ver: Export new constructors.
455 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
456 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
457 specializations and declare explicit instantiations.
458 * include/bits/locale_classes.h (locale, collate_byname): Add string
459 constructors.
460 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
461 Likewise.
462 * include/bits/locale_facets_nonio.h (time_get_byname,
463 time_put_byname, moneypunct_byname, messages_byname): Likewise.
464 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
465 codecvt_byname<char32_t>): Define explicit instantiations.
466 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
467 Instantiate string constructors.
468 (ctype_byname): Define string constructor.
469 * testsuite/22_locale/codecvt_byname/1.cc: New.
470 * testsuite/22_locale/collate_byname/1.cc: New.
471 * testsuite/22_locale/ctype_byname/2.cc: New.
472 * testsuite/22_locale/messages_byname/1.cc: New.
473 * testsuite/22_locale/moneypunct_byname/1.cc: New.
474 * testsuite/22_locale/numpunct_byname/1.cc: New.
475
476 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
477
478 PR libstdc++/64658
479 * include/std/atomic (atomic_init): Define.
480 * testsuite/29_atomics/atomic/64658.cc: New.
481
482 2015-01-19 Tim Shen <timshen@google.com>
483
484 PR libstdc++/64649
485 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
486 regex_traits<>::lookup_classname): Support forward iterators.
487 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
488 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
489
490 2015-01-19 Tim Shen <timshen@google.com>
491
492 PR libstdc++/64584
493 PR libstdc++/64585
494 * include/bits/regex.h (basic_regex<>::basic_regex,
495 basic_regex<>::assign, basic_regex<>::imbue,
496 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
497 imbuing basic_regex; Make assign() transactional against exception.
498 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
499 __compile_nfa SFINAE.
500 * include/std/regex: Adjust include order to avoid __compile_nfa
501 forward declaration.
502 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
503 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
504
505 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
506 Jonathan Wakely <jwakely@redhat.com>
507
508 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
509 on overloads for arrays.
510 (cbegin, cend, rbegin, rend, crbegin, crend): New.
511 * testsuite/24_iterators/range_access_cpp14.cc: New.
512
513 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
514
515 PR libstdc++/64646
516 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
517 end of the second range.
518 * testsuite/25_algorithms/is_permutation/64646.cc: New.
519
520 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
521
522 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
523 * doc/html/manual/status.html: Regenerate.
524
525 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
526
527 * include/bits/atomic_futex.h: Use mutex and condition_variable when
528 atomic int is not lock-free. Make member variables private.
529 * src/c++11/futex.cc: Likewise.
530
531 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
532
533 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
534
535 PR libstdc++/64638
536 * include/bits/atomic_futex.h: Use appropriate config macros for
537 availability of std::mutex, std::condition and std::chrono.
538
539 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
540 Jonathan Wakely <jwakely@redhat.com>
541
542 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
543 * doc/html/*: Regenerate.
544
545 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
546
547 DR 488
548 PR libstdc++/58357
549 * include/bits/algorithmfwd.h (rotate): Return an iterator.
550 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
551 * testsuite/25_algorithms/rotate/dr488.cc: New.
552 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
553 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
554 2.cc: Likewise.
555 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
556 pod.cc: Likewise.
557
558 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
559
560 PR libstdc++/60940
561 * include/bits/atomic_base.h: Remove atomic integral typedefs as
562 synonyms for __atomic_base<int> etc.
563 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
564 likewise for all atomic integral types.
565 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
566 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
567
568 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
569
570 PR libstdc++/56785
571 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
572 and define one-element specialization.
573 * testsuite/20_util/tuple/56785.cc: New.
574
575 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
576
577 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
578 Remove unused header.
579 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
580 Likewise.
581 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
582 Likewise.
583
584 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
585
586 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
587 * include/std/locale: Include new header.
588 * include/Makefile.am: Add it.
589 * include/Makefile.in: Regenerate.
590 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
591 * testsuite/22_locale/conversions/string/1.cc: New.
592 * testsuite/22_locale/conversions/string/2.cc: New.
593 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
594 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
595 New.
596
597 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
598
599 * config/abi/pre/gnu.ver: Export new symbols.
600 * include/Makefile.am: Add codecvt.
601 * include/Makefile.in: Regenerate.
602 * include/std/codecvt: New header.
603 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
604 __codecvt_utf8_utf16_base): Define specializations.
605 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
606 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
607 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
608 New.
609
610 2015-01-16 Torvald Riegel <triegel@redhat.com>
611
612 * src/c++11/futex.cc: New file.
613 * include/bits/atomic_futex.h: New file.
614 * include/std/future (__future_base::_State_baseV2): Use
615 atomic_futex_unsigned instead of mutex+condvar.
616 * src/c++11/futex.cc: Likewise.
617 * include/Makefile.am: Add atomic_futex.h.
618 * include/Makefile.in: Likewise.
619 * src/c++11/Makefile.am: Add futex.cc.
620 * src/c++11/Makefile.in: Likewise.
621
622 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
623
624 * acinclude.m4: Fix typo in comment.
625 * configure: Regenerate.
626 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
627 codecvt<char16_t, char, mbstate_t>): Declare specializations.
628 * include/bits/locale_facets.h: Reserve space for new specializations.
629 * src/c++11/Makefile.am: Add codecvt.cc.
630 * src/c++11/Makefile.in: Regenerate.
631 * src/c++11/codecvt.cc: New.
632 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
633 with -std=gnu++11.
634 * src/c++98/Makefile.in: Regenerate.
635 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
636 * src/c++98/localename.cc: Likewise.
637 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
638 * testsuite/22_locale/codecvt/utf8.cc: New.
639 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
640 specializations are installed in locale objects.
641
642 2015-01-16 Torvald Riegel <triegel@redhat.com>
643
644 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
645 implementation.
646
647 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
648
649 PR libstdc++/64571
650 * config/abi/pre/gnu.ver: Export fstream functions using new string.
651
652 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
653
654 PR libstdc++/64560
655 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
656 for RTTI support.
657
658 PR libstdc++/64553
659 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
660
661 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
662
663 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
664 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
665 Multi Processing Runtime Library".
666
667 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
668
669 PR libstdc++/64476
670 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
671 is_assignable arguments.
672 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
673 New.
674
675 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
676
677 * libsupc++/unwind-cxx.h: Revert previous commit.
678
679 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
680
681 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
682
683 2015-01-09 Tim Shen <timshen@google.com>
684
685 PR libstdc++/64239
686 * include/bits/regex.h (match_results<>::swap): Use std::swap
687 instead of swap.
688 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
689 Likewise.
690 * testsuite/28_regex/match_results/swap.cc: New testcase.
691
692 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
693
694 PR libstdc++/60132
695 * include/std/type_traits (has_trivial_default_constructor,
696 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
697 attribute.
698 * testsuite/20_util/has_trivial_copy_assign/requirements/
699 explicit_instantiation.cc: Use -Wno-deprecated.
700 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
701 Likewise.
702 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
703 * testsuite/20_util/has_trivial_copy_constructor/requirements/
704 explicit_instantiation.cc: Likewise.
705 * testsuite/20_util/has_trivial_copy_constructor/requirements/
706 typedefs.cc: Likewise.
707 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
708 * testsuite/20_util/has_trivial_default_constructor/requirements/
709 explicit_instantiation.c: Likewise.
710 * testsuite/20_util/has_trivial_default_constructor/requirements/
711 typedefs.cc: Likewise.
712 * testsuite/20_util/has_trivial_default_constructor/value.cc:
713 Likewise.
714 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
715 trait.
716 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
717 * testsuite/util/testsuite_common_types.h: Likewise.
718
719 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
720
721 * include/bits/hashtable_policy.h: Use __bool_constant.
722
723 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
724
725 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
726 * libsupc++/Makefile.in: Regenerate.
727
728 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
729
730 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
731
732 2015-01-05 Jakub Jelinek <jakub@redhat.com>
733
734 Update copyright years.
735
736 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
737
738 PR libstdc++/64483
739 * testsuite/18_support/exception_ptr/64241.cc: Use
740 dg-require-atomic-builtins.
741
742 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
743
744 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
745 date.
746
747 2015-01-02 Tim Shen <timshen@google.com>
748
749 PR libstdc++/64475
750 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
751 iterator, since the original one shouldn't be mutated.
752
753 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
754
755 PR libstdc++/64422
756 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
757 (string::insert): Likewise.
758 (string::replace): Likewise.
759 (wstring::erase): Likewise.
760 (wstring::insert): Likewise.
761 (wstring::replace): Likewise.
762 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
763
764 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
765
766 PR libstdc++/64468
767 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
768
769 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
770
771 PR libstdc++/64438
772 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
773 Revert removal of dg-require-string-conversions.
774 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
775 Likewise.
776 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
777 Likewise.
778 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
779 Likewise.
780 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
781 Likewise.
782 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
783 Likewise.
784 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
785 Likewise.
786 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
787 Likewise.
788 * testsuite/21_strings/basic_string/numeric_conversions/char/
789 stoull.cc: Likewise.
790 * testsuite/21_strings/basic_string/numeric_conversions/char/
791 to_string.cc: Likewise.
792 \f
793 Copyright (C) 2015 Free Software Foundation, Inc.
794
795 Copying and distribution of this file, with or without modification,
796 are permitted in any medium without royalty provided the copyright
797 notice and this notice are preserved.