1 2015-05-14 Nathan Myers <ncm@cantrip.org>
2 Jonathan Wakely <jwakely@redhat.com>
5 * include/std/unordered_map (unordered_map, unordered_multimap): Add
7 * include/std/unordered_set (unordered_set, unordered_multiset):
9 * testsuite/23_containers/unordered_map/cons/66055.cc: New.
10 * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
11 * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
12 * testsuite/23_containers/unordered_set/cons/66055.cc: New.
14 2015-05-14 Jonathan Wakely <jwakely@redhat.com>
17 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
19 * config.h.in: Regenerate.
20 * configure: Regenerate.
21 * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
22 not return after copying contents. Use fchmod, fchmodat, and sendfile
24 (current_path, permissions, space): Use errno not return value.
27 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
29 * config.h.in: Regenerate.
30 * configure: Regenerate.
31 * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
33 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
35 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
36 * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
37 * config.h.in: Regenerate.
38 * configure: Likewise.
39 * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
40 __USING_SJLJ_EXCEPTIONS__.
41 * libsupc++/eh_throw.cc: Likewise.
42 * libsupc++/eh_ptr.cc: Likewise.
43 * doc/html/manual/appendix_porting.html: Remove
44 GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
45 * doc/xml/manual/build_hacking.xml: Likewise.
46 * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
47 * doc/xml/manual/configure.xml: Likewise.
49 2015-05-13 Jonathan Wakely <jwakely@redhat.com>
51 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
52 for nullptr (LWG 2415).
53 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
54 construction from empty unique_ptr.
55 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
56 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
58 * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
60 * testsuite/20_util/raw_storage_iterator/base.cc: New.
62 * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
63 Remove explicit (LWG 2407).
65 * include/bits/basic_string.h (basic_string::basic_string()): Make
66 noexcept conditional on allocator (LWG 2455).
68 * include/std/complex (polar): Check for negative rho (LWG 2459).
70 * include/experimental/tuple (apply): Handle pointers to member (LWG
72 * include/std/functional (_Mem_fn_base): Make constructors constexpr.
73 (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
74 * testsuite/experimental/tuple/apply.cc: Test pointer to member.
76 * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
78 * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
79 * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
80 * testsuite/23_containers/forward_list/allocator/minimal.cc:
82 * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
83 * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
84 * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
85 * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
86 * testsuite/23_containers/unordered_map/allocator/minimal.cc:
88 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
90 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
92 * testsuite/23_containers/unordered_set/allocator/minimal.cc:
94 * testsuite/util/testsuite_allocator.h: Remove unused parameter.
96 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
97 * configure: Regenerate.
99 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
101 * Makefile.in: Regenerated with automake-1.11.6.
102 * aclocal.m4: Likewise.
103 * configure: Likewise.
104 * doc/Makefile.in: Likewise.
105 * include/Makefile.in: Likewise.
106 * libsupc++/Makefile.in: Likewise.
107 * po/Makefile.in: Likewise.
108 * python/Makefile.in: Likewise.
109 * src/Makefile.in: Likewise.
110 * src/c++11/Makefile.in: Likewise.
111 * src/c++98/Makefile.in: Likewise.
112 * src/filesystem/Makefile.in: Likewise.
113 * testsuite/Makefile.in: Likewise.
115 2015-05-09 Jason Merrill <jason@redhat.com>
117 * testsuite/20_util/headers/functional/synopsis.cc: Add
118 _GLIBCXX14_CONSTEXPR.
119 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
121 2015-05-08 Jason Merrill <jason@redhat.com>
123 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
124 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
125 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
126 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
127 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
128 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
129 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
130 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
131 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
132 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
133 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc: Likewise.
134 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
135 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust expected errors.
136 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
137 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: Likewise.
138 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
139 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
140 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
141 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
142 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
143 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
144 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
145 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
146 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
147 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
148 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
149 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
150 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
151 * testsuite/ext/array_allocator/check_allocate_max_size.cc: Add -Wno-deprecated.
152 * testsuite/ext/array_allocator/check_deallocate_null.cc: Add -Wno-deprecated.
153 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
154 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
155 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
156 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc: Add -std=c++98.
157 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Add -std=c++98.
158 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Add -std=c++98.
159 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Add -std=c++98 -fno-show-column.
160 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc: Add -std=c++98.
161 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Add -std=c++98.
162 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
163 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
165 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
166 * src/c++98/Makefile.in: Regenerate.
167 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
168 * src/Makefile.in: Regenerate.
170 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
173 * include/std/future (async): Change default policy to launch::async.
175 * include/experimental/any (any::_Storage): Fix alignment of buffer.
176 (any::_Internal): Check alignment of type.
177 * testsuite/experimental/any/cons/aligned.cc: New.
178 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
180 * include/experimental/iterator (ostream_joiner): Simplify by using
181 the injected-class-name and the ostream_type typedef.
183 * include/experimental/iterator: New. Define ostream_joiner.
184 * include/Makefile.am: Add new header.
185 * include/Makefile.in: Regenerate.
186 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
187 * testsuite/experimental/iterator/ostream_joiner.cc: New.
188 * testsuite/experimental/iterator/requirements.cc: New.
189 * doc/xml/manual/status_cxx2017.xml: Update status.
190 * doc/html/manual/status.html: Regenerate.
192 * include/experimental/numeric: New. Define gcd and lcm.
193 * include/Makefile.am: Add new header.
194 * include/Makefile.in: Regenerate.
195 * testsuite/experimental/numeric/gcd.cc: New.
196 * testsuite/experimental/numeric/lcm.cc: New.
197 * doc/xml/manual/status_cxx2017.xml: Update status.
198 * doc/html/manual/status.html: Regenerate.
200 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
202 Revert addition of feature macros from other headers per latest SD-6.
203 * include/experimental/deque: Remove feature-test macro.
204 * include/experimental/forward_list: Ditto.
205 * include/experimental/list: Ditto.
206 * include/experimental/map: Ditto.
207 * include/experimental/set: Ditto.
208 * include/experimental/string: Ditto.
209 * include/experimental/unordered_map: Ditto.
210 * include/experimental/unordered_set: Ditto.
212 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
214 * include/experimental/any (any::_Storage): Make non-copyable.
215 (any::any): Do not copy _Storage object.
216 (any::operator=): Implement more efficiently than swapping.
217 (any::swap): Use new _Op_xfer operation.
218 (any::_Op::_Op_xfer): New enumerator.
219 (_Manager_internal::_S_alloc): Remove unused function.
220 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
221 parameter instead of returning a _Storage object.
222 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
223 _Op_xfer operation for moving and swapping.
224 * testsuite/experimental/any/cons/nontrivial.cc: New.
225 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
227 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
229 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
233 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
234 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
235 and fix tests for forward_as_tuple and tie.
237 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
238 Set timespec members explicitly instead of with a braced-init-list.
239 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
241 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
243 * include/experimental/deque: Add feature-test macro.
244 * include/experimental/forward_list: Ditto.
245 * include/experimental/list: Ditto.
246 * include/experimental/map: Ditto.
247 * include/experimental/set: Ditto.
248 * include/experimental/string: Ditto.
249 * include/experimental/unordered_map: Ditto.
250 * include/experimental/unordered_set: Ditto.
252 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
254 * include/experimental/memory: Correct feature-test macro.
256 * include/experimental/memory: Add feature-test macro.
257 * include/experimental/vector: Likewise.
258 * doc/xml/manual/status_cxx2017.xml: Update status.
259 * doc/html/manual/status.html: Regenerate.
261 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
263 Implement observer_ptr.
264 * include/Makefile.am: Add new header.
265 * include/Makefile.in: Regenerate.
266 * include/experimental/memory: New.
267 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
268 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
269 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
270 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
271 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
272 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
273 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
274 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
276 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
278 * src/filesystem/path.cc (path::compare): Do not copy strings.
280 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
282 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
283 * configure: Regenerate.
284 * config.h.in: Regenerate.
285 * configure.ac: Check for utime.h
286 * include/experimental/fs_path.h (path::string<>)
287 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
288 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
289 closedir, dirent, readdir_r): Replace dummy functions with #error.
290 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
291 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
292 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
293 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
294 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
297 * include/experimental/fs_path.h (path::_List): Use vector instead of
299 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
300 * src/filesystem/path.cc: Use std::prev instead of decrementing
301 rvalues. Fix whitespace.
302 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
303 Do not decrement iterators before begin.
305 * include/experimental/fs_dir.h: Fix use of non-reserved names.
306 * include/experimental/fs_ops.h: Likewise.
307 * include/experimental/fs_path.h: Likewise.
308 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
309 C++11 when checking for support.
311 * include/bits/locale_classes.h (locale::facet): Delete copy
312 operations in C++11 mode.
314 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
316 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
317 * configure: Regenerate.
319 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
321 Inline one-line erasure dispatch functions.
322 * include/experimental/forward_list (erase_if(), erase()): Inline.
323 * include/experimental/list (erase_if(), erase()): Inline.
324 * include/experimental/map (erase_if(*)): Inline.
325 * include/experimental/set (erase_if(*)): Inline.
326 * include/experimental/string (erase_if(), erase()): Inline.
327 * include/experimental/unordered_map (erase_if(*)): Inline.
328 * include/experimental/unordered_set (erase_if(*)): Inline.
330 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
332 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
333 * doc/xml/manual/status_cxx2011.xml: Update status tables.
334 * doc/xml/manual/status_cxx2014.xml: Likewise.
335 * doc/xml/manual/status_cxx2017.xml: New.
336 * doc/xml/manual/using.xml: Fix typo.
337 * doc/html/*: Regenerate.
339 * include/std/memory (pointer_safety, declare_reachable,
340 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
341 get_pointer_safety): Define.
342 * testsuite/20_util/pointer_safety/1.cc: New.
344 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
346 Implement N4100 File System TS
347 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
348 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
349 * config.h.in: Regenerate.
350 * configure: Regenerate.
351 * configure.ac: Enable filesystem TS and check its dependencies.
352 * include/Makefile.am: Add new headers.
353 * include/Makefile.in: Regenerate.
354 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
355 __str_codecvt_out): Move code conversion logic from wstring_convert
356 into new global functions.
357 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
359 (wstring_convert::_M_conv): Remove.
360 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
361 * include/experimental/filesystem: New.
362 * include/experimental/fs_dir.h: New.
363 * include/experimental/fs_fwd.h: New.
364 * include/experimental/fs_ops.h: New.
365 * include/experimental/fs_path.h: New.
366 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
367 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
368 * src/Makefile.am (SUBDIRS): Add filesystem.
369 * src/Makefile.in: Regenerate.
370 * src/filesystem/Makefile.am: New.
371 * src/filesystem/Makefile.in: New.
372 * src/filesystem/dir.cc: New.
373 * src/filesystem/ops.cc: New.
374 * src/filesystem/path.cc: New.
375 * testsuite/experimental/filesystem/operations/absolute.cc: New.
376 * testsuite/experimental/filesystem/operations/copy.cc: New.
377 * testsuite/experimental/filesystem/operations/current_path.cc: New.
378 * testsuite/experimental/filesystem/path/append/path.cc: New.
379 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
380 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
381 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
382 * testsuite/experimental/filesystem/path/compare/path.cc: New.
383 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
384 * testsuite/experimental/filesystem/path/concat/path.cc: New.
385 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
386 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
387 * testsuite/experimental/filesystem/path/construct/default.cc: New.
388 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
389 * testsuite/experimental/filesystem/path/construct/range.cc: New.
390 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
391 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
392 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
394 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
396 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
398 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
400 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
402 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
403 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
405 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
406 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
407 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
409 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
411 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
413 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
415 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
416 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
417 * testsuite/experimental/filesystem/path/query/empty.cc: New.
418 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
419 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
420 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
422 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
424 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
426 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
428 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
430 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
431 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
432 * testsuite/util/testsuite_fs.h: New.
434 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
436 Add fundamentals TR container erasure.
437 * include/Makefile.am: Add new headers.
438 * include/Makefile.in: Add new headers.
439 * include/experimental/array: New.
440 * include/experimental/deque: New.
441 * include/experimental/erase_if.tcc: New.
442 * include/experimental/forward_list: New.
443 * include/experimental/list: New.
444 * include/experimental/map: New.
445 * include/experimental/set: New.
446 * include/experimental/string: New.
447 * include/experimental/unordered_map: New.
448 * include/experimental/unordered_set: New.
449 * include/experimental/vector: New.
450 * testsuite/experimental/deque/erasure.cc: New.
451 * testsuite/experimental/forward_list/erasure.cc: New.
452 * testsuite/experimental/list/erasure.cc: New.
453 * testsuite/experimental/map/erasure.cc: New.
454 * testsuite/experimental/set/erasure.cc: New.
455 * testsuite/experimental/string/erasure.cc: New.
456 * testsuite/experimental/unordered_map/erasure.cc: New.
457 * testsuite/experimental/unordered_set/erasure.cc: New.
458 * testsuite/experimental/vector/erasure.cc: New.
460 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
462 * include/bits/cpp_type_traits.h
463 (__gnu_cxx::__is_normal_iterator): Delete.
464 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
465 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
466 (std::__niter_base): Overloads for std::reverse_iterator,
467 __gnu_cxx::__normal_iterator and std::move_iterator.
469 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
471 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
473 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
474 Remove usage of latter and compute size of the prime numbers array
477 2015-04-29 Doug Evans <dje@google.com>
480 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
481 Replace all lookups of "bool" with this.
482 (get_std_size_type): New function. Replace all lookups of std::size_t
484 (*Worker): New method get_result_type.
485 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
486 (ListWorkerBase.__init__): New arg val_type. All callers updated.
487 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
488 Delete setting of name, enabled.
489 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
490 updated. Delete setting of name.
491 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
492 libstdc++ xmethod matchers.
493 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
494 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
495 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
496 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
497 * testsuite/libstdc++-xmethods/list.cc: Ditto.
498 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
499 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
501 2015-04-29 Doug Evans <dje@google.com>
503 Use consistent naming for value type attributes.
504 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
506 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
507 (ArrayFrontWorker, ArrayBackWorker): Ditto.
508 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
509 (DequeWorkerBase): Rename elemtype to val_type.
510 (ForwardListWorkerBase): Rename _elem_type to _val_type.
511 (ForwardListFrontWorker): Ditto. And rename elem_address to
513 (ForwardListMethodsMatcher): Rename elem_type to val_type.
514 (VectorWorkerBase): Rename _elemtype to _val_type.
516 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
519 * include/std/functional (__check_func_return_type): Use is_same to
520 avoid using _is_convertible on incomplete types.
521 * testsuite/20_util/function/65760.cc: New.
524 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
526 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
527 time_get::_M_extract_num, time_get::_M_extract_name,
528 time_get::_M_extract_wday_or_month): Likewise.
529 * include/bits/stl_algo.h (__includes, __replace_copy_if,
530 __is_sorted_until, __is_permutation, transform): Likewise.
531 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
532 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
533 * include/bits/stl_numeric.h (inner_product): Likewise.
534 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
535 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
536 input_iterator_wrapper): Declare unusable comma operator.
537 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
538 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
541 2015-04-28 Doug Evans <dje@google.com>
543 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
546 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
548 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
551 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
553 * Makefile.am (SUBDIRS): Move python to hosted_source.
554 * Makefile.in: Regenerate.
555 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
556 * configure: Regenerate.
558 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
561 * include/std/limits (numeric_limits): Add missing unsigned.
563 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
565 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
567 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
570 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
571 Handle enumeration types larger than sizeof(long).
572 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
574 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
575 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
577 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
578 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
580 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
583 * include/bits/forward_list.h (forward_list::splice_after): Add
585 * include/bits/forward_list.tcc (forward_list::splice_after):
589 * include/bits/random.h (seed_seq) Define copy constructor and copy
590 assignment as deleted.
591 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
593 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
594 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
595 Use -std=gnu++1z. Check feature-test macro.
597 * include/std/type_traits (void_t): Add.
598 * testsuite/20_util/void_t/1.cc: New.
600 2015-04-28 Tim Shen <timshen@google.com>
602 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
603 * include/bits/regex_automaton.tcc: Throw exception when parsing
604 back-reference with flag __polynomial.
605 * include/bits/regex_constants.h: Add extension flag
606 syntax_option_type __polynomial.
607 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
608 Alternative operation will be fixed in the coming refactoring.
609 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
610 loose match_search_debug to use DFS only.
612 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
615 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
616 Make the generated test program fail gracefully if the target
617 doesn't support passing command-line arguments.
619 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
620 Jonathan Wakely <jwakely@redhat.com>
622 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
623 Return false or zero if the library is built without exceptions.
624 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
625 the library is built without exceptions.
627 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
629 * config/abi/pre/gnu.ver: Fix comment.
631 Add support for std::uncaught_exceptions.
632 * acinclude.m4: Bump libtool_VERSION.
633 * config/abi/pre/gnu.ver: Export the new symbol.
634 * configure: Regenerate.
635 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
636 * libsupc++/exception (uncaught_exceptions): New.
637 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
638 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
640 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
641 Michael Hanselmann <public@hansmi.ch>
644 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
646 * testsuite/18_support/exception_ptr/62258.cc: New.
648 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
650 * doc/xml/manual/extensions.xml: Add cross-reference.
651 * doc/html/manual/ext_compile_checks.html: Regenerate.
653 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
655 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
656 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
658 2015-04-22 Renlin Li <renlin.li@arm.com>
660 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
661 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
662 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
663 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
664 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
666 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
668 * doc/xml/manual/configure.xml: Update descriptions of options
669 affecting dual ABI and add cross-references.
670 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
671 * doc/xml/manual/using.xml: Document ABI transition.
672 * doc/html/*: Regenerate.
674 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
675 * doc/xml/manual/using.xml: Document newer -std options. Use better
676 examples of nested namespaces.
678 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
680 * doc/xml/manual/concurrency_extensions.xml: Update documentation
682 * doc/xml/manual/using.xml: Likewise. Improve markup.
683 * doc/html/*: Regenerate.
685 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
687 * scripts/extract_symvers.pl: Ignore elfdump error output.
689 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
692 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
693 _List_const_iterator): Declare.
694 (__distance): Declare new overloads for _List_iterator and
695 _List_const_iterator.
696 * include/bits/stl_list.h (__distance): New overloads for
697 _List_iterator and _List_const_iterator.
698 * testsuite/23_containers/list/61347.cc: New testcase.
700 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
702 * doc/xml/manual/evolution.xml: Fix typos.
703 * doc/html/manual/api.html: Regenerate.
705 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
707 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
708 alignment is larger-equal, not equal, to default alignment.
710 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
713 * config/abi/pre/gnu.ver: Export base object constructors for
715 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
716 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
717 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
718 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
719 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
720 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
721 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
722 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
723 * config/abi/post/powerpc64-linux-gnu/32/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/solaris2.10/baseline_symbols.txt: Regenerate.
727 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
728 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
729 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
730 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
731 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
732 * testsuite/27_io/basic_fstream/cons/base.cc: New.
734 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
736 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
737 * doc/html/*: Regenerate.
739 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
741 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
743 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
745 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
747 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
749 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
751 * doc/xml/manual/test.xml: Improve documentation on running a subset
753 * doc/html/manual/test.html: Regenerate.
755 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
757 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
759 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
762 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
764 * include/std/shared_mutex (shared_timed_mutex): Add comments to
765 explain the logic in the non-pthread_rwlock_t version.
766 (_Mutex): Remove redundant type.
767 (_M_n_readers): Rename to _S_max_readers.
768 (_M_write_entered, _M_readers): New convenience functions.
769 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
770 functions. Use predicates with condition variables. Simplify bitwise
772 (try_lock_for, try_shared_lock_for): Convert duration to time_point
773 and call try_lock_until or try_shared_lock_until respectively.
774 (try_lock_until, try_shared_lock_until): Wait on the condition
775 variables until the specified time passes.
776 (unlock): Add Debug Mode assertion.
777 (unlock_shared): Add Debug Mode assertion.
778 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
780 * include/std/shared_mutex (shared_timed_mutex): Only use
781 pthread_rwlock_t when the POSIX Timeouts option is supported.
782 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
783 dg-require-gthreads-timed.
784 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
785 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
786 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
788 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
790 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
792 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
793 Richard Henderson <rth@redhat.com>
796 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
798 * include/std/atomic (atomic): For types with a power of two size set
799 alignment to at least the size.
800 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
801 * testsuite/29_atomics/atomic/65147.cc: New.
802 * testsuite/29_atomics/atomic_integral/65147.cc: New.
804 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
806 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
807 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
808 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
810 2015-04-07 Jakub Jelinek <jakub@redhat.com>
812 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
813 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
814 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
815 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
816 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
817 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
818 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
819 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
821 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
824 * config/abi/pre/gnu.ver: Export operator+ for new strings.
825 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
826 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
828 2015-03-28 Tim Shen <timshen@google.com>
831 * include/bits/regex_constants.h: Use constexpr variables for flags.
832 * testsuite/28_regex/constants/constexpr.cc: New testcase.
834 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
837 * include/std/chrono: Add using-directive for literals to std::chrono.
838 * testsuite/20_util/duration/literals/65499.cc: New.
840 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
844 * include/std/thread (this_thread::sleep_for): Check for negative
846 (this_thread::sleep_until): Check for times in the past.
847 * testsuite/30_threads/this_thread/58038.cc: New.
848 * testsuite/30_threads/this_thread/60421.cc: New.
850 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
854 * include/std/atomic (atomic<T>): Increase alignment for types with
855 the same size as one of the integral types.
856 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
857 * testsuite/29_atomics/atomic/62259.cc: New.
859 2015-03-26 Richard Henderson <rth@redhat.com>
862 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
863 a fake pointer indicating type alignment.
864 (__atomic_base<T *>::is_lock_free): Likewise.
865 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
867 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
870 * testsuite/21_strings/basic_string/pthread33394.cc: Use
871 dg-additional-options.
873 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
876 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
878 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
880 * testsuite/27_io/rvalue_streams-2.cc: New.
882 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
885 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
887 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
890 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
891 * configure: Regenerate.
892 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
893 system_category): Use macros for versioned namespace.
894 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
896 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
898 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
899 test for unused for ARM.
900 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
901 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
903 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
905 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
906 * include/ext/codecvt_specializations.h (encoding_state,
907 encoding_char_traits): Remove abi-tag and use inline namespace.
908 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
910 2015-03-19 Jason Merrill <jason@redhat.com>
912 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
913 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
915 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
918 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
919 get_catalogs): Add abi-tag.
920 * include/ext/codecvt_specializations.h (encoding_state,
921 encoding_char_traits): Likewise.
922 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
923 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
924 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
925 money_get_shim, money_put_shim, messages_shim): Likewise.
926 * src/c++11/future.cc (future_error_category::message): Likewise.
927 * src/c++11/system_error.cc (generic_error_category::message,
928 system_error_category::message): Likewise.
929 (__sso_string): Disable -Wabi-tag warnings.
931 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
934 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
935 implementation for old glibc. Fix whitespace.
937 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
938 Torvald Riegel <triegel@redhat.com>
940 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
941 * config.h.in: Regenerate.
942 * configure: Regenerate.
943 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
944 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
945 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
946 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
949 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
951 * libsupc++/nested_exception.h: Do not try to derive from final
953 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
956 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
957 unused exception variable.
958 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
959 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
961 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
963 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
965 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
966 * configure: Regenerate.
968 * include/experimental/system_error: Fix include guard.
970 2015-03-12 Renlin Li <renlin.li@arm.com>
972 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
975 2015-03-10 Tim Shen <timshen@google.com>
978 * include/bits/regex.h (match_results<>::size,
979 match_results<>::position, match_results<>::str,
980 match_results<>::operator[], match_results<>::prefix,
981 match_results<>::suffix, match_results<>::end,
982 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
983 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
984 global __unmatched_sub. Add unmatched submatch as part of
986 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
987 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
988 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
991 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
994 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
995 for newlib targets. Really fix mixed line-endings this time.
997 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
999 * include/std/future (future_error(error_code)): Construct base
1000 class with error_code's message.
1001 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
1004 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
1006 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1008 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
1009 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
1011 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
1014 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
1015 incomplete multibyte sequences correctly.
1016 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
1017 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
1018 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
1020 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
1021 Define convenience functions.
1022 (read_utf8_code_point): Return relevant constant to distinguish
1023 incomplete characters from invalid sequences.
1024 (read_utf16_code_point): Likewise. Check for invalid sequences.
1025 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
1026 (utf16_out): Check for invalid sequences.
1027 (utf16_span): Fix condition.
1028 (ucs2_out): Use is_high_surrogate.
1029 (ucs2_in): Use incomplete_mb_character constant and fix condition.
1030 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
1031 * testsuite/22_locale/conversions/buffer/1.cc: New.
1032 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
1033 char32_t instead of wchar_t.
1034 * testsuite/22_locale/conversions/string/3.cc: New.
1036 2015-03-03 Iain Sandoe <iain@codesourcery.com>
1039 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
1040 visibility for Darwin.
1041 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
1043 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
1045 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
1048 * include/std/scoped_allocator (__inner_type_impl,
1049 scoped_allocator_adaptor): Add defaulted copy assignment and move
1050 assignment operators.
1051 * testsuite/20_util/scoped_allocator/65279.cc: New.
1053 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
1056 * include/std/stdexcept (__sso_string): Don't use non-static member
1059 2015-02-28 Matthias Klose <doko@ubuntu.com>
1062 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
1064 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
1066 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
1067 * doc/html/manual/status.html: Regenerate.
1069 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
1072 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
1075 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
1077 * doc/html/manual/status.html: Regenerate.
1079 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
1082 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
1083 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
1085 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
1088 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
1089 (test01): Add explanatory comment. Keep only the bd1 sub-test and
1090 split out bd2, bd3, bd4, and bd5 sub-tests into...
1091 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
1092 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
1093 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
1094 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
1095 New separate files with the old parts.
1097 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
1099 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
1101 (utf16_in): Pass mode argument to write_utf16_code_point.
1102 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
1104 * testsuite/22_locale/codecvt/char16_t.cc: New.
1105 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
1107 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
1108 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
1110 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1111 Jonathan Wakely <jwakely@redhat.com>
1113 * testsuite/22_locale/codecvt/char32_t.cc: New.
1115 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
1118 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
1119 empty string gets null-terminated.
1120 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
1122 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
1124 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
1125 mixed line-endings introduced in last change.
1127 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
1129 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
1130 for __NEWLIB__ macro with a dejagnu set macro.
1131 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1133 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1136 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
1137 special case for '\n'.
1138 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
1140 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
1142 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
1144 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
1147 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
1149 * include/c_std/cstdio (gets): Likewise.
1150 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
1151 with attributes used in darwin headers.
1153 2015-01-29 Jakub Jelinek <jakub@redhat.com>
1155 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
1156 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
1157 * configure: Regenerated.
1159 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
1161 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1162 after vtv_cygmin is set.
1163 * configure: Regenerated.
1165 2015-01-29 Matthias Klose <doko@ubuntu.com>
1167 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
1169 * configure: Regenerate.
1171 2015-01-29 Caroline Tice <cmtice@google.com>
1173 Committing VTV Cywin/Ming patch for Patrick Wollgast
1174 * configure: Regenerate.
1175 * libsupc++/Makefile.in: Regenerate.
1176 * src/Makefile.in: Regenerate.
1178 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
1180 * include/bits/atomic_base.h: Use __always_inline__ instead of
1182 * include/bits/atomic_futex.h: Likewise.
1183 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
1184 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
1185 __packed__ instead of packed.
1186 * include/std/shared_mutex: Use __unused__ instead of unused.
1187 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
1188 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
1189 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
1191 2015-01-28 Caroline Tice <cmtice@google.com>
1193 Committing VTV Cywin/Ming patch for Patrick Wollgast
1194 * acinclude.m4: Define VTV_CYGMIN.
1195 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
1196 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
1197 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
1198 for Cygwin and MinGW.
1199 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
1200 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
1201 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
1203 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
1206 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
1207 * libsupc++/Makefile.in: Regenerate.
1208 * src/c++11/Makefile.in: Regenerate.
1210 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1212 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
1213 check for unsupported.
1214 (v3_target_compile_as_c): Likewise.
1216 2015-01-28 Richard Biener <rguenther@suse.de>
1219 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
1221 (pool::allocate): Adjust allocation size and alignment to
1223 (pool::free): Adjust pointer offsetting.
1225 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
1228 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
1229 shared_timed_mutex::try_lock_until): Only define when POSIX thread
1230 timeouts option is supported.
1231 (shared_timed_mutex::try_shared_lock_for,
1232 shared_timed_mutex::try_shared_lock_until): Likewise.
1234 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1237 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
1238 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
1239 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
1240 and use cache's _M_grouping field.
1241 (__numpunct_fill_cache): Likewise.
1242 (__moneypunct_fill_cache): Improve comments.
1244 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
1246 * testsuite/23_containers/set/operations/2.cc: Add test for
1247 non-transparent comparison function.
1249 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
1252 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
1253 Remove SH4A inline asm and lock based implementations and use the
1254 defaults from ext/atomicity.h.
1256 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
1258 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
1259 new std::string constructors for byname facets.
1261 2015-01-22 Richard Biener <rguenther@suse.de>
1264 * libsupc++/eh_alloc.cc: Include new.
1265 (bitmask_type): Remove.
1266 (one_buffer): Likewise.
1267 (emergency_buffer): Likewise.
1268 (emergency_used): Likewise.
1269 (dependents_buffer): Likewise.
1270 (dependents_used): Likewise.
1271 (class pool): New custom fixed-size arena, variable size object
1273 (emergency_pool): New global.
1274 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
1275 (__cxxabiv1::__cxa_free_exception): Likewise.
1276 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
1277 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
1279 2015-01-22 Tim Shen <timshen@google.com>
1282 * include/bits/regex.h (basic_regex<>::basic_regex,
1283 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
1285 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
1287 2015-01-22 Tim Shen <timshen@google.com>
1290 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1291 regex_traits<>::lookup_classname): Correctly narrow input chars.
1292 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
1294 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1296 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
1298 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
1300 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
1302 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1304 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
1305 * doc/xml/manual/status_cxx2014.xml: Update status.
1306 * doc/html/manual/status.html: Regenerate.
1308 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1311 * include/experimental/optional (bad_optional_access): Add default
1313 * testsuite/experimental/optional/requirements.cc: Test for default
1316 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1318 * include/bits/stl_map.h (map::find<>, map::count<>,
1319 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1320 member function templates to perform heterogeneous lookup.
1321 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
1322 multimap::lower_bound<>, multimap::upper_bound<>,
1323 multimap::equal_range<>): Likewise.
1324 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
1325 multiset::lower_bound<>, multiset::upper_bound<>,
1326 multiset::equal_range<>): Likewise.
1327 * include/bits/stl_set.h (set::find<>, set::count<>,
1328 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1329 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
1330 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
1331 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
1332 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
1333 * testsuite/23_containers/map/operations/2.cc: New.
1334 * testsuite/23_containers/multimap/operations/2.cc: New.
1335 * testsuite/23_containers/multiset/operations/2.cc: New.
1336 * testsuite/23_containers/set/operations/2.cc: New.
1338 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1340 * config/abi/pre/gnu.ver: Export new constructors.
1341 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
1342 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
1343 specializations and declare explicit instantiations.
1344 * include/bits/locale_classes.h (locale, collate_byname): Add string
1346 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
1348 * include/bits/locale_facets_nonio.h (time_get_byname,
1349 time_put_byname, moneypunct_byname, messages_byname): Likewise.
1350 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
1351 codecvt_byname<char32_t>): Define explicit instantiations.
1352 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
1353 Instantiate string constructors.
1354 (ctype_byname): Define string constructor.
1355 * testsuite/22_locale/codecvt_byname/1.cc: New.
1356 * testsuite/22_locale/collate_byname/1.cc: New.
1357 * testsuite/22_locale/ctype_byname/2.cc: New.
1358 * testsuite/22_locale/messages_byname/1.cc: New.
1359 * testsuite/22_locale/moneypunct_byname/1.cc: New.
1360 * testsuite/22_locale/numpunct_byname/1.cc: New.
1362 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
1365 * include/std/atomic (atomic_init): Define.
1366 * testsuite/29_atomics/atomic/64658.cc: New.
1368 2015-01-19 Tim Shen <timshen@google.com>
1371 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
1372 regex_traits<>::lookup_classname): Support forward iterators.
1373 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
1374 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
1376 2015-01-19 Tim Shen <timshen@google.com>
1380 * include/bits/regex.h (basic_regex<>::basic_regex,
1381 basic_regex<>::assign, basic_regex<>::imbue,
1382 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
1383 imbuing basic_regex; Make assign() transactional against exception.
1384 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
1385 __compile_nfa SFINAE.
1386 * include/std/regex: Adjust include order to avoid __compile_nfa
1387 forward declaration.
1388 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
1389 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
1391 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
1392 Jonathan Wakely <jwakely@redhat.com>
1394 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
1395 on overloads for arrays.
1396 (cbegin, cend, rbegin, rend, crbegin, crend): New.
1397 * testsuite/24_iterators/range_access_cpp14.cc: New.
1399 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1402 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
1403 end of the second range.
1404 * testsuite/25_algorithms/is_permutation/64646.cc: New.
1406 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1408 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
1409 * doc/html/manual/status.html: Regenerate.
1411 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
1413 * include/bits/atomic_futex.h: Use mutex and condition_variable when
1414 atomic int is not lock-free. Make member variables private.
1415 * src/c++11/futex.cc: Likewise.
1417 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
1419 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1422 * include/bits/atomic_futex.h: Use appropriate config macros for
1423 availability of std::mutex, std::condition and std::chrono.
1425 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
1426 Jonathan Wakely <jwakely@redhat.com>
1428 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
1429 * doc/html/*: Regenerate.
1431 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1435 * include/bits/algorithmfwd.h (rotate): Return an iterator.
1436 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
1437 * testsuite/25_algorithms/rotate/dr488.cc: New.
1438 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
1439 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1441 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
1444 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1447 * include/bits/atomic_base.h: Remove atomic integral typedefs as
1448 synonyms for __atomic_base<int> etc.
1449 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
1450 likewise for all atomic integral types.
1451 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
1452 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
1454 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1457 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
1458 and define one-element specialization.
1459 * testsuite/20_util/tuple/56785.cc: New.
1461 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
1463 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
1464 Remove unused header.
1465 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
1467 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1470 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1472 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
1473 * include/std/locale: Include new header.
1474 * include/Makefile.am: Add it.
1475 * include/Makefile.in: Regenerate.
1476 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
1477 * testsuite/22_locale/conversions/string/1.cc: New.
1478 * testsuite/22_locale/conversions/string/2.cc: New.
1479 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
1480 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
1483 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1485 * config/abi/pre/gnu.ver: Export new symbols.
1486 * include/Makefile.am: Add codecvt.
1487 * include/Makefile.in: Regenerate.
1488 * include/std/codecvt: New header.
1489 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
1490 __codecvt_utf8_utf16_base): Define specializations.
1491 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
1492 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
1493 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
1496 2015-01-16 Torvald Riegel <triegel@redhat.com>
1498 * src/c++11/futex.cc: New file.
1499 * include/bits/atomic_futex.h: New file.
1500 * include/std/future (__future_base::_State_baseV2): Use
1501 atomic_futex_unsigned instead of mutex+condvar.
1502 * src/c++11/futex.cc: Likewise.
1503 * include/Makefile.am: Add atomic_futex.h.
1504 * include/Makefile.in: Likewise.
1505 * src/c++11/Makefile.am: Add futex.cc.
1506 * src/c++11/Makefile.in: Likewise.
1508 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
1510 * acinclude.m4: Fix typo in comment.
1511 * configure: Regenerate.
1512 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
1513 codecvt<char16_t, char, mbstate_t>): Declare specializations.
1514 * include/bits/locale_facets.h: Reserve space for new specializations.
1515 * src/c++11/Makefile.am: Add codecvt.cc.
1516 * src/c++11/Makefile.in: Regenerate.
1517 * src/c++11/codecvt.cc: New.
1518 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
1520 * src/c++98/Makefile.in: Regenerate.
1521 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
1522 * src/c++98/localename.cc: Likewise.
1523 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
1524 * testsuite/22_locale/codecvt/utf8.cc: New.
1525 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
1526 specializations are installed in locale objects.
1528 2015-01-16 Torvald Riegel <triegel@redhat.com>
1530 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
1533 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
1536 * config/abi/pre/gnu.ver: Export fstream functions using new string.
1538 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
1541 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
1545 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
1547 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
1549 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
1550 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
1551 Multi Processing Runtime Library".
1553 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
1556 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
1557 is_assignable arguments.
1558 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
1561 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1563 * libsupc++/unwind-cxx.h: Revert previous commit.
1565 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1567 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
1569 2015-01-09 Tim Shen <timshen@google.com>
1572 * include/bits/regex.h (match_results<>::swap): Use std::swap
1574 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
1576 * testsuite/28_regex/match_results/swap.cc: New testcase.
1578 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1581 * include/std/type_traits (has_trivial_default_constructor,
1582 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
1584 * testsuite/20_util/has_trivial_copy_assign/requirements/
1585 explicit_instantiation.cc: Use -Wno-deprecated.
1586 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
1588 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
1589 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1590 explicit_instantiation.cc: Likewise.
1591 * testsuite/20_util/has_trivial_copy_constructor/requirements/
1592 typedefs.cc: Likewise.
1593 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
1594 * testsuite/20_util/has_trivial_default_constructor/requirements/
1595 explicit_instantiation.c: Likewise.
1596 * testsuite/20_util/has_trivial_default_constructor/requirements/
1597 typedefs.cc: Likewise.
1598 * testsuite/20_util/has_trivial_default_constructor/value.cc:
1600 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
1602 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
1603 * testsuite/util/testsuite_common_types.h: Likewise.
1605 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
1607 * include/bits/hashtable_policy.h: Use __bool_constant.
1609 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
1611 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
1612 * libsupc++/Makefile.in: Regenerate.
1614 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
1616 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
1618 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1620 Update copyright years.
1622 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
1625 * testsuite/18_support/exception_ptr/64241.cc: Use
1626 dg-require-atomic-builtins.
1628 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1630 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
1633 2015-01-02 Tim Shen <timshen@google.com>
1636 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
1637 iterator, since the original one shouldn't be mutated.
1639 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1642 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
1643 (string::insert): Likewise.
1644 (string::replace): Likewise.
1645 (wstring::erase): Likewise.
1646 (wstring::insert): Likewise.
1647 (wstring::replace): Likewise.
1648 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
1650 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1653 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
1655 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
1658 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
1659 Revert removal of dg-require-string-conversions.
1660 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
1662 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
1664 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
1666 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
1668 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
1670 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
1672 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
1674 * testsuite/21_strings/basic_string/numeric_conversions/char/
1675 stoull.cc: Likewise.
1676 * testsuite/21_strings/basic_string/numeric_conversions/char/
1677 to_string.cc: Likewise.
1679 Copyright (C) 2015 Free Software Foundation, Inc.
1681 Copying and distribution of this file, with or without modification,
1682 are permitted in any medium without royalty provided the copyright
1683 notice and this notice are preserved.