1 2015-05-13 Jonathan Wakely <jwakely@redhat.com>
3 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
4 * configure: Regenerate.
6 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
8 * Makefile.in: Regenerated with automake-1.11.6.
9 * aclocal.m4: Likewise.
10 * configure: Likewise.
11 * doc/Makefile.in: Likewise.
12 * include/Makefile.in: Likewise.
13 * libsupc++/Makefile.in: Likewise.
14 * po/Makefile.in: Likewise.
15 * python/Makefile.in: Likewise.
16 * src/Makefile.in: Likewise.
17 * src/c++11/Makefile.in: Likewise.
18 * src/c++98/Makefile.in: Likewise.
19 * src/filesystem/Makefile.in: Likewise.
20 * testsuite/Makefile.in: Likewise.
22 2015-05-09 Jason Merrill <jason@redhat.com>
24 * testsuite/20_util/headers/functional/synopsis.cc: Add
26 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
28 2015-05-08 Jason Merrill <jason@redhat.com>
30 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
31 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
32 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
33 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
34 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
35 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
36 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
37 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
38 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
39 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
40 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc: Likewise.
41 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
42 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust expected errors.
43 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
44 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: Likewise.
45 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
46 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
47 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
48 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
49 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
50 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
51 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
52 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
53 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
54 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
55 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
56 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
57 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
58 * testsuite/ext/array_allocator/check_allocate_max_size.cc: Add -Wno-deprecated.
59 * testsuite/ext/array_allocator/check_deallocate_null.cc: Add -Wno-deprecated.
60 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
61 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
62 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
63 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc: Add -std=c++98.
64 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Add -std=c++98.
65 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Add -std=c++98.
66 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Add -std=c++98 -fno-show-column.
67 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc: Add -std=c++98.
68 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Add -std=c++98.
69 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
70 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
72 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
73 * src/c++98/Makefile.in: Regenerate.
74 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
75 * src/Makefile.in: Regenerate.
77 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
80 * include/std/future (async): Change default policy to launch::async.
82 * include/experimental/any (any::_Storage): Fix alignment of buffer.
83 (any::_Internal): Check alignment of type.
84 * testsuite/experimental/any/cons/aligned.cc: New.
85 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
87 * include/experimental/iterator (ostream_joiner): Simplify by using
88 the injected-class-name and the ostream_type typedef.
90 * include/experimental/iterator: New. Define ostream_joiner.
91 * include/Makefile.am: Add new header.
92 * include/Makefile.in: Regenerate.
93 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
94 * testsuite/experimental/iterator/ostream_joiner.cc: New.
95 * testsuite/experimental/iterator/requirements.cc: New.
96 * doc/xml/manual/status_cxx2017.xml: Update status.
97 * doc/html/manual/status.html: Regenerate.
99 * include/experimental/numeric: New. Define gcd and lcm.
100 * include/Makefile.am: Add new header.
101 * include/Makefile.in: Regenerate.
102 * testsuite/experimental/numeric/gcd.cc: New.
103 * testsuite/experimental/numeric/lcm.cc: New.
104 * doc/xml/manual/status_cxx2017.xml: Update status.
105 * doc/html/manual/status.html: Regenerate.
107 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
109 Revert addition of feature macros from other headers per latest SD-6.
110 * include/experimental/deque: Remove feature-test macro.
111 * include/experimental/forward_list: Ditto.
112 * include/experimental/list: Ditto.
113 * include/experimental/map: Ditto.
114 * include/experimental/set: Ditto.
115 * include/experimental/string: Ditto.
116 * include/experimental/unordered_map: Ditto.
117 * include/experimental/unordered_set: Ditto.
119 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
121 * include/experimental/any (any::_Storage): Make non-copyable.
122 (any::any): Do not copy _Storage object.
123 (any::operator=): Implement more efficiently than swapping.
124 (any::swap): Use new _Op_xfer operation.
125 (any::_Op::_Op_xfer): New enumerator.
126 (_Manager_internal::_S_alloc): Remove unused function.
127 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
128 parameter instead of returning a _Storage object.
129 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
130 _Op_xfer operation for moving and swapping.
131 * testsuite/experimental/any/cons/nontrivial.cc: New.
132 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
134 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
136 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
140 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
141 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
142 and fix tests for forward_as_tuple and tie.
144 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
145 Set timespec members explicitly instead of with a braced-init-list.
146 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
148 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
150 * include/experimental/deque: Add feature-test macro.
151 * include/experimental/forward_list: Ditto.
152 * include/experimental/list: Ditto.
153 * include/experimental/map: Ditto.
154 * include/experimental/set: Ditto.
155 * include/experimental/string: Ditto.
156 * include/experimental/unordered_map: Ditto.
157 * include/experimental/unordered_set: Ditto.
159 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
161 * include/experimental/memory: Correct feature-test macro.
163 * include/experimental/memory: Add feature-test macro.
164 * include/experimental/vector: Likewise.
165 * doc/xml/manual/status_cxx2017.xml: Update status.
166 * doc/html/manual/status.html: Regenerate.
168 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
170 Implement observer_ptr.
171 * include/Makefile.am: Add new header.
172 * include/Makefile.in: Regenerate.
173 * include/experimental/memory: New.
174 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
175 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
176 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
177 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
178 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
179 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
180 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
181 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
183 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
185 * src/filesystem/path.cc (path::compare): Do not copy strings.
187 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
189 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
190 * configure: Regenerate.
191 * config.h.in: Regenerate.
192 * configure.ac: Check for utime.h
193 * include/experimental/fs_path.h (path::string<>)
194 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
195 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
196 closedir, dirent, readdir_r): Replace dummy functions with #error.
197 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
198 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
199 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
200 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
201 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
204 * include/experimental/fs_path.h (path::_List): Use vector instead of
206 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
207 * src/filesystem/path.cc: Use std::prev instead of decrementing
208 rvalues. Fix whitespace.
209 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
210 Do not decrement iterators before begin.
212 * include/experimental/fs_dir.h: Fix use of non-reserved names.
213 * include/experimental/fs_ops.h: Likewise.
214 * include/experimental/fs_path.h: Likewise.
215 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
216 C++11 when checking for support.
218 * include/bits/locale_classes.h (locale::facet): Delete copy
219 operations in C++11 mode.
221 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
223 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
224 * configure: Regenerate.
226 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
228 Inline one-line erasure dispatch functions.
229 * include/experimental/forward_list (erase_if(), erase()): Inline.
230 * include/experimental/list (erase_if(), erase()): Inline.
231 * include/experimental/map (erase_if(*)): Inline.
232 * include/experimental/set (erase_if(*)): Inline.
233 * include/experimental/string (erase_if(), erase()): Inline.
234 * include/experimental/unordered_map (erase_if(*)): Inline.
235 * include/experimental/unordered_set (erase_if(*)): Inline.
237 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
239 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
240 * doc/xml/manual/status_cxx2011.xml: Update status tables.
241 * doc/xml/manual/status_cxx2014.xml: Likewise.
242 * doc/xml/manual/status_cxx2017.xml: New.
243 * doc/xml/manual/using.xml: Fix typo.
244 * doc/html/*: Regenerate.
246 * include/std/memory (pointer_safety, declare_reachable,
247 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
248 get_pointer_safety): Define.
249 * testsuite/20_util/pointer_safety/1.cc: New.
251 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
253 Implement N4100 File System TS
254 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
255 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
256 * config.h.in: Regenerate.
257 * configure: Regenerate.
258 * configure.ac: Enable filesystem TS and check its dependencies.
259 * include/Makefile.am: Add new headers.
260 * include/Makefile.in: Regenerate.
261 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
262 __str_codecvt_out): Move code conversion logic from wstring_convert
263 into new global functions.
264 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
266 (wstring_convert::_M_conv): Remove.
267 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
268 * include/experimental/filesystem: New.
269 * include/experimental/fs_dir.h: New.
270 * include/experimental/fs_fwd.h: New.
271 * include/experimental/fs_ops.h: New.
272 * include/experimental/fs_path.h: New.
273 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
274 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
275 * src/Makefile.am (SUBDIRS): Add filesystem.
276 * src/Makefile.in: Regenerate.
277 * src/filesystem/Makefile.am: New.
278 * src/filesystem/Makefile.in: New.
279 * src/filesystem/dir.cc: New.
280 * src/filesystem/ops.cc: New.
281 * src/filesystem/path.cc: New.
282 * testsuite/experimental/filesystem/operations/absolute.cc: New.
283 * testsuite/experimental/filesystem/operations/copy.cc: New.
284 * testsuite/experimental/filesystem/operations/current_path.cc: New.
285 * testsuite/experimental/filesystem/path/append/path.cc: New.
286 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
287 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
288 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
289 * testsuite/experimental/filesystem/path/compare/path.cc: New.
290 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
291 * testsuite/experimental/filesystem/path/concat/path.cc: New.
292 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
293 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
294 * testsuite/experimental/filesystem/path/construct/default.cc: New.
295 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
296 * testsuite/experimental/filesystem/path/construct/range.cc: New.
297 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
298 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
299 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
301 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
303 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
305 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
307 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
309 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
310 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
312 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
313 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
314 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
316 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
318 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
320 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
322 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
323 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
324 * testsuite/experimental/filesystem/path/query/empty.cc: New.
325 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
326 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
327 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
329 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
331 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
333 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
335 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
337 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
338 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
339 * testsuite/util/testsuite_fs.h: New.
341 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
343 Add fundamentals TR container erasure.
344 * include/Makefile.am: Add new headers.
345 * include/Makefile.in: Add new headers.
346 * include/experimental/array: New.
347 * include/experimental/deque: New.
348 * include/experimental/erase_if.tcc: New.
349 * include/experimental/forward_list: New.
350 * include/experimental/list: New.
351 * include/experimental/map: New.
352 * include/experimental/set: New.
353 * include/experimental/string: New.
354 * include/experimental/unordered_map: New.
355 * include/experimental/unordered_set: New.
356 * include/experimental/vector: New.
357 * testsuite/experimental/deque/erasure.cc: New.
358 * testsuite/experimental/forward_list/erasure.cc: New.
359 * testsuite/experimental/list/erasure.cc: New.
360 * testsuite/experimental/map/erasure.cc: New.
361 * testsuite/experimental/set/erasure.cc: New.
362 * testsuite/experimental/string/erasure.cc: New.
363 * testsuite/experimental/unordered_map/erasure.cc: New.
364 * testsuite/experimental/unordered_set/erasure.cc: New.
365 * testsuite/experimental/vector/erasure.cc: New.
367 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
369 * include/bits/cpp_type_traits.h
370 (__gnu_cxx::__is_normal_iterator): Delete.
371 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
372 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
373 (std::__niter_base): Overloads for std::reverse_iterator,
374 __gnu_cxx::__normal_iterator and std::move_iterator.
376 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
378 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
380 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
381 Remove usage of latter and compute size of the prime numbers array
384 2015-04-29 Doug Evans <dje@google.com>
387 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
388 Replace all lookups of "bool" with this.
389 (get_std_size_type): New function. Replace all lookups of std::size_t
391 (*Worker): New method get_result_type.
392 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
393 (ListWorkerBase.__init__): New arg val_type. All callers updated.
394 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
395 Delete setting of name, enabled.
396 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
397 updated. Delete setting of name.
398 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
399 libstdc++ xmethod matchers.
400 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
401 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
402 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
403 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
404 * testsuite/libstdc++-xmethods/list.cc: Ditto.
405 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
406 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
408 2015-04-29 Doug Evans <dje@google.com>
410 Use consistent naming for value type attributes.
411 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
413 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
414 (ArrayFrontWorker, ArrayBackWorker): Ditto.
415 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
416 (DequeWorkerBase): Rename elemtype to val_type.
417 (ForwardListWorkerBase): Rename _elem_type to _val_type.
418 (ForwardListFrontWorker): Ditto. And rename elem_address to
420 (ForwardListMethodsMatcher): Rename elem_type to val_type.
421 (VectorWorkerBase): Rename _elemtype to _val_type.
423 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
426 * include/std/functional (__check_func_return_type): Use is_same to
427 avoid using _is_convertible on incomplete types.
428 * testsuite/20_util/function/65760.cc: New.
431 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
433 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
434 time_get::_M_extract_num, time_get::_M_extract_name,
435 time_get::_M_extract_wday_or_month): Likewise.
436 * include/bits/stl_algo.h (__includes, __replace_copy_if,
437 __is_sorted_until, __is_permutation, transform): Likewise.
438 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
439 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
440 * include/bits/stl_numeric.h (inner_product): Likewise.
441 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
442 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
443 input_iterator_wrapper): Declare unusable comma operator.
444 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
445 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
448 2015-04-28 Doug Evans <dje@google.com>
450 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
453 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
455 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
458 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
460 * Makefile.am (SUBDIRS): Move python to hosted_source.
461 * Makefile.in: Regenerate.
462 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
463 * configure: Regenerate.
465 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
468 * include/std/limits (numeric_limits): Add missing unsigned.
470 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
472 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
474 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
477 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
478 Handle enumeration types larger than sizeof(long).
479 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
481 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
482 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
484 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
485 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
487 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
490 * include/bits/forward_list.h (forward_list::splice_after): Add
492 * include/bits/forward_list.tcc (forward_list::splice_after):
496 * include/bits/random.h (seed_seq) Define copy constructor and copy
497 assignment as deleted.
498 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
500 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
501 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
502 Use -std=gnu++1z. Check feature-test macro.
504 * include/std/type_traits (void_t): Add.
505 * testsuite/20_util/void_t/1.cc: New.
507 2015-04-28 Tim Shen <timshen@google.com>
509 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
510 * include/bits/regex_automaton.tcc: Throw exception when parsing
511 back-reference with flag __polynomial.
512 * include/bits/regex_constants.h: Add extension flag
513 syntax_option_type __polynomial.
514 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
515 Alternative operation will be fixed in the coming refactoring.
516 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
517 loose match_search_debug to use DFS only.
519 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
522 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
523 Make the generated test program fail gracefully if the target
524 doesn't support passing command-line arguments.
526 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
527 Jonathan Wakely <jwakely@redhat.com>
529 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
530 Return false or zero if the library is built without exceptions.
531 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
532 the library is built without exceptions.
534 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
536 * config/abi/pre/gnu.ver: Fix comment.
538 Add support for std::uncaught_exceptions.
539 * acinclude.m4: Bump libtool_VERSION.
540 * config/abi/pre/gnu.ver: Export the new symbol.
541 * configure: Regenerate.
542 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
543 * libsupc++/exception (uncaught_exceptions): New.
544 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
545 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
547 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
548 Michael Hanselmann <public@hansmi.ch>
551 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
553 * testsuite/18_support/exception_ptr/62258.cc: New.
555 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
557 * doc/xml/manual/extensions.xml: Add cross-reference.
558 * doc/html/manual/ext_compile_checks.html: Regenerate.
560 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
562 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
563 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
565 2015-04-22 Renlin Li <renlin.li@arm.com>
567 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
568 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
569 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
570 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
571 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
573 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
575 * doc/xml/manual/configure.xml: Update descriptions of options
576 affecting dual ABI and add cross-references.
577 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
578 * doc/xml/manual/using.xml: Document ABI transition.
579 * doc/html/*: Regenerate.
581 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
582 * doc/xml/manual/using.xml: Document newer -std options. Use better
583 examples of nested namespaces.
585 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
587 * doc/xml/manual/concurrency_extensions.xml: Update documentation
589 * doc/xml/manual/using.xml: Likewise. Improve markup.
590 * doc/html/*: Regenerate.
592 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
594 * scripts/extract_symvers.pl: Ignore elfdump error output.
596 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
599 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
600 _List_const_iterator): Declare.
601 (__distance): Declare new overloads for _List_iterator and
602 _List_const_iterator.
603 * include/bits/stl_list.h (__distance): New overloads for
604 _List_iterator and _List_const_iterator.
605 * testsuite/23_containers/list/61347.cc: New testcase.
607 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
609 * doc/xml/manual/evolution.xml: Fix typos.
610 * doc/html/manual/api.html: Regenerate.
612 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
614 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
615 alignment is larger-equal, not equal, to default alignment.
617 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
620 * config/abi/pre/gnu.ver: Export base object constructors for
622 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
623 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
624 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
625 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
626 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
627 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
628 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
629 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
630 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
631 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
632 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
633 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
634 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
635 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
636 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
637 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
638 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
639 * testsuite/27_io/basic_fstream/cons/base.cc: New.
641 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
643 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
644 * doc/html/*: Regenerate.
646 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
648 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
650 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
652 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
654 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
656 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
658 * doc/xml/manual/test.xml: Improve documentation on running a subset
660 * doc/html/manual/test.html: Regenerate.
662 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
664 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
666 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
669 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
671 * include/std/shared_mutex (shared_timed_mutex): Add comments to
672 explain the logic in the non-pthread_rwlock_t version.
673 (_Mutex): Remove redundant type.
674 (_M_n_readers): Rename to _S_max_readers.
675 (_M_write_entered, _M_readers): New convenience functions.
676 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
677 functions. Use predicates with condition variables. Simplify bitwise
679 (try_lock_for, try_shared_lock_for): Convert duration to time_point
680 and call try_lock_until or try_shared_lock_until respectively.
681 (try_lock_until, try_shared_lock_until): Wait on the condition
682 variables until the specified time passes.
683 (unlock): Add Debug Mode assertion.
684 (unlock_shared): Add Debug Mode assertion.
685 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
687 * include/std/shared_mutex (shared_timed_mutex): Only use
688 pthread_rwlock_t when the POSIX Timeouts option is supported.
689 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
690 dg-require-gthreads-timed.
691 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
692 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
693 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
695 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
697 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
699 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
700 Richard Henderson <rth@redhat.com>
703 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
705 * include/std/atomic (atomic): For types with a power of two size set
706 alignment to at least the size.
707 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
708 * testsuite/29_atomics/atomic/65147.cc: New.
709 * testsuite/29_atomics/atomic_integral/65147.cc: New.
711 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
713 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
714 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
715 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
717 2015-04-07 Jakub Jelinek <jakub@redhat.com>
719 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
720 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
721 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
722 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
723 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
724 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
725 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
726 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
728 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
731 * config/abi/pre/gnu.ver: Export operator+ for new strings.
732 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
733 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
735 2015-03-28 Tim Shen <timshen@google.com>
738 * include/bits/regex_constants.h: Use constexpr variables for flags.
739 * testsuite/28_regex/constants/constexpr.cc: New testcase.
741 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
744 * include/std/chrono: Add using-directive for literals to std::chrono.
745 * testsuite/20_util/duration/literals/65499.cc: New.
747 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
751 * include/std/thread (this_thread::sleep_for): Check for negative
753 (this_thread::sleep_until): Check for times in the past.
754 * testsuite/30_threads/this_thread/58038.cc: New.
755 * testsuite/30_threads/this_thread/60421.cc: New.
757 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
761 * include/std/atomic (atomic<T>): Increase alignment for types with
762 the same size as one of the integral types.
763 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
764 * testsuite/29_atomics/atomic/62259.cc: New.
766 2015-03-26 Richard Henderson <rth@redhat.com>
769 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
770 a fake pointer indicating type alignment.
771 (__atomic_base<T *>::is_lock_free): Likewise.
772 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
774 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
777 * testsuite/21_strings/basic_string/pthread33394.cc: Use
778 dg-additional-options.
780 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
783 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
785 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
787 * testsuite/27_io/rvalue_streams-2.cc: New.
789 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
792 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
794 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
797 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
798 * configure: Regenerate.
799 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
800 system_category): Use macros for versioned namespace.
801 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
803 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
805 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
806 test for unused for ARM.
807 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
808 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
810 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
812 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
813 * include/ext/codecvt_specializations.h (encoding_state,
814 encoding_char_traits): Remove abi-tag and use inline namespace.
815 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
817 2015-03-19 Jason Merrill <jason@redhat.com>
819 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
820 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
822 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
825 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
826 get_catalogs): Add abi-tag.
827 * include/ext/codecvt_specializations.h (encoding_state,
828 encoding_char_traits): Likewise.
829 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
830 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
831 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
832 money_get_shim, money_put_shim, messages_shim): Likewise.
833 * src/c++11/future.cc (future_error_category::message): Likewise.
834 * src/c++11/system_error.cc (generic_error_category::message,
835 system_error_category::message): Likewise.
836 (__sso_string): Disable -Wabi-tag warnings.
838 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
841 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
842 implementation for old glibc. Fix whitespace.
844 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
845 Torvald Riegel <triegel@redhat.com>
847 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
848 * config.h.in: Regenerate.
849 * configure: Regenerate.
850 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
851 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
852 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
853 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
856 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
858 * libsupc++/nested_exception.h: Do not try to derive from final
860 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
863 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
864 unused exception variable.
865 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
866 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
868 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
870 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
872 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
873 * configure: Regenerate.
875 * include/experimental/system_error: Fix include guard.
877 2015-03-12 Renlin Li <renlin.li@arm.com>
879 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
882 2015-03-10 Tim Shen <timshen@google.com>
885 * include/bits/regex.h (match_results<>::size,
886 match_results<>::position, match_results<>::str,
887 match_results<>::operator[], match_results<>::prefix,
888 match_results<>::suffix, match_results<>::end,
889 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
890 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
891 global __unmatched_sub. Add unmatched submatch as part of
893 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
894 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
895 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
898 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
901 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
902 for newlib targets. Really fix mixed line-endings this time.
904 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
906 * include/std/future (future_error(error_code)): Construct base
907 class with error_code's message.
908 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
911 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
913 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
915 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
916 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
918 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
921 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
922 incomplete multibyte sequences correctly.
923 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
924 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
925 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
927 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
928 Define convenience functions.
929 (read_utf8_code_point): Return relevant constant to distinguish
930 incomplete characters from invalid sequences.
931 (read_utf16_code_point): Likewise. Check for invalid sequences.
932 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
933 (utf16_out): Check for invalid sequences.
934 (utf16_span): Fix condition.
935 (ucs2_out): Use is_high_surrogate.
936 (ucs2_in): Use incomplete_mb_character constant and fix condition.
937 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
938 * testsuite/22_locale/conversions/buffer/1.cc: New.
939 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
940 char32_t instead of wchar_t.
941 * testsuite/22_locale/conversions/string/3.cc: New.
943 2015-03-03 Iain Sandoe <iain@codesourcery.com>
946 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
947 visibility for Darwin.
948 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
950 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
952 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
955 * include/std/scoped_allocator (__inner_type_impl,
956 scoped_allocator_adaptor): Add defaulted copy assignment and move
957 assignment operators.
958 * testsuite/20_util/scoped_allocator/65279.cc: New.
960 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
963 * include/std/stdexcept (__sso_string): Don't use non-static member
966 2015-02-28 Matthias Klose <doko@ubuntu.com>
969 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
971 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
973 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
974 * doc/html/manual/status.html: Regenerate.
976 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
979 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
982 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
984 * doc/html/manual/status.html: Regenerate.
986 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
989 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
990 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
992 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
995 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
996 (test01): Add explanatory comment. Keep only the bd1 sub-test and
997 split out bd2, bd3, bd4, and bd5 sub-tests into...
998 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
999 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
1000 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
1001 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
1002 New separate files with the old parts.
1004 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
1006 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
1008 (utf16_in): Pass mode argument to write_utf16_code_point.
1009 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
1011 * testsuite/22_locale/codecvt/char16_t.cc: New.
1012 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
1014 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
1015 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
1017 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1018 Jonathan Wakely <jwakely@redhat.com>
1020 * testsuite/22_locale/codecvt/char32_t.cc: New.
1022 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
1025 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
1026 empty string gets null-terminated.
1027 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
1029 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
1031 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
1032 mixed line-endings introduced in last change.
1034 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
1036 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
1037 for __NEWLIB__ macro with a dejagnu set macro.
1038 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1040 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1043 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
1044 special case for '\n'.
1045 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1047 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
1049 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
1051 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
1054 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
1056 * include/c_std/cstdio (gets): Likewise.
1057 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
1058 with attributes used in darwin headers.
1060 2015-01-29 Jakub Jelinek <jakub@redhat.com>
1062 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
1063 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
1064 * configure: Regenerated.
1066 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
1068 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1069 after vtv_cygmin is set.
1070 * configure: Regenerated.
1072 2015-01-29 Matthias Klose <doko@ubuntu.com>
1074 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1076 * configure: Regenerate.
1078 2015-01-29 Caroline Tice <cmtice@google.com>
1080 Committing VTV Cywin/Ming patch for Patrick Wollgast
1081 * configure: Regenerate.
1082 * libsupc++/Makefile.in: Regenerate.
1083 * src/Makefile.in: Regenerate.
1085 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
1087 * include/bits/atomic_base.h: Use __always_inline__ instead of
1089 * include/bits/atomic_futex.h: Likewise.
1090 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
1091 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
1092 __packed__ instead of packed.
1093 * include/std/shared_mutex: Use __unused__ instead of unused.
1094 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
1095 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
1096 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
1098 2015-01-28 Caroline Tice <cmtice@google.com>
1100 Committing VTV Cywin/Ming patch for Patrick Wollgast
1101 * acinclude.m4: Define VTV_CYGMIN.
1102 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
1103 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
1104 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
1105 for Cygwin and MinGW.
1106 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
1107 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
1108 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
1110 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
1113 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
1114 * libsupc++/Makefile.in: Regenerate.
1115 * src/c++11/Makefile.in: Regenerate.
1117 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1119 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
1120 check for unsupported.
1121 (v3_target_compile_as_c): Likewise.
1123 2015-01-28 Richard Biener <rguenther@suse.de>
1126 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
1128 (pool::allocate): Adjust allocation size and alignment to
1130 (pool::free): Adjust pointer offsetting.
1132 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
1135 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
1136 shared_timed_mutex::try_lock_until): Only define when POSIX thread
1137 timeouts option is supported.
1138 (shared_timed_mutex::try_shared_lock_for,
1139 shared_timed_mutex::try_shared_lock_until): Likewise.
1141 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1144 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
1145 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
1146 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
1147 and use cache's _M_grouping field.
1148 (__numpunct_fill_cache): Likewise.
1149 (__moneypunct_fill_cache): Improve comments.
1151 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1153 * testsuite/23_containers/set/operations/2.cc: Add test for
1154 non-transparent comparison function.
1156 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
1159 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
1160 Remove SH4A inline asm and lock based implementations and use the
1161 defaults from ext/atomicity.h.
1163 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
1165 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
1166 new std::string constructors for byname facets.
1168 2015-01-22 Richard Biener <rguenther@suse.de>
1171 * libsupc++/eh_alloc.cc: Include new.
1172 (bitmask_type): Remove.
1173 (one_buffer): Likewise.
1174 (emergency_buffer): Likewise.
1175 (emergency_used): Likewise.
1176 (dependents_buffer): Likewise.
1177 (dependents_used): Likewise.
1178 (class pool): New custom fixed-size arena, variable size object
1180 (emergency_pool): New global.
1181 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
1182 (__cxxabiv1::__cxa_free_exception): Likewise.
1183 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
1184 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
1186 2015-01-22 Tim Shen <timshen@google.com>
1189 * include/bits/regex.h (basic_regex<>::basic_regex,
1190 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
1192 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
1194 2015-01-22 Tim Shen <timshen@google.com>
1197 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1198 regex_traits<>::lookup_classname): Correctly narrow input chars.
1199 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
1201 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1203 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
1205 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1207 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
1209 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1211 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
1212 * doc/xml/manual/status_cxx2014.xml: Update status.
1213 * doc/html/manual/status.html: Regenerate.
1215 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1218 * include/experimental/optional (bad_optional_access): Add default
1220 * testsuite/experimental/optional/requirements.cc: Test for default
1223 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1225 * include/bits/stl_map.h (map::find<>, map::count<>,
1226 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1227 member function templates to perform heterogeneous lookup.
1228 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
1229 multimap::lower_bound<>, multimap::upper_bound<>,
1230 multimap::equal_range<>): Likewise.
1231 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
1232 multiset::lower_bound<>, multiset::upper_bound<>,
1233 multiset::equal_range<>): Likewise.
1234 * include/bits/stl_set.h (set::find<>, set::count<>,
1235 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1236 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
1237 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
1238 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
1239 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
1240 * testsuite/23_containers/map/operations/2.cc: New.
1241 * testsuite/23_containers/multimap/operations/2.cc: New.
1242 * testsuite/23_containers/multiset/operations/2.cc: New.
1243 * testsuite/23_containers/set/operations/2.cc: New.
1245 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1247 * config/abi/pre/gnu.ver: Export new constructors.
1248 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
1249 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
1250 specializations and declare explicit instantiations.
1251 * include/bits/locale_classes.h (locale, collate_byname): Add string
1253 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
1255 * include/bits/locale_facets_nonio.h (time_get_byname,
1256 time_put_byname, moneypunct_byname, messages_byname): Likewise.
1257 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
1258 codecvt_byname<char32_t>): Define explicit instantiations.
1259 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
1260 Instantiate string constructors.
1261 (ctype_byname): Define string constructor.
1262 * testsuite/22_locale/codecvt_byname/1.cc: New.
1263 * testsuite/22_locale/collate_byname/1.cc: New.
1264 * testsuite/22_locale/ctype_byname/2.cc: New.
1265 * testsuite/22_locale/messages_byname/1.cc: New.
1266 * testsuite/22_locale/moneypunct_byname/1.cc: New.
1267 * testsuite/22_locale/numpunct_byname/1.cc: New.
1269 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1272 * include/std/atomic (atomic_init): Define.
1273 * testsuite/29_atomics/atomic/64658.cc: New.
1275 2015-01-19 Tim Shen <timshen@google.com>
1278 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1279 regex_traits<>::lookup_classname): Support forward iterators.
1280 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
1281 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
1283 2015-01-19 Tim Shen <timshen@google.com>
1287 * include/bits/regex.h (basic_regex<>::basic_regex,
1288 basic_regex<>::assign, basic_regex<>::imbue,
1289 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
1290 imbuing basic_regex; Make assign() transactional against exception.
1291 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
1292 __compile_nfa SFINAE.
1293 * include/std/regex: Adjust include order to avoid __compile_nfa
1294 forward declaration.
1295 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
1296 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
1298 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
1299 Jonathan Wakely <jwakely@redhat.com>
1301 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
1302 on overloads for arrays.
1303 (cbegin, cend, rbegin, rend, crbegin, crend): New.
1304 * testsuite/24_iterators/range_access_cpp14.cc: New.
1306 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1309 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
1310 end of the second range.
1311 * testsuite/25_algorithms/is_permutation/64646.cc: New.
1313 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1315 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
1316 * doc/html/manual/status.html: Regenerate.
1318 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1320 * include/bits/atomic_futex.h: Use mutex and condition_variable when
1321 atomic int is not lock-free. Make member variables private.
1322 * src/c++11/futex.cc: Likewise.
1324 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
1326 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1329 * include/bits/atomic_futex.h: Use appropriate config macros for
1330 availability of std::mutex, std::condition and std::chrono.
1332 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
1333 Jonathan Wakely <jwakely@redhat.com>
1335 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
1336 * doc/html/*: Regenerate.
1338 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1342 * include/bits/algorithmfwd.h (rotate): Return an iterator.
1343 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
1344 * testsuite/25_algorithms/rotate/dr488.cc: New.
1345 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
1346 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1348 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1351 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1354 * include/bits/atomic_base.h: Remove atomic integral typedefs as
1355 synonyms for __atomic_base<int> etc.
1356 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
1357 likewise for all atomic integral types.
1358 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1359 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1361 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1364 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
1365 and define one-element specialization.
1366 * testsuite/20_util/tuple/56785.cc: New.
1368 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1370 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
1371 Remove unused header.
1372 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
1374 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1377 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1379 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
1380 * include/std/locale: Include new header.
1381 * include/Makefile.am: Add it.
1382 * include/Makefile.in: Regenerate.
1383 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
1384 * testsuite/22_locale/conversions/string/1.cc: New.
1385 * testsuite/22_locale/conversions/string/2.cc: New.
1386 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
1387 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
1390 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1392 * config/abi/pre/gnu.ver: Export new symbols.
1393 * include/Makefile.am: Add codecvt.
1394 * include/Makefile.in: Regenerate.
1395 * include/std/codecvt: New header.
1396 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
1397 __codecvt_utf8_utf16_base): Define specializations.
1398 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
1399 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
1400 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1403 2015-01-16 Torvald Riegel <triegel@redhat.com>
1405 * src/c++11/futex.cc: New file.
1406 * include/bits/atomic_futex.h: New file.
1407 * include/std/future (__future_base::_State_baseV2): Use
1408 atomic_futex_unsigned instead of mutex+condvar.
1409 * src/c++11/futex.cc: Likewise.
1410 * include/Makefile.am: Add atomic_futex.h.
1411 * include/Makefile.in: Likewise.
1412 * src/c++11/Makefile.am: Add futex.cc.
1413 * src/c++11/Makefile.in: Likewise.
1415 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1417 * acinclude.m4: Fix typo in comment.
1418 * configure: Regenerate.
1419 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
1420 codecvt<char16_t, char, mbstate_t>): Declare specializations.
1421 * include/bits/locale_facets.h: Reserve space for new specializations.
1422 * src/c++11/Makefile.am: Add codecvt.cc.
1423 * src/c++11/Makefile.in: Regenerate.
1424 * src/c++11/codecvt.cc: New.
1425 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
1427 * src/c++98/Makefile.in: Regenerate.
1428 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
1429 * src/c++98/localename.cc: Likewise.
1430 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
1431 * testsuite/22_locale/codecvt/utf8.cc: New.
1432 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
1433 specializations are installed in locale objects.
1435 2015-01-16 Torvald Riegel <triegel@redhat.com>
1437 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
1440 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
1443 * config/abi/pre/gnu.ver: Export fstream functions using new string.
1445 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
1448 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
1452 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
1454 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
1456 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
1457 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
1458 Multi Processing Runtime Library".
1460 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
1463 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
1464 is_assignable arguments.
1465 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
1468 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1470 * libsupc++/unwind-cxx.h: Revert previous commit.
1472 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1474 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
1476 2015-01-09 Tim Shen <timshen@google.com>
1479 * include/bits/regex.h (match_results<>::swap): Use std::swap
1481 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
1483 * testsuite/28_regex/match_results/swap.cc: New testcase.
1485 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1488 * include/std/type_traits (has_trivial_default_constructor,
1489 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
1491 * testsuite/20_util/has_trivial_copy_assign/requirements/
1492 explicit_instantiation.cc: Use -Wno-deprecated.
1493 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
1495 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
1496 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1497 explicit_instantiation.cc: Likewise.
1498 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1499 typedefs.cc: Likewise.
1500 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
1501 * testsuite/20_util/has_trivial_default_constructor/requirements/
1502 explicit_instantiation.c: Likewise.
1503 * testsuite/20_util/has_trivial_default_constructor/requirements/
1504 typedefs.cc: Likewise.
1505 * testsuite/20_util/has_trivial_default_constructor/value.cc:
1507 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
1509 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
1510 * testsuite/util/testsuite_common_types.h: Likewise.
1512 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1514 * include/bits/hashtable_policy.h: Use __bool_constant.
1516 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
1518 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
1519 * libsupc++/Makefile.in: Regenerate.
1521 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
1523 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
1525 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1527 Update copyright years.
1529 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
1532 * testsuite/18_support/exception_ptr/64241.cc: Use
1533 dg-require-atomic-builtins.
1535 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1537 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
1540 2015-01-02 Tim Shen <timshen@google.com>
1543 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
1544 iterator, since the original one shouldn't be mutated.
1546 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1549 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
1550 (string::insert): Likewise.
1551 (string::replace): Likewise.
1552 (wstring::erase): Likewise.
1553 (wstring::insert): Likewise.
1554 (wstring::replace): Likewise.
1555 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
1557 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1560 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
1562 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1565 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
1566 Revert removal of dg-require-string-conversions.
1567 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1569 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1571 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1573 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1575 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1577 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1579 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1581 * testsuite/21_strings/basic_string/numeric_conversions/char/
1582 stoull.cc: Likewise.
1583 * testsuite/21_strings/basic_string/numeric_conversions/char/
1584 to_string.cc: Likewise.
1586 Copyright (C) 2015 Free Software Foundation, Inc.
1588 Copying and distribution of this file, with or without modification,
1589 are permitted in any medium without royalty provided the copyright
1590 notice and this notice are preserved.