1 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
4 * include/std/future (async): Change default policy to launch::async.
6 * include/experimental/any (any::_Storage): Fix alignment of buffer.
7 (any::_Internal): Check alignment of type.
8 * testsuite/experimental/any/cons/aligned.cc: New.
9 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
11 * include/experimental/iterator (ostream_joiner): Simplify by using
12 the injected-class-name and the ostream_type typedef.
14 * include/experimental/iterator: New. Define ostream_joiner.
15 * include/Makefile.am: Add new header.
16 * include/Makefile.in: Regenerate.
17 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
18 * testsuite/experimental/iterator/ostream_joiner.cc: New.
19 * testsuite/experimental/iterator/requirements.cc: New.
20 * doc/xml/manual/status_cxx2017.xml: Update status.
21 * doc/html/manual/status.html: Regenerate.
23 * include/experimental/numeric: New. Define gcd and lcm.
24 * include/Makefile.am: Add new header.
25 * include/Makefile.in: Regenerate.
26 * testsuite/experimental/numeric/gcd.cc: New.
27 * testsuite/experimental/numeric/lcm.cc: New.
28 * doc/xml/manual/status_cxx2017.xml: Update status.
29 * doc/html/manual/status.html: Regenerate.
31 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
33 Revert addition of feature macros from other headers per latest SD-6.
34 * include/experimental/deque: Remove feature-test macro.
35 * include/experimental/forward_list: Ditto.
36 * include/experimental/list: Ditto.
37 * include/experimental/map: Ditto.
38 * include/experimental/set: Ditto.
39 * include/experimental/string: Ditto.
40 * include/experimental/unordered_map: Ditto.
41 * include/experimental/unordered_set: Ditto.
43 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
45 * include/experimental/any (any::_Storage): Make non-copyable.
46 (any::any): Do not copy _Storage object.
47 (any::operator=): Implement more efficiently than swapping.
48 (any::swap): Use new _Op_xfer operation.
49 (any::_Op::_Op_xfer): New enumerator.
50 (_Manager_internal::_S_alloc): Remove unused function.
51 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
52 parameter instead of returning a _Storage object.
53 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
54 _Op_xfer operation for moving and swapping.
55 * testsuite/experimental/any/cons/nontrivial.cc: New.
56 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
58 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
60 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
64 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
65 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
66 and fix tests for forward_as_tuple and tie.
68 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
69 Set timespec members explicitly instead of with a braced-init-list.
70 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
72 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
74 * include/experimental/deque: Add feature-test macro.
75 * include/experimental/forward_list: Ditto.
76 * include/experimental/list: Ditto.
77 * include/experimental/map: Ditto.
78 * include/experimental/set: Ditto.
79 * include/experimental/string: Ditto.
80 * include/experimental/unordered_map: Ditto.
81 * include/experimental/unordered_set: Ditto.
83 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
85 * include/experimental/memory: Correct feature-test macro.
87 * include/experimental/memory: Add feature-test macro.
88 * include/experimental/vector: Likewise.
89 * doc/xml/manual/status_cxx2017.xml: Update status.
90 * doc/html/manual/status.html: Regenerate.
92 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
94 Implement observer_ptr.
95 * include/Makefile.am: Add new header.
96 * include/Makefile.in: Regenerate.
97 * include/experimental/memory: New.
98 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
99 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
100 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
101 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
102 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
103 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
104 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
105 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
107 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
109 * src/filesystem/path.cc (path::compare): Do not copy strings.
111 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
113 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
114 * configure: Regenerate.
115 * config.h.in: Regenerate.
116 * configure.ac: Check for utime.h
117 * include/experimental/fs_path.h (path::string<>)
118 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
119 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
120 closedir, dirent, readdir_r): Replace dummy functions with #error.
121 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
122 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
123 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
124 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
125 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
128 * include/experimental/fs_path.h (path::_List): Use vector instead of
130 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
131 * src/filesystem/path.cc: Use std::prev instead of decrementing
132 rvalues. Fix whitespace.
133 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
134 Do not decrement iterators before begin.
136 * include/experimental/fs_dir.h: Fix use of non-reserved names.
137 * include/experimental/fs_ops.h: Likewise.
138 * include/experimental/fs_path.h: Likewise.
139 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
140 C++11 when checking for support.
142 * include/bits/locale_classes.h (locale::facet): Delete copy
143 operations in C++11 mode.
145 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
147 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
148 * configure: Regenerate.
150 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
152 Inline one-line erasure dispatch functions.
153 * include/experimental/forward_list (erase_if(), erase()): Inline.
154 * include/experimental/list (erase_if(), erase()): Inline.
155 * include/experimental/map (erase_if(*)): Inline.
156 * include/experimental/set (erase_if(*)): Inline.
157 * include/experimental/string (erase_if(), erase()): Inline.
158 * include/experimental/unordered_map (erase_if(*)): Inline.
159 * include/experimental/unordered_set (erase_if(*)): Inline.
161 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
163 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
164 * doc/xml/manual/status_cxx2011.xml: Update status tables.
165 * doc/xml/manual/status_cxx2014.xml: Likewise.
166 * doc/xml/manual/status_cxx2017.xml: New.
167 * doc/xml/manual/using.xml: Fix typo.
168 * doc/html/*: Regenerate.
170 * include/std/memory (pointer_safety, declare_reachable,
171 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
172 get_pointer_safety): Define.
173 * testsuite/20_util/pointer_safety/1.cc: New.
175 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
177 Implement N4100 File System TS
178 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
179 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
180 * config.h.in: Regenerate.
181 * configure: Regenerate.
182 * configure.ac: Enable filesystem TS and check its dependencies.
183 * include/Makefile.am: Add new headers.
184 * include/Makefile.in: Regenerate.
185 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
186 __str_codecvt_out): Move code conversion logic from wstring_convert
187 into new global functions.
188 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
190 (wstring_convert::_M_conv): Remove.
191 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
192 * include/experimental/filesystem: New.
193 * include/experimental/fs_dir.h: New.
194 * include/experimental/fs_fwd.h: New.
195 * include/experimental/fs_ops.h: New.
196 * include/experimental/fs_path.h: New.
197 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
198 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
199 * src/Makefile.am (SUBDIRS): Add filesystem.
200 * src/Makefile.in: Regenerate.
201 * src/filesystem/Makefile.am: New.
202 * src/filesystem/Makefile.in: New.
203 * src/filesystem/dir.cc: New.
204 * src/filesystem/ops.cc: New.
205 * src/filesystem/path.cc: New.
206 * testsuite/experimental/filesystem/operations/absolute.cc: New.
207 * testsuite/experimental/filesystem/operations/copy.cc: New.
208 * testsuite/experimental/filesystem/operations/current_path.cc: New.
209 * testsuite/experimental/filesystem/path/append/path.cc: New.
210 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
211 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
212 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
213 * testsuite/experimental/filesystem/path/compare/path.cc: New.
214 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
215 * testsuite/experimental/filesystem/path/concat/path.cc: New.
216 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
217 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
218 * testsuite/experimental/filesystem/path/construct/default.cc: New.
219 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
220 * testsuite/experimental/filesystem/path/construct/range.cc: New.
221 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
222 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
223 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
225 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
227 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
229 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
231 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
233 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
234 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
236 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
237 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
238 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
240 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
242 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
244 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
246 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
247 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
248 * testsuite/experimental/filesystem/path/query/empty.cc: New.
249 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
250 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
251 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
253 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
255 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
257 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
259 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
261 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
262 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
263 * testsuite/util/testsuite_fs.h: New.
265 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
267 Add fundamentals TR container erasure.
268 * include/Makefile.am: Add new headers.
269 * include/Makefile.in: Add new headers.
270 * include/experimental/array: New.
271 * include/experimental/deque: New.
272 * include/experimental/erase_if.tcc: New.
273 * include/experimental/forward_list: New.
274 * include/experimental/list: New.
275 * include/experimental/map: New.
276 * include/experimental/set: New.
277 * include/experimental/string: New.
278 * include/experimental/unordered_map: New.
279 * include/experimental/unordered_set: New.
280 * include/experimental/vector: New.
281 * testsuite/experimental/deque/erasure.cc: New.
282 * testsuite/experimental/forward_list/erasure.cc: New.
283 * testsuite/experimental/list/erasure.cc: New.
284 * testsuite/experimental/map/erasure.cc: New.
285 * testsuite/experimental/set/erasure.cc: New.
286 * testsuite/experimental/string/erasure.cc: New.
287 * testsuite/experimental/unordered_map/erasure.cc: New.
288 * testsuite/experimental/unordered_set/erasure.cc: New.
289 * testsuite/experimental/vector/erasure.cc: New.
291 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
293 * include/bits/cpp_type_traits.h
294 (__gnu_cxx::__is_normal_iterator): Delete.
295 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
296 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
297 (std::__niter_base): Overloads for std::reverse_iterator,
298 __gnu_cxx::__normal_iterator and std::move_iterator.
300 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
302 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
304 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
305 Remove usage of latter and compute size of the prime numbers array
308 2015-04-29 Doug Evans <dje@google.com>
311 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
312 Replace all lookups of "bool" with this.
313 (get_std_size_type): New function. Replace all lookups of std::size_t
315 (*Worker): New method get_result_type.
316 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
317 (ListWorkerBase.__init__): New arg val_type. All callers updated.
318 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
319 Delete setting of name, enabled.
320 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
321 updated. Delete setting of name.
322 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
323 libstdc++ xmethod matchers.
324 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
325 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
326 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
327 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
328 * testsuite/libstdc++-xmethods/list.cc: Ditto.
329 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
330 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
332 2015-04-29 Doug Evans <dje@google.com>
334 Use consistent naming for value type attributes.
335 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
337 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
338 (ArrayFrontWorker, ArrayBackWorker): Ditto.
339 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
340 (DequeWorkerBase): Rename elemtype to val_type.
341 (ForwardListWorkerBase): Rename _elem_type to _val_type.
342 (ForwardListFrontWorker): Ditto. And rename elem_address to
344 (ForwardListMethodsMatcher): Rename elem_type to val_type.
345 (VectorWorkerBase): Rename _elemtype to _val_type.
347 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
350 * include/std/functional (__check_func_return_type): Use is_same to
351 avoid using _is_convertible on incomplete types.
352 * testsuite/20_util/function/65760.cc: New.
355 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
357 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
358 time_get::_M_extract_num, time_get::_M_extract_name,
359 time_get::_M_extract_wday_or_month): Likewise.
360 * include/bits/stl_algo.h (__includes, __replace_copy_if,
361 __is_sorted_until, __is_permutation, transform): Likewise.
362 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
363 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
364 * include/bits/stl_numeric.h (inner_product): Likewise.
365 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
366 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
367 input_iterator_wrapper): Declare unusable comma operator.
368 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
369 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
372 2015-04-28 Doug Evans <dje@google.com>
374 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
377 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
379 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
382 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
384 * Makefile.am (SUBDIRS): Move python to hosted_source.
385 * Makefile.in: Regenerate.
386 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
387 * configure: Regenerate.
389 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
392 * include/std/limits (numeric_limits): Add missing unsigned.
394 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
396 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
398 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
401 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
402 Handle enumeration types larger than sizeof(long).
403 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
405 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
406 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
408 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
409 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
411 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
414 * include/bits/forward_list.h (forward_list::splice_after): Add
416 * include/bits/forward_list.tcc (forward_list::splice_after):
420 * include/bits/random.h (seed_seq) Define copy constructor and copy
421 assignment as deleted.
422 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
424 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
425 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
426 Use -std=gnu++1z. Check feature-test macro.
428 * include/std/type_traits (void_t): Add.
429 * testsuite/20_util/void_t/1.cc: New.
431 2015-04-28 Tim Shen <timshen@google.com>
433 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
434 * include/bits/regex_automaton.tcc: Throw exception when parsing
435 back-reference with flag __polynomial.
436 * include/bits/regex_constants.h: Add extension flag
437 syntax_option_type __polynomial.
438 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
439 Alternative operation will be fixed in the coming refactoring.
440 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
441 loose match_search_debug to use DFS only.
443 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
446 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
447 Make the generated test program fail gracefully if the target
448 doesn't support passing command-line arguments.
450 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
451 Jonathan Wakely <jwakely@redhat.com>
453 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
454 Return false or zero if the library is built without exceptions.
455 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
456 the library is built without exceptions.
458 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
460 * config/abi/pre/gnu.ver: Fix comment.
462 Add support for std::uncaught_exceptions.
463 * acinclude.m4: Bump libtool_VERSION.
464 * config/abi/pre/gnu.ver: Export the new symbol.
465 * configure: Regenerate.
466 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
467 * libsupc++/exception (uncaught_exceptions): New.
468 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
469 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
471 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
472 Michael Hanselmann <public@hansmi.ch>
475 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
477 * testsuite/18_support/exception_ptr/62258.cc: New.
479 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
481 * doc/xml/manual/extensions.xml: Add cross-reference.
482 * doc/html/manual/ext_compile_checks.html: Regenerate.
484 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
486 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
487 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
489 2015-04-22 Renlin Li <renlin.li@arm.com>
491 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
492 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
493 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
494 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
495 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
497 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
499 * doc/xml/manual/configure.xml: Update descriptions of options
500 affecting dual ABI and add cross-references.
501 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
502 * doc/xml/manual/using.xml: Document ABI transition.
503 * doc/html/*: Regenerate.
505 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
506 * doc/xml/manual/using.xml: Document newer -std options. Use better
507 examples of nested namespaces.
509 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
511 * doc/xml/manual/concurrency_extensions.xml: Update documentation
513 * doc/xml/manual/using.xml: Likewise. Improve markup.
514 * doc/html/*: Regenerate.
516 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
518 * scripts/extract_symvers.pl: Ignore elfdump error output.
520 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
523 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
524 _List_const_iterator): Declare.
525 (__distance): Declare new overloads for _List_iterator and
526 _List_const_iterator.
527 * include/bits/stl_list.h (__distance): New overloads for
528 _List_iterator and _List_const_iterator.
529 * testsuite/23_containers/list/61347.cc: New testcase.
531 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
533 * doc/xml/manual/evolution.xml: Fix typos.
534 * doc/html/manual/api.html: Regenerate.
536 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
538 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
539 alignment is larger-equal, not equal, to default alignment.
541 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
544 * config/abi/pre/gnu.ver: Export base object constructors for
546 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
547 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
548 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
549 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
550 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
551 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
552 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
553 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
554 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
555 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
556 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
557 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
558 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
559 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
560 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
561 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
562 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
563 * testsuite/27_io/basic_fstream/cons/base.cc: New.
565 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
567 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
568 * doc/html/*: Regenerate.
570 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
572 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
574 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
576 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
578 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
580 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
582 * doc/xml/manual/test.xml: Improve documentation on running a subset
584 * doc/html/manual/test.html: Regenerate.
586 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
588 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
590 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
593 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
595 * include/std/shared_mutex (shared_timed_mutex): Add comments to
596 explain the logic in the non-pthread_rwlock_t version.
597 (_Mutex): Remove redundant type.
598 (_M_n_readers): Rename to _S_max_readers.
599 (_M_write_entered, _M_readers): New convenience functions.
600 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
601 functions. Use predicates with condition variables. Simplify bitwise
603 (try_lock_for, try_shared_lock_for): Convert duration to time_point
604 and call try_lock_until or try_shared_lock_until respectively.
605 (try_lock_until, try_shared_lock_until): Wait on the condition
606 variables until the specified time passes.
607 (unlock): Add Debug Mode assertion.
608 (unlock_shared): Add Debug Mode assertion.
609 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
611 * include/std/shared_mutex (shared_timed_mutex): Only use
612 pthread_rwlock_t when the POSIX Timeouts option is supported.
613 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
614 dg-require-gthreads-timed.
615 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
616 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
617 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
619 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
621 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
623 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
624 Richard Henderson <rth@redhat.com>
627 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
629 * include/std/atomic (atomic): For types with a power of two size set
630 alignment to at least the size.
631 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
632 * testsuite/29_atomics/atomic/65147.cc: New.
633 * testsuite/29_atomics/atomic_integral/65147.cc: New.
635 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
637 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
638 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
639 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
641 2015-04-07 Jakub Jelinek <jakub@redhat.com>
643 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
644 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
645 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
646 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
647 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
648 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
649 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
650 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
652 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
655 * config/abi/pre/gnu.ver: Export operator+ for new strings.
656 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
657 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
659 2015-03-28 Tim Shen <timshen@google.com>
662 * include/bits/regex_constants.h: Use constexpr variables for flags.
663 * testsuite/28_regex/constants/constexpr.cc: New testcase.
665 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
668 * include/std/chrono: Add using-directive for literals to std::chrono.
669 * testsuite/20_util/duration/literals/65499.cc: New.
671 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
675 * include/std/thread (this_thread::sleep_for): Check for negative
677 (this_thread::sleep_until): Check for times in the past.
678 * testsuite/30_threads/this_thread/58038.cc: New.
679 * testsuite/30_threads/this_thread/60421.cc: New.
681 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
685 * include/std/atomic (atomic<T>): Increase alignment for types with
686 the same size as one of the integral types.
687 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
688 * testsuite/29_atomics/atomic/62259.cc: New.
690 2015-03-26 Richard Henderson <rth@redhat.com>
693 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
694 a fake pointer indicating type alignment.
695 (__atomic_base<T *>::is_lock_free): Likewise.
696 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
698 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
701 * testsuite/21_strings/basic_string/pthread33394.cc: Use
702 dg-additional-options.
704 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
707 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
709 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
711 * testsuite/27_io/rvalue_streams-2.cc: New.
713 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
716 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
718 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
721 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
722 * configure: Regenerate.
723 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
724 system_category): Use macros for versioned namespace.
725 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
727 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
729 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
730 test for unused for ARM.
731 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
732 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
734 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
736 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
737 * include/ext/codecvt_specializations.h (encoding_state,
738 encoding_char_traits): Remove abi-tag and use inline namespace.
739 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
741 2015-03-19 Jason Merrill <jason@redhat.com>
743 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
744 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
746 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
749 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
750 get_catalogs): Add abi-tag.
751 * include/ext/codecvt_specializations.h (encoding_state,
752 encoding_char_traits): Likewise.
753 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
754 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
755 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
756 money_get_shim, money_put_shim, messages_shim): Likewise.
757 * src/c++11/future.cc (future_error_category::message): Likewise.
758 * src/c++11/system_error.cc (generic_error_category::message,
759 system_error_category::message): Likewise.
760 (__sso_string): Disable -Wabi-tag warnings.
762 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
765 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
766 implementation for old glibc. Fix whitespace.
768 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
769 Torvald Riegel <triegel@redhat.com>
771 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
772 * config.h.in: Regenerate.
773 * configure: Regenerate.
774 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
775 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
776 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
777 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
780 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
782 * libsupc++/nested_exception.h: Do not try to derive from final
784 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
787 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
788 unused exception variable.
789 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
790 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
792 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
794 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
796 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
797 * configure: Regenerate.
799 * include/experimental/system_error: Fix include guard.
801 2015-03-12 Renlin Li <renlin.li@arm.com>
803 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
806 2015-03-10 Tim Shen <timshen@google.com>
809 * include/bits/regex.h (match_results<>::size,
810 match_results<>::position, match_results<>::str,
811 match_results<>::operator[], match_results<>::prefix,
812 match_results<>::suffix, match_results<>::end,
813 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
814 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
815 global __unmatched_sub. Add unmatched submatch as part of
817 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
818 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
819 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
822 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
825 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
826 for newlib targets. Really fix mixed line-endings this time.
828 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
830 * include/std/future (future_error(error_code)): Construct base
831 class with error_code's message.
832 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
835 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
837 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
839 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
840 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
842 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
845 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
846 incomplete multibyte sequences correctly.
847 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
848 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
849 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
851 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
852 Define convenience functions.
853 (read_utf8_code_point): Return relevant constant to distinguish
854 incomplete characters from invalid sequences.
855 (read_utf16_code_point): Likewise. Check for invalid sequences.
856 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
857 (utf16_out): Check for invalid sequences.
858 (utf16_span): Fix condition.
859 (ucs2_out): Use is_high_surrogate.
860 (ucs2_in): Use incomplete_mb_character constant and fix condition.
861 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
862 * testsuite/22_locale/conversions/buffer/1.cc: New.
863 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
864 char32_t instead of wchar_t.
865 * testsuite/22_locale/conversions/string/3.cc: New.
867 2015-03-03 Iain Sandoe <iain@codesourcery.com>
870 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
871 visibility for Darwin.
872 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
874 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
876 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
879 * include/std/scoped_allocator (__inner_type_impl,
880 scoped_allocator_adaptor): Add defaulted copy assignment and move
881 assignment operators.
882 * testsuite/20_util/scoped_allocator/65279.cc: New.
884 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
887 * include/std/stdexcept (__sso_string): Don't use non-static member
890 2015-02-28 Matthias Klose <doko@ubuntu.com>
893 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
895 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
897 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
898 * doc/html/manual/status.html: Regenerate.
900 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
903 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
906 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
908 * doc/html/manual/status.html: Regenerate.
910 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
913 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
914 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
916 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
919 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
920 (test01): Add explanatory comment. Keep only the bd1 sub-test and
921 split out bd2, bd3, bd4, and bd5 sub-tests into...
922 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
923 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
924 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
925 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
926 New separate files with the old parts.
928 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
930 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
932 (utf16_in): Pass mode argument to write_utf16_code_point.
933 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
935 * testsuite/22_locale/codecvt/char16_t.cc: New.
936 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
938 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
939 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
941 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
942 Jonathan Wakely <jwakely@redhat.com>
944 * testsuite/22_locale/codecvt/char32_t.cc: New.
946 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
949 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
950 empty string gets null-terminated.
951 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
953 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
955 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
956 mixed line-endings introduced in last change.
958 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
960 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
961 for __NEWLIB__ macro with a dejagnu set macro.
962 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
964 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
967 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
968 special case for '\n'.
969 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
971 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
973 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
975 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
978 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
980 * include/c_std/cstdio (gets): Likewise.
981 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
982 with attributes used in darwin headers.
984 2015-01-29 Jakub Jelinek <jakub@redhat.com>
986 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
987 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
988 * configure: Regenerated.
990 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
992 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
993 after vtv_cygmin is set.
994 * configure: Regenerated.
996 2015-01-29 Matthias Klose <doko@ubuntu.com>
998 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1000 * configure: Regenerate.
1002 2015-01-29 Caroline Tice <cmtice@google.com>
1004 Committing VTV Cywin/Ming patch for Patrick Wollgast
1005 * configure: Regenerate.
1006 * libsupc++/Makefile.in: Regenerate.
1007 * src/Makefile.in: Regenerate.
1009 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
1011 * include/bits/atomic_base.h: Use __always_inline__ instead of
1013 * include/bits/atomic_futex.h: Likewise.
1014 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
1015 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
1016 __packed__ instead of packed.
1017 * include/std/shared_mutex: Use __unused__ instead of unused.
1018 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
1019 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
1020 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
1022 2015-01-28 Caroline Tice <cmtice@google.com>
1024 Committing VTV Cywin/Ming patch for Patrick Wollgast
1025 * acinclude.m4: Define VTV_CYGMIN.
1026 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
1027 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
1028 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
1029 for Cygwin and MinGW.
1030 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
1031 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
1032 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
1034 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
1037 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
1038 * libsupc++/Makefile.in: Regenerate.
1039 * src/c++11/Makefile.in: Regenerate.
1041 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1043 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
1044 check for unsupported.
1045 (v3_target_compile_as_c): Likewise.
1047 2015-01-28 Richard Biener <rguenther@suse.de>
1050 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
1052 (pool::allocate): Adjust allocation size and alignment to
1054 (pool::free): Adjust pointer offsetting.
1056 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
1059 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
1060 shared_timed_mutex::try_lock_until): Only define when POSIX thread
1061 timeouts option is supported.
1062 (shared_timed_mutex::try_shared_lock_for,
1063 shared_timed_mutex::try_shared_lock_until): Likewise.
1065 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1068 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
1069 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
1070 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
1071 and use cache's _M_grouping field.
1072 (__numpunct_fill_cache): Likewise.
1073 (__moneypunct_fill_cache): Improve comments.
1075 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1077 * testsuite/23_containers/set/operations/2.cc: Add test for
1078 non-transparent comparison function.
1080 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
1083 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
1084 Remove SH4A inline asm and lock based implementations and use the
1085 defaults from ext/atomicity.h.
1087 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
1089 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
1090 new std::string constructors for byname facets.
1092 2015-01-22 Richard Biener <rguenther@suse.de>
1095 * libsupc++/eh_alloc.cc: Include new.
1096 (bitmask_type): Remove.
1097 (one_buffer): Likewise.
1098 (emergency_buffer): Likewise.
1099 (emergency_used): Likewise.
1100 (dependents_buffer): Likewise.
1101 (dependents_used): Likewise.
1102 (class pool): New custom fixed-size arena, variable size object
1104 (emergency_pool): New global.
1105 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
1106 (__cxxabiv1::__cxa_free_exception): Likewise.
1107 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
1108 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
1110 2015-01-22 Tim Shen <timshen@google.com>
1113 * include/bits/regex.h (basic_regex<>::basic_regex,
1114 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
1116 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
1118 2015-01-22 Tim Shen <timshen@google.com>
1121 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1122 regex_traits<>::lookup_classname): Correctly narrow input chars.
1123 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
1125 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1127 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
1129 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1131 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
1133 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1135 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
1136 * doc/xml/manual/status_cxx2014.xml: Update status.
1137 * doc/html/manual/status.html: Regenerate.
1139 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1142 * include/experimental/optional (bad_optional_access): Add default
1144 * testsuite/experimental/optional/requirements.cc: Test for default
1147 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1149 * include/bits/stl_map.h (map::find<>, map::count<>,
1150 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1151 member function templates to perform heterogeneous lookup.
1152 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
1153 multimap::lower_bound<>, multimap::upper_bound<>,
1154 multimap::equal_range<>): Likewise.
1155 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
1156 multiset::lower_bound<>, multiset::upper_bound<>,
1157 multiset::equal_range<>): Likewise.
1158 * include/bits/stl_set.h (set::find<>, set::count<>,
1159 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1160 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
1161 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
1162 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
1163 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
1164 * testsuite/23_containers/map/operations/2.cc: New.
1165 * testsuite/23_containers/multimap/operations/2.cc: New.
1166 * testsuite/23_containers/multiset/operations/2.cc: New.
1167 * testsuite/23_containers/set/operations/2.cc: New.
1169 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1171 * config/abi/pre/gnu.ver: Export new constructors.
1172 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
1173 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
1174 specializations and declare explicit instantiations.
1175 * include/bits/locale_classes.h (locale, collate_byname): Add string
1177 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
1179 * include/bits/locale_facets_nonio.h (time_get_byname,
1180 time_put_byname, moneypunct_byname, messages_byname): Likewise.
1181 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
1182 codecvt_byname<char32_t>): Define explicit instantiations.
1183 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
1184 Instantiate string constructors.
1185 (ctype_byname): Define string constructor.
1186 * testsuite/22_locale/codecvt_byname/1.cc: New.
1187 * testsuite/22_locale/collate_byname/1.cc: New.
1188 * testsuite/22_locale/ctype_byname/2.cc: New.
1189 * testsuite/22_locale/messages_byname/1.cc: New.
1190 * testsuite/22_locale/moneypunct_byname/1.cc: New.
1191 * testsuite/22_locale/numpunct_byname/1.cc: New.
1193 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1196 * include/std/atomic (atomic_init): Define.
1197 * testsuite/29_atomics/atomic/64658.cc: New.
1199 2015-01-19 Tim Shen <timshen@google.com>
1202 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1203 regex_traits<>::lookup_classname): Support forward iterators.
1204 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
1205 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
1207 2015-01-19 Tim Shen <timshen@google.com>
1211 * include/bits/regex.h (basic_regex<>::basic_regex,
1212 basic_regex<>::assign, basic_regex<>::imbue,
1213 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
1214 imbuing basic_regex; Make assign() transactional against exception.
1215 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
1216 __compile_nfa SFINAE.
1217 * include/std/regex: Adjust include order to avoid __compile_nfa
1218 forward declaration.
1219 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
1220 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
1222 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
1223 Jonathan Wakely <jwakely@redhat.com>
1225 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
1226 on overloads for arrays.
1227 (cbegin, cend, rbegin, rend, crbegin, crend): New.
1228 * testsuite/24_iterators/range_access_cpp14.cc: New.
1230 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1233 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
1234 end of the second range.
1235 * testsuite/25_algorithms/is_permutation/64646.cc: New.
1237 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1239 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
1240 * doc/html/manual/status.html: Regenerate.
1242 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1244 * include/bits/atomic_futex.h: Use mutex and condition_variable when
1245 atomic int is not lock-free. Make member variables private.
1246 * src/c++11/futex.cc: Likewise.
1248 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
1250 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1253 * include/bits/atomic_futex.h: Use appropriate config macros for
1254 availability of std::mutex, std::condition and std::chrono.
1256 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
1257 Jonathan Wakely <jwakely@redhat.com>
1259 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
1260 * doc/html/*: Regenerate.
1262 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1266 * include/bits/algorithmfwd.h (rotate): Return an iterator.
1267 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
1268 * testsuite/25_algorithms/rotate/dr488.cc: New.
1269 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
1270 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1272 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1275 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1278 * include/bits/atomic_base.h: Remove atomic integral typedefs as
1279 synonyms for __atomic_base<int> etc.
1280 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
1281 likewise for all atomic integral types.
1282 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1283 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1285 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1288 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
1289 and define one-element specialization.
1290 * testsuite/20_util/tuple/56785.cc: New.
1292 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1294 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
1295 Remove unused header.
1296 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
1298 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1301 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1303 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
1304 * include/std/locale: Include new header.
1305 * include/Makefile.am: Add it.
1306 * include/Makefile.in: Regenerate.
1307 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
1308 * testsuite/22_locale/conversions/string/1.cc: New.
1309 * testsuite/22_locale/conversions/string/2.cc: New.
1310 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
1311 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
1314 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1316 * config/abi/pre/gnu.ver: Export new symbols.
1317 * include/Makefile.am: Add codecvt.
1318 * include/Makefile.in: Regenerate.
1319 * include/std/codecvt: New header.
1320 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
1321 __codecvt_utf8_utf16_base): Define specializations.
1322 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
1323 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
1324 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1327 2015-01-16 Torvald Riegel <triegel@redhat.com>
1329 * src/c++11/futex.cc: New file.
1330 * include/bits/atomic_futex.h: New file.
1331 * include/std/future (__future_base::_State_baseV2): Use
1332 atomic_futex_unsigned instead of mutex+condvar.
1333 * src/c++11/futex.cc: Likewise.
1334 * include/Makefile.am: Add atomic_futex.h.
1335 * include/Makefile.in: Likewise.
1336 * src/c++11/Makefile.am: Add futex.cc.
1337 * src/c++11/Makefile.in: Likewise.
1339 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1341 * acinclude.m4: Fix typo in comment.
1342 * configure: Regenerate.
1343 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
1344 codecvt<char16_t, char, mbstate_t>): Declare specializations.
1345 * include/bits/locale_facets.h: Reserve space for new specializations.
1346 * src/c++11/Makefile.am: Add codecvt.cc.
1347 * src/c++11/Makefile.in: Regenerate.
1348 * src/c++11/codecvt.cc: New.
1349 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
1351 * src/c++98/Makefile.in: Regenerate.
1352 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
1353 * src/c++98/localename.cc: Likewise.
1354 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
1355 * testsuite/22_locale/codecvt/utf8.cc: New.
1356 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
1357 specializations are installed in locale objects.
1359 2015-01-16 Torvald Riegel <triegel@redhat.com>
1361 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
1364 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
1367 * config/abi/pre/gnu.ver: Export fstream functions using new string.
1369 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
1372 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
1376 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
1378 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
1380 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
1381 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
1382 Multi Processing Runtime Library".
1384 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
1387 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
1388 is_assignable arguments.
1389 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
1392 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1394 * libsupc++/unwind-cxx.h: Revert previous commit.
1396 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1398 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
1400 2015-01-09 Tim Shen <timshen@google.com>
1403 * include/bits/regex.h (match_results<>::swap): Use std::swap
1405 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
1407 * testsuite/28_regex/match_results/swap.cc: New testcase.
1409 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1412 * include/std/type_traits (has_trivial_default_constructor,
1413 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
1415 * testsuite/20_util/has_trivial_copy_assign/requirements/
1416 explicit_instantiation.cc: Use -Wno-deprecated.
1417 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
1419 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
1420 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1421 explicit_instantiation.cc: Likewise.
1422 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1423 typedefs.cc: Likewise.
1424 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
1425 * testsuite/20_util/has_trivial_default_constructor/requirements/
1426 explicit_instantiation.c: Likewise.
1427 * testsuite/20_util/has_trivial_default_constructor/requirements/
1428 typedefs.cc: Likewise.
1429 * testsuite/20_util/has_trivial_default_constructor/value.cc:
1431 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
1433 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
1434 * testsuite/util/testsuite_common_types.h: Likewise.
1436 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1438 * include/bits/hashtable_policy.h: Use __bool_constant.
1440 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
1442 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
1443 * libsupc++/Makefile.in: Regenerate.
1445 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
1447 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
1449 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1451 Update copyright years.
1453 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
1456 * testsuite/18_support/exception_ptr/64241.cc: Use
1457 dg-require-atomic-builtins.
1459 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1461 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
1464 2015-01-02 Tim Shen <timshen@google.com>
1467 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
1468 iterator, since the original one shouldn't be mutated.
1470 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1473 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
1474 (string::insert): Likewise.
1475 (string::replace): Likewise.
1476 (wstring::erase): Likewise.
1477 (wstring::insert): Likewise.
1478 (wstring::replace): Likewise.
1479 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
1481 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1484 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
1486 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1489 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
1490 Revert removal of dg-require-string-conversions.
1491 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1493 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1495 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1497 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1499 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1501 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1503 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1505 * testsuite/21_strings/basic_string/numeric_conversions/char/
1506 stoull.cc: Likewise.
1507 * testsuite/21_strings/basic_string/numeric_conversions/char/
1508 to_string.cc: Likewise.
1510 Copyright (C) 2015 Free Software Foundation, Inc.
1512 Copying and distribution of this file, with or without modification,
1513 are permitted in any medium without royalty provided the copyright
1514 notice and this notice are preserved.