1 2015-10-16 Jonathan Wakely <jwakely@redhat.com>
3 * doc/xml/manual/configure.xml: Document
4 --enable-libstdcxx-filesystem-ts option.
5 * doc/xml/manual/status_cxx2014.xml: Document libstdc++fs.a.
6 * doc/xml/manual/using.xml: Likewise.
7 * doc/html/*: Regenerate.
9 2015-10-16 Aurelio Remonda <aurelio.remonda@tallertechnologies.com>
11 * testsuite/25_algorithms/random_shuffle/moveable.cc: Change variable
12 N from const int N = 200000 to const unsigned int N = 10000.
13 Delete useless fill_ascending function call.
15 2015-10-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
17 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Check for
18 unsupported compiler output.
20 2015-10-13 Nathan Froyd <froydnj@gcc.gnu.org>
22 * config/cpu/i486/opt/bits/opt_random.h: Include pmmintrin.h instead
23 of x86intrin.h, and only do so when __SSE3__
24 * include/ext/random: Include emmintrin.h instead of x86intrin.h
26 2015-10-11 Joseph Myers <joseph@codesourcery.com>
28 * crossconfig.m4 (GLIBCXX_CROSSCONFIG) <*-linux* | *-uclinux* |
29 *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*>: Check for
30 __cxa_thread_atexit_impl.
31 * configure: Regenerate.
33 2015-10-09 Jonathan Wakely <jwakely@redhat.com>
35 * include/experimental/erase_if.h: Move to ...
36 * include/experimental/bits/erase_if.h: New.
37 * include/experimental/fs_dir.h: Move to ...
38 * include/experimental/bits/fs_dir.h: New.
39 * include/experimental/fs_fwd.h: Move to ...
40 * include/experimental/bits/fs_fwd.h: New.
41 * include/experimental/fs_ops.h: Move to ...
42 * include/experimental/bits/fs_ops.h: New.
43 * include/experimental/fs_path.h: Move to ...
44 * include/experimental/bits/fs_path.h: New.
45 * include/experimental/string_view.tcc: Move to ...
46 * include/experimental/bits/string_view.tcc: New.
47 * include/Makefile.am: Add include/experimental/bits sub-directory.
48 * include/Makefile.in: Regenerate.
49 * include/experimental/filesystem: Adjust includes.
50 * include/experimental/map: Likewise.
51 * include/experimental/set: Likewise.
52 * include/experimental/string_view: Likewise.
53 * include/experimental/unordered_map: Likewise.
54 * include/experimental/unordered_set: Likewise.
56 2015-10-05 Ville Voutilainen <ville.voutilainen@gmail.com>
59 * include/std/tuple (_TC::_NonNestedTuple): Eagerly reject
60 conversions from tuple types same as the target tuple.
61 * testsuite/20_util/tuple/67844.cc: New.
62 * testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Add
63 a missing copyright header.
65 2015-10-03 Jonathan Wakely <jwakely@redhat.com>
67 * python/libstdcxx/v6/printers.py (StdExpAnyPrinter): Remove support
70 * src/c++98/locale.cc: Fix comment.
71 * src/c++98/locale_init.cc: Likewise.
73 * testsuite/21_strings/basic_string/literals/types.cc: Guard use of
74 wchar_t with _GLIBCXX_USE_WCHAR_T.
75 * testsuite/21_strings/basic_string/literals/values.cc: Likewise.
76 * testsuite/21_strings/basic_string/requirements/citerators.cc:
78 * testsuite/22_locale/messages/13631.cc: Likewise.
79 * testsuite/experimental/string_view/literals/types.cc: Likewise.
80 * testsuite/experimental/string_view/literals/values.cc: Likewise.
82 * src/filesystem/Makefile.am: Add cxx11_abi_sources.
83 * src/filesystem/Makefile.in: Regenerate.
84 * src/filesystem/cow-dir.cc: New.
85 * src/filesystem/cow-ops.cc: New.
86 * src/filesystem/cow-path.cc: New.
87 * src/filesystem/dir.cc: Define macro for new ABI.
88 * src/filesystem/ops.cc: Likewise.
89 * src/filesystem/path.cc: Likewise.
91 2015-10-02 Jonathan Wakely <jwakely@redhat.com>
93 * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
94 Minor tweaks to match narrow char version.
96 * testsuite/21_strings/basic_string/allocator/char/minimal.cc: Guard
97 explicit instantiation with check for new ABI.
98 * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
99 Likewise. Use wchar_t as char_type.
101 * include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
102 (basic_string::front() const, basic_string::back() const): Use
103 noexcept instead of _GLIBCXX_NOEXCEPT macro.
104 (__versa_string::front, __versa_string::back): Likewise.
106 * acinclude.m4 (GLIBCXX_ENABLE_DEBUG_FLAGS): Fix comment.
108 * include/bits/locale_conv.h [!_GLIBCXX_USE_WCHAR_T]
109 (__do_str_codecvt, __str_codecvt_in, __str_codecvt_out): Enable.
110 * include/experimental/fs_path.h [!_GLIBCXX_USE_WCHAR_T]
111 (path::wstring, path::generic_wstring): Disable.
112 * src/filesystem/path.cc (path::_S_convert_loc)
113 [!_GLIBCXX_USE_WCHAR_T]: Skip conversion.
114 * testsuite/experimental/filesystem/path/assign/assign.cc: Check for
116 * testsuite/experimental/filesystem/path/concat/strings.cc: Likewise.
117 * testsuite/experimental/filesystem/path/construct/range.cc: Likewise.
119 * testsuite/util/testsuite_fs.h (nonexistent_path): Use less generic
120 name for paths. Prefer snprintf to sprintf.
123 * src/filesystem/dir.cc (native_readdir): Remove.
124 (_Dir::advance): Use readdir instead of native_readdir.
125 (recursive_directory_iterator(const path&, directory_options,
126 error_code*)): Use swap instead of reset.
128 2015-10-01 Jonathan Wakely <jwakely@redhat.com>
130 * doc/html/manual/errno.html: Add new file.
132 * doc/xml/manual/diagnostics.xml: Document use of errno.
133 * doc/html/*: Regenerate.
134 * config/locale/generic/c_locale.cc (_Save_errno): New helper.
135 (__convert_to_v): Use _Save_errno.
136 * include/ext/string_conversions.h (__stoa): Only restore errno when
137 it isn't set to non-zero.
139 2015-09-30 François Dumont <fdumont@gcc.gnu.org>
140 Jonathan Wakely <jwakely@redhat.com>
142 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs):
144 * config/locale/gnu/c++locale_internal.h: ...here in std namespace.
145 * config/locale/gnu/c_locale.cc: Move implementation of latter here.
146 * src/c++98/Makefile.am: Compile c++locale.cc with -fimplicit-templates.
147 * src/c++98/Makefile.in: Regenerate.
148 * config/abi/pre/gnu.ver: Adjust.
150 2015-09-30 Matthias Klose <doko@ubuntu.com>
152 * config/cpu/alpha, config/cpu/ia64: Remove empty directories.
154 2015-09-29 Jonathan Wakely <jwakely@redhat.com>
156 * include/ext/string_conversions.h (__stoa): Save and restore errno.
157 * testsuite/21_strings/basic_string/numeric_conversions/char/errno.cc:
161 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Fix sputn call
162 with mismatched arguments.
163 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
166 * config/abi/pre/gnu.ver: Export new symbols.
167 * include/std/thread (thread::_State, thread::_State_impl): New types.
168 (thread::_M_start_thread): Add overload taking unique_ptr<_State>.
169 (thread::_M_make_routine): Remove.
170 (thread::_S_make_state): Add.
171 (thread::_Impl_base, thread::_Impl, thread::_M_start_thread)
172 [_GLIBCXX_THREAD_ABI_COMPAT] Only declare conditionally.
173 * src/c++11/thread.cc (execute_native_thread_routine): Rename to
174 execute_native_thread_routine_compat and re-define to use _State.
175 (thread::_State::~_State()): Define.
176 (thread::_M_make_thread): Define new overload.
177 (thread::_M_make_thread) [_GLIBCXX_THREAD_ABI_COMPAT]: Only define old
178 overloads conditionally.
180 2015-09-28 Jonathan Wakely <jwakely@redhat.com>
182 * include/std/condition_variable (condition_variable::wait): Add
184 * src/c++11/condition_variable.cc (condition_variable::wait): Call
185 std::terminate on error (DR 2135).
187 2015-09-25 Ville Voutilainen <ville.voutilainen@gmail.com>
189 Avoid creating dangling references in case of nested tuples
190 for tuple constructors that construct from other tuples.
191 * include/std/tuple (_TC::_NonNestedTuple): New.
192 * include/std/tuple (tuple::_TNTC): New.
193 * include/std/tuple (tuple(const tuple<_UElements...>&),
194 tuple(tuple<_UElements...>&&): Use _TNTC.
195 * testsuite/20_util/tuple/cons/nested_tuple_construct.cc: New.
197 2015-09-24 Jonathan Wakely <jwakely@redhat.com>
200 * include/bits/stl_deque.h (_Deque_base::_M_move_impl): Initialize
202 * testsuite/23_containers/deque/allocator/move.cc: Check moved-from
205 2015-09-23 Jonathan Wakely <jwakely@redhat.com>
207 * src/filesystem/ops.cc (canonical): Simplify error handling and
208 limit number of symlinks that can be resolved.
210 2015-09-23 Jonathan Wakely <jwakely@redhat.com>
212 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Remove _GLIBCXX_
213 prefix from HAVE_STRUCT_DIRENT_D_TYPE.
214 * config.h.in: Regenerate.
215 * configure: Regenerate.
216 * include/experimental/fs_dir.h (operator==, operator==):
217 Use owner_before instead of pointer equality.
218 (directory_iterator(std::shared_ptr<_Dir>, error_code*)): Remove.
219 * src/filesystem/dir.cc (ErrorCode): Remove.
220 (_Dir::advance): Change ErrorCode parameter to error_code*, add
221 directory_options parameter and check it on error.
222 (opendir): Rename to open_dir to avoid clashing with macro. Change
223 ErrorCode parameter to error_code*.
224 (make_shared_dir): Remove.
225 (native_readdir) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Don't set errno.
226 (directory_iterator(std::shared_ptr<_Dir>, error_code*)): Remove.
227 (directory_iterator(const path&, directory_options, error_code*)):
228 Pass options to _Dir::advance and create non-end iterator on error.
229 (recursive_directory_iterator(const path&, directory_options,
230 error_code*)): Clear error_code on ignored error, create non-end
232 (recursive_directory_iterator::increment): Pass _M_options to
234 (recursive_directory_iterator::pop): Likewise.
235 * testsuite/experimental/filesystem/iterators/directory_iterator.cc:
237 * testsuite/experimental/filesystem/iterators/
238 recursive_directory_iterator.cc: New.
240 * src/filesystem/ops.cc (is_dot, is_dotdot): Define new helpers.
241 (create_directories): Fix error handling.
242 * testsuite/experimental/filesystem/operations/create_directories.cc:
245 2015-09-21 Jonathan Wakely <jwakely@redhat.com>
248 * include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
249 (basic_string::shrink_to_fit): Fix #endif placement.
251 2015-09-19 Tim Shen <timshen@google.com>
254 * include/bits/regex_error.h: Add __throw_regex_error that
256 * include/bits/regex_automaton.h: Add more specific exception
258 * include/bits/regex_automaton.tcc: Likewise.
259 * include/bits/regex_compiler.h: Likewise.
260 * include/bits/regex_compiler.tcc: Likewise.
261 * include/bits/regex_scanner.h: Likewise.
262 * include/bits/regex_scanner.tcc: Likewise.
264 2015-09-18 Jonathan Wakely <jwakely@redhat.com>
266 * include/precompiled/extc++.h: Fix bootstrap error due to
267 unconditional inclusion of <ext/enc_filebuf.h>.
268 * include/ext/random: Check for definition of UINT32_C.
270 2015-09-17 Catherine Moore <clm@codesourcery.com>
272 * src/c++11/debug.cc: Include <cstdio>.
274 2015-09-17 Gerald Pfeifer <gerald@pfeifer.com>
276 * src/c++11/random.cc: Include <cerrno>.
278 2015-09-17 François Dumont <fdumont@gcc.gnu.org>
280 * include/debug/formatter.h
281 (_Error_formatter::_Parameter::_M_print_field): Deprecate.
282 (_Error_formatter::_Parameter::_M_print_description): Likewise.
283 (_Error_formatter::_M_format_word): Likewise.
284 (_Error_formatter::_M_print_word): Likewise.
285 (_Error_formatter::_M_print_string): Likewise.
286 (_Error_formatter::_M_get_max_length): Likewise.
287 (_Error_formatter::_M_max_length): Delete.
288 (_Error_formatter::_M_indent): Likewise.
289 (_Error_formatter::_M_column): Likewise.
290 (_Error_formatter::_M_first_line): Likewise.
291 (_Error_formatter::_M_wordwrap): Likewise.
292 * src/c++11/debug.cc: Adapt.
294 2015-09-17 Jonathan Wakely <jwakely@redhat.com>
297 * include/bits/atomic_base.h (__atomic_base<_TTp>::is_lock_free(),
298 __atomic_base<_PTp*>::is_lock_free()): Call the built-in with the
299 immediate pointer value, not a variable.
300 * include/std/atomic (atomic<T>::is_lock_free()): Likewise.
301 * testsuite/29_atomics/atomic/65913.cc: New.
303 * testsuite/experimental/filesystem/operations/canonical.cc: Remove
304 non-deterministic part of the test.
307 * src/c++11/random.cc (random_device::_M_getval()): Retry after short
310 * include/std/system_error (error_code::operator bool(),
311 error_condition::operator bool()): Remove redundant conditional
314 * include/bits/allocator.h (__shrink_to_fit_aux<T, true>::_S_do_it):
315 Do nothing if exceptions are disabled.
316 * include/bits/basic_string.h (basic_string::shrink_to_fit): Likewise.
318 2015-09-16 Jonathan Wakely <jwakely@redhat.com>
321 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check _XOPEN_VERSION
322 and PATH_MAX for _GLIBCXX_USE_REALPATH.
323 * config.h.in: Regenerate.
324 * configure: Regenerate.
325 * src/filesystem/ops.cc: (canonical) [!_GLIBCXX_USE_REALPATH]: Add
326 alternative implementation.
327 * testsuite/experimental/filesystem/operations/canonical.cc: New.
328 * testsuite/experimental/filesystem/operations/exists.cc: Add more
330 * testsuite/experimental/filesystem/operations/absolute.cc: Add test
332 * testsuite/experimental/filesystem/operations/copy.cc: Likewise.
333 * testsuite/experimental/filesystem/operations/current_path.cc:
335 * testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
336 * testsuite/experimental/filesystem/operations/status.cc: Likewise.
337 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
340 2015-09-11 Jonathan Wakely <jwakely@redhat.com>
343 * src/filesystem/ops.cc (filesystem::canonical): Allocate buffer for
344 realpath on Solaris 10.
347 * src/c++11/random.cc (random_device::_M_getval()): Check read result.
349 2015-09-11 John Marino <gnugcc@marino.st>
350 Jonathan Wakely <jwakely@redhat.com>
353 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Do not test code points
355 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
356 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
357 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
358 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
359 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
360 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
361 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
362 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
363 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
364 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
365 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
366 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
367 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
368 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
370 2015-09-11 Jonathan Wakely <jwakely@redhat.com>
373 * doc/xml/manual/using.xml: Improve aggregate header documentation.
374 * doc/html/manual/*: Regenerate.
375 * include/precompiled/extc++.h: Include <bits/stdc++.h> for C++11
376 and later and include more extension headers.
377 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Remove
379 * testsuite/17_intro/headers/c++200x/: Rename to c++2011.
380 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Remove
382 * testsuite/17_intro/headers/c++2014/all_no_exceptions.cc: New.
383 * testsuite/17_intro/headers/c++2014/all_no_rtti.cc: New.
384 * testsuite/17_intro/headers/c++2014/all_pedantic_errors.cc: New.
385 * testsuite/17_intro/headers/c++2014/operator_names.cc: New.
386 * testsuite/17_intro/headers/c++2014/stdc++.cc: New.
387 * testsuite/17_intro/headers/c++2014/stdc++_multiple_inclusion.cc:
391 * doc/xml/manual/intro.xml: Document LWG 2063 and 2064 resolutions.
392 * doc/html/manual/bugs.html: Regenerate.
393 * include/bits/basic_string.h (basic_string): Implement N4258. Add
394 correct exception-specifications and propagate allocators correctly.
395 * include/bits/basic_string.tcc (basic_string::swap): Propagate
396 allocators correctly.
397 * include/debug/string (__gnu_debug::basic_string): Add correct
398 exceptions-specifications and allcoator-extended constructors.
399 * testsuite/21_strings/basic_string/allocator/char/copy.cc: New.
400 * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
402 * testsuite/21_strings/basic_string/allocator/char/minimal.cc: New.
403 * testsuite/21_strings/basic_string/allocator/char/move.cc: New.
404 * testsuite/21_strings/basic_string/allocator/char/move_assign.cc:
406 * testsuite/21_strings/basic_string/allocator/char/noexcept.cc: New.
407 * testsuite/21_strings/basic_string/allocator/char/swap.cc: New.
408 * testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc: New.
409 * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
411 * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc: New.
412 * testsuite/21_strings/basic_string/allocator/wchar_t/move.cc: New.
413 * testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
415 * testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc: New.
416 * testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc: New.
417 * testsuite/util/testsuite_allocator.h (tracker_allocator): Define
418 defaulted assignment operators.
421 * include/bits/stl_queue.h (queue, priority_queue): Add
422 allocator-extended constructors.
423 * include/bits/stl_stack.h (stack): Likewise.
424 * testsuite/23_containers/priority_queue/requirements/
425 uses_allocator.cc: Test allocator-extended constructors.
426 * testsuite/23_containers/queue/requirements/uses_allocator.cc:
428 * testsuite/23_containers/stack/requirements/uses_allocator.cc:
431 2015-09-10 Jonathan Wakely <jwakely@redhat.com>
433 * testsuite/util/testsuite_allocator.h (PointerBase::operator[]): Add.
435 * testsuite/21_strings/basic_string/operators/char/1.cc: Verify the
438 2015-09-09 Jonathan Wakely <jwakely@redhat.com>
440 * doc/xml/manual/using.xml (_GLIBCXX_ASSERTIONS): Document.
441 * doc/html/manual/using_macros.html: Regenerate.
442 * include/bits/c++config: Define _GLIBCXX_ASSERTIONS when
443 _GLIBCXX_DEBUG is defined. Disable std::string extern templates when
444 (_GLIBCXX_EXTERN_TEMPLATE, __glibcxx_assert): Depend on
445 _GLIBCXX_ASSERTIONS instead of _GLIBCXX_DEBUG.
446 * include/debug/debug.h [!_GLIBCXX_DEBUG]: Define
447 __glibcxx_requires_non_empty_range and __glibcxx_requires_nonempty.
448 * include/backward/auto_ptr.h (auto_ptr::operator*,
449 auto_ptr::operator->): Replace _GLIBCXX_DEBUG_ASSERT with
451 * include/bits/basic_string.h (basic_string::operator[],
452 basic_string::front, basic_string::back, basic_string::pop_back):
454 * include/bits/random.h
455 (uniform_int_distribution::param_type::param_type,
456 uniform_real_distribution::param_type::param_type,
457 normal_distribution::param_type::param_type,
458 gamma_distribution::param_type::param_type,
459 bernoulli_distribution::param_type::param_type,
460 binomial_distribution::param_type::param_type,
461 geometric_distribution::param_type::param_type,
462 negative_binomial_distribution::param_type::param_type,
463 poisson_distribution::param_type::param_type,
464 exponential_distribution::param_type::param_type): Likewise.
465 * include/bits/regex.h (match_results::operator[],
466 match_results::prefix, match_results::suffix): Likewise.
467 * include/bits/regex.tcc (format, regex_iterator::operator++):
469 * include/bits/regex_automaton.tcc (_StateSeq::_M_clone): Likewise.
470 * include/bits/regex_compiler.tcc (_Compiler::_Compiler,
471 _Compiler::_M_insert_character_class_matcher): Likewise.
472 * include/bits/regex_executor.tcc (_Executor::_M_dfs): Likewise.
473 * include/bits/regex_scanner.tcc (_Scanner::_M_advance,
474 _Scanner::_M_scan_normal): Likewise.
475 * include/bits/shared_ptr_base.h (__shared_ptr::_M_reset,
476 __shared_ptr::operator*): Likewise.
477 * include/bits/stl_iterator_base_funcs.h (__advance): Likewise.
478 * include/bits/unique_ptr.h (unique_ptr::operator*,
479 unique_ptr::operator[]): Likewise.
480 * include/experimental/fs_path.h (path::path(string_type, _Type),
481 path::iterator::operator++, path::iterator::operator--,
482 path::iterator::operator*): Likewise.
483 * include/experimental/string_view (basic_string_view::operator[],
484 basic_string_view::front, basic_string_view::back,
485 basic_string_view::remove_prefix): Likewise.
486 * include/ext/random (beta_distribution::param_type::param_type,
487 normal_mv_distribution::param_type::param_type,
488 rice_distribution::param_type::param_type,
489 pareto_distribution::param_type::param_type,
490 k_distribution::param_type::param_type,
491 arcsine_distribution::param_type::param_type,
492 hoyt_distribution::param_type::param_type,
493 triangular_distribution::param_type::param_type,
494 von_mises_distribution::param_type::param_type,
495 hypergeometric_distribution::param_type::param_type,
496 logistic_distribution::param_type::param_type): Likewise.
497 * include/ext/vstring.h (__versa_string::operator[]): Likewise.
498 * include/std/complex (polar): Likewise.
499 * include/std/mutex [!_GTHREAD_USE_MUTEX_TIMEDLOCK]
500 (timed_mutex::~timed_mutex, timed_mutex::unlock,
501 (recursive_timed_mutex::~timed_mutex, recursive_timed_mutex::unlock):
503 * include/std/shared_mutex [!PTHREAD_RWLOCK_INITIALIZER]
504 (__shared_mutex_pthread::__shared_mutex_pthread,
505 __shared_mutex_pthread::~__shared_mutex_pthread): Likewise.
506 (__shared_mutex_pthread::lock, __shared_mutex_pthread::try_lock,
507 __shared_mutex_pthread::unlock, __shared_mutex_pthread::lock_shared,
508 __shared_mutex_pthread::try_lock_shared): Likewise.
509 (__shared_mutex_cv::~__shared_mutex_cv, __shared_mutex_cv::unlock,
510 __shared_mutex_cv::unlock_shared): Likewise.
511 (shared_timed_mutex::try_lock_until,
512 shared_timed_mutex::try_lock_shared_until): Likewise.
513 * include/std/valarray (valarray::valarray(const _Tp*, size_t),
514 valarray::operator=, valarray::sum, valarray::min, valarray::max,
515 _DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT, _DEFINE_BINARY_OPERATOR):
518 2015-09-07 Jonathan Wakely <jwakely@redhat.com>
520 * include/bits/shared_ptr_base.h (__shared_ptr::operator->): Change
521 _GLIBCXX_DEBUG_ASSERT to _GLIBCXX_DEBUG_PEDASSERT.
522 * include/bits/unique_ptr.h (unique_ptr::operator->): Likewise.
523 * testsuite/20_util/shared_ptr/observers/get.cc: Test operator-> on
526 * include/bits/regex_compiler.h (_BracketMatcher::_M_is_ready):
527 Initialize using NSDMI and set using _GLIBCXX_DEBUG_ONLY.
529 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Rename
532 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Run on
534 * testsuite/30_threads/timed_mutex/unlock/2.cc: Run on darwin.
536 2015-09-04 Jonathan Wakely <jwakely@redhat.com>
539 * include/std/mutex (recursive_timed_mutex): Fix uses of _Can_lock.
542 * include/Makefile.am: Add <bits/mutex.h>.
543 * include/Makefile.in: Regenerate.
544 * include/bits/mutex.h (__mutex_base, mutex, lock_guard, unique_lock):
545 New file containing types moved from <mutex>.
546 * include/std/condition_variable: Include <bits/mutex.h> instead of
548 * include/std/mutex (__mutex_base, mutex, lock_guard, unique_lock):
549 Move to <bits/mutex.h>.
550 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Remove
551 dg-require-gthreads-timed.
552 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
554 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
556 * testsuite/30_threads/recursive_timed_mutex/dest/
557 destructor_locked.cc: Likewise.
558 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
559 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
560 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
561 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
562 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
564 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
566 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
568 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
570 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
572 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
573 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
574 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
575 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
576 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
578 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
579 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc:
581 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
582 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
583 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
584 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
585 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
586 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
587 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
588 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
589 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
590 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
591 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
592 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
593 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
595 2015-09-04 Edward Smith-Rowland <3dw4rd@verizon.net>
596 Jonathan Wakely <jwakely@redhat.com>
598 Add C++11 header <cuchar>.
599 * acinclude.m4 (GLIBCXX_CHECK_UCHAR_H): Define.
600 * config.h.in: Regenerate.
601 * configure: Regenerate.
602 * configure.ac: Check for <uchar.h>.
603 * include/Makefile.am: Add new headers.
604 * include/Makefile.in: Regenerate.
605 * include/c/cuchar: New.
606 * include/c_compatibility/uchar.h: New.
607 * include/c_global/cuchar: New.
608 * include/c_std/cuchar: New.
609 * include/precompiled/stdc++.h: Include <cuchar>.
610 * testsuite/17_intro/headers/c++200x/stdc++.cc: Include <uchar.h>.
611 * testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc:
614 2015-09-04 Jonathan Wakely <jwakely@redhat.com>
617 * include/c/cassert: Include <bits/c++config.h>.
618 * include/c/cerrno: Likewise.
619 * include/c/cfloat: Likewise.
620 * include/c/ciso646: Likewise.
621 * include/c/climits: Likewise.
622 * include/c_global/cassert: Likewise.
623 * include/c_global/cerrno: Likewise.
624 * include/c_global/cfloat: Likewise.
625 * include/c_global/ciso646: Likewise.
626 * include/c_global/climits: Likewise.
627 * include/c_std/cassert: Likewise.
628 * include/c_std/cerrno: Likewise.
629 * include/c_std/cfloat: Likewise.
630 * include/c_std/ciso646: Likewise.
631 * include/c_std/climits: Likewise.
633 2015-09-03 Jonathan Wakely <jwakely@redhat.com>
635 * include/bits/shared_ptr_base.h: Add required header.
636 * include/std/condition_variable: Likewise.
637 * include/std/mutex: Remove unused header.
638 * include/std/shared_mutex: Remove redundant header.
639 (shared_mutex::shared_mutex()): Replace throw with __throw_bad_alloc.
642 * src/c++11/debug.cc (_S_debug_messages): Make array const.
645 * include/experimental/functional (_Not_fn): Add exception
646 specifications and non-deduced return types.
647 (not_fn): Add exception specification and wrap pointer-to-member.
648 * testsuite/experimental/functional/not_fn.cc: Test in SFINAE context
649 and test pointer-to-member.
652 * include/bits/stl_iterator_base_funcs.h (next, prev): Add concept
654 * testsuite/24_iterators/operations/prev_neg.cc: New.
655 * testsuite/24_iterators/operations/next_neg.cc: New.
657 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
659 * testsuite/18_support/pthread_guard.cc: Add *-*-rtems* target
660 selector to all lines which contain a *-*-cygwin target selector.
661 * testsuite/20_util/shared_ptr/atomic/3.cc: Likewise.
662 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Likewise.
663 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
664 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
665 * testsuite/21_strings/basic_string/pthread33394.cc: Likewise.
666 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
667 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
668 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
669 * testsuite/23_containers/list/pthread1.cc: Likewise.
670 * testsuite/23_containers/list/pthread5.cc: Likewise.
671 * testsuite/23_containers/map/pthread6.cc: Likewise.
672 * testsuite/23_containers/vector/debug/multithreaded_swap.cc: Likewise.
673 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
674 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
675 * testsuite/30_threads/async/42819.cc: Likewise.
676 * testsuite/30_threads/async/49668.cc: Likewise.
677 * testsuite/30_threads/async/54297.cc: Likewise.
678 * testsuite/30_threads/async/any.cc: Likewise.
679 * testsuite/30_threads/async/async.cc: Likewise.
680 * testsuite/30_threads/async/launch.cc: Likewise.
681 * testsuite/30_threads/async/lwg2021.cc: Likewise.
682 * testsuite/30_threads/async/sync.cc: Likewise.
683 * testsuite/30_threads/call_once/39909.cc: Likewise.
684 * testsuite/30_threads/call_once/49668.cc: Likewise.
685 * testsuite/30_threads/call_once/60497.cc: Likewise.
686 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
687 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
688 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
689 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
690 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
691 * testsuite/30_threads/condition_variable/members/3.cc: Likewise.
692 * testsuite/30_threads/condition_variable/members/53841.cc: Likewise.
693 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
695 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
696 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
697 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
698 * testsuite/30_threads/condition_variable_any/members/1.cc: Likewise.
699 * testsuite/30_threads/condition_variable_any/members/2.cc: Likewise.
700 * testsuite/30_threads/future/cons/move.cc: Likewise.
701 * testsuite/30_threads/future/members/45133.cc: Likewise.
702 * testsuite/30_threads/future/members/get.cc: Likewise.
703 * testsuite/30_threads/future/members/get2.cc: Likewise.
704 * testsuite/30_threads/future/members/share.cc: Likewise.
705 * testsuite/30_threads/future/members/valid.cc: Likewise.
706 * testsuite/30_threads/future/members/wait.cc: Likewise.
707 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
708 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
709 * testsuite/30_threads/lock/1.cc: Likewise.
710 * testsuite/30_threads/lock/2.cc: Likewise.
711 * testsuite/30_threads/lock/3.cc: Likewise.
712 * testsuite/30_threads/lock/4.cc: Likewise.
713 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
714 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
715 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
716 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
717 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
718 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
719 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
720 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
721 * testsuite/30_threads/mutex/unlock/2.cc: Likewise.
722 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
723 * testsuite/30_threads/packaged_task/60564.cc: Likewise.
724 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
725 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
726 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
727 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
728 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
729 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
730 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Likewise.
731 * testsuite/30_threads/packaged_task/members/at_thread_exit.cc:
733 * testsuite/30_threads/packaged_task/members/get_future.cc: Likewise.
734 * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
735 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
736 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
737 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
738 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
739 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
740 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
741 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
742 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
743 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
744 * testsuite/30_threads/promise/60966.cc: Likewise.
745 * testsuite/30_threads/promise/cons/1.cc: Likewise.
746 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
747 * testsuite/30_threads/promise/cons/move.cc: Likewise.
748 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
749 * testsuite/30_threads/promise/members/at_thread_exit.cc: Likewise.
750 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
751 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
752 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
753 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
754 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
755 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
756 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
757 * testsuite/30_threads/promise/members/swap.cc: Likewise.
758 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
759 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
761 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
762 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
763 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
765 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
766 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
767 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
768 * testsuite/30_threads/recursive_mutex/unlock/2.cc: Likewise.
769 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
770 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
772 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
773 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
774 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
776 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
778 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
779 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
780 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
782 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
784 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
786 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
788 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
790 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
791 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Likewise.
792 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
793 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
794 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
795 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
796 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
797 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
798 * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
799 * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
800 * testsuite/30_threads/shared_lock/cons/1.cc: Likewise.
801 * testsuite/30_threads/shared_lock/cons/2.cc: Likewise.
802 * testsuite/30_threads/shared_lock/cons/3.cc: Likewise.
803 * testsuite/30_threads/shared_lock/cons/4.cc: Likewise.
804 * testsuite/30_threads/shared_lock/cons/5.cc: Likewise.
805 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
806 * testsuite/30_threads/shared_lock/locking/1.cc: Likewise.
807 * testsuite/30_threads/shared_lock/locking/2.cc: Likewise.
808 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
809 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
810 * testsuite/30_threads/shared_lock/modifiers/1.cc: Likewise.
811 * testsuite/30_threads/shared_mutex/cons/1.cc: Likewise.
812 * testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
813 * testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
814 * testsuite/30_threads/shared_mutex/unlock/1.cc: Likewise.
815 * testsuite/30_threads/shared_timed_mutex/cons/1.cc: Likewise.
816 * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise.
817 * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
818 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: Likewise.
819 * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: Likewise.
820 * testsuite/30_threads/this_thread/1.cc: Likewise.
821 * testsuite/30_threads/this_thread/2.cc: Likewise.
822 * testsuite/30_threads/this_thread/3.cc: Likewise.
823 * testsuite/30_threads/this_thread/4.cc: Likewise.
824 * testsuite/30_threads/thread/cons/1.cc: Likewise.
825 * testsuite/30_threads/thread/cons/2.cc: Likewise.
826 * testsuite/30_threads/thread/cons/3.cc: Likewise.
827 * testsuite/30_threads/thread/cons/4.cc: Likewise.
828 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
829 * testsuite/30_threads/thread/cons/5.cc: Likewise.
830 * testsuite/30_threads/thread/cons/6.cc: Likewise.
831 * testsuite/30_threads/thread/cons/7.cc: Likewise.
832 * testsuite/30_threads/thread/cons/8.cc: Likewise.
833 * testsuite/30_threads/thread/cons/9.cc: Likewise.
834 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
835 * testsuite/30_threads/thread/members/1.cc: Likewise.
836 * testsuite/30_threads/thread/members/2.cc: Likewise.
837 * testsuite/30_threads/thread/members/3.cc: Likewise.
838 * testsuite/30_threads/thread/members/4.cc: Likewise.
839 * testsuite/30_threads/thread/members/5.cc: Likewise.
840 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Likewise.
841 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
842 * testsuite/30_threads/thread/swap/1.cc: Likewise.
843 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
844 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
845 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
846 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
847 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Likewise.
848 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
849 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
850 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
851 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
852 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
853 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
854 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
855 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
856 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
857 * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise.
858 * testsuite/30_threads/try_lock/1.cc: Likewise.
859 * testsuite/30_threads/try_lock/2.cc: Likewise.
860 * testsuite/30_threads/try_lock/3.cc: Likewise.
861 * testsuite/30_threads/try_lock/4.cc: Likewise.
862 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
863 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
864 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
865 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
866 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
867 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
868 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
869 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
870 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
871 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
872 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
873 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
874 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
876 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
879 2015-09-02 Dmitry Vyukov <dvyukov@google.com>
881 * include/bits/basic_string.h: Fix data races on _M_refcount.
883 2015-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
886 * include/std/mutex (__timed_mutex_impl::_M_try_lock_until): Use
887 _Derived::_M_timedlock().
888 (timed_mutex): Add _M_timedlock() and make base class a friend.
889 (recursive_timed_mutex): Likewise.
891 2015-08-28 Tim Shen <timshen@google.com>
894 * include/bits/regex_scanner.tcc (_Scanner<>::_M_scan_normal):
895 Always returns ordinary char token if the char isn't
896 considered a special char.
897 * testsuite/28_regex/regression.cc: New test file for collecting
898 regression testcases from, typically, bugzilla.
900 2015-08-27 Jonathan Wakely <jwakely@redhat.com>
903 * include/bits/range_access.h (valarray, begin, end): Declare.
904 * testsuite/26_numerics/valarray/range_access.cc: Test const
906 * testsuite/26_numerics/valarray/range_access2.cc: New.
908 2015-08-27 John Marino <gnugcc@marino.st>
910 * acinclude.m4 (*-*-dragonfly*): Change 7 locale support files
911 from generic to new DragonFly versions.
912 * configure: Regenerate.
913 * config/locale/dragonfly/c_locale.cc: Improve locale support.
914 * config/locale/dragonfly/ctype_members.cc: Likewise.
915 * config/os/bsd/dragonfly/ctype_configure_char.cc: Likewise.
916 * config/os/bsd/dragonfly/os_defines.h: Define _GLIBCXX_USE_C99.
917 * config/locale/dragonfly/c_locale.h: New.
918 * config/locale/dragonfly/codecvt_members.cc: New.
919 * config/locale/dragonfly/collate_members.cc: New.
920 * config/locale/dragonfly/monetary_members.cc: New.
921 * config/locale/dragonfly/numeric_members.cc: New.
922 * config/locale/dragonfly/time_members.cc: New.
923 * config/locale/dragonfly/time_members.h: New.
925 2015-08-27 Jonathan Wakely <jwakely@redhat.com>
927 * configure: Regenerate.
929 2015-08-26 Edward Smith-Rowland <3dw4rd@verizon.net>
930 Jonathan Wakely <jwakely@redhat.com>
934 * include/bits/random.tcc (generate_canonical): Loop until we get a
935 result less than one.
936 * testsuite/26_numerics/random/uniform_real_distribution/operators/
939 2015-08-26 Jonathan Wakely <jwakely@redhat.com>
941 * include/bits/shared_ptr.h (__enable_shared_from_this_helper): Use
943 * include/bits/shared_ptr_base.h (weak_ptr::_M_assign): Don't assign
944 if ownership is already shared with a shared_ptr object.
945 (__enable_shared_from_this_helper): Use nullptr.
946 * testsuite/20_util/enable_shared_from_this/members/const.cc: New.
947 * testsuite/20_util/enable_shared_from_this/members/reinit.cc: New.
948 * testsuite/20_util/enable_shared_from_this/requirements/
949 explicit_instantiation.cc: Instantiate with const and incomplete types.
951 * include/debug/map.h (map::try_emplace, map::insert_or_assign):
953 * include/debug/unordered_map (unordered_map::try_emplace,
954 unordered_map::insert_or_assign): Define.
957 * src/c++11/debug.cc (_S_debug_messages): Give internal linkage.
959 2015-08-24 François Dumont <fdumont@gcc.gnu.org>
962 * include/debug/formatter.h (_Debug_msg_id::__msg_irreflexive_ordering):
964 * include/debug/functions.h (_Irreflexive_checker): New.
965 (__is_irreflexive, __is_irreflexive_pred): New.
966 * include/debug/macros.h
967 (__glibcxx_check_irreflexive, __glibcxx_check_irreflexive_pred): New
969 (__glibcxx_check_irreflexive2, __glibcxx_check_irreflexive_pred2): New
970 macros limited to post-C++11 mode.
971 * include/debug/debug.h
972 (__glibcxx_requires_irreflexive, __glibcxx_requires_irreflexive_pred):
973 New macros, use latter.
974 (__glibcxx_requires_irreflexive2, __glibcxx_requires_irreflexive_pred2):
976 * include/bits/stl_algo.h
977 (partial_sort_copy): Add irreflexive debug check.
978 (partial_sort_copy): Likewise.
979 (lower_bound): Likewise.
980 (upper_bound): Likewise.
981 (equal_range): Likewise.
982 (binary_search): Likewise.
983 (inplace_merge): Likewise.
984 (includes): Likewise.
985 (next_permutation): Likewise.
986 (prev_permutation): Likewise.
987 (is_sorted_until): Likewise.
988 (minmax_element): Likewise.
989 (partial_sort): Likewise.
990 (nth_element): Likewise.
993 (stable_sort): Likewise.
994 (set_union): Likewise.
995 (set_intersection): Likewise.
996 (set_difference): Likewise.
997 (set_symmetric_difference): Likewise.
998 (min_element): Likewise.
999 (max_element): Likewise.
1000 * include/bits/stl_algobase.h
1001 (lower_bound): Likewise.
1002 (lexicographical_compare): Likewise.
1003 * include/bits/stl_heap.h
1004 (push_heap): Likewise.
1005 (pop_heap): Likewise.
1006 (make_heap): Likewise.
1007 (sort_heap): Likewise.
1008 (is_heap_until): Likewise.
1009 * testsuite/25_algorithms/lexicographical_compare/debug/
1010 irreflexive_neg.cc: New.
1011 * testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: New.
1012 * testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc:
1015 2015-08-24 Jonathan Wakely <jwakely@redhat.com>
1018 * include/bits/char_traits.h (char_traits<char>::compare,
1019 char_traits<char>::find, char_traits<char>::move,
1020 char_traits<char>::copy, char_traits<char>::assign): Check for zero
1022 (char_traits<wchar_t>::compare, char_traits<wchar_t>::find,
1023 char_traits<wchar_t>::move, char_traits<wchar_t>::copy,
1024 char_traits<wchar_t>::assign): Likewise.
1025 (char_traits<char16_t>::move, char_traits<char16_t>::copy): Likewise.
1026 (char_traits<char32_t>::move, char_traits<char32_t>::copy): Likewise.
1027 * include/ext/pod_char_traits.h (char_traits<character<>>::move,
1028 char_traits<character<>>::copy): Likewise.
1029 * testsuite/21_strings/char_traits/requirements/char/65049.cc: New.
1030 * testsuite/21_strings/char_traits/requirements/char16_t/65049.cc:
1032 * testsuite/21_strings/char_traits/requirements/char32_t/65049.cc:
1034 * testsuite/21_strings/char_traits/requirements/wchar_t/65049.cc:
1038 * include/bits/random.tcc
1039 (poisson_distribution::param_type::_M_initialize): Use max<double>.
1040 (binomial_distribution::param_type::_M_initialize): Likewise.
1041 * testsuite/17_intro/headers/c++200x/67309.cc: New.
1042 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Remove
1045 2015-08-20 Jonathan Wakely <jwakely@redhat.com>
1048 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Do not run
1050 * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise.
1052 * include/experimental/any (__any_caster): Define at namespace scope
1053 so the name is visible to name lookup.
1054 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1056 * python/Makefile.am: Ensure gdb.py is installed for libstdc++ not
1058 * python/Makefile.in: Regenerate.
1060 2015-08-19 Paolo Carlini <paolo.carlini@oracle.com>
1062 * include/c_global/cmath: Fix typo in comment.
1064 2015-08-19 Paolo Carlini <paolo.carlini@oracle.com>
1066 * include/c_global/cmath: Revert fix for libstdc++/58625, no
1067 longer necessary (__builtin_signbit is now type-generic).
1069 2015-08-18 Jonathan Wakely <jwakely@redhat.com>
1072 * testsuite/tr1/2_general_utilities/shared_ptr/observers/bool_conv.cc:
1073 Fix use of safe-bool idiom that isn't valid in C++11.
1075 * include/bits/ptr_traits.h: Include <bits/move.h> for addressof.
1078 * doc/xml/manual/configure.xml (manual.intro.setup.configure): Add
1079 caveats for --enable-concept-checks. Improve link text.
1080 * doc/xml/manual/diagnostics.xml (std.diagnostics.concept_checking):
1082 * doc/html/*: Regenerate.
1083 * include/bits/stl_deque.h (deque): Only use concept checks in C++03.
1084 * include/bits/stl_stack.h (stack): Likewise.
1085 * include/bits/stl_vector.h (vector): Likewise.
1087 2015-08-14 Jonathan Wakely <jwakely@redhat.com>
1089 * include/experimental/any (any::operator=(const any&)): Move check
1090 for self-assignment.
1091 (any::operator=(any&&)): Add check for self-assignment.
1092 (any::operator=(_ValueType&&)): Constrain template argument.
1093 (any::swap(any&)): Add check for self-swap.
1094 * testsuite/experimental/any/assign/self.cc: Test move and swap.
1095 * testsuite/experimental/any/misc/any_cast_neg.cc: Update dg-error.
1097 2015-08-14 Jonathan Wakely <jwakely@redhat.com>
1099 * include/experimental/array: Add feature-test macro.
1100 * testsuite/experimental/array/neg.cc: Update dg-error.
1102 2015-08-13 Ville Voutilainen <ville.voutilainen@gmail.com>
1104 * testsuite/experimental/array/neg.s: Remove.
1105 * testsuite/experimental/array/neg.ii.gz: Remove.
1107 2015-08-13 Ville Voutilainen <ville.voutilainen@gmail.com>
1109 Implement std::experimental::fundamentals_v2::make_array and
1110 std::experimental::fundamentals_v2::to_array.
1111 * include/Makefile.am: Add array.
1112 * include/Makefile.in: Add array.
1113 * include/experimental/array: New.
1114 * testsuite/experimental/array/make_array.cc: Likewise.
1115 * testsuite/experimental/array/neg.cc: Likewise.
1116 * doc/html/manual/status.html: Mark make_array as Y.
1117 * doc/xml/manual/status_cxx2017.xml: Likewise.
1119 2015-08-13 Jonathan Wakely <jwakely@redhat.com>
1121 * include/bits/alloc_traits.h: Add feature-test macro.
1122 * include/bits/allocator.h: Likewise.
1123 * include/bits/range_access.h: Likewise.
1124 * include/bits/stl_map.h: Likewise.
1125 * include/bits/unordered_map.h: Likewise.
1127 2015-08-13 Jonathan Wakely <jwakely@redhat.com>
1129 * testsuite/30_threads/mutex/unlock/2.cc: New.
1130 * testsuite/30_threads/recursive_mutex/unlock/2.cc: New.
1131 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: New.
1132 * testsuite/30_threads/shared_mutex/unlock/1.cc: New.
1133 * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: New.
1134 * testsuite/30_threads/timed_mutex/unlock/2.cc: New.
1136 2015-08-13 Eelis van der Weegen <eelis@eelis.net>
1138 * include/std/shared_mutex (shared_mutex::unlock()): Fix typo.
1140 2015-08-12 Caroline Tice <cmtice@google.com>
1142 PR 66521, Contributed by Eric Gallager
1143 * acinclude.m4 (VTV_CXXLINKFLAGS): Make this variable OS-specific, and
1144 fix the rpath flag to work properly for darwin.
1145 * configure: Regenerated.
1147 2015-08-12 Jonathan Wakely <jwakely@redhat.com>
1149 * doc/xml/manual/appendix_contributing.xml: Update patch email policy.
1150 * doc/xml/manual/status_cxx2017.xml: Update status table.
1151 * doc/html/manual/*: Regenerate.
1153 2015-08-09 Ville Voutilainen <ville.voutilainen@gmail.com>
1155 Implement N4279, Improved insertion interface for unique-key maps.
1156 * include/bits/stl_map.h (try_emplace, insert_or_assign): New.
1157 * include/bits/stl_tree.h (_M_get_insert_unique_pos,
1158 _M_get_insert_equal_pos, _M_get_insert_hint_unique_pos,
1159 _M_get_insert_hint_equal_pos): Make public.
1160 * include/bits/unordered_map.h (try_emplace, insert_or_assign): New.
1161 * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
1163 * testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
1164 * testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
1166 * testsuite/23_containers/unordered_map/modifiers/try_emplace.cc:
1169 2015-08-08 Ville Voutilainen <ville.voutilainen@gmail.com>
1171 Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118)
1172 and N4366 LWG 2228: Missing SFINAE rule in unique_ptr
1173 templated assignment
1174 * include/bits/unique_ptr.h
1175 (__remove_cv, __is_derived_Tp): Remove.
1176 (default_delete::default_delete(const default_delete<_Up[]>)):
1177 Constrain with array convertibility.
1178 (default_delete::operator(_Up*)): Turn into a template,
1179 constrain with array convertibility.
1180 (__safe_conversion_up): New, single object version.
1181 (unique_ptr(unique_ptr<_Up, _Ep>&&)): Constrain with deleter
1183 (unique_ptr::operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
1184 is_assignable as a constraint.
1185 (__safe_conversion_up): Array version, renamed from __safe_conversion,
1186 updated to implement N4089.
1187 (__safe_conversion_raw): New.
1188 (unique_ptr(_Up)): Turn into a template, constrain with array
1191 typename conditional<is_reference<deleter_type>::value,
1192 deleter_type, const deleter_type&>::type)): Likewise.
1193 (unique_ptr(_Up, typename
1194 remove_reference<deleter_type>::type&&)): Likewise.
1195 (unique_ptr(unique_ptr<_Up, _Ep>&&)): Likewise.
1196 (operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
1197 is_assignable as a constraint (array version).
1198 (reset(_Up)): Turn into a template, constrain with array
1200 (reset(nullptr_t)): New.
1201 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
1202 * testsuite/20_util/unique_ptr/assign/48635.cc: Likewise.
1203 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
1204 * testsuite/20_util/unique_ptr/assign/cv_qual.cc: Likewise.
1205 * testsuite/20_util/unique_ptr/cons/cv_qual.cc: Likewise.
1206 * testsuite/20_util/unique_ptr/dr2228.cc: New.
1207 * testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: Adjust.
1209 2015-08-05 Nikolai Bozhenov <n.bozhenov@samsung.com>
1211 * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Remove
1212 redundant -save-temps option.
1213 * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
1214 * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
1215 * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
1216 * testsuite/30_threads/future/cons/constexpr.cc: Likewise.
1217 * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
1219 2015-08-03 Jonathan Wakely <jwakely@redhat.com>
1222 * include/bits/range_access.h (size, empty, data): Fix _N bad name.
1224 2015-07-30 Jonathan Wakely <jwakely@redhat.com>
1226 * testsuite/experimental/filesystem/operations/current_path.cc: Use
1227 canonical paths for comparisons.
1229 2015-07-30 Tim Shen <timshen@google.com>
1231 * include/bits/regex_automaton.h (_State_base, _State<>):
1232 Remove _TraitsT dependency from _State<>; Make matcher member
1233 into the union to reduce struct size.
1234 * include/bits/regex_automaton.tcc (_State_base<>::_M_print,
1235 _State_base<>::_M_dot, _StateSeq<>::_M_clone):
1236 Adjust to fit the interface. Factor out common parts in
1237 _M_clone as _State<>::_M_has_alt.
1238 * include/bits/regex_executor.h (_Executer<>::_M_lookahead):
1239 Only pass state id instead of the whole state.
1240 * include/bits/regex_executor.tcc (_Executer<>::_M_dfs,
1241 _Executer<>::_M_lookahead): Adjust to fit the interface.
1242 * include/std/regex: Include <ext/aligned_buffer.h>
1244 2015-07-30 Jonathan Wakely <jwakely@redhat.com>
1246 * include/experimental/any (any::operator=(const any&)): Check for
1248 * testsuite/experimental/any/assign/self.cc: New.
1249 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1251 2015-07-29 Jonathan Wakely <jwakely@redhat.com>
1254 * testsuite/lib/libstdc++.exp (v3-build_support): Compile
1255 testsuite_shared.cc with -std=gnu++98.
1257 2015-07-29 Ville Voutilainen <ville.voutilainen@gmail.com>
1259 * include/bits/range_access.h: Change class to typename in every
1261 (size, empty, data): New functions from N4280.
1262 * testsuite/24_iterators/container_access.cc: New.
1265 * include/bits/functional_hash.h (__hash_enum): New.
1266 (hash): Derive from __hash_enum.
1267 * testsuite/20_util/hash/60970.cc: New.
1269 2015-07-29 Tim Shen <timshen@google.com>
1272 * include/bits/regex_compiler.h (_Compiler<>::_M_expression_term,
1273 _BracketMatcher<>::_M_add_collating_element): Change signature
1274 to make checking the and of bracket expression easier.
1275 * include/bits/regex_compiler.tcc (_Compiler<>::_M_expression_term):
1276 Treat '-' as a valid literal if it's at the end of bracket expression.
1277 * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
1280 2015-07-24 Jonathan Wakely <jwakely@redhat.com>
1282 * include/bits/atomic_futex.h [_GLIBCXX_HAVE_LINUX_FUTEX]
1283 (_M_load_and_test_until): Whitespace.
1284 (_M_load_and_test): Value-initialize the unused durations.
1285 (_M_load_when_equal): Add missing return value.
1287 2015-07-24 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1289 * fragment.am (AM_CPPFLAGS): Add CPPFLAGS.
1290 * Makefile.in: Regenerate.
1291 * doc/Makefile.in: Regenerate.
1292 * include/Makefile.in: Regenerate.
1293 * libsupc++/Makefile.in: Regenerate.
1294 * po/Makefile.in: Regenerate.
1295 * python/Makefile.in: Regenerate.
1296 * src/Makefile.in: Regenerate.
1297 * src/c++11/Makefile.in: Regenerate.
1298 * src/c++98/Makefile.in: Regenerate.
1299 * src/filesystem/Makefile.in: Regenerate.
1300 * testsuite/Makefile.in: Regenerate.
1302 2015-07-23 DJ Delorie <dj@redhat.com>
1304 * include/bits/functional_hash.h: Add specializations for __intN
1307 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp (__gnu_pbds):
1308 Guard against values that might exceed size_t's precision.
1310 2015-07-20 Jason Merrill <jason@redhat.com>
1312 * include/bits/c++config: Fix abi_tag in special modes.
1314 2015-07-19 Jonathan Wakely <jwakely@redhat.com>
1316 * doc/xml/manual/status_cxx2017.xml: Fix URL for N4279.
1317 * doc/html/manual/status.html: Regenerate.
1319 2015-07-17 Jonathan Wakely <jwakely@redhat.com>
1321 * doc/xml/manual/status_cxx2011.xml: Add caveats for native_handle.
1322 * doc/html/manual/status.html: Regenerate.
1324 2015-07-16 François Dumont <fdumont@gcc.gnu.org>
1326 * include/bits/stl_algobase.h (__miter_base): Move...
1327 * include/bits/cpp_type_traits.h: ...here.
1328 * include/debug/functions.h (__foreign_iterator_aux): Use latter.
1329 * testsuite/23_containers/vector/debug/insert7_neg.cc: New.
1331 2015-07-13 Jonathan Wakely <jwakely@redhat.com>
1334 * src/c++11/codecvt.cc (__codecvt_utf8_utf16_base::do_in): Override
1335 endianness bit in mode.
1336 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: New.
1338 * include/bits/c++config (_GLIBCXX_NOEXCEPT_IF): Define.
1339 * include/bits/forward_list.h (forward_list::swap): Make noexcept
1341 * include/bits/hashtable.h (_Hashtable::swap): Do not use
1343 * include/bits/stl_bvector.h (vector<bool>::swap): Make noexcept
1345 * include/bits/stl_deque.h (deque::swap): Likewise.
1346 (swap(deque&, deque&)): Use _GLIBCXX_NOEXCEPT_IF.
1347 * include/bits/stl_list.h (list::swap): Make noexcept unconditional.
1348 (swap(list&, list&)): Use _GLIBCXX_NOEXCEPT_IF.
1349 * include/bits/stl_map.h (map::swap, swap(map&, map&)): Use
1350 _GLIBCXX_NOEXCEPT_IF, do not depend on _S_nothrow_swap.
1351 * include/bits/stl_multimap.h (multimap::swap,
1352 swap(multimap&, multimap&)): Likewise.
1353 * include/bits/stl_multiset.h (multiset::swap,
1354 swap(multiset&, multiset&)): Likewise.
1355 * include/bits/stl_set.h (set::swap, swap(set&, set&)): Likewise.
1356 * include/bits/stl_tree.h (_Rb_tree::swap,
1357 swap(_Rb_tree&, _Rb_tree&)): Likewise.
1358 * include/bits/stl_vector.h (vector::swap): Make noexcept
1360 (swap(vector&, vector&)): Use _GLIBCXX_NOEXCEPT_IF.
1361 * include/debug/deque (deque::swap, swap): Likewise.
1362 * include/debug/forward_list (swap): Add noexcept.
1363 * include/debug/list (list::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
1364 * include/debug/map.h (map::swap, swap): Likewise.
1365 * include/debug/multimap.h (multimap::swap, swap): Likewise.
1366 * include/debug/multiset.h (multiset::Swap, swap): Likewise.
1367 * include/debug/set.h (set::swap, swap): Likewise.
1368 * include/debug/unordered_map (unordered_map::swap,
1369 unordered_multimap::swap, swap): Likewise.
1370 * include/debug/unordered_set (unordered_set::swap,
1371 unordered_multiset::swap, swap): Likewise.
1372 * include/debug/vector (vector::swap, swap): Likewise.
1373 * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()):
1375 * include/profile/deque (deque::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
1376 * include/profile/forward_list (swap): Add noexcept.
1377 * include/profile/list (list::swap, swap) : Use _GLIBCXX_NOEXCEPT_IF.
1378 * include/profile/map.h (map::swap, swap): Likewise.
1379 * include/profile/multimap.h (multimap::swap, swap): Likewise.
1380 * include/profile/multiset.h (multiset::swap, swap): Likewise.
1381 * include/profile/set.h (set::swap, swap): Likewise.
1382 * include/profile/unordered_map (swap): Likewise.
1383 * include/profile/unordered_set (swap): Likewise.
1384 * include/profile/vector (vector::swap, swap): Likewise. Remove
1385 overloads for swapping rvalues.
1386 * testsuite/23_containers/deque/allocator/noexcept.cc: Update tests
1387 for noexcept on swap.
1388 * testsuite/23_containers/forward_list/allocator/noexcept.cc:
1390 * testsuite/23_containers/list/allocator/noexcept.cc: Likewise.
1391 * testsuite/23_containers/map/allocator/noexcept.cc: Likewise.
1392 * testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise.
1393 * testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise.
1394 * testsuite/23_containers/set/allocator/noexcept.cc: Likewise.
1395 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
1397 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc:
1399 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc:
1401 * testsuite/23_containers/unordered_set/allocator/noexcept.cc:
1403 * testsuite/23_containers/vector/allocator/noexcept.cc: Likewise.
1404 * testsuite/23_containers/vector/bool/allocator/noexcept.cc: Likewise.
1405 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line
1408 2015-07-13 John Marino <gnugcc@marino.st>
1410 * config/os/bsd/dragonfly/os_defines.h (_GLIBCXX_USE_C99_CHECK,
1411 _GLIBCXX_USE_C99_DYNAMIC, _GLIBCXX_USE_C99_LONG_LONG_CHECK,
1412 _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC): Define.
1414 2015-07-05 François Dumont <fdumont@gcc.gnu.org>
1416 * include/bits/hashtable.h (_Hashtable<>::__rehash_policy): Do not
1418 * testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
1421 2015-07-03 Jonathan Wakely <jwakely@redhat.com>
1423 * doc/xml/manual/status_cxx2017.xml: Update status table.
1424 * doc/html/manual/*: Regenerate.
1426 2015-07-03 Ville Voutilainen <ville.voutilainen@gmail.com>
1428 Implement std::experimental::fundamentals_v2::propagate_const.
1429 * include/Makefile.am: Add propagate_const.
1430 * include/Makefile.in: Regenerate.
1431 * include/experimental/propagate_const: New.
1432 * testsuite/experimental/propagate_const/assignment/copy.cc: Likewise.
1433 * testsuite/experimental/propagate_const/assignment/move.cc: Likewise.
1434 * testsuite/experimental/propagate_const/assignment/move_neg.cc:
1436 * testsuite/experimental/propagate_const/cons/copy.cc: Likewise.
1437 * testsuite/experimental/propagate_const/cons/default.cc: Likewise.
1438 * testsuite/experimental/propagate_const/cons/move.cc: Likewise.
1439 * testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise.
1440 * testsuite/experimental/propagate_const/hash/1.cc: Likewise.
1441 * testsuite/experimental/propagate_const/observers/1.cc: Likewise.
1442 * testsuite/experimental/propagate_const/relops/1.cc: Likewise.
1443 * testsuite/experimental/propagate_const/requirements1.cc: Likewise.
1444 * testsuite/experimental/propagate_const/requirements2.cc: Likewise.
1445 * testsuite/experimental/propagate_const/requirements3.cc: Likewise.
1446 * testsuite/experimental/propagate_const/requirements4.cc: Likewise.
1447 * testsuite/experimental/propagate_const/requirements5.cc: Likewise.
1448 * testsuite/experimental/propagate_const/swap/1.cc: Likewise.
1449 * testsuite/experimental/propagate_const/typedefs.cc: Likewise.
1451 2015-07-02 Jonathan Wakely <jwakely@redhat.com>
1453 * acinclude.m4 (GLIBCXX_DEFAULT_ABI): Change valid arguments for
1454 --with-default-libstdcxx-abi
1455 * configure: Regenerate.
1456 * doc/xml/manual/configure.xml: Document valid arguments.
1458 2015-07-02 Uros Bizjak <ubizjak@gmail.com>
1460 * libsupc++/guard.cc (__test_and_acquire): Use __p after __atomic_load
1461 to avoid unused variable warning.
1462 (__set_and_release): Use __p after __atomic_store to avoid unused
1465 2015-07-01 Jonathan Wakely <jwakely@redhat.com>
1467 * include/bits/alloc_traits.h (__alloctr_rebind): Remove.
1468 (__allocator_traits_base): New base class.
1469 (__alloc_rebind): Reimplement in terms of detection idiom.
1470 (allocator_traits): Derive from __allocator_traits_base. Reimplement
1471 nested types in terms of detection idiom. Simplify SFINAE constraints
1472 on overloaded static member functions.
1473 * include/bits/hashtable.h (_Hashtable): Use __alloc_rebind instead
1474 of __alloctr_rebind.
1475 * testsuite/20_util/scoped_allocator/propagation.cc: Define rebind.
1476 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
1477 dg-error line number.
1479 * include/bits/ptr_traits.h (__ptrtr_elt_type, __ptrtr_diff_type,
1480 __ptrtr_rebind, __ptrtr_not_void): Remove
1481 (__get_first_arg, __replace_first_arg, __make_not_void): Define new
1483 (__detected_or_): New detection trait.
1484 (pointer_traits): Use new traits.
1485 * testsuite/20_util/pointer_traits/pointer_to.cc: Add rebind member.
1486 * testsuite/20_util/pointer_traits/requirements/
1487 explicit_instantiation.cc: Use valid arguments to pointer_traits.
1489 * doc/xml/manual/status_cxx2017.xml: Update status table.
1490 * include/experimental/type_traits (void_t, is_detected,
1491 is_detected_v, detected_t, detected_or, detected_or_t,
1492 is_detected_exact, is_detected_exact_v, is_detected_convertible,
1493 is_detected_convertible_v): Define.
1494 * include/std/type_traits (__detector, __detected_or, __detected_or_t,
1495 __detected_or_t_): Define.
1496 * testsuite/experimental/type_traits/detection.cc: New.
1498 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
1500 * doc/Makefile.am (stamp-pdf-doxygen): Grep for LaTeX errors in log.
1501 * doc/Makefile.in: Regenerate.
1503 * include/bits/stl_pair.h: Replace class keyword with typename.
1505 2015-06-30 Ville Voutilainen <ville.voutilainen@gmail.com>
1507 Implement N4387, "Improving pair and tuple", and LWG 2367.
1509 * include/bits/stl_pair.h (_ConstructiblePair,
1510 _ImplicitlyConvertiblePair, _MoveConstructiblePair,
1511 _ImplicitlyMoveConvertiblePair): New.
1512 (pair()): Constrain it.
1513 (pair(const _T1&, const _T2&), pair(const pair<_U1, _U2>&),
1514 pair(_U1&&, const _T2&), pair(const _T1&, _U2&&), pair(_U1&&, _U2&&),
1515 pair(pair<_U1, _U2>&&)): Make conditionally explicit.
1516 * include/std/tuple (_TC, tuple::_TC2, tuple::TCC, tuple::TMC): New.
1517 (tuple()): Constrain it.
1518 (tuple(const _UElements&...), tuple(_UElements&&...),
1519 tuple(const tuple<_UElements...>&), tuple(tuple<_UElements...>&&),
1520 tuple(allocator_arg_t, const _Alloc&, const _UElements&...),
1521 tuple(allocator_arg_t, const _Alloc&, _UElements&&...),
1522 tuple(allocator_arg_t, const _Alloc&, const tuple<_UElements...>&),
1523 tuple(allocator_arg_t, const _Alloc&, tuple<_UElements...>&&),
1524 tuple(const pair<_U1, _U2>&), tuple(pair<_U1, _U2>&&),
1525 tuple(allocator_arg_t, const _Alloc&, const pair<_U1, _U2>&),
1526 tuple(allocator_arg_t, const _Alloc&, pair<_U1, _U2>&&)): Make
1527 conditionally explicit.
1528 * include/experimental/functional (__boyer_moore_array_base): Name
1529 array type explicitly instead of using an empty braced-init-list.
1530 * testsuite/20_util/pair/cons/explicit_construct.cc: New.
1531 * testsuite/20_util/pair/piecewise.cc: Use piecewise_construct.
1532 * testsuite/20_util/pair/requirements/dr2367.cc: New.
1533 * testsuite/20_util/tuple/cons/explicit_construct.cc: New.
1534 * testsuite/20_util/tuple/requirements/dr2367.cc: New.
1536 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
1538 * configure: Regenerate.
1540 2015-06-29 François Dumont <fdumont@gcc.gnu.org>
1542 * include/bits/stl_iterator_base_types.h (_Iter_base): Limit definition
1544 * include/debug/functions.h
1545 (__gnu_debug::__valid_range, __gnu_debug::__base): Move...
1546 * include/debug/safe_iterator.h
1547 (__gnu_debug::_Sequence_traits): New.
1548 (__gnu_debug::__get_distance_from_begin): New.
1549 (__gnu_debug::__get_distance_to_end): New.
1550 (__gnu_debug::_Safe_iterator<>::_M_valid_range): Expose iterator range
1551 distance information. Add optional check_dereferenceable parameter,
1553 (__gnu_debug::_Distance_precision, __gnu_debug::__get_distance): Move
1554 default definition...
1555 (__gnu_debug::__get_distance): New overload for _Safe_iterator.
1556 (__gnu_debug::__unsafe): Likewise.
1557 * include/debug/helper_functions.h: ...here. New.
1558 (__gnu_debug::__unsafe): New helper function to remove safe iterator
1560 * include/debug/stl_iterator.h: New. Include latter.
1561 * include/bits/stl_iterator.h: Include latter in debug mode.
1562 * include/debug/stl_iterator.tcc: Adapt.
1563 * include/debug/safe_local_iterator.h (__gnu_debug::__get_distance): Add
1564 overload for _Safe_local_iterator.
1565 (__gnu_debug::__unsafe): Likewise.
1566 * include/debug/safe_local_iterator.tcc: Adapt.
1567 * include/debug/macros.h (__glibcxx_check_valid_range2): New.
1568 (__glibcxx_check_insert_range): Add _Dist parameter.
1569 (__glibcxx_check_insert_range_after): Likewise.
1570 (__glibcxx_check_string, __glibcxx_check_string_len): Implement using
1571 _GLIBCXX_DEBUG_PEDASSERT.
1572 * include/debug/deque (deque<>::assign): Remove iterator debug layer
1574 (deque<>::insert): Likewise.
1575 * include/debug/forward_list (__glibcxx_check_valid_fl_range): New.
1576 (forward_list<>::splice_after): Use latter.
1577 (forward_list<>::assign): Remove iterator debug layer when possible.
1578 (forward_list<>::insert_after): Likewise.
1579 (__gnu_debug::_Sequence_traits<>): Partial specialization.
1580 * include/debug/list (list<>::assign): Remove iterator debug layer when
1582 (list<>::insert): Likewise.
1583 [__gnu_debug::_Sequence_traits<>]: Partial specialization pre C++11 ABI.
1584 * include/debug/map.h (map<>::insert): Remove iterator debug layer when
1586 * include/debug/multimap.h (multimap<>::insert): Likewise.
1587 * include/debug/set.h (set<>::insert): Likewise.
1588 * include/debug/multiset.h (multiset<>::insert): Likewise.
1589 * include/debug/string (basic_string<>::append, basic_string<>::assign,
1590 basic_string<>::insert, basic_string<>::replace): Likewise.
1591 * include/debug/unordered_map
1592 (unordered_map<>::insert, unordered_multimap<>::insert): Likewise.
1593 * include/debug/unordered_set
1594 (unordered_set<>::insert, unordered_multiset<>insert): Likewise.
1595 * include/debug/vector
1596 (vector<>::assign, vector<>::insert): Likewise.
1597 * include/Makefile.am: Add new debug headers.
1598 * include/Makefile.in: Regenerate.
1600 2015-06-26 Jonathan Wakely <jwakely@redhat.com>
1602 * doc/xml/manual/intro.xml: Document LWG 2108 status.
1603 * include/bits/alloc_traits.h (allocator_traits::is_always_equal):
1605 * include/bits/allocator.h (allocator::is_always_equal): Likewise.
1606 * include/bits/forward_list.h
1607 (forward_list::operator=(forward_list&&)): Use __bool_constant.
1608 (forward_list::swap(forward_list&)): Add noexcept.
1609 * include/bits/hashtable.h (_Hashtable::operator=(_Hashtable&&)):
1611 (_Hashtable::swap(_Hashtable&)): Likewise.
1612 * include/bits/stl_deque.h (_Deque_base::_Deque_base(_Deque_base&&)):
1613 Use _Alloc_traits::is_always_equal.
1614 (deque::operator=(deque&&)): Likewise.
1615 (deque::_M_move_assign1(deque&&, false_type)): Add comment and use
1617 (swap(deque&, deque&)): Add noexcept.
1618 * include/bits/stl_list.h (list::operator=(list&&)): Use
1620 (swap(list&, list&)): Add noexcept.
1621 * include/bits/stl_map.h (map::swap(map&)): Include _Compare in
1623 (swap(map&, map&)): Add noexcept.
1624 * include/bits/stl_multimap.h (multimap::swap(multimap&)): Include
1625 _Compare in noexcept.
1626 (swap(multimap&, multimap&)): Add noexcept.
1627 * include/bits/stl_multiset.h (multiset::swap(multiset&)): Include
1628 _Compare in noexcept.
1629 (swap(multiset&, multiset&)): Add noexcept.
1630 * include/bits/stl_set.h (set::swap(set&)): Include _Compare in
1632 (swap(set&, set&)): Add noexcept.
1633 * include/bits/stl_tree.h (_Rb_tree::operator=(_Rb_tree&&)): Include
1634 _Compare in noexcept.
1635 (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_alloc_type&&)): Use
1637 * include/bits/stl_vector.h (vector::operator=(vector&&)): Use
1639 (swap(vector&, vector&)): Add noexcept.
1640 * include/bits/unordered_map.h (swap(unordered_map&, unordered_map&),
1641 swap(unordered_multimap& unordered_multimap&)): Add noexcept.
1642 * include/bits/unordered_set.h (swap(unordered_set&, unordered_set&),
1643 swap(unordered_multiset& unordered_multiset&)): Add noexcept.
1644 * include/ext/alloc_traits.h (__allocator_always_compares_equal):
1646 (__alloc_traits::_S_always_equal()): Use is_always_equal instead of
1647 __allocator_always_compares_equal.
1648 * include/ext/array_allocator.h (array_allocator::is_always_equal):
1650 * include/std/scoped_allocator (__any_of, __propagate_on_copy,
1651 __propagate_on_move, __propagate_on_swap): Remove.
1652 (scoped_allocator_adaptor::propagate_on_container_copy_assignment,
1653 scoped_allocator_adaptor::propagate_on_container_move_assignment,
1654 scoped_allocator_adaptor::propagate_on_container_swap): Define with
1655 __and_ instead of __any_of.
1656 (scoped_allocator_adaptor::is_always_equal): Define.
1657 * testsuite/20_util/allocator_traits/members/is_always_equal.cc: New.
1658 * testsuite/20_util/scoped_allocator/propagation.cc: Make traits
1659 derive from true_type or false_type.
1660 * testsuite/23_containers/deque/allocator/move_assign-2.cc: Add
1661 is_always_equal member and remove the trait specialization.
1662 * testsuite/23_containers/vector/52591.cc: Likewise.
1663 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1664 Adjust dg-error line number.
1665 * testsuite/23_containers/deque/requirements/dr438/
1666 constructor_1_neg.cc: Likewise.
1667 * testsuite/23_containers/deque/requirements/dr438/
1668 constructor_2_neg.cc: Likewise.
1669 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1671 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1673 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1675 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1677 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1679 * testsuite/23_containers/vector/requirements/dr438/
1680 constructor_1_neg.cc: Likewise.
1681 * testsuite/23_containers/vector/requirements/dr438/
1682 constructor_2_neg.cc: Likewise.
1683 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1686 * include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept.
1687 * include/bits/stl_map.h (map::map()): Likewise.
1688 * include/bits/stl_multimap.h (multimap::multimap()): Likewise.
1689 * include/bits/stl_multiset.h (multiset::multiset()): Likewise.
1690 * include/bits/stl_set.h (set::set()): Likewise.
1692 2015-06-25 Jonathan Wakely <jwakely@redhat.com>
1694 * include/bits/locale_conv.h (__do_str_codecvt): Set __count.
1696 2015-06-24 François Dumont <fdumont@gcc.gnu.org>
1698 * include/bits/basic_string.h (basic_string<>::front()): Add !empty
1700 (basic_string<>::back()): Likewise.
1701 (basic_string<>::pop_back()): Likewise.
1703 2015-06-24 Paolo Carlini <paolo.carlini@oracle.com>
1705 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
1706 dg-error line numbers.
1707 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
1710 2015-06-23 François Dumont <fdumont@gcc.gnu.org>
1712 * include/debug/array: Include <array>. Add version namespace when
1713 specializing tuple interface to array. Add specialization for
1714 __is_tuple_like_impl.
1715 * include/profile/array: Likewise.
1716 * include/std/array: Include <utility>. Add specialization for
1717 __is_tuple_like_impl.
1719 (__is_tuple_like_impl<>, __is_tuple_like_impl<pair>): Move...
1720 * include/std/utility: ... here. Include <type_traits>.
1721 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust
1722 dg-error line number.
1723 * testsuite/23_containers/array/tuple_interface/
1724 tuple_element_debug_neg.cc: Likewise.
1726 2015-06-22 Jonathan Wakely <jwakely@redhat.com>
1728 * testsuite/26_numerics/complex/value_operations/1.cc: Use
1729 non-negative rho argument.
1731 * include/debug/list (__gnu_debug::list): Use allocator-aware
1732 _Safe_container base.
1733 * include/debug/string (__gnu_debug::basic_string): Use
1734 allocator-aware _Safe_container base for cxx11 ABI.
1736 * include/bits/locale_conv.h (__do_str_codecvt): Handle empty range.
1737 (wstring_convert): Move into __cxx11 namespace.
1738 (wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception
1742 * include/bits/stl_uninitialized.h
1743 (__uninitialized_copy::__uninit_copy): Cast expression to void.
1745 2015-06-17 Jonathan Wakely <jwakely@redhat.com>
1748 * include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
1749 (list::list(const list&)): Use allocator propagation trait. Use
1750 _M_assign_dispatch to copy elements.
1751 * include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
1752 (_List_node::_M_valptr()): Add accessor for stored value.
1753 (_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
1754 (_List_base, list): Use allocator traits.
1755 (_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
1756 (_List_base::_M_move_nodes): New function.
1757 (_List_base(_List_base&&)): Use _M_move_nodes.
1758 (_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
1759 (list::_M_create_node, list::_M_erase, list::max_size): Use allocator
1761 (list(size_type)): Add allocator parameter.
1762 (list(const list&)): Use allocator propagation trait.
1763 (list(const list&, const allocator_type&)): New constructor.
1764 (list(list&&, const allocator_type&)): Likewise.
1765 (list::operator=(list&&), list::swap(list&)): Use allocator
1767 (list::_M_move_assign): New functions.
1768 * include/debug/list: Add allocator-extended constructors.
1769 * include/profile/list: Likewise.
1770 * python/libstdcxx/v6/printers.py (get_value_from_list_node): New
1771 function to get value from _List_node.
1772 (StdListPrinter): Use get_value_from_list_node.
1773 * testsuite/23_containers/list/allocator/copy.cc: New.
1774 * testsuite/23_containers/list/allocator/copy_assign.cc: New.
1775 * testsuite/23_containers/list/allocator/minimal.cc: New.
1776 * testsuite/23_containers/list/allocator/move.cc: New.
1777 * testsuite/23_containers/list/allocator/move_assign.cc: New.
1778 * testsuite/23_containers/list/allocator/noexcept.cc: New.
1779 * testsuite/23_containers/list/allocator/swap.cc: New.
1780 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1781 Adjust dg-prune-output line number.
1782 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1784 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1787 * include/bits/forward_list.h
1788 (_Fwd_list_base(const _Node_alloc_type&)): Change parameter to
1790 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Likewise.
1791 (forward_list(const _Alloc&)): Split default constructor out to
1793 (forward_list(forward_list&&, const _Alloc&)): Move elements if base
1795 (forward_list::_M_move_assign(forward_list&&, true_type)): Replace
1796 swap call with two assignments.
1797 * include/bits/forward_list.tcc
1798 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Don't
1799 move elements when allocators are not equal.
1800 * include/debug/forward_list (forward_list(const allocator_type&)):
1801 Split default constructor out to separate function.
1802 * include/profile/forward_list (forward_list(const _Alloc&)):
1805 * include/bits/forward_list.h (forward_list::_M_get_Node_allocator):
1806 Remove unnecessary uses of operator& and static_cast.
1807 * include/bits/forward_list.tcc
1808 (forward_list::operator=(const forward_list&)): Use __addressof
1809 instead of operator&.
1810 (forward_list::remove(const _Tp&), forward_list::remove(_Pred)):
1811 Remove invalid static_casts.
1812 * include/debug/forward_list: Use __addressof instead of operator&.
1813 * testsuite/23_containers/forward_list/modifiers/addressof.cc: New.
1815 * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()): Use
1816 __is_nothrow_swappable.
1818 2015-06-16 Jonathan Wakely <jwakely@redhat.com>
1820 * include/bits/allocated_ptr.h (__allocated_ptr): Use __addressof.
1822 * include/bits/list.tcc (list::operator=(const list&), list::merge):
1823 Use __addressof instead of operator&.
1824 (list::sort): Use array-to-pointer decay instead of operator&.
1825 * include/bits/stl_list.h (list::splice): Use __addressof instead of
1827 * include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter):
1829 * include/debug/functions.h (__check_singular): Likewise.
1830 * include/debug/list (list::splice, list::merge): Likewise.
1831 * testsuite/23_containers/list/modifiers/addressof.cc: New.
1834 * src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
1837 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
1839 * include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
1842 * src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length):
1845 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1849 * config/cpu/alpha/atomic_word.h: Remove.
1850 * config/cpu/ia64/atomic_word.h: Remove.
1851 * config/cpu/powerpc/atomic_word.h: Remove.
1852 * config/os/aix/atomic_word.h: Remove.
1853 * configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]:
1854 Use generic definition.
1856 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1860 * * config/cpu/generic/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Define
1861 (_GLIBCXX_WRITE_MEM_BARRIER): Likewise
1862 * include/bits/shared_ptr_base.h: Use ACQ_REL barrier.
1863 * include/ext/atomicity.h: Likewise.
1864 * include/tr1/shared_ptr.h: Likewise.
1865 * libsupc++/guard.cc (__test_and_acquire): Rewrite with atomics.
1867 (__set_and_release): Likewise.
1868 * testsuite/20_util/shared_ptr/cons/43820_neg.cc (test01): Adjust for
1870 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
1871 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
1874 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
1876 * include/std/tuple (__is_tuple_like_impl): Disambiguate array in
1877 debug and profile modes.
1878 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust tests
1879 for swap in C++11 and later.
1881 2015-06-09 Jonathan Wakely <jwakely@redhat.com>
1884 * config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols
1887 2015-06-08 Jonathan Wakely <jwakely@redhat.com>
1890 * testsuite/22_locale/conversions/string/66441.cc: New.
1891 * include/bits/locale_conv.h (__do_str_codecvt): Reserve enough space
1892 in the output string for BOM and complete result.
1895 * src/c++11/codecvt.cc (write_utf16_code_point): Use adjust_byte_order
1896 for single UTF-16 units.
1897 * testsuite/22_locale/codecvt/codecvt_utf16/66417.cc: New.
1899 2015-06-07 François Dumont <fdumont@gcc.gnu.org>
1901 * include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to
1902 outer scope and rename to ...
1903 (std::__hash_is_transparent<>): ... this.
1904 * include/debug/stl_map.h (map::find<>,
1905 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1906 member function templates to perform heterogeneous lookup.
1907 * include/debug/stl_multimap.h (multimap::find<>,
1908 multimap::lower_bound<>, multimap::upper_bound<>,
1909 multimap::equal_range<>): Likewise.
1910 * include/debug/stl_multiset.h (multiset::find<>,
1911 multiset::lower_bound<>, multiset::upper_bound<>,
1912 multiset::equal_range<>): Likewise.
1913 * include/debug/stl_set.h (set::find<>,
1914 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1915 * include/profile/stl_map.h (map::find<>, map::count<>,
1916 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise.
1917 * include/profile/stl_multimap.h (multimap::find<>, multimap::count<>,
1918 multimap::lower_bound<>, multimap::upper_bound<>,
1919 multimap::equal_range<>): Likewise.
1920 * include/profile/stl_multiset.h (multiset::find<>, multiset::count<>,
1921 multiset::lower_bound<>, multiset::upper_bound<>,
1922 multiset::equal_range<>): Likewise.
1923 * include/profile/stl_set.h (set::find<>, set::count<>,
1924 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1925 * testsuite/23_containers/map/operations/1.cc: Check const variants.
1926 * testsuite/23_containers/multimap/operations/1.cc: Likewise.
1927 * testsuite/23_containers/multiset/operations/1.cc: Likewise.
1928 * testsuite/23_containers/set/operations/1.cc: Likewise.
1930 2015-06-05 Jonathan Wakely <jwakely@redhat.com>
1932 * doc/xml/manual/status_cxx2017.xml: Update status tables.
1933 * doc/html/manual/*: Regenerate.
1934 * include/std/type_traits (bool_constant): Define.
1935 * testsuite/20_util/bool_constant/requirements.cc: New.
1936 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
1937 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1939 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1942 * include/std/shared_mutex (__shared_mutex_pthread,
1943 __shared_mutex_cv): New helper types implementing the shared mutex
1945 (shared_mutex): New type for C++17.
1946 (shared_timed_mutex): Derive from one of the new helper types.
1947 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
1948 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
1949 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
1950 * testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
1952 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
1953 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
1955 2015-06-05 Ville Voutilainen <ville.voutilainen@gmail.com>
1957 Add __is_nothrow_swappable and take it into use.
1958 * include/bits/algorithmfwd.h (swap): Only declare for C++98 mode.
1959 * include/bits/move.h (swap): Add constraints in C++11 and later.
1960 * include/bits/stl_pair.h (swap): Use __is_nothrow_swappable
1961 for the free swap function for pair.
1962 * include/bits/stl_queue.h (swap): Use __is_nothrow_swappable
1963 for the free swap functions for queue and priority_queue.
1964 * include/bits/stl_stack.h (swap): Use __is_nothrow_swappable
1965 for the free swap function for stack.
1966 * include/debug/array (swap): Use __is_nothrow_swappable
1967 for the free swap function for array.
1968 * include/profile/array (swap): Likewise.
1969 * include/std/array (swap): Likewise.
1970 * include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable.
1971 * include/std/type_traits (__is_swappable_impl::__is_swappable,
1972 __is_nothrow_swappable_impl, __is_nothrow_swappable): New.
1973 * testsuite/20_util/is_nothrow_swappable/requirements/
1974 explicit_instantiation.cc: New.
1975 * testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
1977 * testsuite/20_util/is_nothrow_swappable/value.cc: New.
1979 2015-06-03 François Dumont fdumont@gcc.gnu.org>
1981 * testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode.
1983 2015-06-02 Jonathan Wakely <jwakely@redhat.com>
1985 * doc/xml/manual/abi.xml: Document versioning for 5.1.0 release.
1986 * doc/html/manual/*: Regenerate.
1988 * doc/html/ext/lwg-active.html: Update to R93.
1989 * doc/html/ext/lwg-closed.html: Likewise.
1990 * doc/html/ext/lwg-defects.html: Likewise.
1991 * doc/html/manual/*: Regenerate.
1992 * doc/xml/manual/intro.xml: Document status of several DRs.
1994 2015-06-02 Renlin Li <renlin.li@arm.com>
1996 * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
1998 2015-06-01 Jonathan Wakely <jwakely@redhat.com>
2000 * testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
2001 environment variable.
2003 2015-05-31 Jonathan Wakely <jwakely@redhat.com>
2006 * include/bits/stl_algobase.h (__fill_a): Check length before calling
2009 2015-05-30 Jonathan Wakely <jwakely@redhat.com>
2011 * include/bits/stl_algobase.h (__equal<true>::equal): Check length
2012 instead of checking for null pointers.
2013 (__lexicographical_compare<true>::__lc): Only check shorter length.
2015 2015-05-29 François Dumont fdumont@gcc.gnu.org>
2017 * include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
2018 _GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
2019 * include/debug/assertions.h: ...here, new.
2020 * include/debug/formatter.h
2021 (_Error_formatter::_Is_iterator_value_type): New.
2022 (_Error_formatter::_Is_instance): New.
2023 (_Error_formatter::_Parameter): Make public and not friend anymore.
2024 (_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
2025 (_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
2027 (_Error_formatter::_Parameter::_Type): New.
2028 (_Error_formatter::_Parameter::_Instance): New, inherit from
2030 (union _Error_formatter::_Parameter::_M_variant): Reorganize.
2031 (_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
2032 overloads take iterator through a const reference.
2033 (_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
2035 (_Parameter(const _Type&, const char*, _Is_instance)): New.
2036 (_Error_formatter::_M_print_type): Delete.
2037 (_Error_formatter::_M_iterator_value_type): New.
2038 (_Error_formatter::_M_instance): New.
2039 * include/Makefile.am: Add new above debug file.
2040 * include/Makefile.in: Regenerate.
2041 * include/debug/functions.h
2042 (__check_dereferenceable(const _Safe_iterator<>&),
2043 __valid_range(const _Safe_iterator<>&),
2044 __is_safe_random_iterator<_Safe_iterator<>>): Move...
2045 * include/debug/safe_iterator.h: ... here.
2046 Replace debug.h include with assertions.h.
2047 (__check_singular_aux): Move...
2048 * include/debug/safe_base.h: ... here.
2049 * include/debug/functions.h
2050 (__check_dereferenceable(const _Safe_local_iterator<>&),
2051 __valid_range(const _Safe_local_iterator<>&): Move...
2052 * include/debug/safe_local_iterator.h: ...here.
2053 * include/debug/safe_sequence.h: Replace debug.h with assertions.h.
2054 Remove _Safe_iterator declaration.
2055 * include/debug/safe_unordered_container.h: Replace debug.h with
2057 * include/debug/array: Replace safe_sequence.h include with
2058 formatter.h and macros.h.
2059 * include/debug/deque: Include functions.tcc.
2060 * include/debug/forward_list: Likewise.
2061 * include/debug/list: Likewise.
2062 * include/debug/string: Likewise.
2063 * include/debug/vector: Likewise.
2064 * include/bits/unique_ptr.h: Replace debug.h include with new
2066 * include/bits/stl_iterator_base_funcs.h: Likewise.
2067 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
2068 Adjust dg-error line number.
2069 * testsuite/23_containers/array/tuple_interface/
2070 tuple_element_debug_neg.cc: Likewise.
2071 * src/c++11/debug.cc: Adapt.
2073 2015-05-29 Jonathan Wakely <jwakely@redhat.com>
2075 * doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
2076 * doc/html/manual/*: Regenerate.
2078 * include/std/future (__async_result_of): New alias template.
2079 (async): Use __async_result_of to pass decayed types to result_of.
2080 * testsuite/30_threads/async/lwg2021.cc: New.
2081 * doc/xml/manual/intro.xml: Document LWG 2021 status.
2084 * include/bits/stl_algobase.h (__equal<true>::equal): Do not call
2085 memcmp with null pointers.
2086 (__lexicographical_compare<true>::__lc): Do not call memcmp for empty
2089 2015-05-28 Jonathan Wakely <jwakely@redhat.com>
2092 * include/profile/array (array::data): Use _S_ptr.
2093 * include/debug/array (array::data): Likewise.
2096 * include/std/array (__array_traits::_S_ptr): New function.
2097 (array::data): Use _S_ptr to avoid creating invalid reference.
2098 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
2099 dg-error line numbers.
2100 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
2103 2015-05-27 Jonathan Wakely <jwakely@redhat.com>
2105 * include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
2106 instead of downcasting.
2107 (_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
2108 (_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
2109 (_Rb_tree::_S_iter): Remove.
2110 (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
2111 (_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
2112 instead of _S_lower_bound_tr
2113 (_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
2114 (_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
2115 instead of calling _S_lower_bound_tr.
2116 (_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
2117 (_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
2118 instead of calling _S_upper_bound_tr.
2119 (_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
2120 (_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
2121 (_Rb_tree::equal_range): Use _Base_ptr for end pointer.
2122 (_Rb_tree::_M_get_insert_unique_pos): Likewise.
2123 (_Rb_tree::_M_get_insert_equal_pos): Likewise.
2124 (_Rb_tree::_M_insert_equal_lower_node): Likewise.
2125 (_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
2126 _Rb_tree::_M_emplace_hint_unique): Remove static_cast.
2129 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
2130 (_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
2132 (_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
2133 (_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
2134 * include/ext/aligned_buffer.h (__aligned_membuf): New type using
2135 alignment of _Tp as a member subobject, not as a complete object.
2136 * python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
2137 _Link_type manually as it might not be in the debug info.
2139 2015-05-26 Doug Evans <dje@google.com>
2141 * python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
2143 * testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
2146 2015-05-26 Jonathan Wakely <jwakely@redhat.com>
2148 * include/bits/locale_conv.h: Fix copyright years.
2149 * include/bits/quoted_string.h: Likewise.
2150 * src/filesystem/Makefile.am: Likewise.
2151 * testsuite/22_locale/conversions/buffer/1.cc: Likewise.
2152 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
2154 * testsuite/22_locale/conversions/string/1.cc: Likewise.
2155 * testsuite/22_locale/conversions/string/2.cc: Likewise.
2156 * testsuite/22_locale/conversions/string/3.cc: Likewise.
2157 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
2159 * testsuite/22_locale/conversions/string/requirements/typedefs.cc:
2161 * testsuite/util/testsuite_fs.h: Likewise.
2163 2015-05-23 François Dumont fdumont@gcc.gnu.org>
2166 * include/debug/functions.h (__check_sorted_aux): Cast expression to
2169 2015-05-21 David Edelsohn <dje.gcc@gmail.com>
2172 * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
2173 Don't use isync. Use lwsync if available.
2174 * configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
2175 powerpc cpu definition.
2177 2015-05-21 Jason Merrill <jason@redhat.com>
2179 * libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
2180 * libsupc++/del_op.cc: Likewise.
2182 2015-05-20 François Dumont fdumont@gcc.gnu.org>
2184 * include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
2186 (_Error_formatter::_M_print_type): New.
2187 * src/c++11/debug.cc
2188 (_Error_formatter::_Parameter::_M_print_field): Use latter.
2189 (_Error_formatter::_M_print_type): Implement latter using
2190 __cxaabiv1::__cxa_demangle to print demangled type name.
2192 * include/bits/cpp_type_traits.h
2193 (std::move_iterator): Delete declaration.
2194 (std::__is_move_iterator<move_iterator>): Move partial specialization...
2195 * include/bits/stl_iterator.h: ... here.
2196 (std::__miter_base): Overloads for std::reverse_iterator and
2198 * include/bits/stl_algobase.h (std::__miter_base): Provide default
2201 2015-05-20 Jonathan Wakely <jwakely@redhat.com>
2203 * testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
2206 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
2207 overload for pointers.
2208 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
2209 808590.cc: Add -std=gnu++03 switch.
2210 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
2211 808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
2212 * testsuite/23_containers/vector/modifiers/push_back/
2213 strong_guarantee.cc: New.
2215 2015-05-19 Jonathan Wakely <jwakely@redhat.com>
2217 * include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
2218 (operator==(const list&, const list&)): If size() is O(1) compare
2219 sizes before comparing each element.
2220 * include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
2221 (list::resize): Use _M_resize_pos.
2223 2015-05-19 François Dumont <fdumont@gcc.gnu.org>
2225 * testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
2227 * testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
2228 * testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
2229 * testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
2231 2015-05-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2233 * configure.host: Define cpu_defines_dir for ARM.
2234 * config/cpu/arm/cpu_defines.h: New file.
2236 2015-05-17 François Dumont <fdumont@gcc.gnu.org>
2238 * include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
2239 missing constructors.
2240 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
2242 * include/debug/unordered_map (unordered_map, unordered_multimap): Add
2243 missing constructors.
2244 * include/debug/unordered_set (unordered_set, unordered_multiset):
2246 * include/profile/unordered_map (unordered_map, unordered_multimap): Add
2247 missing constructors.
2248 * include/profile/unordered_set (unordered_set, unordered_multiset):
2251 2015-05-15 Jonathan Wakely <jwakely@redhat.com>
2253 * src/filesystem/ops.cc (stat_type): Define alias for struct stat and
2254 use throughout the file.
2255 (make_file_type): New function.
2256 (file_size(const path&, error_code&)): Report an error for anything
2257 that isn't a regular file.
2258 (status(const path&), symlink_status(const path&)): Do not throw for
2259 file_type::not_found.
2260 (temp_directory_path()): Check additional environment variables.
2261 * testsuite/experimental/filesystem/operations/exists.cc: New.
2262 * testsuite/experimental/filesystem/operations/file_size.cc: New.
2263 * testsuite/experimental/filesystem/operations/status.cc: New.
2264 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
2267 2015-05-14 Nathan Myers <ncm@cantrip.org>
2268 Jonathan Wakely <jwakely@redhat.com>
2271 * include/std/unordered_map (unordered_map, unordered_multimap): Add
2272 missing constructors.
2273 * include/std/unordered_set (unordered_set, unordered_multiset):
2275 * testsuite/23_containers/unordered_map/cons/66055.cc: New.
2276 * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
2277 * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
2278 * testsuite/23_containers/unordered_set/cons/66055.cc: New.
2280 2015-05-14 Jonathan Wakely <jwakely@redhat.com>
2283 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
2285 * config.h.in: Regenerate.
2286 * configure: Regenerate.
2287 * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
2288 not return after copying contents. Use fchmod, fchmodat, and sendfile
2290 (current_path, permissions, space): Use errno not return value.
2293 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
2295 * config.h.in: Regenerate.
2296 * configure: Regenerate.
2297 * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
2299 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2301 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
2302 * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
2303 * config.h.in: Regenerate.
2304 * configure: Likewise.
2305 * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
2306 __USING_SJLJ_EXCEPTIONS__.
2307 * libsupc++/eh_throw.cc: Likewise.
2308 * libsupc++/eh_ptr.cc: Likewise.
2309 * doc/html/manual/appendix_porting.html: Remove
2310 GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
2311 * doc/xml/manual/build_hacking.xml: Likewise.
2312 * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
2313 * doc/xml/manual/configure.xml: Likewise.
2315 2015-05-13 Jonathan Wakely <jwakely@redhat.com>
2317 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
2318 for nullptr (LWG 2415).
2319 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
2320 construction from empty unique_ptr.
2321 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
2322 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
2324 * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
2326 * testsuite/20_util/raw_storage_iterator/base.cc: New.
2328 * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
2329 Remove explicit (LWG 2407).
2331 * include/bits/basic_string.h (basic_string::basic_string()): Make
2332 noexcept conditional on allocator (LWG 2455).
2334 * include/std/complex (polar): Check for negative rho (LWG 2459).
2336 * include/experimental/tuple (apply): Handle pointers to member (LWG
2338 * include/std/functional (_Mem_fn_base): Make constructors constexpr.
2339 (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
2340 * testsuite/experimental/tuple/apply.cc: Test pointer to member.
2342 * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
2344 * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
2345 * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
2346 * testsuite/23_containers/forward_list/allocator/minimal.cc:
2348 * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
2349 * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
2350 * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
2351 * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
2352 * testsuite/23_containers/unordered_map/allocator/minimal.cc:
2354 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
2356 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
2358 * testsuite/23_containers/unordered_set/allocator/minimal.cc:
2360 * testsuite/util/testsuite_allocator.h: Remove unused parameter.
2362 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
2363 * configure: Regenerate.
2365 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
2367 * Makefile.in: Regenerated with automake-1.11.6.
2368 * aclocal.m4: Likewise.
2369 * configure: Likewise.
2370 * doc/Makefile.in: Likewise.
2371 * include/Makefile.in: Likewise.
2372 * libsupc++/Makefile.in: Likewise.
2373 * po/Makefile.in: Likewise.
2374 * python/Makefile.in: Likewise.
2375 * src/Makefile.in: Likewise.
2376 * src/c++11/Makefile.in: Likewise.
2377 * src/c++98/Makefile.in: Likewise.
2378 * src/filesystem/Makefile.in: Likewise.
2379 * testsuite/Makefile.in: Likewise.
2381 2015-05-09 Jason Merrill <jason@redhat.com>
2383 * testsuite/20_util/headers/functional/synopsis.cc: Add
2384 _GLIBCXX14_CONSTEXPR.
2385 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2387 2015-05-08 Jason Merrill <jason@redhat.com>
2389 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
2390 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
2391 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
2392 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
2393 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
2394 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
2395 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
2396 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
2397 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
2398 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
2399 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
2401 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
2402 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2403 Adjust expected errors.
2404 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2406 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2408 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2410 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2412 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2414 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2416 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2418 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2420 * testsuite/23_containers/vector/requirements/dr438
2421 /constructor_1_neg.cc: Likewise.
2422 * testsuite/23_containers/vector/requirements/dr438
2423 /constructor_2_neg.cc: Likewise.
2424 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2426 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
2427 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
2428 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
2429 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
2430 * testsuite/ext/array_allocator/check_allocate_max_size.cc:
2431 Add -Wno-deprecated.
2432 * testsuite/ext/array_allocator/check_deallocate_null.cc:
2433 Add -Wno-deprecated.
2434 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
2435 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
2436 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
2437 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
2439 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
2441 * testsuite/tr1/2_general_utilities/shared_ptr/assign
2442 /auto_ptr_rvalue_neg.cc: Add -std=c++98.
2443 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
2444 Add -std=c++98 -fno-show-column.
2445 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
2447 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
2449 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
2450 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
2452 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
2453 * src/c++98/Makefile.in: Regenerate.
2454 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
2455 * src/Makefile.in: Regenerate.
2457 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
2460 * include/std/future (async): Change default policy to launch::async.
2462 * include/experimental/any (any::_Storage): Fix alignment of buffer.
2463 (any::_Internal): Check alignment of type.
2464 * testsuite/experimental/any/cons/aligned.cc: New.
2465 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
2467 * include/experimental/iterator (ostream_joiner): Simplify by using
2468 the injected-class-name and the ostream_type typedef.
2470 * include/experimental/iterator: New. Define ostream_joiner.
2471 * include/Makefile.am: Add new header.
2472 * include/Makefile.in: Regenerate.
2473 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
2474 * testsuite/experimental/iterator/ostream_joiner.cc: New.
2475 * testsuite/experimental/iterator/requirements.cc: New.
2476 * doc/xml/manual/status_cxx2017.xml: Update status.
2477 * doc/html/manual/status.html: Regenerate.
2479 * include/experimental/numeric: New. Define gcd and lcm.
2480 * include/Makefile.am: Add new header.
2481 * include/Makefile.in: Regenerate.
2482 * testsuite/experimental/numeric/gcd.cc: New.
2483 * testsuite/experimental/numeric/lcm.cc: New.
2484 * doc/xml/manual/status_cxx2017.xml: Update status.
2485 * doc/html/manual/status.html: Regenerate.
2487 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
2489 Revert addition of feature macros from other headers per latest SD-6.
2490 * include/experimental/deque: Remove feature-test macro.
2491 * include/experimental/forward_list: Ditto.
2492 * include/experimental/list: Ditto.
2493 * include/experimental/map: Ditto.
2494 * include/experimental/set: Ditto.
2495 * include/experimental/string: Ditto.
2496 * include/experimental/unordered_map: Ditto.
2497 * include/experimental/unordered_set: Ditto.
2499 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
2501 * include/experimental/any (any::_Storage): Make non-copyable.
2502 (any::any): Do not copy _Storage object.
2503 (any::operator=): Implement more efficiently than swapping.
2504 (any::swap): Use new _Op_xfer operation.
2505 (any::_Op::_Op_xfer): New enumerator.
2506 (_Manager_internal::_S_alloc): Remove unused function.
2507 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
2508 parameter instead of returning a _Storage object.
2509 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
2510 _Op_xfer operation for moving and swapping.
2511 * testsuite/experimental/any/cons/nontrivial.cc: New.
2512 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
2514 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
2516 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
2520 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
2521 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
2522 and fix tests for forward_as_tuple and tie.
2524 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
2525 Set timespec members explicitly instead of with a braced-init-list.
2526 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
2528 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
2530 * include/experimental/deque: Add feature-test macro.
2531 * include/experimental/forward_list: Ditto.
2532 * include/experimental/list: Ditto.
2533 * include/experimental/map: Ditto.
2534 * include/experimental/set: Ditto.
2535 * include/experimental/string: Ditto.
2536 * include/experimental/unordered_map: Ditto.
2537 * include/experimental/unordered_set: Ditto.
2539 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
2541 * include/experimental/memory: Correct feature-test macro.
2543 * include/experimental/memory: Add feature-test macro.
2544 * include/experimental/vector: Likewise.
2545 * doc/xml/manual/status_cxx2017.xml: Update status.
2546 * doc/html/manual/status.html: Regenerate.
2548 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
2550 Implement observer_ptr.
2551 * include/Makefile.am: Add new header.
2552 * include/Makefile.in: Regenerate.
2553 * include/experimental/memory: New.
2554 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
2555 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
2556 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
2557 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
2558 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
2559 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
2560 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
2561 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
2563 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
2565 * src/filesystem/path.cc (path::compare): Do not copy strings.
2567 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
2569 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
2570 * configure: Regenerate.
2571 * config.h.in: Regenerate.
2572 * configure.ac: Check for utime.h
2573 * include/experimental/fs_path.h (path::string<>)
2574 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
2575 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
2576 closedir, dirent, readdir_r): Replace dummy functions with #error.
2577 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
2578 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
2579 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
2580 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
2581 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
2584 * include/experimental/fs_path.h (path::_List): Use vector instead of
2586 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
2587 * src/filesystem/path.cc: Use std::prev instead of decrementing
2588 rvalues. Fix whitespace.
2589 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
2590 Do not decrement iterators before begin.
2592 * include/experimental/fs_dir.h: Fix use of non-reserved names.
2593 * include/experimental/fs_ops.h: Likewise.
2594 * include/experimental/fs_path.h: Likewise.
2595 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
2596 C++11 when checking for support.
2598 * include/bits/locale_classes.h (locale::facet): Delete copy
2599 operations in C++11 mode.
2601 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
2603 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
2604 * configure: Regenerate.
2606 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
2608 Inline one-line erasure dispatch functions.
2609 * include/experimental/forward_list (erase_if(), erase()): Inline.
2610 * include/experimental/list (erase_if(), erase()): Inline.
2611 * include/experimental/map (erase_if(*)): Inline.
2612 * include/experimental/set (erase_if(*)): Inline.
2613 * include/experimental/string (erase_if(), erase()): Inline.
2614 * include/experimental/unordered_map (erase_if(*)): Inline.
2615 * include/experimental/unordered_set (erase_if(*)): Inline.
2617 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
2619 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
2620 * doc/xml/manual/status_cxx2011.xml: Update status tables.
2621 * doc/xml/manual/status_cxx2014.xml: Likewise.
2622 * doc/xml/manual/status_cxx2017.xml: New.
2623 * doc/xml/manual/using.xml: Fix typo.
2624 * doc/html/*: Regenerate.
2626 * include/std/memory (pointer_safety, declare_reachable,
2627 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
2628 get_pointer_safety): Define.
2629 * testsuite/20_util/pointer_safety/1.cc: New.
2631 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
2633 Implement N4100 File System TS
2634 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
2635 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
2636 * config.h.in: Regenerate.
2637 * configure: Regenerate.
2638 * configure.ac: Enable filesystem TS and check its dependencies.
2639 * include/Makefile.am: Add new headers.
2640 * include/Makefile.in: Regenerate.
2641 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
2642 __str_codecvt_out): Move code conversion logic from wstring_convert
2643 into new global functions.
2644 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
2646 (wstring_convert::_M_conv): Remove.
2647 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
2648 * include/experimental/filesystem: New.
2649 * include/experimental/fs_dir.h: New.
2650 * include/experimental/fs_fwd.h: New.
2651 * include/experimental/fs_ops.h: New.
2652 * include/experimental/fs_path.h: New.
2653 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
2654 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
2655 * src/Makefile.am (SUBDIRS): Add filesystem.
2656 * src/Makefile.in: Regenerate.
2657 * src/filesystem/Makefile.am: New.
2658 * src/filesystem/Makefile.in: New.
2659 * src/filesystem/dir.cc: New.
2660 * src/filesystem/ops.cc: New.
2661 * src/filesystem/path.cc: New.
2662 * testsuite/experimental/filesystem/operations/absolute.cc: New.
2663 * testsuite/experimental/filesystem/operations/copy.cc: New.
2664 * testsuite/experimental/filesystem/operations/current_path.cc: New.
2665 * testsuite/experimental/filesystem/path/append/path.cc: New.
2666 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
2667 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
2668 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
2669 * testsuite/experimental/filesystem/path/compare/path.cc: New.
2670 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
2671 * testsuite/experimental/filesystem/path/concat/path.cc: New.
2672 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
2673 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
2674 * testsuite/experimental/filesystem/path/construct/default.cc: New.
2675 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
2676 * testsuite/experimental/filesystem/path/construct/range.cc: New.
2677 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
2678 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
2679 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
2681 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
2683 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
2685 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
2687 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
2689 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
2690 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
2692 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
2693 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
2694 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
2696 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
2698 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
2700 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
2702 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
2703 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
2704 * testsuite/experimental/filesystem/path/query/empty.cc: New.
2705 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
2706 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
2707 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
2709 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
2711 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
2713 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
2715 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
2717 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
2718 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
2719 * testsuite/util/testsuite_fs.h: New.
2721 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
2723 Add fundamentals TR container erasure.
2724 * include/Makefile.am: Add new headers.
2725 * include/Makefile.in: Add new headers.
2726 * include/experimental/array: New.
2727 * include/experimental/deque: New.
2728 * include/experimental/erase_if.tcc: New.
2729 * include/experimental/forward_list: New.
2730 * include/experimental/list: New.
2731 * include/experimental/map: New.
2732 * include/experimental/set: New.
2733 * include/experimental/string: New.
2734 * include/experimental/unordered_map: New.
2735 * include/experimental/unordered_set: New.
2736 * include/experimental/vector: New.
2737 * testsuite/experimental/deque/erasure.cc: New.
2738 * testsuite/experimental/forward_list/erasure.cc: New.
2739 * testsuite/experimental/list/erasure.cc: New.
2740 * testsuite/experimental/map/erasure.cc: New.
2741 * testsuite/experimental/set/erasure.cc: New.
2742 * testsuite/experimental/string/erasure.cc: New.
2743 * testsuite/experimental/unordered_map/erasure.cc: New.
2744 * testsuite/experimental/unordered_set/erasure.cc: New.
2745 * testsuite/experimental/vector/erasure.cc: New.
2747 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
2749 * include/bits/cpp_type_traits.h
2750 (__gnu_cxx::__is_normal_iterator): Delete.
2751 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
2752 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
2753 (std::__niter_base): Overloads for std::reverse_iterator,
2754 __gnu_cxx::__normal_iterator and std::move_iterator.
2756 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
2758 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
2760 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
2761 Remove usage of latter and compute size of the prime numbers array
2764 2015-04-29 Doug Evans <dje@google.com>
2767 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
2768 Replace all lookups of "bool" with this.
2769 (get_std_size_type): New function. Replace all lookups of std::size_t
2771 (*Worker): New method get_result_type.
2772 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
2773 (ListWorkerBase.__init__): New arg val_type. All callers updated.
2774 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
2775 Delete setting of name, enabled.
2776 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
2777 updated. Delete setting of name.
2778 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
2779 libstdc++ xmethod matchers.
2780 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
2781 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
2782 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
2783 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
2784 * testsuite/libstdc++-xmethods/list.cc: Ditto.
2785 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
2786 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
2788 2015-04-29 Doug Evans <dje@google.com>
2790 Use consistent naming for value type attributes.
2791 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
2793 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
2794 (ArrayFrontWorker, ArrayBackWorker): Ditto.
2795 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
2796 (DequeWorkerBase): Rename elemtype to val_type.
2797 (ForwardListWorkerBase): Rename _elem_type to _val_type.
2798 (ForwardListFrontWorker): Ditto. And rename elem_address to
2800 (ForwardListMethodsMatcher): Rename elem_type to val_type.
2801 (VectorWorkerBase): Rename _elemtype to _val_type.
2803 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
2806 * include/std/functional (__check_func_return_type): Use is_same to
2807 avoid using _is_convertible on incomplete types.
2808 * testsuite/20_util/function/65760.cc: New.
2811 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
2813 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
2814 time_get::_M_extract_num, time_get::_M_extract_name,
2815 time_get::_M_extract_wday_or_month): Likewise.
2816 * include/bits/stl_algo.h (__includes, __replace_copy_if,
2817 __is_sorted_until, __is_permutation, transform): Likewise.
2818 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
2819 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
2820 * include/bits/stl_numeric.h (inner_product): Likewise.
2821 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
2822 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
2823 input_iterator_wrapper): Declare unusable comma operator.
2824 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
2825 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
2828 2015-04-28 Doug Evans <dje@google.com>
2830 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
2833 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
2835 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
2838 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
2840 * Makefile.am (SUBDIRS): Move python to hosted_source.
2841 * Makefile.in: Regenerate.
2842 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
2843 * configure: Regenerate.
2845 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
2848 * include/std/limits (numeric_limits): Add missing unsigned.
2850 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
2852 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
2854 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
2857 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
2858 Handle enumeration types larger than sizeof(long).
2859 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
2861 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
2862 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2864 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
2865 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
2867 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
2870 * include/bits/forward_list.h (forward_list::splice_after): Add
2872 * include/bits/forward_list.tcc (forward_list::splice_after):
2876 * include/bits/random.h (seed_seq) Define copy constructor and copy
2877 assignment as deleted.
2878 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
2880 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
2881 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
2882 Use -std=gnu++1z. Check feature-test macro.
2884 * include/std/type_traits (void_t): Add.
2885 * testsuite/20_util/void_t/1.cc: New.
2887 2015-04-28 Tim Shen <timshen@google.com>
2889 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
2890 * include/bits/regex_automaton.tcc: Throw exception when parsing
2891 back-reference with flag __polynomial.
2892 * include/bits/regex_constants.h: Add extension flag
2893 syntax_option_type __polynomial.
2894 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
2895 Alternative operation will be fixed in the coming refactoring.
2896 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
2897 loose match_search_debug to use DFS only.
2899 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
2902 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
2903 Make the generated test program fail gracefully if the target
2904 doesn't support passing command-line arguments.
2906 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
2907 Jonathan Wakely <jwakely@redhat.com>
2909 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
2910 Return false or zero if the library is built without exceptions.
2911 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
2912 the library is built without exceptions.
2914 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
2916 * config/abi/pre/gnu.ver: Fix comment.
2918 Add support for std::uncaught_exceptions.
2919 * acinclude.m4: Bump libtool_VERSION.
2920 * config/abi/pre/gnu.ver: Export the new symbol.
2921 * configure: Regenerate.
2922 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
2923 * libsupc++/exception (uncaught_exceptions): New.
2924 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
2925 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
2927 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
2928 Michael Hanselmann <public@hansmi.ch>
2931 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
2932 uncaught exceptions.
2933 * testsuite/18_support/exception_ptr/62258.cc: New.
2935 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
2937 * doc/xml/manual/extensions.xml: Add cross-reference.
2938 * doc/html/manual/ext_compile_checks.html: Regenerate.
2940 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2942 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
2943 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
2945 2015-04-22 Renlin Li <renlin.li@arm.com>
2947 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
2948 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
2949 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
2950 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
2951 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
2953 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
2955 * doc/xml/manual/configure.xml: Update descriptions of options
2956 affecting dual ABI and add cross-references.
2957 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
2958 * doc/xml/manual/using.xml: Document ABI transition.
2959 * doc/html/*: Regenerate.
2961 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
2962 * doc/xml/manual/using.xml: Document newer -std options. Use better
2963 examples of nested namespaces.
2965 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
2967 * doc/xml/manual/concurrency_extensions.xml: Update documentation
2969 * doc/xml/manual/using.xml: Likewise. Improve markup.
2970 * doc/html/*: Regenerate.
2972 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2974 * scripts/extract_symvers.pl: Ignore elfdump error output.
2976 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
2979 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
2980 _List_const_iterator): Declare.
2981 (__distance): Declare new overloads for _List_iterator and
2982 _List_const_iterator.
2983 * include/bits/stl_list.h (__distance): New overloads for
2984 _List_iterator and _List_const_iterator.
2985 * testsuite/23_containers/list/61347.cc: New testcase.
2987 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
2989 * doc/xml/manual/evolution.xml: Fix typos.
2990 * doc/html/manual/api.html: Regenerate.
2992 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
2994 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
2995 alignment is larger-equal, not equal, to default alignment.
2997 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
3000 * config/abi/pre/gnu.ver: Export base object constructors for
3002 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
3003 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
3004 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
3005 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3006 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
3007 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
3008 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
3009 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
3010 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
3011 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
3012 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
3013 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
3014 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3015 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3016 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
3017 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
3018 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
3019 * testsuite/27_io/basic_fstream/cons/base.cc: New.
3021 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
3023 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
3024 * doc/html/*: Regenerate.
3026 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
3028 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
3030 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
3032 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
3034 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
3036 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
3038 * doc/xml/manual/test.xml: Improve documentation on running a subset
3040 * doc/html/manual/test.html: Regenerate.
3042 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3044 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
3045 for GCC 5.1 release.
3046 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
3049 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
3051 * include/std/shared_mutex (shared_timed_mutex): Add comments to
3052 explain the logic in the non-pthread_rwlock_t version.
3053 (_Mutex): Remove redundant type.
3054 (_M_n_readers): Rename to _S_max_readers.
3055 (_M_write_entered, _M_readers): New convenience functions.
3056 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
3057 functions. Use predicates with condition variables. Simplify bitwise
3059 (try_lock_for, try_shared_lock_for): Convert duration to time_point
3060 and call try_lock_until or try_shared_lock_until respectively.
3061 (try_lock_until, try_shared_lock_until): Wait on the condition
3062 variables until the specified time passes.
3063 (unlock): Add Debug Mode assertion.
3064 (unlock_shared): Add Debug Mode assertion.
3065 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
3067 * include/std/shared_mutex (shared_timed_mutex): Only use
3068 pthread_rwlock_t when the POSIX Timeouts option is supported.
3069 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
3070 dg-require-gthreads-timed.
3071 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
3072 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
3073 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
3075 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
3077 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
3079 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
3080 Richard Henderson <rth@redhat.com>
3083 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
3085 * include/std/atomic (atomic): For types with a power of two size set
3086 alignment to at least the size.
3087 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
3088 * testsuite/29_atomics/atomic/65147.cc: New.
3089 * testsuite/29_atomics/atomic_integral/65147.cc: New.
3091 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3093 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
3094 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3095 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3097 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3099 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
3100 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
3101 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3102 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
3103 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
3104 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
3105 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
3106 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
3108 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
3111 * config/abi/pre/gnu.ver: Export operator+ for new strings.
3112 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
3113 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
3115 2015-03-28 Tim Shen <timshen@google.com>
3118 * include/bits/regex_constants.h: Use constexpr variables for flags.
3119 * testsuite/28_regex/constants/constexpr.cc: New testcase.
3121 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
3124 * include/std/chrono: Add using-directive for literals to std::chrono.
3125 * testsuite/20_util/duration/literals/65499.cc: New.
3127 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
3131 * include/std/thread (this_thread::sleep_for): Check for negative
3133 (this_thread::sleep_until): Check for times in the past.
3134 * testsuite/30_threads/this_thread/58038.cc: New.
3135 * testsuite/30_threads/this_thread/60421.cc: New.
3137 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
3141 * include/std/atomic (atomic<T>): Increase alignment for types with
3142 the same size as one of the integral types.
3143 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
3144 * testsuite/29_atomics/atomic/62259.cc: New.
3146 2015-03-26 Richard Henderson <rth@redhat.com>
3149 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
3150 a fake pointer indicating type alignment.
3151 (__atomic_base<T *>::is_lock_free): Likewise.
3152 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
3154 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
3157 * testsuite/21_strings/basic_string/pthread33394.cc: Use
3158 dg-additional-options.
3160 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
3163 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
3165 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
3167 * testsuite/27_io/rvalue_streams-2.cc: New.
3169 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
3172 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
3174 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
3177 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
3178 * configure: Regenerate.
3179 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
3180 system_category): Use macros for versioned namespace.
3181 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
3183 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
3185 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
3186 test for unused for ARM.
3187 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
3188 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
3190 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
3192 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
3193 * include/ext/codecvt_specializations.h (encoding_state,
3194 encoding_char_traits): Remove abi-tag and use inline namespace.
3195 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
3197 2015-03-19 Jason Merrill <jason@redhat.com>
3199 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
3200 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
3202 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
3205 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
3206 get_catalogs): Add abi-tag.
3207 * include/ext/codecvt_specializations.h (encoding_state,
3208 encoding_char_traits): Likewise.
3209 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
3210 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
3211 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
3212 money_get_shim, money_put_shim, messages_shim): Likewise.
3213 * src/c++11/future.cc (future_error_category::message): Likewise.
3214 * src/c++11/system_error.cc (generic_error_category::message,
3215 system_error_category::message): Likewise.
3216 (__sso_string): Disable -Wabi-tag warnings.
3218 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
3221 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
3222 implementation for old glibc. Fix whitespace.
3224 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
3225 Torvald Riegel <triegel@redhat.com>
3227 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
3228 * config.h.in: Regenerate.
3229 * configure: Regenerate.
3230 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
3231 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
3232 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
3233 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
3236 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
3238 * libsupc++/nested_exception.h: Do not try to derive from final
3240 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
3243 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
3244 unused exception variable.
3245 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
3246 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
3248 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
3250 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
3252 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
3253 * configure: Regenerate.
3255 * include/experimental/system_error: Fix include guard.
3257 2015-03-12 Renlin Li <renlin.li@arm.com>
3259 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
3262 2015-03-10 Tim Shen <timshen@google.com>
3265 * include/bits/regex.h (match_results<>::size,
3266 match_results<>::position, match_results<>::str,
3267 match_results<>::operator[], match_results<>::prefix,
3268 match_results<>::suffix, match_results<>::end,
3269 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
3270 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
3271 global __unmatched_sub. Add unmatched submatch as part of
3273 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
3274 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
3275 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
3278 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
3281 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
3282 for newlib targets. Really fix mixed line-endings this time.
3284 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
3286 * include/std/future (future_error(error_code)): Construct base
3287 class with error_code's message.
3288 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
3291 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
3293 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
3295 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
3296 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
3298 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
3301 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
3302 incomplete multibyte sequences correctly.
3303 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
3304 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
3305 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
3307 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
3308 Define convenience functions.
3309 (read_utf8_code_point): Return relevant constant to distinguish
3310 incomplete characters from invalid sequences.
3311 (read_utf16_code_point): Likewise. Check for invalid sequences.
3312 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
3313 (utf16_out): Check for invalid sequences.
3314 (utf16_span): Fix condition.
3315 (ucs2_out): Use is_high_surrogate.
3316 (ucs2_in): Use incomplete_mb_character constant and fix condition.
3317 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
3318 * testsuite/22_locale/conversions/buffer/1.cc: New.
3319 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
3320 char32_t instead of wchar_t.
3321 * testsuite/22_locale/conversions/string/3.cc: New.
3323 2015-03-03 Iain Sandoe <iain@codesourcery.com>
3326 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
3327 visibility for Darwin.
3328 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
3330 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
3332 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
3335 * include/std/scoped_allocator (__inner_type_impl,
3336 scoped_allocator_adaptor): Add defaulted copy assignment and move
3337 assignment operators.
3338 * testsuite/20_util/scoped_allocator/65279.cc: New.
3340 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
3343 * include/std/stdexcept (__sso_string): Don't use non-static member
3346 2015-02-28 Matthias Klose <doko@ubuntu.com>
3349 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
3351 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
3353 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
3354 * doc/html/manual/status.html: Regenerate.
3356 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
3359 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
3362 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
3364 * doc/html/manual/status.html: Regenerate.
3366 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
3369 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
3370 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
3372 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
3375 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
3376 (test01): Add explanatory comment. Keep only the bd1 sub-test and
3377 split out bd2, bd3, bd4, and bd5 sub-tests into...
3378 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
3379 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
3380 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
3381 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
3382 New separate files with the old parts.
3384 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
3386 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
3388 (utf16_in): Pass mode argument to write_utf16_code_point.
3389 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
3391 * testsuite/22_locale/codecvt/char16_t.cc: New.
3392 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
3394 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
3395 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
3397 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3398 Jonathan Wakely <jwakely@redhat.com>
3400 * testsuite/22_locale/codecvt/char32_t.cc: New.
3402 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
3405 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
3406 empty string gets null-terminated.
3407 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
3409 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
3411 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
3412 mixed line-endings introduced in last change.
3414 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
3416 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
3417 for __NEWLIB__ macro with a dejagnu set macro.
3418 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
3420 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
3423 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
3424 special case for '\n'.
3425 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
3427 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
3429 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
3431 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
3434 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
3436 * include/c_std/cstdio (gets): Likewise.
3437 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
3438 with attributes used in darwin headers.
3440 2015-01-29 Jakub Jelinek <jakub@redhat.com>
3442 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
3443 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
3444 * configure: Regenerated.
3446 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
3448 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
3449 after vtv_cygmin is set.
3450 * configure: Regenerated.
3452 2015-01-29 Matthias Klose <doko@ubuntu.com>
3454 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
3456 * configure: Regenerate.
3458 2015-01-29 Caroline Tice <cmtice@google.com>
3460 Committing VTV Cywin/Ming patch for Patrick Wollgast
3461 * configure: Regenerate.
3462 * libsupc++/Makefile.in: Regenerate.
3463 * src/Makefile.in: Regenerate.
3465 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
3467 * include/bits/atomic_base.h: Use __always_inline__ instead of
3469 * include/bits/atomic_futex.h: Likewise.
3470 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
3471 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
3472 __packed__ instead of packed.
3473 * include/std/shared_mutex: Use __unused__ instead of unused.
3474 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
3475 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
3476 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
3478 2015-01-28 Caroline Tice <cmtice@google.com>
3480 Committing VTV Cywin/Ming patch for Patrick Wollgast
3481 * acinclude.m4: Define VTV_CYGMIN.
3482 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
3483 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
3484 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
3485 for Cygwin and MinGW.
3486 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
3487 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
3488 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
3490 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
3493 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
3494 * libsupc++/Makefile.in: Regenerate.
3495 * src/c++11/Makefile.in: Regenerate.
3497 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3499 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
3500 check for unsupported.
3501 (v3_target_compile_as_c): Likewise.
3503 2015-01-28 Richard Biener <rguenther@suse.de>
3506 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
3508 (pool::allocate): Adjust allocation size and alignment to
3510 (pool::free): Adjust pointer offsetting.
3512 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
3515 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
3516 shared_timed_mutex::try_lock_until): Only define when POSIX thread
3517 timeouts option is supported.
3518 (shared_timed_mutex::try_shared_lock_for,
3519 shared_timed_mutex::try_shared_lock_until): Likewise.
3521 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
3524 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
3525 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
3526 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
3527 and use cache's _M_grouping field.
3528 (__numpunct_fill_cache): Likewise.
3529 (__moneypunct_fill_cache): Improve comments.
3531 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
3533 * testsuite/23_containers/set/operations/2.cc: Add test for
3534 non-transparent comparison function.
3536 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
3539 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
3540 Remove SH4A inline asm and lock based implementations and use the
3541 defaults from ext/atomicity.h.
3543 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
3545 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
3546 new std::string constructors for byname facets.
3548 2015-01-22 Richard Biener <rguenther@suse.de>
3551 * libsupc++/eh_alloc.cc: Include new.
3552 (bitmask_type): Remove.
3553 (one_buffer): Likewise.
3554 (emergency_buffer): Likewise.
3555 (emergency_used): Likewise.
3556 (dependents_buffer): Likewise.
3557 (dependents_used): Likewise.
3558 (class pool): New custom fixed-size arena, variable size object
3560 (emergency_pool): New global.
3561 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
3562 (__cxxabiv1::__cxa_free_exception): Likewise.
3563 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
3564 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
3566 2015-01-22 Tim Shen <timshen@google.com>
3569 * include/bits/regex.h (basic_regex<>::basic_regex,
3570 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
3572 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
3574 2015-01-22 Tim Shen <timshen@google.com>
3577 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
3578 regex_traits<>::lookup_classname): Correctly narrow input chars.
3579 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
3581 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
3583 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
3585 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
3587 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
3589 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3591 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
3592 * doc/xml/manual/status_cxx2014.xml: Update status.
3593 * doc/html/manual/status.html: Regenerate.
3595 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3598 * include/experimental/optional (bad_optional_access): Add default
3600 * testsuite/experimental/optional/requirements.cc: Test for default
3603 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3605 * include/bits/stl_map.h (map::find<>, map::count<>,
3606 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
3607 member function templates to perform heterogeneous lookup.
3608 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
3609 multimap::lower_bound<>, multimap::upper_bound<>,
3610 multimap::equal_range<>): Likewise.
3611 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
3612 multiset::lower_bound<>, multiset::upper_bound<>,
3613 multiset::equal_range<>): Likewise.
3614 * include/bits/stl_set.h (set::find<>, set::count<>,
3615 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
3616 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
3617 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
3618 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
3619 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
3620 * testsuite/23_containers/map/operations/2.cc: New.
3621 * testsuite/23_containers/multimap/operations/2.cc: New.
3622 * testsuite/23_containers/multiset/operations/2.cc: New.
3623 * testsuite/23_containers/set/operations/2.cc: New.
3625 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3627 * config/abi/pre/gnu.ver: Export new constructors.
3628 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
3629 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
3630 specializations and declare explicit instantiations.
3631 * include/bits/locale_classes.h (locale, collate_byname): Add string
3633 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
3635 * include/bits/locale_facets_nonio.h (time_get_byname,
3636 time_put_byname, moneypunct_byname, messages_byname): Likewise.
3637 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
3638 codecvt_byname<char32_t>): Define explicit instantiations.
3639 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
3640 Instantiate string constructors.
3641 (ctype_byname): Define string constructor.
3642 * testsuite/22_locale/codecvt_byname/1.cc: New.
3643 * testsuite/22_locale/collate_byname/1.cc: New.
3644 * testsuite/22_locale/ctype_byname/2.cc: New.
3645 * testsuite/22_locale/messages_byname/1.cc: New.
3646 * testsuite/22_locale/moneypunct_byname/1.cc: New.
3647 * testsuite/22_locale/numpunct_byname/1.cc: New.
3649 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3652 * include/std/atomic (atomic_init): Define.
3653 * testsuite/29_atomics/atomic/64658.cc: New.
3655 2015-01-19 Tim Shen <timshen@google.com>
3658 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
3659 regex_traits<>::lookup_classname): Support forward iterators.
3660 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
3661 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
3663 2015-01-19 Tim Shen <timshen@google.com>
3667 * include/bits/regex.h (basic_regex<>::basic_regex,
3668 basic_regex<>::assign, basic_regex<>::imbue,
3669 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
3670 imbuing basic_regex; Make assign() transactional against exception.
3671 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
3672 __compile_nfa SFINAE.
3673 * include/std/regex: Adjust include order to avoid __compile_nfa
3674 forward declaration.
3675 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
3676 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
3678 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
3679 Jonathan Wakely <jwakely@redhat.com>
3681 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
3682 on overloads for arrays.
3683 (cbegin, cend, rbegin, rend, crbegin, crend): New.
3684 * testsuite/24_iterators/range_access_cpp14.cc: New.
3686 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
3689 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
3690 end of the second range.
3691 * testsuite/25_algorithms/is_permutation/64646.cc: New.
3693 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
3695 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
3696 * doc/html/manual/status.html: Regenerate.
3698 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
3700 * include/bits/atomic_futex.h: Use mutex and condition_variable when
3701 atomic int is not lock-free. Make member variables private.
3702 * src/c++11/futex.cc: Likewise.
3704 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
3706 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3709 * include/bits/atomic_futex.h: Use appropriate config macros for
3710 availability of std::mutex, std::condition and std::chrono.
3712 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
3713 Jonathan Wakely <jwakely@redhat.com>
3715 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
3716 * doc/html/*: Regenerate.
3718 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3722 * include/bits/algorithmfwd.h (rotate): Return an iterator.
3723 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
3724 * testsuite/25_algorithms/rotate/dr488.cc: New.
3725 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
3726 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
3728 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
3731 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3734 * include/bits/atomic_base.h: Remove atomic integral typedefs as
3735 synonyms for __atomic_base<int> etc.
3736 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
3737 likewise for all atomic integral types.
3738 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
3739 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
3741 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3744 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
3745 and define one-element specialization.
3746 * testsuite/20_util/tuple/56785.cc: New.
3748 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3750 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
3751 Remove unused header.
3752 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
3754 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
3757 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
3759 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
3760 * include/std/locale: Include new header.
3761 * include/Makefile.am: Add it.
3762 * include/Makefile.in: Regenerate.
3763 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
3764 * testsuite/22_locale/conversions/string/1.cc: New.
3765 * testsuite/22_locale/conversions/string/2.cc: New.
3766 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
3767 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
3770 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
3772 * config/abi/pre/gnu.ver: Export new symbols.
3773 * include/Makefile.am: Add codecvt.
3774 * include/Makefile.in: Regenerate.
3775 * include/std/codecvt: New header.
3776 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
3777 __codecvt_utf8_utf16_base): Define specializations.
3778 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
3779 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
3780 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
3783 2015-01-16 Torvald Riegel <triegel@redhat.com>
3785 * src/c++11/futex.cc: New file.
3786 * include/bits/atomic_futex.h: New file.
3787 * include/std/future (__future_base::_State_baseV2): Use
3788 atomic_futex_unsigned instead of mutex+condvar.
3789 * src/c++11/futex.cc: Likewise.
3790 * include/Makefile.am: Add atomic_futex.h.
3791 * include/Makefile.in: Likewise.
3792 * src/c++11/Makefile.am: Add futex.cc.
3793 * src/c++11/Makefile.in: Likewise.
3795 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
3797 * acinclude.m4: Fix typo in comment.
3798 * configure: Regenerate.
3799 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
3800 codecvt<char16_t, char, mbstate_t>): Declare specializations.
3801 * include/bits/locale_facets.h: Reserve space for new specializations.
3802 * src/c++11/Makefile.am: Add codecvt.cc.
3803 * src/c++11/Makefile.in: Regenerate.
3804 * src/c++11/codecvt.cc: New.
3805 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
3807 * src/c++98/Makefile.in: Regenerate.
3808 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
3809 * src/c++98/localename.cc: Likewise.
3810 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
3811 * testsuite/22_locale/codecvt/utf8.cc: New.
3812 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
3813 specializations are installed in locale objects.
3815 2015-01-16 Torvald Riegel <triegel@redhat.com>
3817 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
3820 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
3823 * config/abi/pre/gnu.ver: Export fstream functions using new string.
3825 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
3828 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
3832 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
3834 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
3836 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
3837 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
3838 Multi Processing Runtime Library".
3840 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
3843 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
3844 is_assignable arguments.
3845 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
3848 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3850 * libsupc++/unwind-cxx.h: Revert previous commit.
3852 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3854 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
3856 2015-01-09 Tim Shen <timshen@google.com>
3859 * include/bits/regex.h (match_results<>::swap): Use std::swap
3861 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
3863 * testsuite/28_regex/match_results/swap.cc: New testcase.
3865 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
3868 * include/std/type_traits (has_trivial_default_constructor,
3869 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
3871 * testsuite/20_util/has_trivial_copy_assign/requirements/
3872 explicit_instantiation.cc: Use -Wno-deprecated.
3873 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
3875 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
3876 * testsuite/20_util/has_trivial_copy_constructor/requirements/
3877 explicit_instantiation.cc: Likewise.
3878 * testsuite/20_util/has_trivial_copy_constructor/requirements/
3879 typedefs.cc: Likewise.
3880 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
3881 * testsuite/20_util/has_trivial_default_constructor/requirements/
3882 explicit_instantiation.c: Likewise.
3883 * testsuite/20_util/has_trivial_default_constructor/requirements/
3884 typedefs.cc: Likewise.
3885 * testsuite/20_util/has_trivial_default_constructor/value.cc:
3887 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
3889 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
3890 * testsuite/util/testsuite_common_types.h: Likewise.
3892 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
3894 * include/bits/hashtable_policy.h: Use __bool_constant.
3896 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
3898 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
3899 * libsupc++/Makefile.in: Regenerate.
3901 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
3903 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
3905 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3907 Update copyright years.
3909 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
3912 * testsuite/18_support/exception_ptr/64241.cc: Use
3913 dg-require-atomic-builtins.
3915 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3917 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
3920 2015-01-02 Tim Shen <timshen@google.com>
3923 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
3924 iterator, since the original one shouldn't be mutated.
3926 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3929 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
3930 (string::insert): Likewise.
3931 (string::replace): Likewise.
3932 (wstring::erase): Likewise.
3933 (wstring::insert): Likewise.
3934 (wstring::replace): Likewise.
3935 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
3937 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3940 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
3942 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3945 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
3946 Revert removal of dg-require-string-conversions.
3947 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3949 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3951 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
3953 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
3955 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
3957 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
3959 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
3961 * testsuite/21_strings/basic_string/numeric_conversions/char/
3962 stoull.cc: Likewise.
3963 * testsuite/21_strings/basic_string/numeric_conversions/char/
3964 to_string.cc: Likewise.
3966 Copyright (C) 2015 Free Software Foundation, Inc.
3968 Copying and distribution of this file, with or without modification,
3969 are permitted in any medium without royalty provided the copyright
3970 notice and this notice are preserved.