1 2015-10-05 Ville Voutilainen <ville.voutilainen@gmail.com>
4 * include/std/tuple (_TC::_NonNestedTuple): Eagerly reject
5 conversions from tuple types same as the target tuple.
6 * testsuite/20_util/tuple/67844.cc: New.
7 * testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Add
8 a missing copyright header.
10 2015-10-03 Jonathan Wakely <jwakely@redhat.com>
12 * python/libstdcxx/v6/printers.py (StdExpAnyPrinter): Remove support
15 * src/c++98/locale.cc: Fix comment.
16 * src/c++98/locale_init.cc: Likewise.
18 * testsuite/21_strings/basic_string/literals/types.cc: Guard use of
19 wchar_t with _GLIBCXX_USE_WCHAR_T.
20 * testsuite/21_strings/basic_string/literals/values.cc: Likewise.
21 * testsuite/21_strings/basic_string/requirements/citerators.cc:
23 * testsuite/22_locale/messages/13631.cc: Likewise.
24 * testsuite/experimental/string_view/literals/types.cc: Likewise.
25 * testsuite/experimental/string_view/literals/values.cc: Likewise.
27 * src/filesystem/Makefile.am: Add cxx11_abi_sources.
28 * src/filesystem/Makefile.in: Regenerate.
29 * src/filesystem/cow-dir.cc: New.
30 * src/filesystem/cow-ops.cc: New.
31 * src/filesystem/cow-path.cc: New.
32 * src/filesystem/dir.cc: Define macro for new ABI.
33 * src/filesystem/ops.cc: Likewise.
34 * src/filesystem/path.cc: Likewise.
36 2015-10-02 Jonathan Wakely <jwakely@redhat.com>
38 * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
39 Minor tweaks to match narrow char version.
41 * testsuite/21_strings/basic_string/allocator/char/minimal.cc: Guard
42 explicit instantiation with check for new ABI.
43 * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
44 Likewise. Use wchar_t as char_type.
46 * include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
47 (basic_string::front() const, basic_string::back() const): Use
48 noexcept instead of _GLIBCXX_NOEXCEPT macro.
49 (__versa_string::front, __versa_string::back): Likewise.
51 * acinclude.m4 (GLIBCXX_ENABLE_DEBUG_FLAGS): Fix comment.
53 * include/bits/locale_conv.h [!_GLIBCXX_USE_WCHAR_T]
54 (__do_str_codecvt, __str_codecvt_in, __str_codecvt_out): Enable.
55 * include/experimental/fs_path.h [!_GLIBCXX_USE_WCHAR_T]
56 (path::wstring, path::generic_wstring): Disable.
57 * src/filesystem/path.cc (path::_S_convert_loc)
58 [!_GLIBCXX_USE_WCHAR_T]: Skip conversion.
59 * testsuite/experimental/filesystem/path/assign/assign.cc: Check for
61 * testsuite/experimental/filesystem/path/concat/strings.cc: Likewise.
62 * testsuite/experimental/filesystem/path/construct/range.cc: Likewise.
64 * testsuite/util/testsuite_fs.h (nonexistent_path): Use less generic
65 name for paths. Prefer snprintf to sprintf.
68 * src/filesystem/dir.cc (native_readdir): Remove.
69 (_Dir::advance): Use readdir instead of native_readdir.
70 (recursive_directory_iterator(const path&, directory_options,
71 error_code*)): Use swap instead of reset.
73 2015-10-01 Jonathan Wakely <jwakely@redhat.com>
75 * doc/html/manual/errno.html: Add new file.
77 * doc/xml/manual/diagnostics.xml: Document use of errno.
78 * doc/html/*: Regenerate.
79 * config/locale/generic/c_locale.cc (_Save_errno): New helper.
80 (__convert_to_v): Use _Save_errno.
81 * include/ext/string_conversions.h (__stoa): Only restore errno when
82 it isn't set to non-zero.
84 2015-09-30 François Dumont <fdumont@gcc.gnu.org>
85 Jonathan Wakely <jwakely@redhat.com>
87 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs):
89 * config/locale/gnu/c++locale_internal.h: ...here in std namespace.
90 * config/locale/gnu/c_locale.cc: Move implementation of latter here.
91 * src/c++98/Makefile.am: Compile c++locale.cc with -fimplicit-templates.
92 * src/c++98/Makefile.in: Regenerate.
93 * config/abi/pre/gnu.ver: Adjust.
95 2015-09-30 Matthias Klose <doko@ubuntu.com>
97 * config/cpu/alpha, config/cpu/ia64: Remove empty directories.
99 2015-09-29 Jonathan Wakely <jwakely@redhat.com>
101 * include/ext/string_conversions.h (__stoa): Save and restore errno.
102 * testsuite/21_strings/basic_string/numeric_conversions/char/errno.cc:
106 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Fix sputn call
107 with mismatched arguments.
108 * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
111 * config/abi/pre/gnu.ver: Export new symbols.
112 * include/std/thread (thread::_State, thread::_State_impl): New types.
113 (thread::_M_start_thread): Add overload taking unique_ptr<_State>.
114 (thread::_M_make_routine): Remove.
115 (thread::_S_make_state): Add.
116 (thread::_Impl_base, thread::_Impl, thread::_M_start_thread)
117 [_GLIBCXX_THREAD_ABI_COMPAT] Only declare conditionally.
118 * src/c++11/thread.cc (execute_native_thread_routine): Rename to
119 execute_native_thread_routine_compat and re-define to use _State.
120 (thread::_State::~_State()): Define.
121 (thread::_M_make_thread): Define new overload.
122 (thread::_M_make_thread) [_GLIBCXX_THREAD_ABI_COMPAT]: Only define old
123 overloads conditionally.
125 2015-09-28 Jonathan Wakely <jwakely@redhat.com>
127 * include/std/condition_variable (condition_variable::wait): Add
129 * src/c++11/condition_variable.cc (condition_variable::wait): Call
130 std::terminate on error (DR 2135).
132 2015-09-25 Ville Voutilainen <ville.voutilainen@gmail.com>
134 Avoid creating dangling references in case of nested tuples
135 for tuple constructors that construct from other tuples.
136 * include/std/tuple (_TC::_NonNestedTuple): New.
137 * include/std/tuple (tuple::_TNTC): New.
138 * include/std/tuple (tuple(const tuple<_UElements...>&),
139 tuple(tuple<_UElements...>&&): Use _TNTC.
140 * testsuite/20_util/tuple/cons/nested_tuple_construct.cc: New.
142 2015-09-24 Jonathan Wakely <jwakely@redhat.com>
145 * include/bits/stl_deque.h (_Deque_base::_M_move_impl): Initialize
147 * testsuite/23_containers/deque/allocator/move.cc: Check moved-from
150 2015-09-23 Jonathan Wakely <jwakely@redhat.com>
152 * src/filesystem/ops.cc (canonical): Simplify error handling and
153 limit number of symlinks that can be resolved.
155 2015-09-23 Jonathan Wakely <jwakely@redhat.com>
157 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Remove _GLIBCXX_
158 prefix from HAVE_STRUCT_DIRENT_D_TYPE.
159 * config.h.in: Regenerate.
160 * configure: Regenerate.
161 * include/experimental/fs_dir.h (operator==, operator==):
162 Use owner_before instead of pointer equality.
163 (directory_iterator(std::shared_ptr<_Dir>, error_code*)): Remove.
164 * src/filesystem/dir.cc (ErrorCode): Remove.
165 (_Dir::advance): Change ErrorCode parameter to error_code*, add
166 directory_options parameter and check it on error.
167 (opendir): Rename to open_dir to avoid clashing with macro. Change
168 ErrorCode parameter to error_code*.
169 (make_shared_dir): Remove.
170 (native_readdir) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Don't set errno.
171 (directory_iterator(std::shared_ptr<_Dir>, error_code*)): Remove.
172 (directory_iterator(const path&, directory_options, error_code*)):
173 Pass options to _Dir::advance and create non-end iterator on error.
174 (recursive_directory_iterator(const path&, directory_options,
175 error_code*)): Clear error_code on ignored error, create non-end
177 (recursive_directory_iterator::increment): Pass _M_options to
179 (recursive_directory_iterator::pop): Likewise.
180 * testsuite/experimental/filesystem/iterators/directory_iterator.cc:
182 * testsuite/experimental/filesystem/iterators/
183 recursive_directory_iterator.cc: New.
185 * src/filesystem/ops.cc (is_dot, is_dotdot): Define new helpers.
186 (create_directories): Fix error handling.
187 * testsuite/experimental/filesystem/operations/create_directories.cc:
190 2015-09-21 Jonathan Wakely <jwakely@redhat.com>
193 * include/bits/basic_string.h [!_GLIBCXX_USE_CXX11_ABI]
194 (basic_string::shrink_to_fit): Fix #endif placement.
196 2015-09-19 Tim Shen <timshen@google.com>
199 * include/bits/regex_error.h: Add __throw_regex_error that
201 * include/bits/regex_automaton.h: Add more specific exception
203 * include/bits/regex_automaton.tcc: Likewise.
204 * include/bits/regex_compiler.h: Likewise.
205 * include/bits/regex_compiler.tcc: Likewise.
206 * include/bits/regex_scanner.h: Likewise.
207 * include/bits/regex_scanner.tcc: Likewise.
209 2015-09-18 Jonathan Wakely <jwakely@redhat.com>
211 * include/precompiled/extc++.h: Fix bootstrap error due to
212 unconditional inclusion of <ext/enc_filebuf.h>.
213 * include/ext/random: Check for definition of UINT32_C.
215 2015-09-17 Catherine Moore <clm@codesourcery.com>
217 * src/c++11/debug.cc: Include <cstdio>.
219 2015-09-17 Gerald Pfeifer <gerald@pfeifer.com>
221 * src/c++11/random.cc: Include <cerrno>.
223 2015-09-17 François Dumont <fdumont@gcc.gnu.org>
225 * include/debug/formatter.h
226 (_Error_formatter::_Parameter::_M_print_field): Deprecate.
227 (_Error_formatter::_Parameter::_M_print_description): Likewise.
228 (_Error_formatter::_M_format_word): Likewise.
229 (_Error_formatter::_M_print_word): Likewise.
230 (_Error_formatter::_M_print_string): Likewise.
231 (_Error_formatter::_M_get_max_length): Likewise.
232 (_Error_formatter::_M_max_length): Delete.
233 (_Error_formatter::_M_indent): Likewise.
234 (_Error_formatter::_M_column): Likewise.
235 (_Error_formatter::_M_first_line): Likewise.
236 (_Error_formatter::_M_wordwrap): Likewise.
237 * src/c++11/debug.cc: Adapt.
239 2015-09-17 Jonathan Wakely <jwakely@redhat.com>
242 * include/bits/atomic_base.h (__atomic_base<_TTp>::is_lock_free(),
243 __atomic_base<_PTp*>::is_lock_free()): Call the built-in with the
244 immediate pointer value, not a variable.
245 * include/std/atomic (atomic<T>::is_lock_free()): Likewise.
246 * testsuite/29_atomics/atomic/65913.cc: New.
248 * testsuite/experimental/filesystem/operations/canonical.cc: Remove
249 non-deterministic part of the test.
252 * src/c++11/random.cc (random_device::_M_getval()): Retry after short
255 * include/std/system_error (error_code::operator bool(),
256 error_condition::operator bool()): Remove redundant conditional
259 * include/bits/allocator.h (__shrink_to_fit_aux<T, true>::_S_do_it):
260 Do nothing if exceptions are disabled.
261 * include/bits/basic_string.h (basic_string::shrink_to_fit): Likewise.
263 2015-09-16 Jonathan Wakely <jwakely@redhat.com>
266 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check _XOPEN_VERSION
267 and PATH_MAX for _GLIBCXX_USE_REALPATH.
268 * config.h.in: Regenerate.
269 * configure: Regenerate.
270 * src/filesystem/ops.cc: (canonical) [!_GLIBCXX_USE_REALPATH]: Add
271 alternative implementation.
272 * testsuite/experimental/filesystem/operations/canonical.cc: New.
273 * testsuite/experimental/filesystem/operations/exists.cc: Add more
275 * testsuite/experimental/filesystem/operations/absolute.cc: Add test
277 * testsuite/experimental/filesystem/operations/copy.cc: Likewise.
278 * testsuite/experimental/filesystem/operations/current_path.cc:
280 * testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
281 * testsuite/experimental/filesystem/operations/status.cc: Likewise.
282 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
285 2015-09-11 Jonathan Wakely <jwakely@redhat.com>
288 * src/filesystem/ops.cc (filesystem::canonical): Allocate buffer for
289 realpath on Solaris 10.
292 * src/c++11/random.cc (random_device::_M_getval()): Check read result.
294 2015-09-11 John Marino <gnugcc@marino.st>
295 Jonathan Wakely <jwakely@redhat.com>
298 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Do not test code points
300 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
301 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
302 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
303 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
304 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
305 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
306 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
307 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
308 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
309 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
310 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
311 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
312 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
313 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
315 2015-09-11 Jonathan Wakely <jwakely@redhat.com>
318 * doc/xml/manual/using.xml: Improve aggregate header documentation.
319 * doc/html/manual/*: Regenerate.
320 * include/precompiled/extc++.h: Include <bits/stdc++.h> for C++11
321 and later and include more extension headers.
322 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Remove
324 * testsuite/17_intro/headers/c++200x/: Rename to c++2011.
325 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Remove
327 * testsuite/17_intro/headers/c++2014/all_no_exceptions.cc: New.
328 * testsuite/17_intro/headers/c++2014/all_no_rtti.cc: New.
329 * testsuite/17_intro/headers/c++2014/all_pedantic_errors.cc: New.
330 * testsuite/17_intro/headers/c++2014/operator_names.cc: New.
331 * testsuite/17_intro/headers/c++2014/stdc++.cc: New.
332 * testsuite/17_intro/headers/c++2014/stdc++_multiple_inclusion.cc:
336 * doc/xml/manual/intro.xml: Document LWG 2063 and 2064 resolutions.
337 * doc/html/manual/bugs.html: Regenerate.
338 * include/bits/basic_string.h (basic_string): Implement N4258. Add
339 correct exception-specifications and propagate allocators correctly.
340 * include/bits/basic_string.tcc (basic_string::swap): Propagate
341 allocators correctly.
342 * include/debug/string (__gnu_debug::basic_string): Add correct
343 exceptions-specifications and allcoator-extended constructors.
344 * testsuite/21_strings/basic_string/allocator/char/copy.cc: New.
345 * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
347 * testsuite/21_strings/basic_string/allocator/char/minimal.cc: New.
348 * testsuite/21_strings/basic_string/allocator/char/move.cc: New.
349 * testsuite/21_strings/basic_string/allocator/char/move_assign.cc:
351 * testsuite/21_strings/basic_string/allocator/char/noexcept.cc: New.
352 * testsuite/21_strings/basic_string/allocator/char/swap.cc: New.
353 * testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc: New.
354 * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
356 * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc: New.
357 * testsuite/21_strings/basic_string/allocator/wchar_t/move.cc: New.
358 * testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
360 * testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc: New.
361 * testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc: New.
362 * testsuite/util/testsuite_allocator.h (tracker_allocator): Define
363 defaulted assignment operators.
366 * include/bits/stl_queue.h (queue, priority_queue): Add
367 allocator-extended constructors.
368 * include/bits/stl_stack.h (stack): Likewise.
369 * testsuite/23_containers/priority_queue/requirements/
370 uses_allocator.cc: Test allocator-extended constructors.
371 * testsuite/23_containers/queue/requirements/uses_allocator.cc:
373 * testsuite/23_containers/stack/requirements/uses_allocator.cc:
376 2015-09-10 Jonathan Wakely <jwakely@redhat.com>
378 * testsuite/util/testsuite_allocator.h (PointerBase::operator[]): Add.
380 * testsuite/21_strings/basic_string/operators/char/1.cc: Verify the
383 2015-09-09 Jonathan Wakely <jwakely@redhat.com>
385 * doc/xml/manual/using.xml (_GLIBCXX_ASSERTIONS): Document.
386 * doc/html/manual/using_macros.html: Regenerate.
387 * include/bits/c++config: Define _GLIBCXX_ASSERTIONS when
388 _GLIBCXX_DEBUG is defined. Disable std::string extern templates when
389 (_GLIBCXX_EXTERN_TEMPLATE, __glibcxx_assert): Depend on
390 _GLIBCXX_ASSERTIONS instead of _GLIBCXX_DEBUG.
391 * include/debug/debug.h [!_GLIBCXX_DEBUG]: Define
392 __glibcxx_requires_non_empty_range and __glibcxx_requires_nonempty.
393 * include/backward/auto_ptr.h (auto_ptr::operator*,
394 auto_ptr::operator->): Replace _GLIBCXX_DEBUG_ASSERT with
396 * include/bits/basic_string.h (basic_string::operator[],
397 basic_string::front, basic_string::back, basic_string::pop_back):
399 * include/bits/random.h
400 (uniform_int_distribution::param_type::param_type,
401 uniform_real_distribution::param_type::param_type,
402 normal_distribution::param_type::param_type,
403 gamma_distribution::param_type::param_type,
404 bernoulli_distribution::param_type::param_type,
405 binomial_distribution::param_type::param_type,
406 geometric_distribution::param_type::param_type,
407 negative_binomial_distribution::param_type::param_type,
408 poisson_distribution::param_type::param_type,
409 exponential_distribution::param_type::param_type): Likewise.
410 * include/bits/regex.h (match_results::operator[],
411 match_results::prefix, match_results::suffix): Likewise.
412 * include/bits/regex.tcc (format, regex_iterator::operator++):
414 * include/bits/regex_automaton.tcc (_StateSeq::_M_clone): Likewise.
415 * include/bits/regex_compiler.tcc (_Compiler::_Compiler,
416 _Compiler::_M_insert_character_class_matcher): Likewise.
417 * include/bits/regex_executor.tcc (_Executor::_M_dfs): Likewise.
418 * include/bits/regex_scanner.tcc (_Scanner::_M_advance,
419 _Scanner::_M_scan_normal): Likewise.
420 * include/bits/shared_ptr_base.h (__shared_ptr::_M_reset,
421 __shared_ptr::operator*): Likewise.
422 * include/bits/stl_iterator_base_funcs.h (__advance): Likewise.
423 * include/bits/unique_ptr.h (unique_ptr::operator*,
424 unique_ptr::operator[]): Likewise.
425 * include/experimental/fs_path.h (path::path(string_type, _Type),
426 path::iterator::operator++, path::iterator::operator--,
427 path::iterator::operator*): Likewise.
428 * include/experimental/string_view (basic_string_view::operator[],
429 basic_string_view::front, basic_string_view::back,
430 basic_string_view::remove_prefix): Likewise.
431 * include/ext/random (beta_distribution::param_type::param_type,
432 normal_mv_distribution::param_type::param_type,
433 rice_distribution::param_type::param_type,
434 pareto_distribution::param_type::param_type,
435 k_distribution::param_type::param_type,
436 arcsine_distribution::param_type::param_type,
437 hoyt_distribution::param_type::param_type,
438 triangular_distribution::param_type::param_type,
439 von_mises_distribution::param_type::param_type,
440 hypergeometric_distribution::param_type::param_type,
441 logistic_distribution::param_type::param_type): Likewise.
442 * include/ext/vstring.h (__versa_string::operator[]): Likewise.
443 * include/std/complex (polar): Likewise.
444 * include/std/mutex [!_GTHREAD_USE_MUTEX_TIMEDLOCK]
445 (timed_mutex::~timed_mutex, timed_mutex::unlock,
446 (recursive_timed_mutex::~timed_mutex, recursive_timed_mutex::unlock):
448 * include/std/shared_mutex [!PTHREAD_RWLOCK_INITIALIZER]
449 (__shared_mutex_pthread::__shared_mutex_pthread,
450 __shared_mutex_pthread::~__shared_mutex_pthread): Likewise.
451 (__shared_mutex_pthread::lock, __shared_mutex_pthread::try_lock,
452 __shared_mutex_pthread::unlock, __shared_mutex_pthread::lock_shared,
453 __shared_mutex_pthread::try_lock_shared): Likewise.
454 (__shared_mutex_cv::~__shared_mutex_cv, __shared_mutex_cv::unlock,
455 __shared_mutex_cv::unlock_shared): Likewise.
456 (shared_timed_mutex::try_lock_until,
457 shared_timed_mutex::try_lock_shared_until): Likewise.
458 * include/std/valarray (valarray::valarray(const _Tp*, size_t),
459 valarray::operator=, valarray::sum, valarray::min, valarray::max,
460 _DEFINE_VALARRAY_AUGMENTED_ASSIGNMENT, _DEFINE_BINARY_OPERATOR):
463 2015-09-07 Jonathan Wakely <jwakely@redhat.com>
465 * include/bits/shared_ptr_base.h (__shared_ptr::operator->): Change
466 _GLIBCXX_DEBUG_ASSERT to _GLIBCXX_DEBUG_PEDASSERT.
467 * include/bits/unique_ptr.h (unique_ptr::operator->): Likewise.
468 * testsuite/20_util/shared_ptr/observers/get.cc: Test operator-> on
471 * include/bits/regex_compiler.h (_BracketMatcher::_M_is_ready):
472 Initialize using NSDMI and set using _GLIBCXX_DEBUG_ONLY.
474 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Rename
477 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Run on
479 * testsuite/30_threads/timed_mutex/unlock/2.cc: Run on darwin.
481 2015-09-04 Jonathan Wakely <jwakely@redhat.com>
484 * include/std/mutex (recursive_timed_mutex): Fix uses of _Can_lock.
487 * include/Makefile.am: Add <bits/mutex.h>.
488 * include/Makefile.in: Regenerate.
489 * include/bits/mutex.h (__mutex_base, mutex, lock_guard, unique_lock):
490 New file containing types moved from <mutex>.
491 * include/std/condition_variable: Include <bits/mutex.h> instead of
493 * include/std/mutex (__mutex_base, mutex, lock_guard, unique_lock):
494 Move to <bits/mutex.h>.
495 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Remove
496 dg-require-gthreads-timed.
497 * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
499 * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc:
501 * testsuite/30_threads/recursive_timed_mutex/dest/
502 destructor_locked.cc: Likewise.
503 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
504 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
505 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
506 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
507 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
509 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
511 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
513 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
515 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
517 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
518 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
519 * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
520 * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
521 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
523 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
524 * testsuite/30_threads/timed_mutex/requirements/standard_layout.cc:
526 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
527 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
528 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
529 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
530 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
531 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
532 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
533 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
534 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
535 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
536 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
537 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
538 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
540 2015-09-04 Edward Smith-Rowland <3dw4rd@verizon.net>
541 Jonathan Wakely <jwakely@redhat.com>
543 Add C++11 header <cuchar>.
544 * acinclude.m4 (GLIBCXX_CHECK_UCHAR_H): Define.
545 * config.h.in: Regenerate.
546 * configure: Regenerate.
547 * configure.ac: Check for <uchar.h>.
548 * include/Makefile.am: Add new headers.
549 * include/Makefile.in: Regenerate.
550 * include/c/cuchar: New.
551 * include/c_compatibility/uchar.h: New.
552 * include/c_global/cuchar: New.
553 * include/c_std/cuchar: New.
554 * include/precompiled/stdc++.h: Include <cuchar>.
555 * testsuite/17_intro/headers/c++200x/stdc++.cc: Include <uchar.h>.
556 * testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc:
559 2015-09-04 Jonathan Wakely <jwakely@redhat.com>
562 * include/c/cassert: Include <bits/c++config.h>.
563 * include/c/cerrno: Likewise.
564 * include/c/cfloat: Likewise.
565 * include/c/ciso646: Likewise.
566 * include/c/climits: Likewise.
567 * include/c_global/cassert: Likewise.
568 * include/c_global/cerrno: Likewise.
569 * include/c_global/cfloat: Likewise.
570 * include/c_global/ciso646: Likewise.
571 * include/c_global/climits: Likewise.
572 * include/c_std/cassert: Likewise.
573 * include/c_std/cerrno: Likewise.
574 * include/c_std/cfloat: Likewise.
575 * include/c_std/ciso646: Likewise.
576 * include/c_std/climits: Likewise.
578 2015-09-03 Jonathan Wakely <jwakely@redhat.com>
580 * include/bits/shared_ptr_base.h: Add required header.
581 * include/std/condition_variable: Likewise.
582 * include/std/mutex: Remove unused header.
583 * include/std/shared_mutex: Remove redundant header.
584 (shared_mutex::shared_mutex()): Replace throw with __throw_bad_alloc.
587 * src/c++11/debug.cc (_S_debug_messages): Make array const.
590 * include/experimental/functional (_Not_fn): Add exception
591 specifications and non-deduced return types.
592 (not_fn): Add exception specification and wrap pointer-to-member.
593 * testsuite/experimental/functional/not_fn.cc: Test in SFINAE context
594 and test pointer-to-member.
597 * include/bits/stl_iterator_base_funcs.h (next, prev): Add concept
599 * testsuite/24_iterators/operations/prev_neg.cc: New.
600 * testsuite/24_iterators/operations/next_neg.cc: New.
602 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
604 * testsuite/18_support/pthread_guard.cc: Add *-*-rtems* target
605 selector to all lines which contain a *-*-cygwin target selector.
606 * testsuite/20_util/shared_ptr/atomic/3.cc: Likewise.
607 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Likewise.
608 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
609 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
610 * testsuite/21_strings/basic_string/pthread33394.cc: Likewise.
611 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
612 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
613 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
614 * testsuite/23_containers/list/pthread1.cc: Likewise.
615 * testsuite/23_containers/list/pthread5.cc: Likewise.
616 * testsuite/23_containers/map/pthread6.cc: Likewise.
617 * testsuite/23_containers/vector/debug/multithreaded_swap.cc: Likewise.
618 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
619 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
620 * testsuite/30_threads/async/42819.cc: Likewise.
621 * testsuite/30_threads/async/49668.cc: Likewise.
622 * testsuite/30_threads/async/54297.cc: Likewise.
623 * testsuite/30_threads/async/any.cc: Likewise.
624 * testsuite/30_threads/async/async.cc: Likewise.
625 * testsuite/30_threads/async/launch.cc: Likewise.
626 * testsuite/30_threads/async/lwg2021.cc: Likewise.
627 * testsuite/30_threads/async/sync.cc: Likewise.
628 * testsuite/30_threads/call_once/39909.cc: Likewise.
629 * testsuite/30_threads/call_once/49668.cc: Likewise.
630 * testsuite/30_threads/call_once/60497.cc: Likewise.
631 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
632 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
633 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
634 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
635 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
636 * testsuite/30_threads/condition_variable/members/3.cc: Likewise.
637 * testsuite/30_threads/condition_variable/members/53841.cc: Likewise.
638 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
640 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
641 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
642 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
643 * testsuite/30_threads/condition_variable_any/members/1.cc: Likewise.
644 * testsuite/30_threads/condition_variable_any/members/2.cc: Likewise.
645 * testsuite/30_threads/future/cons/move.cc: Likewise.
646 * testsuite/30_threads/future/members/45133.cc: Likewise.
647 * testsuite/30_threads/future/members/get.cc: Likewise.
648 * testsuite/30_threads/future/members/get2.cc: Likewise.
649 * testsuite/30_threads/future/members/share.cc: Likewise.
650 * testsuite/30_threads/future/members/valid.cc: Likewise.
651 * testsuite/30_threads/future/members/wait.cc: Likewise.
652 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
653 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
654 * testsuite/30_threads/lock/1.cc: Likewise.
655 * testsuite/30_threads/lock/2.cc: Likewise.
656 * testsuite/30_threads/lock/3.cc: Likewise.
657 * testsuite/30_threads/lock/4.cc: Likewise.
658 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
659 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
660 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
661 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
662 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
663 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
664 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
665 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
666 * testsuite/30_threads/mutex/unlock/2.cc: Likewise.
667 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
668 * testsuite/30_threads/packaged_task/60564.cc: Likewise.
669 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
670 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
671 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
672 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
673 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
674 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
675 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Likewise.
676 * testsuite/30_threads/packaged_task/members/at_thread_exit.cc:
678 * testsuite/30_threads/packaged_task/members/get_future.cc: Likewise.
679 * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise.
680 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
681 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
682 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
683 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
684 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
685 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
686 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
687 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
688 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
689 * testsuite/30_threads/promise/60966.cc: Likewise.
690 * testsuite/30_threads/promise/cons/1.cc: Likewise.
691 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
692 * testsuite/30_threads/promise/cons/move.cc: Likewise.
693 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
694 * testsuite/30_threads/promise/members/at_thread_exit.cc: Likewise.
695 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
696 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
697 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
698 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
699 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
700 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
701 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
702 * testsuite/30_threads/promise/members/swap.cc: Likewise.
703 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
704 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
706 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
707 * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise.
708 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
710 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
711 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
712 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
713 * testsuite/30_threads/recursive_mutex/unlock/2.cc: Likewise.
714 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
715 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
717 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
718 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
719 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
721 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
723 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise.
724 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise.
725 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
727 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
729 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
731 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
733 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
735 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise.
736 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Likewise.
737 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
738 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
739 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
740 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
741 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
742 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
743 * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise.
744 * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise.
745 * testsuite/30_threads/shared_lock/cons/1.cc: Likewise.
746 * testsuite/30_threads/shared_lock/cons/2.cc: Likewise.
747 * testsuite/30_threads/shared_lock/cons/3.cc: Likewise.
748 * testsuite/30_threads/shared_lock/cons/4.cc: Likewise.
749 * testsuite/30_threads/shared_lock/cons/5.cc: Likewise.
750 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
751 * testsuite/30_threads/shared_lock/locking/1.cc: Likewise.
752 * testsuite/30_threads/shared_lock/locking/2.cc: Likewise.
753 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
754 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
755 * testsuite/30_threads/shared_lock/modifiers/1.cc: Likewise.
756 * testsuite/30_threads/shared_mutex/cons/1.cc: Likewise.
757 * testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise.
758 * testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise.
759 * testsuite/30_threads/shared_mutex/unlock/1.cc: Likewise.
760 * testsuite/30_threads/shared_timed_mutex/cons/1.cc: Likewise.
761 * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise.
762 * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise.
763 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: Likewise.
764 * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: Likewise.
765 * testsuite/30_threads/this_thread/1.cc: Likewise.
766 * testsuite/30_threads/this_thread/2.cc: Likewise.
767 * testsuite/30_threads/this_thread/3.cc: Likewise.
768 * testsuite/30_threads/this_thread/4.cc: Likewise.
769 * testsuite/30_threads/thread/cons/1.cc: Likewise.
770 * testsuite/30_threads/thread/cons/2.cc: Likewise.
771 * testsuite/30_threads/thread/cons/3.cc: Likewise.
772 * testsuite/30_threads/thread/cons/4.cc: Likewise.
773 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
774 * testsuite/30_threads/thread/cons/5.cc: Likewise.
775 * testsuite/30_threads/thread/cons/6.cc: Likewise.
776 * testsuite/30_threads/thread/cons/7.cc: Likewise.
777 * testsuite/30_threads/thread/cons/8.cc: Likewise.
778 * testsuite/30_threads/thread/cons/9.cc: Likewise.
779 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
780 * testsuite/30_threads/thread/members/1.cc: Likewise.
781 * testsuite/30_threads/thread/members/2.cc: Likewise.
782 * testsuite/30_threads/thread/members/3.cc: Likewise.
783 * testsuite/30_threads/thread/members/4.cc: Likewise.
784 * testsuite/30_threads/thread/members/5.cc: Likewise.
785 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Likewise.
786 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
787 * testsuite/30_threads/thread/swap/1.cc: Likewise.
788 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
789 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise.
790 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
791 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
792 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Likewise.
793 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
794 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
795 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
796 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
797 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
798 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
799 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
800 * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise.
801 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
802 * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise.
803 * testsuite/30_threads/try_lock/1.cc: Likewise.
804 * testsuite/30_threads/try_lock/2.cc: Likewise.
805 * testsuite/30_threads/try_lock/3.cc: Likewise.
806 * testsuite/30_threads/try_lock/4.cc: Likewise.
807 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
808 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
809 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
810 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
811 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
812 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
813 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
814 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
815 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
816 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
817 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
818 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
819 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
821 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
824 2015-09-02 Dmitry Vyukov <dvyukov@google.com>
826 * include/bits/basic_string.h: Fix data races on _M_refcount.
828 2015-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
831 * include/std/mutex (__timed_mutex_impl::_M_try_lock_until): Use
832 _Derived::_M_timedlock().
833 (timed_mutex): Add _M_timedlock() and make base class a friend.
834 (recursive_timed_mutex): Likewise.
836 2015-08-28 Tim Shen <timshen@google.com>
839 * include/bits/regex_scanner.tcc (_Scanner<>::_M_scan_normal):
840 Always returns ordinary char token if the char isn't
841 considered a special char.
842 * testsuite/28_regex/regression.cc: New test file for collecting
843 regression testcases from, typically, bugzilla.
845 2015-08-27 Jonathan Wakely <jwakely@redhat.com>
848 * include/bits/range_access.h (valarray, begin, end): Declare.
849 * testsuite/26_numerics/valarray/range_access.cc: Test const
851 * testsuite/26_numerics/valarray/range_access2.cc: New.
853 2015-08-27 John Marino <gnugcc@marino.st>
855 * acinclude.m4 (*-*-dragonfly*): Change 7 locale support files
856 from generic to new DragonFly versions.
857 * configure: Regenerate.
858 * config/locale/dragonfly/c_locale.cc: Improve locale support.
859 * config/locale/dragonfly/ctype_members.cc: Likewise.
860 * config/os/bsd/dragonfly/ctype_configure_char.cc: Likewise.
861 * config/os/bsd/dragonfly/os_defines.h: Define _GLIBCXX_USE_C99.
862 * config/locale/dragonfly/c_locale.h: New.
863 * config/locale/dragonfly/codecvt_members.cc: New.
864 * config/locale/dragonfly/collate_members.cc: New.
865 * config/locale/dragonfly/monetary_members.cc: New.
866 * config/locale/dragonfly/numeric_members.cc: New.
867 * config/locale/dragonfly/time_members.cc: New.
868 * config/locale/dragonfly/time_members.h: New.
870 2015-08-27 Jonathan Wakely <jwakely@redhat.com>
872 * configure: Regenerate.
874 2015-08-26 Edward Smith-Rowland <3dw4rd@verizon.net>
875 Jonathan Wakely <jwakely@redhat.com>
879 * include/bits/random.tcc (generate_canonical): Loop until we get a
880 result less than one.
881 * testsuite/26_numerics/random/uniform_real_distribution/operators/
884 2015-08-26 Jonathan Wakely <jwakely@redhat.com>
886 * include/bits/shared_ptr.h (__enable_shared_from_this_helper): Use
888 * include/bits/shared_ptr_base.h (weak_ptr::_M_assign): Don't assign
889 if ownership is already shared with a shared_ptr object.
890 (__enable_shared_from_this_helper): Use nullptr.
891 * testsuite/20_util/enable_shared_from_this/members/const.cc: New.
892 * testsuite/20_util/enable_shared_from_this/members/reinit.cc: New.
893 * testsuite/20_util/enable_shared_from_this/requirements/
894 explicit_instantiation.cc: Instantiate with const and incomplete types.
896 * include/debug/map.h (map::try_emplace, map::insert_or_assign):
898 * include/debug/unordered_map (unordered_map::try_emplace,
899 unordered_map::insert_or_assign): Define.
902 * src/c++11/debug.cc (_S_debug_messages): Give internal linkage.
904 2015-08-24 François Dumont <fdumont@gcc.gnu.org>
907 * include/debug/formatter.h (_Debug_msg_id::__msg_irreflexive_ordering):
909 * include/debug/functions.h (_Irreflexive_checker): New.
910 (__is_irreflexive, __is_irreflexive_pred): New.
911 * include/debug/macros.h
912 (__glibcxx_check_irreflexive, __glibcxx_check_irreflexive_pred): New
914 (__glibcxx_check_irreflexive2, __glibcxx_check_irreflexive_pred2): New
915 macros limited to post-C++11 mode.
916 * include/debug/debug.h
917 (__glibcxx_requires_irreflexive, __glibcxx_requires_irreflexive_pred):
918 New macros, use latter.
919 (__glibcxx_requires_irreflexive2, __glibcxx_requires_irreflexive_pred2):
921 * include/bits/stl_algo.h
922 (partial_sort_copy): Add irreflexive debug check.
923 (partial_sort_copy): Likewise.
924 (lower_bound): Likewise.
925 (upper_bound): Likewise.
926 (equal_range): Likewise.
927 (binary_search): Likewise.
928 (inplace_merge): Likewise.
929 (includes): Likewise.
930 (next_permutation): Likewise.
931 (prev_permutation): Likewise.
932 (is_sorted_until): Likewise.
933 (minmax_element): Likewise.
934 (partial_sort): Likewise.
935 (nth_element): Likewise.
938 (stable_sort): Likewise.
939 (set_union): Likewise.
940 (set_intersection): Likewise.
941 (set_difference): Likewise.
942 (set_symmetric_difference): Likewise.
943 (min_element): Likewise.
944 (max_element): Likewise.
945 * include/bits/stl_algobase.h
946 (lower_bound): Likewise.
947 (lexicographical_compare): Likewise.
948 * include/bits/stl_heap.h
949 (push_heap): Likewise.
950 (pop_heap): Likewise.
951 (make_heap): Likewise.
952 (sort_heap): Likewise.
953 (is_heap_until): Likewise.
954 * testsuite/25_algorithms/lexicographical_compare/debug/
955 irreflexive_neg.cc: New.
956 * testsuite/25_algorithms/lower_bound/debug/irreflexive.cc: New.
957 * testsuite/25_algorithms/partial_sort_copy/debug/irreflexive_neg.cc:
960 2015-08-24 Jonathan Wakely <jwakely@redhat.com>
963 * include/bits/char_traits.h (char_traits<char>::compare,
964 char_traits<char>::find, char_traits<char>::move,
965 char_traits<char>::copy, char_traits<char>::assign): Check for zero
967 (char_traits<wchar_t>::compare, char_traits<wchar_t>::find,
968 char_traits<wchar_t>::move, char_traits<wchar_t>::copy,
969 char_traits<wchar_t>::assign): Likewise.
970 (char_traits<char16_t>::move, char_traits<char16_t>::copy): Likewise.
971 (char_traits<char32_t>::move, char_traits<char32_t>::copy): Likewise.
972 * include/ext/pod_char_traits.h (char_traits<character<>>::move,
973 char_traits<character<>>::copy): Likewise.
974 * testsuite/21_strings/char_traits/requirements/char/65049.cc: New.
975 * testsuite/21_strings/char_traits/requirements/char16_t/65049.cc:
977 * testsuite/21_strings/char_traits/requirements/char32_t/65049.cc:
979 * testsuite/21_strings/char_traits/requirements/wchar_t/65049.cc:
983 * include/bits/random.tcc
984 (poisson_distribution::param_type::_M_initialize): Use max<double>.
985 (binomial_distribution::param_type::_M_initialize): Likewise.
986 * testsuite/17_intro/headers/c++200x/67309.cc: New.
987 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Remove
990 2015-08-20 Jonathan Wakely <jwakely@redhat.com>
993 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Do not run
995 * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise.
997 * include/experimental/any (__any_caster): Define at namespace scope
998 so the name is visible to name lookup.
999 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1001 * python/Makefile.am: Ensure gdb.py is installed for libstdc++ not
1003 * python/Makefile.in: Regenerate.
1005 2015-08-19 Paolo Carlini <paolo.carlini@oracle.com>
1007 * include/c_global/cmath: Fix typo in comment.
1009 2015-08-19 Paolo Carlini <paolo.carlini@oracle.com>
1011 * include/c_global/cmath: Revert fix for libstdc++/58625, no
1012 longer necessary (__builtin_signbit is now type-generic).
1014 2015-08-18 Jonathan Wakely <jwakely@redhat.com>
1017 * testsuite/tr1/2_general_utilities/shared_ptr/observers/bool_conv.cc:
1018 Fix use of safe-bool idiom that isn't valid in C++11.
1020 * include/bits/ptr_traits.h: Include <bits/move.h> for addressof.
1023 * doc/xml/manual/configure.xml (manual.intro.setup.configure): Add
1024 caveats for --enable-concept-checks. Improve link text.
1025 * doc/xml/manual/diagnostics.xml (std.diagnostics.concept_checking):
1027 * doc/html/*: Regenerate.
1028 * include/bits/stl_deque.h (deque): Only use concept checks in C++03.
1029 * include/bits/stl_stack.h (stack): Likewise.
1030 * include/bits/stl_vector.h (vector): Likewise.
1032 2015-08-14 Jonathan Wakely <jwakely@redhat.com>
1034 * include/experimental/any (any::operator=(const any&)): Move check
1035 for self-assignment.
1036 (any::operator=(any&&)): Add check for self-assignment.
1037 (any::operator=(_ValueType&&)): Constrain template argument.
1038 (any::swap(any&)): Add check for self-swap.
1039 * testsuite/experimental/any/assign/self.cc: Test move and swap.
1040 * testsuite/experimental/any/misc/any_cast_neg.cc: Update dg-error.
1042 2015-08-14 Jonathan Wakely <jwakely@redhat.com>
1044 * include/experimental/array: Add feature-test macro.
1045 * testsuite/experimental/array/neg.cc: Update dg-error.
1047 2015-08-13 Ville Voutilainen <ville.voutilainen@gmail.com>
1049 * testsuite/experimental/array/neg.s: Remove.
1050 * testsuite/experimental/array/neg.ii.gz: Remove.
1052 2015-08-13 Ville Voutilainen <ville.voutilainen@gmail.com>
1054 Implement std::experimental::fundamentals_v2::make_array and
1055 std::experimental::fundamentals_v2::to_array.
1056 * include/Makefile.am: Add array.
1057 * include/Makefile.in: Add array.
1058 * include/experimental/array: New.
1059 * testsuite/experimental/array/make_array.cc: Likewise.
1060 * testsuite/experimental/array/neg.cc: Likewise.
1061 * doc/html/manual/status.html: Mark make_array as Y.
1062 * doc/xml/manual/status_cxx2017.xml: Likewise.
1064 2015-08-13 Jonathan Wakely <jwakely@redhat.com>
1066 * include/bits/alloc_traits.h: Add feature-test macro.
1067 * include/bits/allocator.h: Likewise.
1068 * include/bits/range_access.h: Likewise.
1069 * include/bits/stl_map.h: Likewise.
1070 * include/bits/unordered_map.h: Likewise.
1072 2015-08-13 Jonathan Wakely <jwakely@redhat.com>
1074 * testsuite/30_threads/mutex/unlock/2.cc: New.
1075 * testsuite/30_threads/recursive_mutex/unlock/2.cc: New.
1076 * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: New.
1077 * testsuite/30_threads/shared_mutex/unlock/1.cc: New.
1078 * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: New.
1079 * testsuite/30_threads/timed_mutex/unlock/2.cc: New.
1081 2015-08-13 Eelis van der Weegen <eelis@eelis.net>
1083 * include/std/shared_mutex (shared_mutex::unlock()): Fix typo.
1085 2015-08-12 Caroline Tice <cmtice@google.com>
1087 PR 66521, Contributed by Eric Gallager
1088 * acinclude.m4 (VTV_CXXLINKFLAGS): Make this variable OS-specific, and
1089 fix the rpath flag to work properly for darwin.
1090 * configure: Regenerated.
1092 2015-08-12 Jonathan Wakely <jwakely@redhat.com>
1094 * doc/xml/manual/appendix_contributing.xml: Update patch email policy.
1095 * doc/xml/manual/status_cxx2017.xml: Update status table.
1096 * doc/html/manual/*: Regenerate.
1098 2015-08-09 Ville Voutilainen <ville.voutilainen@gmail.com>
1100 Implement N4279, Improved insertion interface for unique-key maps.
1101 * include/bits/stl_map.h (try_emplace, insert_or_assign): New.
1102 * include/bits/stl_tree.h (_M_get_insert_unique_pos,
1103 _M_get_insert_equal_pos, _M_get_insert_hint_unique_pos,
1104 _M_get_insert_hint_equal_pos): Make public.
1105 * include/bits/unordered_map.h (try_emplace, insert_or_assign): New.
1106 * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
1108 * testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
1109 * testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc:
1111 * testsuite/23_containers/unordered_map/modifiers/try_emplace.cc:
1114 2015-08-08 Ville Voutilainen <ville.voutilainen@gmail.com>
1116 Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118)
1117 and N4366 LWG 2228: Missing SFINAE rule in unique_ptr
1118 templated assignment
1119 * include/bits/unique_ptr.h
1120 (__remove_cv, __is_derived_Tp): Remove.
1121 (default_delete::default_delete(const default_delete<_Up[]>)):
1122 Constrain with array convertibility.
1123 (default_delete::operator(_Up*)): Turn into a template,
1124 constrain with array convertibility.
1125 (__safe_conversion_up): New, single object version.
1126 (unique_ptr(unique_ptr<_Up, _Ep>&&)): Constrain with deleter
1128 (unique_ptr::operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
1129 is_assignable as a constraint.
1130 (__safe_conversion_up): Array version, renamed from __safe_conversion,
1131 updated to implement N4089.
1132 (__safe_conversion_raw): New.
1133 (unique_ptr(_Up)): Turn into a template, constrain with array
1136 typename conditional<is_reference<deleter_type>::value,
1137 deleter_type, const deleter_type&>::type)): Likewise.
1138 (unique_ptr(_Up, typename
1139 remove_reference<deleter_type>::type&&)): Likewise.
1140 (unique_ptr(unique_ptr<_Up, _Ep>&&)): Likewise.
1141 (operator=(unique_ptr<_Up, _Ep>&&)): Likewise, and add
1142 is_assignable as a constraint (array version).
1143 (reset(_Up)): Turn into a template, constrain with array
1145 (reset(nullptr_t)): New.
1146 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
1147 * testsuite/20_util/unique_ptr/assign/48635.cc: Likewise.
1148 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
1149 * testsuite/20_util/unique_ptr/assign/cv_qual.cc: Likewise.
1150 * testsuite/20_util/unique_ptr/cons/cv_qual.cc: Likewise.
1151 * testsuite/20_util/unique_ptr/dr2228.cc: New.
1152 * testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: Adjust.
1154 2015-08-05 Nikolai Bozhenov <n.bozhenov@samsung.com>
1156 * testsuite/20_util/enable_shared_from_this/cons/constexpr.cc: Remove
1157 redundant -save-temps option.
1158 * testsuite/20_util/shared_ptr/cons/constexpr.cc: Likewise.
1159 * testsuite/20_util/unique_ptr/cons/constexpr.cc: Likewise.
1160 * testsuite/20_util/weak_ptr/cons/constexpr.cc: Likewise.
1161 * testsuite/30_threads/future/cons/constexpr.cc: Likewise.
1162 * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
1164 2015-08-03 Jonathan Wakely <jwakely@redhat.com>
1167 * include/bits/range_access.h (size, empty, data): Fix _N bad name.
1169 2015-07-30 Jonathan Wakely <jwakely@redhat.com>
1171 * testsuite/experimental/filesystem/operations/current_path.cc: Use
1172 canonical paths for comparisons.
1174 2015-07-30 Tim Shen <timshen@google.com>
1176 * include/bits/regex_automaton.h (_State_base, _State<>):
1177 Remove _TraitsT dependency from _State<>; Make matcher member
1178 into the union to reduce struct size.
1179 * include/bits/regex_automaton.tcc (_State_base<>::_M_print,
1180 _State_base<>::_M_dot, _StateSeq<>::_M_clone):
1181 Adjust to fit the interface. Factor out common parts in
1182 _M_clone as _State<>::_M_has_alt.
1183 * include/bits/regex_executor.h (_Executer<>::_M_lookahead):
1184 Only pass state id instead of the whole state.
1185 * include/bits/regex_executor.tcc (_Executer<>::_M_dfs,
1186 _Executer<>::_M_lookahead): Adjust to fit the interface.
1187 * include/std/regex: Include <ext/aligned_buffer.h>
1189 2015-07-30 Jonathan Wakely <jwakely@redhat.com>
1191 * include/experimental/any (any::operator=(const any&)): Check for
1193 * testsuite/experimental/any/assign/self.cc: New.
1194 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
1196 2015-07-29 Jonathan Wakely <jwakely@redhat.com>
1199 * testsuite/lib/libstdc++.exp (v3-build_support): Compile
1200 testsuite_shared.cc with -std=gnu++98.
1202 2015-07-29 Ville Voutilainen <ville.voutilainen@gmail.com>
1204 * include/bits/range_access.h: Change class to typename in every
1206 (size, empty, data): New functions from N4280.
1207 * testsuite/24_iterators/container_access.cc: New.
1210 * include/bits/functional_hash.h (__hash_enum): New.
1211 (hash): Derive from __hash_enum.
1212 * testsuite/20_util/hash/60970.cc: New.
1214 2015-07-29 Tim Shen <timshen@google.com>
1217 * include/bits/regex_compiler.h (_Compiler<>::_M_expression_term,
1218 _BracketMatcher<>::_M_add_collating_element): Change signature
1219 to make checking the and of bracket expression easier.
1220 * include/bits/regex_compiler.tcc (_Compiler<>::_M_expression_term):
1221 Treat '-' as a valid literal if it's at the end of bracket expression.
1222 * testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
1225 2015-07-24 Jonathan Wakely <jwakely@redhat.com>
1227 * include/bits/atomic_futex.h [_GLIBCXX_HAVE_LINUX_FUTEX]
1228 (_M_load_and_test_until): Whitespace.
1229 (_M_load_and_test): Value-initialize the unused durations.
1230 (_M_load_when_equal): Add missing return value.
1232 2015-07-24 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
1234 * fragment.am (AM_CPPFLAGS): Add CPPFLAGS.
1235 * Makefile.in: Regenerate.
1236 * doc/Makefile.in: Regenerate.
1237 * include/Makefile.in: Regenerate.
1238 * libsupc++/Makefile.in: Regenerate.
1239 * po/Makefile.in: Regenerate.
1240 * python/Makefile.in: Regenerate.
1241 * src/Makefile.in: Regenerate.
1242 * src/c++11/Makefile.in: Regenerate.
1243 * src/c++98/Makefile.in: Regenerate.
1244 * src/filesystem/Makefile.in: Regenerate.
1245 * testsuite/Makefile.in: Regenerate.
1247 2015-07-23 DJ Delorie <dj@redhat.com>
1249 * include/bits/functional_hash.h: Add specializations for __intN
1252 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp (__gnu_pbds):
1253 Guard against values that might exceed size_t's precision.
1255 2015-07-20 Jason Merrill <jason@redhat.com>
1257 * include/bits/c++config: Fix abi_tag in special modes.
1259 2015-07-19 Jonathan Wakely <jwakely@redhat.com>
1261 * doc/xml/manual/status_cxx2017.xml: Fix URL for N4279.
1262 * doc/html/manual/status.html: Regenerate.
1264 2015-07-17 Jonathan Wakely <jwakely@redhat.com>
1266 * doc/xml/manual/status_cxx2011.xml: Add caveats for native_handle.
1267 * doc/html/manual/status.html: Regenerate.
1269 2015-07-16 François Dumont <fdumont@gcc.gnu.org>
1271 * include/bits/stl_algobase.h (__miter_base): Move...
1272 * include/bits/cpp_type_traits.h: ...here.
1273 * include/debug/functions.h (__foreign_iterator_aux): Use latter.
1274 * testsuite/23_containers/vector/debug/insert7_neg.cc: New.
1276 2015-07-13 Jonathan Wakely <jwakely@redhat.com>
1279 * src/c++11/codecvt.cc (__codecvt_utf8_utf16_base::do_in): Override
1280 endianness bit in mode.
1281 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/66855.cc: New.
1283 * include/bits/c++config (_GLIBCXX_NOEXCEPT_IF): Define.
1284 * include/bits/forward_list.h (forward_list::swap): Make noexcept
1286 * include/bits/hashtable.h (_Hashtable::swap): Do not use
1288 * include/bits/stl_bvector.h (vector<bool>::swap): Make noexcept
1290 * include/bits/stl_deque.h (deque::swap): Likewise.
1291 (swap(deque&, deque&)): Use _GLIBCXX_NOEXCEPT_IF.
1292 * include/bits/stl_list.h (list::swap): Make noexcept unconditional.
1293 (swap(list&, list&)): Use _GLIBCXX_NOEXCEPT_IF.
1294 * include/bits/stl_map.h (map::swap, swap(map&, map&)): Use
1295 _GLIBCXX_NOEXCEPT_IF, do not depend on _S_nothrow_swap.
1296 * include/bits/stl_multimap.h (multimap::swap,
1297 swap(multimap&, multimap&)): Likewise.
1298 * include/bits/stl_multiset.h (multiset::swap,
1299 swap(multiset&, multiset&)): Likewise.
1300 * include/bits/stl_set.h (set::swap, swap(set&, set&)): Likewise.
1301 * include/bits/stl_tree.h (_Rb_tree::swap,
1302 swap(_Rb_tree&, _Rb_tree&)): Likewise.
1303 * include/bits/stl_vector.h (vector::swap): Make noexcept
1305 (swap(vector&, vector&)): Use _GLIBCXX_NOEXCEPT_IF.
1306 * include/debug/deque (deque::swap, swap): Likewise.
1307 * include/debug/forward_list (swap): Add noexcept.
1308 * include/debug/list (list::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
1309 * include/debug/map.h (map::swap, swap): Likewise.
1310 * include/debug/multimap.h (multimap::swap, swap): Likewise.
1311 * include/debug/multiset.h (multiset::Swap, swap): Likewise.
1312 * include/debug/set.h (set::swap, swap): Likewise.
1313 * include/debug/unordered_map (unordered_map::swap,
1314 unordered_multimap::swap, swap): Likewise.
1315 * include/debug/unordered_set (unordered_set::swap,
1316 unordered_multiset::swap, swap): Likewise.
1317 * include/debug/vector (vector::swap, swap): Likewise.
1318 * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()):
1320 * include/profile/deque (deque::swap, swap): Use _GLIBCXX_NOEXCEPT_IF.
1321 * include/profile/forward_list (swap): Add noexcept.
1322 * include/profile/list (list::swap, swap) : Use _GLIBCXX_NOEXCEPT_IF.
1323 * include/profile/map.h (map::swap, swap): Likewise.
1324 * include/profile/multimap.h (multimap::swap, swap): Likewise.
1325 * include/profile/multiset.h (multiset::swap, swap): Likewise.
1326 * include/profile/set.h (set::swap, swap): Likewise.
1327 * include/profile/unordered_map (swap): Likewise.
1328 * include/profile/unordered_set (swap): Likewise.
1329 * include/profile/vector (vector::swap, swap): Likewise. Remove
1330 overloads for swapping rvalues.
1331 * testsuite/23_containers/deque/allocator/noexcept.cc: Update tests
1332 for noexcept on swap.
1333 * testsuite/23_containers/forward_list/allocator/noexcept.cc:
1335 * testsuite/23_containers/list/allocator/noexcept.cc: Likewise.
1336 * testsuite/23_containers/map/allocator/noexcept.cc: Likewise.
1337 * testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise.
1338 * testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise.
1339 * testsuite/23_containers/set/allocator/noexcept.cc: Likewise.
1340 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
1342 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc:
1344 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc:
1346 * testsuite/23_containers/unordered_set/allocator/noexcept.cc:
1348 * testsuite/23_containers/vector/allocator/noexcept.cc: Likewise.
1349 * testsuite/23_containers/vector/bool/allocator/noexcept.cc: Likewise.
1350 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line
1353 2015-07-13 John Marino <gnugcc@marino.st>
1355 * config/os/bsd/dragonfly/os_defines.h (_GLIBCXX_USE_C99_CHECK,
1356 _GLIBCXX_USE_C99_DYNAMIC, _GLIBCXX_USE_C99_LONG_LONG_CHECK,
1357 _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC): Define.
1359 2015-07-05 François Dumont <fdumont@gcc.gnu.org>
1361 * include/bits/hashtable.h (_Hashtable<>::__rehash_policy): Do not
1363 * testsuite/23_containers/unordered_set/max_load_factor/robustness.cc:
1366 2015-07-03 Jonathan Wakely <jwakely@redhat.com>
1368 * doc/xml/manual/status_cxx2017.xml: Update status table.
1369 * doc/html/manual/*: Regenerate.
1371 2015-07-03 Ville Voutilainen <ville.voutilainen@gmail.com>
1373 Implement std::experimental::fundamentals_v2::propagate_const.
1374 * include/Makefile.am: Add propagate_const.
1375 * include/Makefile.in: Regenerate.
1376 * include/experimental/propagate_const: New.
1377 * testsuite/experimental/propagate_const/assignment/copy.cc: Likewise.
1378 * testsuite/experimental/propagate_const/assignment/move.cc: Likewise.
1379 * testsuite/experimental/propagate_const/assignment/move_neg.cc:
1381 * testsuite/experimental/propagate_const/cons/copy.cc: Likewise.
1382 * testsuite/experimental/propagate_const/cons/default.cc: Likewise.
1383 * testsuite/experimental/propagate_const/cons/move.cc: Likewise.
1384 * testsuite/experimental/propagate_const/cons/move_neg.cc: Likewise.
1385 * testsuite/experimental/propagate_const/hash/1.cc: Likewise.
1386 * testsuite/experimental/propagate_const/observers/1.cc: Likewise.
1387 * testsuite/experimental/propagate_const/relops/1.cc: Likewise.
1388 * testsuite/experimental/propagate_const/requirements1.cc: Likewise.
1389 * testsuite/experimental/propagate_const/requirements2.cc: Likewise.
1390 * testsuite/experimental/propagate_const/requirements3.cc: Likewise.
1391 * testsuite/experimental/propagate_const/requirements4.cc: Likewise.
1392 * testsuite/experimental/propagate_const/requirements5.cc: Likewise.
1393 * testsuite/experimental/propagate_const/swap/1.cc: Likewise.
1394 * testsuite/experimental/propagate_const/typedefs.cc: Likewise.
1396 2015-07-02 Jonathan Wakely <jwakely@redhat.com>
1398 * acinclude.m4 (GLIBCXX_DEFAULT_ABI): Change valid arguments for
1399 --with-default-libstdcxx-abi
1400 * configure: Regenerate.
1401 * doc/xml/manual/configure.xml: Document valid arguments.
1403 2015-07-02 Uros Bizjak <ubizjak@gmail.com>
1405 * libsupc++/guard.cc (__test_and_acquire): Use __p after __atomic_load
1406 to avoid unused variable warning.
1407 (__set_and_release): Use __p after __atomic_store to avoid unused
1410 2015-07-01 Jonathan Wakely <jwakely@redhat.com>
1412 * include/bits/alloc_traits.h (__alloctr_rebind): Remove.
1413 (__allocator_traits_base): New base class.
1414 (__alloc_rebind): Reimplement in terms of detection idiom.
1415 (allocator_traits): Derive from __allocator_traits_base. Reimplement
1416 nested types in terms of detection idiom. Simplify SFINAE constraints
1417 on overloaded static member functions.
1418 * include/bits/hashtable.h (_Hashtable): Use __alloc_rebind instead
1419 of __alloctr_rebind.
1420 * testsuite/20_util/scoped_allocator/propagation.cc: Define rebind.
1421 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
1422 dg-error line number.
1424 * include/bits/ptr_traits.h (__ptrtr_elt_type, __ptrtr_diff_type,
1425 __ptrtr_rebind, __ptrtr_not_void): Remove
1426 (__get_first_arg, __replace_first_arg, __make_not_void): Define new
1428 (__detected_or_): New detection trait.
1429 (pointer_traits): Use new traits.
1430 * testsuite/20_util/pointer_traits/pointer_to.cc: Add rebind member.
1431 * testsuite/20_util/pointer_traits/requirements/
1432 explicit_instantiation.cc: Use valid arguments to pointer_traits.
1434 * doc/xml/manual/status_cxx2017.xml: Update status table.
1435 * include/experimental/type_traits (void_t, is_detected,
1436 is_detected_v, detected_t, detected_or, detected_or_t,
1437 is_detected_exact, is_detected_exact_v, is_detected_convertible,
1438 is_detected_convertible_v): Define.
1439 * include/std/type_traits (__detector, __detected_or, __detected_or_t,
1440 __detected_or_t_): Define.
1441 * testsuite/experimental/type_traits/detection.cc: New.
1443 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
1445 * doc/Makefile.am (stamp-pdf-doxygen): Grep for LaTeX errors in log.
1446 * doc/Makefile.in: Regenerate.
1448 * include/bits/stl_pair.h: Replace class keyword with typename.
1450 2015-06-30 Ville Voutilainen <ville.voutilainen@gmail.com>
1452 Implement N4387, "Improving pair and tuple", and LWG 2367.
1454 * include/bits/stl_pair.h (_ConstructiblePair,
1455 _ImplicitlyConvertiblePair, _MoveConstructiblePair,
1456 _ImplicitlyMoveConvertiblePair): New.
1457 (pair()): Constrain it.
1458 (pair(const _T1&, const _T2&), pair(const pair<_U1, _U2>&),
1459 pair(_U1&&, const _T2&), pair(const _T1&, _U2&&), pair(_U1&&, _U2&&),
1460 pair(pair<_U1, _U2>&&)): Make conditionally explicit.
1461 * include/std/tuple (_TC, tuple::_TC2, tuple::TCC, tuple::TMC): New.
1462 (tuple()): Constrain it.
1463 (tuple(const _UElements&...), tuple(_UElements&&...),
1464 tuple(const tuple<_UElements...>&), tuple(tuple<_UElements...>&&),
1465 tuple(allocator_arg_t, const _Alloc&, const _UElements&...),
1466 tuple(allocator_arg_t, const _Alloc&, _UElements&&...),
1467 tuple(allocator_arg_t, const _Alloc&, const tuple<_UElements...>&),
1468 tuple(allocator_arg_t, const _Alloc&, tuple<_UElements...>&&),
1469 tuple(const pair<_U1, _U2>&), tuple(pair<_U1, _U2>&&),
1470 tuple(allocator_arg_t, const _Alloc&, const pair<_U1, _U2>&),
1471 tuple(allocator_arg_t, const _Alloc&, pair<_U1, _U2>&&)): Make
1472 conditionally explicit.
1473 * include/experimental/functional (__boyer_moore_array_base): Name
1474 array type explicitly instead of using an empty braced-init-list.
1475 * testsuite/20_util/pair/cons/explicit_construct.cc: New.
1476 * testsuite/20_util/pair/piecewise.cc: Use piecewise_construct.
1477 * testsuite/20_util/pair/requirements/dr2367.cc: New.
1478 * testsuite/20_util/tuple/cons/explicit_construct.cc: New.
1479 * testsuite/20_util/tuple/requirements/dr2367.cc: New.
1481 2015-06-30 Jonathan Wakely <jwakely@redhat.com>
1483 * configure: Regenerate.
1485 2015-06-29 François Dumont <fdumont@gcc.gnu.org>
1487 * include/bits/stl_iterator_base_types.h (_Iter_base): Limit definition
1489 * include/debug/functions.h
1490 (__gnu_debug::__valid_range, __gnu_debug::__base): Move...
1491 * include/debug/safe_iterator.h
1492 (__gnu_debug::_Sequence_traits): New.
1493 (__gnu_debug::__get_distance_from_begin): New.
1494 (__gnu_debug::__get_distance_to_end): New.
1495 (__gnu_debug::_Safe_iterator<>::_M_valid_range): Expose iterator range
1496 distance information. Add optional check_dereferenceable parameter,
1498 (__gnu_debug::_Distance_precision, __gnu_debug::__get_distance): Move
1499 default definition...
1500 (__gnu_debug::__get_distance): New overload for _Safe_iterator.
1501 (__gnu_debug::__unsafe): Likewise.
1502 * include/debug/helper_functions.h: ...here. New.
1503 (__gnu_debug::__unsafe): New helper function to remove safe iterator
1505 * include/debug/stl_iterator.h: New. Include latter.
1506 * include/bits/stl_iterator.h: Include latter in debug mode.
1507 * include/debug/stl_iterator.tcc: Adapt.
1508 * include/debug/safe_local_iterator.h (__gnu_debug::__get_distance): Add
1509 overload for _Safe_local_iterator.
1510 (__gnu_debug::__unsafe): Likewise.
1511 * include/debug/safe_local_iterator.tcc: Adapt.
1512 * include/debug/macros.h (__glibcxx_check_valid_range2): New.
1513 (__glibcxx_check_insert_range): Add _Dist parameter.
1514 (__glibcxx_check_insert_range_after): Likewise.
1515 (__glibcxx_check_string, __glibcxx_check_string_len): Implement using
1516 _GLIBCXX_DEBUG_PEDASSERT.
1517 * include/debug/deque (deque<>::assign): Remove iterator debug layer
1519 (deque<>::insert): Likewise.
1520 * include/debug/forward_list (__glibcxx_check_valid_fl_range): New.
1521 (forward_list<>::splice_after): Use latter.
1522 (forward_list<>::assign): Remove iterator debug layer when possible.
1523 (forward_list<>::insert_after): Likewise.
1524 (__gnu_debug::_Sequence_traits<>): Partial specialization.
1525 * include/debug/list (list<>::assign): Remove iterator debug layer when
1527 (list<>::insert): Likewise.
1528 [__gnu_debug::_Sequence_traits<>]: Partial specialization pre C++11 ABI.
1529 * include/debug/map.h (map<>::insert): Remove iterator debug layer when
1531 * include/debug/multimap.h (multimap<>::insert): Likewise.
1532 * include/debug/set.h (set<>::insert): Likewise.
1533 * include/debug/multiset.h (multiset<>::insert): Likewise.
1534 * include/debug/string (basic_string<>::append, basic_string<>::assign,
1535 basic_string<>::insert, basic_string<>::replace): Likewise.
1536 * include/debug/unordered_map
1537 (unordered_map<>::insert, unordered_multimap<>::insert): Likewise.
1538 * include/debug/unordered_set
1539 (unordered_set<>::insert, unordered_multiset<>insert): Likewise.
1540 * include/debug/vector
1541 (vector<>::assign, vector<>::insert): Likewise.
1542 * include/Makefile.am: Add new debug headers.
1543 * include/Makefile.in: Regenerate.
1545 2015-06-26 Jonathan Wakely <jwakely@redhat.com>
1547 * doc/xml/manual/intro.xml: Document LWG 2108 status.
1548 * include/bits/alloc_traits.h (allocator_traits::is_always_equal):
1550 * include/bits/allocator.h (allocator::is_always_equal): Likewise.
1551 * include/bits/forward_list.h
1552 (forward_list::operator=(forward_list&&)): Use __bool_constant.
1553 (forward_list::swap(forward_list&)): Add noexcept.
1554 * include/bits/hashtable.h (_Hashtable::operator=(_Hashtable&&)):
1556 (_Hashtable::swap(_Hashtable&)): Likewise.
1557 * include/bits/stl_deque.h (_Deque_base::_Deque_base(_Deque_base&&)):
1558 Use _Alloc_traits::is_always_equal.
1559 (deque::operator=(deque&&)): Likewise.
1560 (deque::_M_move_assign1(deque&&, false_type)): Add comment and use
1562 (swap(deque&, deque&)): Add noexcept.
1563 * include/bits/stl_list.h (list::operator=(list&&)): Use
1565 (swap(list&, list&)): Add noexcept.
1566 * include/bits/stl_map.h (map::swap(map&)): Include _Compare in
1568 (swap(map&, map&)): Add noexcept.
1569 * include/bits/stl_multimap.h (multimap::swap(multimap&)): Include
1570 _Compare in noexcept.
1571 (swap(multimap&, multimap&)): Add noexcept.
1572 * include/bits/stl_multiset.h (multiset::swap(multiset&)): Include
1573 _Compare in noexcept.
1574 (swap(multiset&, multiset&)): Add noexcept.
1575 * include/bits/stl_set.h (set::swap(set&)): Include _Compare in
1577 (swap(set&, set&)): Add noexcept.
1578 * include/bits/stl_tree.h (_Rb_tree::operator=(_Rb_tree&&)): Include
1579 _Compare in noexcept.
1580 (_Rb_tree::_Rb_tree(_Rb_tree&&, _Node_alloc_type&&)): Use
1582 * include/bits/stl_vector.h (vector::operator=(vector&&)): Use
1584 (swap(vector&, vector&)): Add noexcept.
1585 * include/bits/unordered_map.h (swap(unordered_map&, unordered_map&),
1586 swap(unordered_multimap& unordered_multimap&)): Add noexcept.
1587 * include/bits/unordered_set.h (swap(unordered_set&, unordered_set&),
1588 swap(unordered_multiset& unordered_multiset&)): Add noexcept.
1589 * include/ext/alloc_traits.h (__allocator_always_compares_equal):
1591 (__alloc_traits::_S_always_equal()): Use is_always_equal instead of
1592 __allocator_always_compares_equal.
1593 * include/ext/array_allocator.h (array_allocator::is_always_equal):
1595 * include/std/scoped_allocator (__any_of, __propagate_on_copy,
1596 __propagate_on_move, __propagate_on_swap): Remove.
1597 (scoped_allocator_adaptor::propagate_on_container_copy_assignment,
1598 scoped_allocator_adaptor::propagate_on_container_move_assignment,
1599 scoped_allocator_adaptor::propagate_on_container_swap): Define with
1600 __and_ instead of __any_of.
1601 (scoped_allocator_adaptor::is_always_equal): Define.
1602 * testsuite/20_util/allocator_traits/members/is_always_equal.cc: New.
1603 * testsuite/20_util/scoped_allocator/propagation.cc: Make traits
1604 derive from true_type or false_type.
1605 * testsuite/23_containers/deque/allocator/move_assign-2.cc: Add
1606 is_always_equal member and remove the trait specialization.
1607 * testsuite/23_containers/vector/52591.cc: Likewise.
1608 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
1609 Adjust dg-error line number.
1610 * testsuite/23_containers/deque/requirements/dr438/
1611 constructor_1_neg.cc: Likewise.
1612 * testsuite/23_containers/deque/requirements/dr438/
1613 constructor_2_neg.cc: Likewise.
1614 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
1616 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1618 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1620 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1622 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1624 * testsuite/23_containers/vector/requirements/dr438/
1625 constructor_1_neg.cc: Likewise.
1626 * testsuite/23_containers/vector/requirements/dr438/
1627 constructor_2_neg.cc: Likewise.
1628 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1631 * include/bits/stl_bvector.h (vector<bool>::vector()): Add noexcept.
1632 * include/bits/stl_map.h (map::map()): Likewise.
1633 * include/bits/stl_multimap.h (multimap::multimap()): Likewise.
1634 * include/bits/stl_multiset.h (multiset::multiset()): Likewise.
1635 * include/bits/stl_set.h (set::set()): Likewise.
1637 2015-06-25 Jonathan Wakely <jwakely@redhat.com>
1639 * include/bits/locale_conv.h (__do_str_codecvt): Set __count.
1641 2015-06-24 François Dumont <fdumont@gcc.gnu.org>
1643 * include/bits/basic_string.h (basic_string<>::front()): Add !empty
1645 (basic_string<>::back()): Likewise.
1646 (basic_string<>::pop_back()): Likewise.
1648 2015-06-24 Paolo Carlini <paolo.carlini@oracle.com>
1650 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
1651 dg-error line numbers.
1652 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
1655 2015-06-23 François Dumont <fdumont@gcc.gnu.org>
1657 * include/debug/array: Include <array>. Add version namespace when
1658 specializing tuple interface to array. Add specialization for
1659 __is_tuple_like_impl.
1660 * include/profile/array: Likewise.
1661 * include/std/array: Include <utility>. Add specialization for
1662 __is_tuple_like_impl.
1664 (__is_tuple_like_impl<>, __is_tuple_like_impl<pair>): Move...
1665 * include/std/utility: ... here. Include <type_traits>.
1666 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust
1667 dg-error line number.
1668 * testsuite/23_containers/array/tuple_interface/
1669 tuple_element_debug_neg.cc: Likewise.
1671 2015-06-22 Jonathan Wakely <jwakely@redhat.com>
1673 * testsuite/26_numerics/complex/value_operations/1.cc: Use
1674 non-negative rho argument.
1676 * include/debug/list (__gnu_debug::list): Use allocator-aware
1677 _Safe_container base.
1678 * include/debug/string (__gnu_debug::basic_string): Use
1679 allocator-aware _Safe_container base for cxx11 ABI.
1681 * include/bits/locale_conv.h (__do_str_codecvt): Handle empty range.
1682 (wstring_convert): Move into __cxx11 namespace.
1683 (wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception
1687 * include/bits/stl_uninitialized.h
1688 (__uninitialized_copy::__uninit_copy): Cast expression to void.
1690 2015-06-17 Jonathan Wakely <jwakely@redhat.com>
1693 * include/bits/list.tcc (_List_base::_M_clear()): Use allocator traits.
1694 (list::list(const list&)): Use allocator propagation trait. Use
1695 _M_assign_dispatch to copy elements.
1696 * include/bits/stl_list.h (_List_node): Use __aligned_membuf in C++11.
1697 (_List_node::_M_valptr()): Add accessor for stored value.
1698 (_List_iterator, _List_const_iterator, _List_base): Use _M_valptr().
1699 (_List_base, list): Use allocator traits.
1700 (_List_base::_M_get_Tp_allocator, _List_base::get_allocator): Remove.
1701 (_List_base::_M_move_nodes): New function.
1702 (_List_base(_List_base&&)): Use _M_move_nodes.
1703 (_List_base(_List_base&&, _Node_alloc_type&&)): New constructor.
1704 (list::_M_create_node, list::_M_erase, list::max_size): Use allocator
1706 (list(size_type)): Add allocator parameter.
1707 (list(const list&)): Use allocator propagation trait.
1708 (list(const list&, const allocator_type&)): New constructor.
1709 (list(list&&, const allocator_type&)): Likewise.
1710 (list::operator=(list&&), list::swap(list&)): Use allocator
1712 (list::_M_move_assign): New functions.
1713 * include/debug/list: Add allocator-extended constructors.
1714 * include/profile/list: Likewise.
1715 * python/libstdcxx/v6/printers.py (get_value_from_list_node): New
1716 function to get value from _List_node.
1717 (StdListPrinter): Use get_value_from_list_node.
1718 * testsuite/23_containers/list/allocator/copy.cc: New.
1719 * testsuite/23_containers/list/allocator/copy_assign.cc: New.
1720 * testsuite/23_containers/list/allocator/minimal.cc: New.
1721 * testsuite/23_containers/list/allocator/move.cc: New.
1722 * testsuite/23_containers/list/allocator/move_assign.cc: New.
1723 * testsuite/23_containers/list/allocator/noexcept.cc: New.
1724 * testsuite/23_containers/list/allocator/swap.cc: New.
1725 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1726 Adjust dg-prune-output line number.
1727 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
1729 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
1732 * include/bits/forward_list.h
1733 (_Fwd_list_base(const _Node_alloc_type&)): Change parameter to
1735 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Likewise.
1736 (forward_list(const _Alloc&)): Split default constructor out to
1738 (forward_list(forward_list&&, const _Alloc&)): Move elements if base
1740 (forward_list::_M_move_assign(forward_list&&, true_type)): Replace
1741 swap call with two assignments.
1742 * include/bits/forward_list.tcc
1743 (_Fwd_list_base(_Fwd_list_base&&, const _Node_alloc_type&)): Don't
1744 move elements when allocators are not equal.
1745 * include/debug/forward_list (forward_list(const allocator_type&)):
1746 Split default constructor out to separate function.
1747 * include/profile/forward_list (forward_list(const _Alloc&)):
1750 * include/bits/forward_list.h (forward_list::_M_get_Node_allocator):
1751 Remove unnecessary uses of operator& and static_cast.
1752 * include/bits/forward_list.tcc
1753 (forward_list::operator=(const forward_list&)): Use __addressof
1754 instead of operator&.
1755 (forward_list::remove(const _Tp&), forward_list::remove(_Pred)):
1756 Remove invalid static_casts.
1757 * include/debug/forward_list: Use __addressof instead of operator&.
1758 * testsuite/23_containers/forward_list/modifiers/addressof.cc: New.
1760 * include/ext/alloc_traits.h (__alloc_traits::_S_nothrow_swap()): Use
1761 __is_nothrow_swappable.
1763 2015-06-16 Jonathan Wakely <jwakely@redhat.com>
1765 * include/bits/allocated_ptr.h (__allocated_ptr): Use __addressof.
1767 * include/bits/list.tcc (list::operator=(const list&), list::merge):
1768 Use __addressof instead of operator&.
1769 (list::sort): Use array-to-pointer decay instead of operator&.
1770 * include/bits/stl_list.h (list::splice): Use __addressof instead of
1772 * include/debug/formatter.h (_Error_formatter::_Parameter::_Parameter):
1774 * include/debug/functions.h (__check_singular): Likewise.
1775 * include/debug/list (list::splice, list::merge): Likewise.
1776 * testsuite/23_containers/list/modifiers/addressof.cc: New.
1779 * src/c++11/thread.cc (thread::_M_make_thread): Replace shared_ptr
1782 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
1784 * include/precompiled/stdc++.h: Include <codecvt> and <shared_mutex>.
1787 * src/c++11/codecvt.cc (codecvt_utf16_base<char32_t>::do_max_length):
1790 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1794 * config/cpu/alpha/atomic_word.h: Remove.
1795 * config/cpu/ia64/atomic_word.h: Remove.
1796 * config/cpu/powerpc/atomic_word.h: Remove.
1797 * config/os/aix/atomic_word.h: Remove.
1798 * configure.host (atomic_word_dir) [ia64, aix*, powerpc, alpha]:
1799 Use generic definition.
1801 2015-06-12 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1805 * * config/cpu/generic/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Define
1806 (_GLIBCXX_WRITE_MEM_BARRIER): Likewise
1807 * include/bits/shared_ptr_base.h: Use ACQ_REL barrier.
1808 * include/ext/atomicity.h: Likewise.
1809 * include/tr1/shared_ptr.h: Likewise.
1810 * libsupc++/guard.cc (__test_and_acquire): Rewrite with atomics.
1812 (__set_and_release): Likewise.
1813 * testsuite/20_util/shared_ptr/cons/43820_neg.cc (test01): Adjust for
1815 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
1816 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
1819 2015-06-12 Jonathan Wakely <jwakely@redhat.com>
1821 * include/std/tuple (__is_tuple_like_impl): Disambiguate array in
1822 debug and profile modes.
1823 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adjust tests
1824 for swap in C++11 and later.
1826 2015-06-09 Jonathan Wakely <jwakely@redhat.com>
1829 * config/abi/pre/gnu.ver: Export codecvt_byname and codecvt symbols
1832 2015-06-08 Jonathan Wakely <jwakely@redhat.com>
1835 * testsuite/22_locale/conversions/string/66441.cc: New.
1836 * include/bits/locale_conv.h (__do_str_codecvt): Reserve enough space
1837 in the output string for BOM and complete result.
1840 * src/c++11/codecvt.cc (write_utf16_code_point): Use adjust_byte_order
1841 for single UTF-16 units.
1842 * testsuite/22_locale/codecvt/codecvt_utf16/66417.cc: New.
1844 2015-06-07 François Dumont <fdumont@gcc.gnu.org>
1846 * include/bits/stl_tree.h (_Rb_tree<>::__is_transparent<>): Move to
1847 outer scope and rename to ...
1848 (std::__hash_is_transparent<>): ... this.
1849 * include/debug/stl_map.h (map::find<>,
1850 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
1851 member function templates to perform heterogeneous lookup.
1852 * include/debug/stl_multimap.h (multimap::find<>,
1853 multimap::lower_bound<>, multimap::upper_bound<>,
1854 multimap::equal_range<>): Likewise.
1855 * include/debug/stl_multiset.h (multiset::find<>,
1856 multiset::lower_bound<>, multiset::upper_bound<>,
1857 multiset::equal_range<>): Likewise.
1858 * include/debug/stl_set.h (set::find<>,
1859 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1860 * include/profile/stl_map.h (map::find<>, map::count<>,
1861 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): Likewise.
1862 * include/profile/stl_multimap.h (multimap::find<>, multimap::count<>,
1863 multimap::lower_bound<>, multimap::upper_bound<>,
1864 multimap::equal_range<>): Likewise.
1865 * include/profile/stl_multiset.h (multiset::find<>, multiset::count<>,
1866 multiset::lower_bound<>, multiset::upper_bound<>,
1867 multiset::equal_range<>): Likewise.
1868 * include/profile/stl_set.h (set::find<>, set::count<>,
1869 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
1870 * testsuite/23_containers/map/operations/1.cc: Check const variants.
1871 * testsuite/23_containers/multimap/operations/1.cc: Likewise.
1872 * testsuite/23_containers/multiset/operations/1.cc: Likewise.
1873 * testsuite/23_containers/set/operations/1.cc: Likewise.
1875 2015-06-05 Jonathan Wakely <jwakely@redhat.com>
1877 * doc/xml/manual/status_cxx2017.xml: Update status tables.
1878 * doc/html/manual/*: Regenerate.
1879 * include/std/type_traits (bool_constant): Define.
1880 * testsuite/20_util/bool_constant/requirements.cc: New.
1881 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
1882 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1884 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1887 * include/std/shared_mutex (__shared_mutex_pthread,
1888 __shared_mutex_cv): New helper types implementing the shared mutex
1890 (shared_mutex): New type for C++17.
1891 (shared_timed_mutex): Derive from one of the new helper types.
1892 * testsuite/30_threads/shared_mutex/cons/1.cc: New.
1893 * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
1894 * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
1895 * testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
1897 * testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
1898 * testsuite/30_threads/shared_mutex/try_lock/2.cc: New.
1900 2015-06-05 Ville Voutilainen <ville.voutilainen@gmail.com>
1902 Add __is_nothrow_swappable and take it into use.
1903 * include/bits/algorithmfwd.h (swap): Only declare for C++98 mode.
1904 * include/bits/move.h (swap): Add constraints in C++11 and later.
1905 * include/bits/stl_pair.h (swap): Use __is_nothrow_swappable
1906 for the free swap function for pair.
1907 * include/bits/stl_queue.h (swap): Use __is_nothrow_swappable
1908 for the free swap functions for queue and priority_queue.
1909 * include/bits/stl_stack.h (swap): Use __is_nothrow_swappable
1910 for the free swap function for stack.
1911 * include/debug/array (swap): Use __is_nothrow_swappable
1912 for the free swap function for array.
1913 * include/profile/array (swap): Likewise.
1914 * include/std/array (swap): Likewise.
1915 * include/std/tuple (_Tuple_impl::_M_swap): Use __is_nothrow_swappable.
1916 * include/std/type_traits (__is_swappable_impl::__is_swappable,
1917 __is_nothrow_swappable_impl, __is_nothrow_swappable): New.
1918 * testsuite/20_util/is_nothrow_swappable/requirements/
1919 explicit_instantiation.cc: New.
1920 * testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
1922 * testsuite/20_util/is_nothrow_swappable/value.cc: New.
1924 2015-06-03 François Dumont fdumont@gcc.gnu.org>
1926 * testsuite/23_containers/list/61347.cc: Add dg-require-normal-mode.
1928 2015-06-02 Jonathan Wakely <jwakely@redhat.com>
1930 * doc/xml/manual/abi.xml: Document versioning for 5.1.0 release.
1931 * doc/html/manual/*: Regenerate.
1933 * doc/html/ext/lwg-active.html: Update to R93.
1934 * doc/html/ext/lwg-closed.html: Likewise.
1935 * doc/html/ext/lwg-defects.html: Likewise.
1936 * doc/html/manual/*: Regenerate.
1937 * doc/xml/manual/intro.xml: Document status of several DRs.
1939 2015-06-02 Renlin Li <renlin.li@arm.com>
1941 * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
1943 2015-06-01 Jonathan Wakely <jwakely@redhat.com>
1945 * testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE
1946 environment variable.
1948 2015-05-31 Jonathan Wakely <jwakely@redhat.com>
1951 * include/bits/stl_algobase.h (__fill_a): Check length before calling
1954 2015-05-30 Jonathan Wakely <jwakely@redhat.com>
1956 * include/bits/stl_algobase.h (__equal<true>::equal): Check length
1957 instead of checking for null pointers.
1958 (__lexicographical_compare<true>::__lc): Only check shorter length.
1960 2015-05-29 François Dumont fdumont@gcc.gnu.org>
1962 * include/debug/debug.h (_GLIBCXX_DEBUG_ASSERT,
1963 _GLIBCXX_DEBUG_PEDASSERT, _GLIBCXX_DEBUG_ONLY): Move definition...
1964 * include/debug/assertions.h: ...here, new.
1965 * include/debug/formatter.h
1966 (_Error_formatter::_Is_iterator_value_type): New.
1967 (_Error_formatter::_Is_instance): New.
1968 (_Error_formatter::_Parameter): Make public and not friend anymore.
1969 (_Error_formatter::_Parameter::__instance): New _M_kind enum entry.
1970 (_Error_formatter::_Parameter::__iterator_value_type): New _M_kind enum
1972 (_Error_formatter::_Parameter::_Type): New.
1973 (_Error_formatter::_Parameter::_Instance): New, inherit from
1975 (union _Error_formatter::_Parameter::_M_variant): Reorganize.
1976 (_Parameter(_Iterator const&, const char*, _Is_iterator)): Make all
1977 overloads take iterator through a const reference.
1978 (_Parameter(const _Iterator&, const char*, _Is_iterator_value_type)):
1980 (_Parameter(const _Type&, const char*, _Is_instance)): New.
1981 (_Error_formatter::_M_print_type): Delete.
1982 (_Error_formatter::_M_iterator_value_type): New.
1983 (_Error_formatter::_M_instance): New.
1984 * include/Makefile.am: Add new above debug file.
1985 * include/Makefile.in: Regenerate.
1986 * include/debug/functions.h
1987 (__check_dereferenceable(const _Safe_iterator<>&),
1988 __valid_range(const _Safe_iterator<>&),
1989 __is_safe_random_iterator<_Safe_iterator<>>): Move...
1990 * include/debug/safe_iterator.h: ... here.
1991 Replace debug.h include with assertions.h.
1992 (__check_singular_aux): Move...
1993 * include/debug/safe_base.h: ... here.
1994 * include/debug/functions.h
1995 (__check_dereferenceable(const _Safe_local_iterator<>&),
1996 __valid_range(const _Safe_local_iterator<>&): Move...
1997 * include/debug/safe_local_iterator.h: ...here.
1998 * include/debug/safe_sequence.h: Replace debug.h with assertions.h.
1999 Remove _Safe_iterator declaration.
2000 * include/debug/safe_unordered_container.h: Replace debug.h with
2002 * include/debug/array: Replace safe_sequence.h include with
2003 formatter.h and macros.h.
2004 * include/debug/deque: Include functions.tcc.
2005 * include/debug/forward_list: Likewise.
2006 * include/debug/list: Likewise.
2007 * include/debug/string: Likewise.
2008 * include/debug/vector: Likewise.
2009 * include/bits/unique_ptr.h: Replace debug.h include with new
2011 * include/bits/stl_iterator_base_funcs.h: Likewise.
2012 * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc:
2013 Adjust dg-error line number.
2014 * testsuite/23_containers/array/tuple_interface/
2015 tuple_element_debug_neg.cc: Likewise.
2016 * src/c++11/debug.cc: Adapt.
2018 2015-05-29 Jonathan Wakely <jwakely@redhat.com>
2020 * doc/xml/manual/status_cxx2017.xml: Fix duplicate ID attribute.
2021 * doc/html/manual/*: Regenerate.
2023 * include/std/future (__async_result_of): New alias template.
2024 (async): Use __async_result_of to pass decayed types to result_of.
2025 * testsuite/30_threads/async/lwg2021.cc: New.
2026 * doc/xml/manual/intro.xml: Document LWG 2021 status.
2029 * include/bits/stl_algobase.h (__equal<true>::equal): Do not call
2030 memcmp with null pointers.
2031 (__lexicographical_compare<true>::__lc): Do not call memcmp for empty
2034 2015-05-28 Jonathan Wakely <jwakely@redhat.com>
2037 * include/profile/array (array::data): Use _S_ptr.
2038 * include/debug/array (array::data): Likewise.
2041 * include/std/array (__array_traits::_S_ptr): New function.
2042 (array::data): Use _S_ptr to avoid creating invalid reference.
2043 * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
2044 dg-error line numbers.
2045 * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
2048 2015-05-27 Jonathan Wakely <jwakely@redhat.com>
2050 * include/bits/stl_tree.h (_Rb_tree::_M_end()): Return _Base_ptr
2051 instead of downcasting.
2052 (_Rb_tree::_M_copy): Change second parameter to _Base_ptr.
2053 (_Rb_tree::_M_lower_bound, _Rb_tree:_M_upper_bound): Likewise.
2054 (_Rb_tree::_S_iter): Remove.
2055 (_Rb_tree::_S_lower_bound_tr, _Rb_tree::_S_upper_bound_tr): Remove.
2056 (_Rb_tree::_M_find_tr(const _Kt&) const): Call _M_lower_bound_tr
2057 instead of _S_lower_bound_tr
2058 (_Rb_tree::_M_find_tr(const _Kt&)): Call const overload.
2059 (_Rb_tree::_M_lower_bound_tr(const _Kt&) const): Do the search here
2060 instead of calling _S_lower_bound_tr.
2061 (_Rb_tree::_M_lower_bound_tr(const _Kt&)): Call const overload.
2062 (_Rb_tree::_M_upper_bound_tr(const _Kt&) const): Do the search here
2063 instead of calling _S_upper_bound_tr.
2064 (_Rb_tree::_M_upper_bound_tr(const _Kt&)): Call const overload.
2065 (_Rb_tree::_M_equal_range_tr(const _Kt&)): Likewise.
2066 (_Rb_tree::equal_range): Use _Base_ptr for end pointer.
2067 (_Rb_tree::_M_get_insert_unique_pos): Likewise.
2068 (_Rb_tree::_M_get_insert_equal_pos): Likewise.
2069 (_Rb_tree::_M_insert_equal_lower_node): Likewise.
2070 (_Rb_tree::_M_insert_unique, _Rb_tree::_M_emplace_unique,
2071 _Rb_tree::_M_emplace_hint_unique): Remove static_cast.
2074 * include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
2075 (_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
2077 (_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
2078 (_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
2079 * include/ext/aligned_buffer.h (__aligned_membuf): New type using
2080 alignment of _Tp as a member subobject, not as a complete object.
2081 * python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
2082 _Link_type manually as it might not be in the debug info.
2084 2015-05-26 Doug Evans <dje@google.com>
2086 * python/libstdcxx/v6/xmethods.py (UniquePtrMethodsMatcher): Add
2088 * testsuite/libstdc++-xmethods/unique_ptr.cc: Add tests for
2091 2015-05-26 Jonathan Wakely <jwakely@redhat.com>
2093 * include/bits/locale_conv.h: Fix copyright years.
2094 * include/bits/quoted_string.h: Likewise.
2095 * src/filesystem/Makefile.am: Likewise.
2096 * testsuite/22_locale/conversions/buffer/1.cc: Likewise.
2097 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc:
2099 * testsuite/22_locale/conversions/string/1.cc: Likewise.
2100 * testsuite/22_locale/conversions/string/2.cc: Likewise.
2101 * testsuite/22_locale/conversions/string/3.cc: Likewise.
2102 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
2104 * testsuite/22_locale/conversions/string/requirements/typedefs.cc:
2106 * testsuite/util/testsuite_fs.h: Likewise.
2108 2015-05-23 François Dumont fdumont@gcc.gnu.org>
2111 * include/debug/functions.h (__check_sorted_aux): Cast expression to
2114 2015-05-21 David Edelsohn <dje.gcc@gmail.com>
2117 * config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER):
2118 Don't use isync. Use lwsync if available.
2119 * configure.host (atomic_word_dir) [aix[56789]*]: Delete to use
2120 powerpc cpu definition.
2122 2015-05-21 Jason Merrill <jason@redhat.com>
2124 * libsupc++/del_opv.cc: Suppress -Wsized-deallocation.
2125 * libsupc++/del_op.cc: Likewise.
2127 2015-05-20 François Dumont fdumont@gcc.gnu.org>
2129 * include/debug/formatter.h (_GLIBCXX_TYPEID): New macro to simplify
2131 (_Error_formatter::_M_print_type): New.
2132 * src/c++11/debug.cc
2133 (_Error_formatter::_Parameter::_M_print_field): Use latter.
2134 (_Error_formatter::_M_print_type): Implement latter using
2135 __cxaabiv1::__cxa_demangle to print demangled type name.
2137 * include/bits/cpp_type_traits.h
2138 (std::move_iterator): Delete declaration.
2139 (std::__is_move_iterator<move_iterator>): Move partial specialization...
2140 * include/bits/stl_iterator.h: ... here.
2141 (std::__miter_base): Overloads for std::reverse_iterator and
2143 * include/bits/stl_algobase.h (std::__miter_base): Provide default
2146 2015-05-20 Jonathan Wakely <jwakely@redhat.com>
2148 * testsuite/util/testsuite_fs.h (nonexistent_path): Don't use tempnam.
2151 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator): Add
2152 overload for pointers.
2153 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
2154 808590.cc: Add -std=gnu++03 switch.
2155 * testsuite/20_util/specialized_algorithms/uninitialized_copy/
2156 808590-cxx11.cc: Copy of 808590.cc to test with -std=gnu++11.
2157 * testsuite/23_containers/vector/modifiers/push_back/
2158 strong_guarantee.cc: New.
2160 2015-05-19 Jonathan Wakely <jwakely@redhat.com>
2162 * include/bits/stl_list.h (_M_resize_pos(size_type&)): Declare.
2163 (operator==(const list&, const list&)): If size() is O(1) compare
2164 sizes before comparing each element.
2165 * include/bits/list.tcc (list::_M_resize_pos(size_type&)): Define.
2166 (list::resize): Use _M_resize_pos.
2168 2015-05-19 François Dumont <fdumont@gcc.gnu.org>
2170 * testsuite/23_containers/unordered_map/cons/66055.cc: Add constructor
2172 * testsuite/23_containers/unordered_multimap/cons/66055.cc: Likewise.
2173 * testsuite/23_containers/unordered_multiset/cons/66055.cc: Likewise.
2174 * testsuite/23_containers/unordered_set/cons/66055.cc: Likewise.
2176 2015-05-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2178 * configure.host: Define cpu_defines_dir for ARM.
2179 * config/cpu/arm/cpu_defines.h: New file.
2181 2015-05-17 François Dumont <fdumont@gcc.gnu.org>
2183 * include/bits/unordered_map.h (unordered_map, unordered_multimap): Add
2184 missing constructors.
2185 * include/bits/unordered_set.h (unordered_set, unordered_multiset):
2187 * include/debug/unordered_map (unordered_map, unordered_multimap): Add
2188 missing constructors.
2189 * include/debug/unordered_set (unordered_set, unordered_multiset):
2191 * include/profile/unordered_map (unordered_map, unordered_multimap): Add
2192 missing constructors.
2193 * include/profile/unordered_set (unordered_set, unordered_multiset):
2196 2015-05-15 Jonathan Wakely <jwakely@redhat.com>
2198 * src/filesystem/ops.cc (stat_type): Define alias for struct stat and
2199 use throughout the file.
2200 (make_file_type): New function.
2201 (file_size(const path&, error_code&)): Report an error for anything
2202 that isn't a regular file.
2203 (status(const path&), symlink_status(const path&)): Do not throw for
2204 file_type::not_found.
2205 (temp_directory_path()): Check additional environment variables.
2206 * testsuite/experimental/filesystem/operations/exists.cc: New.
2207 * testsuite/experimental/filesystem/operations/file_size.cc: New.
2208 * testsuite/experimental/filesystem/operations/status.cc: New.
2209 * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
2212 2015-05-14 Nathan Myers <ncm@cantrip.org>
2213 Jonathan Wakely <jwakely@redhat.com>
2216 * include/std/unordered_map (unordered_map, unordered_multimap): Add
2217 missing constructors.
2218 * include/std/unordered_set (unordered_set, unordered_multiset):
2220 * testsuite/23_containers/unordered_map/cons/66055.cc: New.
2221 * testsuite/23_containers/unordered_multimap/cons/66055.cc: New.
2222 * testsuite/23_containers/unordered_multiset/cons/66055.cc: New.
2223 * testsuite/23_containers/unordered_set/cons/66055.cc: New.
2225 2015-05-14 Jonathan Wakely <jwakely@redhat.com>
2228 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmod and
2230 * config.h.in: Regenerate.
2231 * configure: Regenerate.
2232 * src/filesystem/ops.cc (do_copy_file): Fix arguments to open(). Do
2233 not return after copying contents. Use fchmod, fchmodat, and sendfile
2235 (current_path, permissions, space): Use errno not return value.
2238 * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for struct
2240 * config.h.in: Regenerate.
2241 * configure: Regenerate.
2242 * configure.ac (AC_STRUCT_DIRENT_D_TYPE): Remove.
2244 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2246 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
2247 * configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
2248 * config.h.in: Regenerate.
2249 * configure: Likewise.
2250 * libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
2251 __USING_SJLJ_EXCEPTIONS__.
2252 * libsupc++/eh_throw.cc: Likewise.
2253 * libsupc++/eh_ptr.cc: Likewise.
2254 * doc/html/manual/appendix_porting.html: Remove
2255 GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
2256 * doc/xml/manual/build_hacking.xml: Likewise.
2257 * doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
2258 * doc/xml/manual/configure.xml: Likewise.
2260 2015-05-13 Jonathan Wakely <jwakely@redhat.com>
2262 * include/bits/shared_ptr_base.h (__shared_count(unique_ptr&&)): Check
2263 for nullptr (LWG 2415).
2264 * testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: Test
2265 construction from empty unique_ptr.
2266 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
2267 * testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
2269 * include/bits/stl_raw_storage_iter.h (raw_storage_iterator::base()):
2271 * testsuite/20_util/raw_storage_iterator/base.cc: New.
2273 * include/std/future (packaged_task(allocator_arg_t, const A&, F&&):
2274 Remove explicit (LWG 2407).
2276 * include/bits/basic_string.h (basic_string::basic_string()): Make
2277 noexcept conditional on allocator (LWG 2455).
2279 * include/std/complex (polar): Check for negative rho (LWG 2459).
2281 * include/experimental/tuple (apply): Handle pointers to member (LWG
2283 * include/std/functional (_Mem_fn_base): Make constructors constexpr.
2284 (_Maybe_wrap_member_pointer::__do_wrap): Make constexpr.
2285 * testsuite/experimental/tuple/apply.cc: Test pointer to member.
2287 * include/bits/random.h (seed_seq): More noexcept (LWG 2440).
2289 * include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
2290 * testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
2291 * testsuite/23_containers/forward_list/allocator/minimal.cc:
2293 * testsuite/23_containers/map/allocator/minimal.cc: Likewise.
2294 * testsuite/23_containers/multimap/allocator/minimal.cc: Likewise.
2295 * testsuite/23_containers/multiset/allocator/minimal.cc: Likewise.
2296 * testsuite/23_containers/set/allocator/minimal.cc: Likewise.
2297 * testsuite/23_containers/unordered_map/allocator/minimal.cc:
2299 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc:
2301 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc:
2303 * testsuite/23_containers/unordered_set/allocator/minimal.cc:
2305 * testsuite/util/testsuite_allocator.h: Remove unused parameter.
2307 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Re-enable on solaris.
2308 * configure: Regenerate.
2310 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
2312 * Makefile.in: Regenerated with automake-1.11.6.
2313 * aclocal.m4: Likewise.
2314 * configure: Likewise.
2315 * doc/Makefile.in: Likewise.
2316 * include/Makefile.in: Likewise.
2317 * libsupc++/Makefile.in: Likewise.
2318 * po/Makefile.in: Likewise.
2319 * python/Makefile.in: Likewise.
2320 * src/Makefile.in: Likewise.
2321 * src/c++11/Makefile.in: Likewise.
2322 * src/c++98/Makefile.in: Likewise.
2323 * src/filesystem/Makefile.in: Likewise.
2324 * testsuite/Makefile.in: Likewise.
2326 2015-05-09 Jason Merrill <jason@redhat.com>
2328 * testsuite/20_util/headers/functional/synopsis.cc: Add
2329 _GLIBCXX14_CONSTEXPR.
2330 * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise.
2332 2015-05-08 Jason Merrill <jason@redhat.com>
2334 * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
2335 * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
2336 * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
2337 * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
2338 * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
2339 * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
2340 * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
2341 * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
2342 * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
2343 * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
2344 * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc:
2346 * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
2347 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
2348 Adjust expected errors.
2349 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
2351 * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
2353 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
2355 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
2357 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
2359 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
2361 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
2363 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
2365 * testsuite/23_containers/vector/requirements/dr438
2366 /constructor_1_neg.cc: Likewise.
2367 * testsuite/23_containers/vector/requirements/dr438
2368 /constructor_2_neg.cc: Likewise.
2369 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
2371 * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
2372 * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
2373 * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
2374 * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
2375 * testsuite/ext/array_allocator/check_allocate_max_size.cc:
2376 Add -Wno-deprecated.
2377 * testsuite/ext/array_allocator/check_deallocate_null.cc:
2378 Add -Wno-deprecated.
2379 * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
2380 * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
2381 * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
2382 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc:
2384 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc:
2386 * testsuite/tr1/2_general_utilities/shared_ptr/assign
2387 /auto_ptr_rvalue_neg.cc: Add -std=c++98.
2388 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc:
2389 Add -std=c++98 -fno-show-column.
2390 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc:
2392 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc:
2394 * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
2395 * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
2397 * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
2398 * src/c++98/Makefile.in: Regenerate.
2399 * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
2400 * src/Makefile.in: Regenerate.
2402 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
2405 * include/std/future (async): Change default policy to launch::async.
2407 * include/experimental/any (any::_Storage): Fix alignment of buffer.
2408 (any::_Internal): Check alignment of type.
2409 * testsuite/experimental/any/cons/aligned.cc: New.
2410 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
2412 * include/experimental/iterator (ostream_joiner): Simplify by using
2413 the injected-class-name and the ostream_type typedef.
2415 * include/experimental/iterator: New. Define ostream_joiner.
2416 * include/Makefile.am: Add new header.
2417 * include/Makefile.in: Regenerate.
2418 * testsuite/experimental/iterator/make_ostream_joiner.cc: New.
2419 * testsuite/experimental/iterator/ostream_joiner.cc: New.
2420 * testsuite/experimental/iterator/requirements.cc: New.
2421 * doc/xml/manual/status_cxx2017.xml: Update status.
2422 * doc/html/manual/status.html: Regenerate.
2424 * include/experimental/numeric: New. Define gcd and lcm.
2425 * include/Makefile.am: Add new header.
2426 * include/Makefile.in: Regenerate.
2427 * testsuite/experimental/numeric/gcd.cc: New.
2428 * testsuite/experimental/numeric/lcm.cc: New.
2429 * doc/xml/manual/status_cxx2017.xml: Update status.
2430 * doc/html/manual/status.html: Regenerate.
2432 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
2434 Revert addition of feature macros from other headers per latest SD-6.
2435 * include/experimental/deque: Remove feature-test macro.
2436 * include/experimental/forward_list: Ditto.
2437 * include/experimental/list: Ditto.
2438 * include/experimental/map: Ditto.
2439 * include/experimental/set: Ditto.
2440 * include/experimental/string: Ditto.
2441 * include/experimental/unordered_map: Ditto.
2442 * include/experimental/unordered_set: Ditto.
2444 2015-05-02 Jonathan Wakely <jwakely@redhat.com>
2446 * include/experimental/any (any::_Storage): Make non-copyable.
2447 (any::any): Do not copy _Storage object.
2448 (any::operator=): Implement more efficiently than swapping.
2449 (any::swap): Use new _Op_xfer operation.
2450 (any::_Op::_Op_xfer): New enumerator.
2451 (_Manager_internal::_S_alloc): Remove unused function.
2452 (_Manager_internal::_S_create, _Manager_external::_S_create): Use out
2453 parameter instead of returning a _Storage object.
2454 (_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
2455 _Op_xfer operation for moving and swapping.
2456 * testsuite/experimental/any/cons/nontrivial.cc: New.
2457 * testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
2459 * include/experimental/fs_path.h (filesystem_error::~filesystem_error):
2461 * src/filesystem/path.cc (filesystem_error::~filesystem_error):
2465 * include/std/tuple (forward_as_tuple, tie): Add constexpr.
2466 * testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
2467 and fix tests for forward_as_tuple and tie.
2469 * src/filesystem/ops.cc (last_write_time) [_GLIBCXX_USE_UTIMENSAT]:
2470 Set timespec members explicitly instead of with a braced-init-list.
2471 [_GLIBCXX_HAVE_UTIME_H]: Use lambda to handle st_atime being a macro.
2473 2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
2475 * include/experimental/deque: Add feature-test macro.
2476 * include/experimental/forward_list: Ditto.
2477 * include/experimental/list: Ditto.
2478 * include/experimental/map: Ditto.
2479 * include/experimental/set: Ditto.
2480 * include/experimental/string: Ditto.
2481 * include/experimental/unordered_map: Ditto.
2482 * include/experimental/unordered_set: Ditto.
2484 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
2486 * include/experimental/memory: Correct feature-test macro.
2488 * include/experimental/memory: Add feature-test macro.
2489 * include/experimental/vector: Likewise.
2490 * doc/xml/manual/status_cxx2017.xml: Update status.
2491 * doc/html/manual/status.html: Regenerate.
2493 2015-05-01 Ville Voutilainen <ville.voutilainen@gmail.com>
2495 Implement observer_ptr.
2496 * include/Makefile.am: Add new header.
2497 * include/Makefile.in: Regenerate.
2498 * include/experimental/memory: New.
2499 * testsuite/experimental/memory/observer_ptr/assignment/assign.cc: New.
2500 * testsuite/experimental/memory/observer_ptr/cons/cons.cc: New.
2501 * testsuite/experimental/memory/observer_ptr/hash/hash.cc: New.
2502 * testsuite/experimental/memory/observer_ptr/make_observer.cc: New.
2503 * testsuite/experimental/memory/observer_ptr/relops/relops.cc: New.
2504 * testsuite/experimental/memory/observer_ptr/requirements.cc: New.
2505 * testsuite/experimental/memory/observer_ptr/swap/swap.cc: New.
2506 * testsuite/experimental/memory/observer_ptr/typedefs.cc: New.
2508 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
2510 * src/filesystem/path.cc (path::compare): Do not copy strings.
2512 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable when <dirent.h>
2514 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for fchmodat.
2515 * configure: Regenerate.
2516 * config.h.in: Regenerate.
2517 * configure.ac: Check for utime.h
2518 * include/experimental/fs_path.h (path::string<>)
2519 [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Remove stray typename keyword.
2520 * src/filesystem/dir.cc [!_GLIBCXX_HAVE_DIRENT_H] (DIR, opendir,
2521 closedir, dirent, readdir_r): Replace dummy functions with #error.
2522 (native_readdir, _Dir::advance): Use readdir when readdir_r is missing.
2523 * src/filesystem/ops.cc (do_stat, is_set): Make inline.
2524 (last_write_time) [!_GLIBCXX_USE_UTIMENSAT]: Use utime.
2525 (permissions) [!_GLIBCXX_USE_FCHMODAT]: Use chmod.
2526 (space, temp_directory_path) [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Set
2529 * include/experimental/fs_path.h (path::_List): Use vector instead of
2531 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Adapt.
2532 * src/filesystem/path.cc: Use std::prev instead of decrementing
2533 rvalues. Fix whitespace.
2534 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
2535 Do not decrement iterators before begin.
2537 * include/experimental/fs_dir.h: Fix use of non-reserved names.
2538 * include/experimental/fs_ops.h: Likewise.
2539 * include/experimental/fs_path.h: Likewise.
2540 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
2541 C++11 when checking for support.
2543 * include/bits/locale_classes.h (locale::facet): Delete copy
2544 operations in C++11 mode.
2546 * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name.
2548 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
2549 * configure: Regenerate.
2551 2015-05-01 Edward Smith-Rowland <3dw4rd@verizon.net>
2553 Inline one-line erasure dispatch functions.
2554 * include/experimental/forward_list (erase_if(), erase()): Inline.
2555 * include/experimental/list (erase_if(), erase()): Inline.
2556 * include/experimental/map (erase_if(*)): Inline.
2557 * include/experimental/set (erase_if(*)): Inline.
2558 * include/experimental/string (erase_if(), erase()): Inline.
2559 * include/experimental/unordered_map (erase_if(*)): Inline.
2560 * include/experimental/unordered_set (erase_if(*)): Inline.
2562 2015-05-01 Jonathan Wakely <jwakely@redhat.com>
2564 * doc/xml/manual/intro.xml: Link to new status_cxx2017.xml file.
2565 * doc/xml/manual/status_cxx2011.xml: Update status tables.
2566 * doc/xml/manual/status_cxx2014.xml: Likewise.
2567 * doc/xml/manual/status_cxx2017.xml: New.
2568 * doc/xml/manual/using.xml: Fix typo.
2569 * doc/html/*: Regenerate.
2571 * include/std/memory (pointer_safety, declare_reachable,
2572 undeclare_reachable, declare_no_pointers, undeclare_no_pointers,
2573 get_pointer_safety): Define.
2574 * testsuite/20_util/pointer_safety/1.cc: New.
2576 2015-04-30 Jonathan Wakely <jwakely@redhat.com>
2578 Implement N4100 File System TS
2579 * acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Define.
2580 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Define.
2581 * config.h.in: Regenerate.
2582 * configure: Regenerate.
2583 * configure.ac: Enable filesystem TS and check its dependencies.
2584 * include/Makefile.am: Add new headers.
2585 * include/Makefile.in: Regenerate.
2586 * include/bits/locale_conv.h (__do_str_code_cvt, __str_codecvt_in,
2587 __str_codecvt_out): Move code conversion logic from wstring_convert
2588 into new global functions.
2589 (wstring_convert::to_bytes, wstring_convert::from_bytes): Use new
2591 (wstring_convert::_M_conv): Remove.
2592 * include/bits/quoted_string.h (_Quoted_string): Split out of iomanip.
2593 * include/experimental/filesystem: New.
2594 * include/experimental/fs_dir.h: New.
2595 * include/experimental/fs_fwd.h: New.
2596 * include/experimental/fs_ops.h: New.
2597 * include/experimental/fs_path.h: New.
2598 * include/std/iomanip (_Quoted_string): Move to bits/quoted_string.h.
2599 * python/libstdcxx/v6/printers.py (StdExpPathPrinter): Add.
2600 * src/Makefile.am (SUBDIRS): Add filesystem.
2601 * src/Makefile.in: Regenerate.
2602 * src/filesystem/Makefile.am: New.
2603 * src/filesystem/Makefile.in: New.
2604 * src/filesystem/dir.cc: New.
2605 * src/filesystem/ops.cc: New.
2606 * src/filesystem/path.cc: New.
2607 * testsuite/experimental/filesystem/operations/absolute.cc: New.
2608 * testsuite/experimental/filesystem/operations/copy.cc: New.
2609 * testsuite/experimental/filesystem/operations/current_path.cc: New.
2610 * testsuite/experimental/filesystem/path/append/path.cc: New.
2611 * testsuite/experimental/filesystem/path/assign/assign.cc: New.
2612 * testsuite/experimental/filesystem/path/assign/copy.cc: New.
2613 * testsuite/experimental/filesystem/path/compare/compare.cc: New.
2614 * testsuite/experimental/filesystem/path/compare/path.cc: New.
2615 * testsuite/experimental/filesystem/path/compare/strings.cc: New.
2616 * testsuite/experimental/filesystem/path/concat/path.cc: New.
2617 * testsuite/experimental/filesystem/path/concat/strings.cc: New.
2618 * testsuite/experimental/filesystem/path/construct/copy.cc: New.
2619 * testsuite/experimental/filesystem/path/construct/default.cc: New.
2620 * testsuite/experimental/filesystem/path/construct/locale.cc: New.
2621 * testsuite/experimental/filesystem/path/construct/range.cc: New.
2622 * testsuite/experimental/filesystem/path/decompose/extension.cc: New.
2623 * testsuite/experimental/filesystem/path/decompose/filename.cc: New.
2624 * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
2626 * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
2628 * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
2630 * testsuite/experimental/filesystem/path/decompose/root_name.cc:
2632 * testsuite/experimental/filesystem/path/decompose/root_path.cc:
2634 * testsuite/experimental/filesystem/path/decompose/stem.cc: New.
2635 * testsuite/experimental/filesystem/path/generic/generic_string.cc:
2637 * testsuite/experimental/filesystem/path/itr/traversal.cc: New.
2638 * testsuite/experimental/filesystem/path/modifiers/clear.cc: New.
2639 * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
2641 * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
2643 * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
2645 * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
2647 * testsuite/experimental/filesystem/path/modifiers/swap.cc: New.
2648 * testsuite/experimental/filesystem/path/nonmember/hash_value.cc: New.
2649 * testsuite/experimental/filesystem/path/query/empty.cc: New.
2650 * testsuite/experimental/filesystem/path/query/has_extension.cc: New.
2651 * testsuite/experimental/filesystem/path/query/has_filename.cc: New.
2652 * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
2654 * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
2656 * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
2658 * testsuite/experimental/filesystem/path/query/has_root_name.cc:
2660 * testsuite/experimental/filesystem/path/query/has_root_path.cc:
2662 * testsuite/experimental/filesystem/path/query/has_stem.cc: New.
2663 * testsuite/experimental/filesystem/path/query/is_relative.cc: New.
2664 * testsuite/util/testsuite_fs.h: New.
2666 2015-04-30 Edward Smith-Rowland <3dw4rd@verizon.net>
2668 Add fundamentals TR container erasure.
2669 * include/Makefile.am: Add new headers.
2670 * include/Makefile.in: Add new headers.
2671 * include/experimental/array: New.
2672 * include/experimental/deque: New.
2673 * include/experimental/erase_if.tcc: New.
2674 * include/experimental/forward_list: New.
2675 * include/experimental/list: New.
2676 * include/experimental/map: New.
2677 * include/experimental/set: New.
2678 * include/experimental/string: New.
2679 * include/experimental/unordered_map: New.
2680 * include/experimental/unordered_set: New.
2681 * include/experimental/vector: New.
2682 * testsuite/experimental/deque/erasure.cc: New.
2683 * testsuite/experimental/forward_list/erasure.cc: New.
2684 * testsuite/experimental/list/erasure.cc: New.
2685 * testsuite/experimental/map/erasure.cc: New.
2686 * testsuite/experimental/set/erasure.cc: New.
2687 * testsuite/experimental/string/erasure.cc: New.
2688 * testsuite/experimental/unordered_map/erasure.cc: New.
2689 * testsuite/experimental/unordered_set/erasure.cc: New.
2690 * testsuite/experimental/vector/erasure.cc: New.
2692 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
2694 * include/bits/cpp_type_traits.h
2695 (__gnu_cxx::__is_normal_iterator): Delete.
2696 * include/bits/stl_algobase.h (std::__niter_base): Adapt.
2697 * include/bits/stl_iterator.h (__make_reverse_iterator): New in C++11.
2698 (std::__niter_base): Overloads for std::reverse_iterator,
2699 __gnu_cxx::__normal_iterator and std::move_iterator.
2701 2015-04-30 François Dumont <fdumont@gcc.gnu.org>
2703 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_S_n_primes):
2705 * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt):
2706 Remove usage of latter and compute size of the prime numbers array
2709 2015-04-29 Doug Evans <dje@google.com>
2712 * python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
2713 Replace all lookups of "bool" with this.
2714 (get_std_size_type): New function. Replace all lookups of std::size_t
2716 (*Worker): New method get_result_type.
2717 (DequeWorkerBase.__init__): New arg val_type. All callers updated.
2718 (ListWorkerBase.__init__): New arg val_type. All callers updated.
2719 (UniquePtrGetWorker.__init__): New arg elem_type. All callers updated.
2720 Delete setting of name, enabled.
2721 (UniquePtrDerefWorker.__init__): New arg elem_type. All callers
2722 updated. Delete setting of name.
2723 (UniquePtrMethodsMatcher): Rewrite for consistency with all other
2724 libstdc++ xmethod matchers.
2725 * testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
2726 * testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
2727 * testsuite/libstdc++-xmethods/deque.cc: Ditto.
2728 * testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
2729 * testsuite/libstdc++-xmethods/list.cc: Ditto.
2730 * testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
2731 * testsuite/libstdc++-xmethods/vector.cc: Ditto.
2733 2015-04-29 Doug Evans <dje@google.com>
2735 Use consistent naming for value type attributes.
2736 * python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
2738 (ArraySizeWorker, ArrayEmptyWorker): Ditto.
2739 (ArrayFrontWorker, ArrayBackWorker): Ditto.
2740 (ArrayAtWorker, ArraySubscriptWorker): Ditto.
2741 (DequeWorkerBase): Rename elemtype to val_type.
2742 (ForwardListWorkerBase): Rename _elem_type to _val_type.
2743 (ForwardListFrontWorker): Ditto. And rename elem_address to
2745 (ForwardListMethodsMatcher): Rename elem_type to val_type.
2746 (VectorWorkerBase): Rename _elemtype to _val_type.
2748 2015-04-29 Jonathan Wakely <jwakely@redhat.com>
2751 * include/std/functional (__check_func_return_type): Use is_same to
2752 avoid using _is_convertible on incomplete types.
2753 * testsuite/20_util/function/65760.cc: New.
2756 * include/bits/basic_string (basic_string::_S_copy_chars): Cast
2758 * include/bits/locale_facets_nonio.tcc (money_get::_M_extract,
2759 time_get::_M_extract_num, time_get::_M_extract_name,
2760 time_get::_M_extract_wday_or_month): Likewise.
2761 * include/bits/stl_algo.h (__includes, __replace_copy_if,
2762 __is_sorted_until, __is_permutation, transform): Likewise.
2763 * include/bits/stl_algobase.h (swap_ranges, __copy_move::__copy_m,
2764 __equal::equal, __lexicographical_compare_impl, equal): Likewise.
2765 * include/bits/stl_numeric.h (inner_product): Likewise.
2766 * include/bits/stl_uninitialized.h (__uninitialized_copy_a): Likewise.
2767 * testsuite/util/testsuite_iterators.h (output_iterator_wrapper,
2768 input_iterator_wrapper): Declare unusable comma operator.
2769 * testsuite/21_strings/basic_string/cons/char/64657.cc: New.
2770 * testsuite/21_strings/basic_string/modifiers/assign/char/64657.cc:
2773 2015-04-28 Doug Evans <dje@google.com>
2775 * testsuite/libstdc++-xmethods/list.cc (_GLIBCXX_USE_CXX11_ABI):
2778 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
2780 * include/bits/stl_algo.h (random_shuffle): Only define for hosted
2783 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
2785 * Makefile.am (SUBDIRS): Move python to hosted_source.
2786 * Makefile.in: Regenerate.
2787 * acinclude.m4 (glibcxx_SUBDIRS): Reorder.
2788 * configure: Regenerate.
2790 2015-04-28 Marc Glisse <marc.glisse@inria.fr>
2793 * include/std/limits (numeric_limits): Add missing unsigned.
2795 2015-04-28 Stephan Bergmann <sbergman@redhat.com>
2797 * include/debug/vector (_Safe_vector::operator=): Add missing returns.
2799 2015-04-28 Jonathan Wakely <jwakely@redhat.com>
2802 * include/std/type_traits (__make_unsigned_selector<_Tp, false, true>):
2803 Handle enumeration types larger than sizeof(long).
2804 (__make_signed_selector<_Tp, false, true>): Find unsigned type then
2806 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error.
2807 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
2809 * testsuite/20_util/make_signed/requirements/typedefs-3.cc: New.
2810 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Adjust
2812 * testsuite/20_util/make_unsigned/requirements/typedefs-3.cc: New.
2815 * include/bits/forward_list.h (forward_list::splice_after): Add
2817 * include/bits/forward_list.tcc (forward_list::splice_after):
2821 * include/bits/random.h (seed_seq) Define copy constructor and copy
2822 assignment as deleted.
2823 * testsuite/26_numerics/random/seed_seq/cons/65631.cc: New.
2825 * libsupc++/exception (uncaught_exceptions): Add comment. Reorder #if.
2826 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc:
2827 Use -std=gnu++1z. Check feature-test macro.
2829 * include/std/type_traits (void_t): Add.
2830 * testsuite/20_util/void_t/1.cc: New.
2832 2015-04-28 Tim Shen <timshen@google.com>
2834 * include/bits/regex.tcc: Handle regex_constants::__polynomial.
2835 * include/bits/regex_automaton.tcc: Throw exception when parsing
2836 back-reference with flag __polynomial.
2837 * include/bits/regex_constants.h: Add extension flag
2838 syntax_option_type __polynomial.
2839 * bits/regex_executor.tcc: Still let BFS process ECMAScript.
2840 Alternative operation will be fixed in the coming refactoring.
2841 * testsuite/28_regex/algorithms/regex_search/61424.cc: Turn
2842 loose match_search_debug to use DFS only.
2844 2015-04-27 Sandra Loosemore <sandra@codesourcery.com>
2847 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale):
2848 Make the generated test program fail gracefully if the target
2849 doesn't support passing command-line arguments.
2851 2015-04-27 Federico Lenarduzzi <federico.lenarduzzi@tallertechnologies.com>
2852 Jonathan Wakely <jwakely@redhat.com>
2854 * libsupc++/eh_catch.cc (uncaught_exception, uncaught_exceptions):
2855 Return false or zero if the library is built without exceptions.
2856 * libsupc++/eh_term_handler.cc: Disable verbose terminate handler if
2857 the library is built without exceptions.
2859 2015-04-27 Ville Voutilainen <ville.voutilainen@gmail.com>
2861 * config/abi/pre/gnu.ver: Fix comment.
2863 Add support for std::uncaught_exceptions.
2864 * acinclude.m4: Bump libtool_VERSION.
2865 * config/abi/pre/gnu.ver: Export the new symbol.
2866 * configure: Regenerate.
2867 * libsupc++/eh_catch.cc (uncaught_exceptions): New.
2868 * libsupc++/exception (uncaught_exceptions): New.
2869 * testsuite/18_support/uncaught_exceptions/uncaught_exceptions.cc: New.
2870 * testsuite/util/testsuite_abi.cc: Add 3.4.22 as the latest version.
2872 2015-04-27 Dmitry Prokoptsev <dprokoptsev@gmail.com>
2873 Michael Hanselmann <public@hansmi.ch>
2876 * libsupc++/eh_ptr.cc (rethrow_exception): Increment count of
2877 uncaught exceptions.
2878 * testsuite/18_support/exception_ptr/62258.cc: New.
2880 2015-04-27 Jonathan Wakely <jwakely@redhat.com>
2882 * doc/xml/manual/extensions.xml: Add cross-reference.
2883 * doc/html/manual/ext_compile_checks.html: Regenerate.
2885 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
2887 * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define.
2888 * configure.host (os_include_dir): Set to "os/generic" for linux-musl*.
2890 2015-04-22 Renlin Li <renlin.li@arm.com>
2892 * testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
2893 * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
2894 * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
2895 * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
2896 * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.
2898 2015-04-21 Jonathan Wakely <jwakely@redhat.com>
2900 * doc/xml/manual/configure.xml: Update descriptions of options
2901 affecting dual ABI and add cross-references.
2902 * doc/xml/manual/strings.xml: Clarify that string isn't COW now.
2903 * doc/xml/manual/using.xml: Document ABI transition.
2904 * doc/html/*: Regenerate.
2906 * doc/xml/manual/abi.xml: Use uppercase for C++ Standard Library.
2907 * doc/xml/manual/using.xml: Document newer -std options. Use better
2908 examples of nested namespaces.
2910 2015-04-20 Jonathan Wakely <jwakely@redhat.com>
2912 * doc/xml/manual/concurrency_extensions.xml: Update documentation
2914 * doc/xml/manual/using.xml: Likewise. Improve markup.
2915 * doc/html/*: Regenerate.
2917 2015-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2919 * scripts/extract_symvers.pl: Ignore elfdump error output.
2921 2015-04-14 Marc Glisse <marc.glisse@inria.fr>
2924 * include/bits/stl_iterator_base_funcs.h (_List_iterator,
2925 _List_const_iterator): Declare.
2926 (__distance): Declare new overloads for _List_iterator and
2927 _List_const_iterator.
2928 * include/bits/stl_list.h (__distance): New overloads for
2929 _List_iterator and _List_const_iterator.
2930 * testsuite/23_containers/list/61347.cc: New testcase.
2932 2015-04-14 Jonathan Wakely <jwakely@redhat.com>
2934 * doc/xml/manual/evolution.xml: Fix typos.
2935 * doc/html/manual/api.html: Regenerate.
2937 2015-04-14 Hans-Peter Nilsson <hp@axis.com>
2939 * testsuite/29_atomics/atomic/62259.cc: Assert atomic
2940 alignment is larger-equal, not equal, to default alignment.
2942 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
2945 * config/abi/pre/gnu.ver: Export base object constructors for
2947 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
2948 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2949 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
2950 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
2951 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
2952 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
2953 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
2954 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
2955 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
2956 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
2957 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
2958 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
2959 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
2960 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
2961 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
2962 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2963 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
2964 * testsuite/27_io/basic_fstream/cons/base.cc: New.
2966 2015-04-13 Jonathan Wakely <jwakely@redhat.com>
2968 * doc/xml/manual/evolution.xml: Document changes since 4.5 release.
2969 * doc/html/*: Regenerate.
2971 2015-04-12 Uros Bizjak <ubizjak@gmail.com>
2973 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
2975 2015-04-10 Andreas Schwab <schwab@linux-m68k.org>
2977 * config/abi/post/ia64-linux-gnu/baseline_symbols.txt: Update.
2979 * config/abi/post/m68k-linux-gnu/baseline_symbols.txt: Update.
2981 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
2983 * doc/xml/manual/test.xml: Improve documentation on running a subset
2985 * doc/html/manual/test.html: Regenerate.
2987 2015-04-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2989 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update
2990 for GCC 5.1 release.
2991 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
2994 2015-04-10 Jonathan Wakely <jwakely@redhat.com>
2996 * include/std/shared_mutex (shared_timed_mutex): Add comments to
2997 explain the logic in the non-pthread_rwlock_t version.
2998 (_Mutex): Remove redundant type.
2999 (_M_n_readers): Rename to _S_max_readers.
3000 (_M_write_entered, _M_readers): New convenience functions.
3001 (lock, lock_shared, try_lock_shared, unlock_shared): Use convenience
3002 functions. Use predicates with condition variables. Simplify bitwise
3004 (try_lock_for, try_shared_lock_for): Convert duration to time_point
3005 and call try_lock_until or try_shared_lock_until respectively.
3006 (try_lock_until, try_shared_lock_until): Wait on the condition
3007 variables until the specified time passes.
3008 (unlock): Add Debug Mode assertion.
3009 (unlock_shared): Add Debug Mode assertion.
3010 * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: New.
3012 * include/std/shared_mutex (shared_timed_mutex): Only use
3013 pthread_rwlock_t when the POSIX Timeouts option is supported.
3014 * testsuite/30_threads/shared_lock/cons/5.cc: Remove
3015 dg-require-gthreads-timed.
3016 * testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
3017 * testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
3018 * testsuite/30_threads/shared_lock/locking/4.cc: Likewise.
3020 2015-04-09 H.J. Lu <hongjiu.lu@intel.com>
3022 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update.
3024 2015-04-09 Jonathan Wakely <jwakely@redhat.com>
3025 Richard Henderson <rth@redhat.com>
3028 * include/bits/atomic_base.h (__atomic_base<_ITp>): Increase
3030 * include/std/atomic (atomic): For types with a power of two size set
3031 alignment to at least the size.
3032 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
3033 * testsuite/29_atomics/atomic/65147.cc: New.
3034 * testsuite/29_atomics/atomic_integral/65147.cc: New.
3036 2015-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3038 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
3039 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
3040 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
3042 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3044 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Update.
3045 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
3046 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
3047 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Update.
3048 * config/abi/post/aarch64-linux-gnu/baseline_symbols.txt: Update.
3049 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Update.
3050 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Update.
3051 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
3053 2015-03-30 Jonathan Wakely <jwakely@redhat.com>
3056 * config/abi/pre/gnu.ver: Export operator+ for new strings.
3057 * testsuite/21_strings/basic_string/operators/char/65630.cc: New.
3058 * testsuite/21_strings/basic_string/operators/wchar_t/65630.cc: New.
3060 2015-03-28 Tim Shen <timshen@google.com>
3063 * include/bits/regex_constants.h: Use constexpr variables for flags.
3064 * testsuite/28_regex/constants/constexpr.cc: New testcase.
3066 2015-03-27 Jonathan Wakely <jwakely@redhat.com>
3069 * include/std/chrono: Add using-directive for literals to std::chrono.
3070 * testsuite/20_util/duration/literals/65499.cc: New.
3072 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
3076 * include/std/thread (this_thread::sleep_for): Check for negative
3078 (this_thread::sleep_until): Check for times in the past.
3079 * testsuite/30_threads/this_thread/58038.cc: New.
3080 * testsuite/30_threads/this_thread/60421.cc: New.
3082 2015-03-26 Jonathan Wakely <jwakely@redhat.com>
3086 * include/std/atomic (atomic<T>): Increase alignment for types with
3087 the same size as one of the integral types.
3088 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
3089 * testsuite/29_atomics/atomic/62259.cc: New.
3091 2015-03-26 Richard Henderson <rth@redhat.com>
3094 * include/bits/atomic_base.h (__atomic_base<T>::is_lock_free): Build
3095 a fake pointer indicating type alignment.
3096 (__atomic_base<T *>::is_lock_free): Likewise.
3097 * include/std/atomic (atomic<T>::is_lock_free): Likewise.
3099 2015-03-25 Alan Lawrence <alan.lawrence@arm.com>
3102 * testsuite/21_strings/basic_string/pthread33394.cc: Use
3103 dg-additional-options.
3105 2015-03-25 Paolo Carlini <paolo.carlini@oracle.com>
3108 * include/std/istream (operator>>(basic_istream<>&&, _Tp&): Revert
3110 * include/std/ostream (operator<<(basic_ostream<>&&, const _Tp&):
3112 * testsuite/27_io/rvalue_streams-2.cc: New.
3114 2015-03-24 Jonathan Wakely <jwakely@redhat.com>
3117 * testsuite/21_strings/basic_string/pthread33394.cc: Add test.
3119 2015-03-23 Jonathan Wakely <jwakely@redhat.com>
3122 * acinclude.m4: Disable dual ABI when gnu-versioned-namespace in use.
3123 * configure: Regenerate.
3124 * src/c++11/compatibility-c++0x.cc (error_category), generic_category,
3125 system_category): Use macros for versioned namespace.
3126 * src/c++11/futex.cc: Add missing end macro for versioned namespace.
3128 2015-03-20 James Greenhalgh <james.greenhalgh@arm.com>
3130 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable
3131 test for unused for ARM.
3132 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise.
3133 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
3135 2015-03-20 Jonathan Wakely <jwakely@redhat.com>
3137 * include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace.
3138 * include/ext/codecvt_specializations.h (encoding_state,
3139 encoding_char_traits): Remove abi-tag and use inline namespace.
3140 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line.
3142 2015-03-19 Jason Merrill <jason@redhat.com>
3144 * config/locale/gnu/messages_members.cc: Revert abi-tag change.
3145 * src/c++11/cxx11-shim_facets.cc: Revert abi-tag change.
3147 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
3150 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs,
3151 get_catalogs): Add abi-tag.
3152 * include/ext/codecvt_specializations.h (encoding_state,
3153 encoding_char_traits): Likewise.
3154 * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise.
3155 * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string,
3156 numpunct_shim, collate_shim, time_get_shim, moneypunct_shim,
3157 money_get_shim, money_put_shim, messages_shim): Likewise.
3158 * src/c++11/future.cc (future_error_category::message): Likewise.
3159 * src/c++11/system_error.cc (generic_error_category::message,
3160 system_error_category::message): Likewise.
3161 (__sso_string): Disable -Wabi-tag warnings.
3163 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
3166 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback
3167 implementation for old glibc. Fix whitespace.
3169 2015-03-18 Jonathan Wakely <jwakely@redhat.com>
3170 Torvald Riegel <triegel@redhat.com>
3172 * acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Check for pthread_rwlock_t.
3173 * config.h.in: Regenerate.
3174 * configure: Regenerate.
3175 * include/std/shared_mutex: Check _GLIBCXX_USE_PTHREAD_RWLOCK_T.
3176 (shared_timed_mutex::_M_rwlock): Use PTHREAD_RWLOCK_INITIALIZER.
3177 (shared_timed_mutex::lock_shared()): Retry on EAGAIN.
3178 (shared_timed_mutex::try_lock_shared_until()): Retry on EAGAIN and
3181 2015-03-17 Jonathan Wakely <jwakely@redhat.com>
3183 * libsupc++/nested_exception.h: Do not try to derive from final
3185 * testsuite/18_support/nested_exception/throw_with_nested.cc: Test
3188 * testsuite/30_threads/shared_lock/modifiers/1.cc: Remove name of
3189 unused exception variable.
3190 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
3191 * testsuite/30_threads/shared_lock/modifiers/2.cc: Remove duplicate
3193 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
3195 2015-03-13 Jonathan Wakely <jwakely@redhat.com>
3197 * acinclude.m4: Make --enable-libstdcxx-time=auto work for dragonfly.
3198 * configure: Regenerate.
3200 * include/experimental/system_error: Fix include guard.
3202 2015-03-12 Renlin Li <renlin.li@arm.com>
3204 * testsuite/27_io/ios_base/sync_with_stdio/1.cc: Remove xfail for
3207 2015-03-10 Tim Shen <timshen@google.com>
3210 * include/bits/regex.h (match_results<>::size,
3211 match_results<>::position, match_results<>::str,
3212 match_results<>::operator[], match_results<>::prefix,
3213 match_results<>::suffix, match_results<>::end,
3214 match_results<>::_M_resize, match_results<>::_M_unmatched_sub,
3215 match_results<>::_M_prefix, match_results<>::_M_suffix): Remove
3216 global __unmatched_sub. Add unmatched submatch as part of
3218 * include/bits/regex.tcc (__regex_algo_impl<>, regex_replace<>,
3219 regex_iterator<>::operator++): Adjust to use match_results::_M_prefix.
3220 * testsuite/28_regex/match_results/out_of_range_submatches.cc:
3223 2015-03-09 Jonathan Wakely <jwakely@redhat.com>
3226 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline
3227 for newlib targets. Really fix mixed line-endings this time.
3229 2015-03-06 Jonathan Wakely <jwakely@redhat.com>
3231 * include/std/future (future_error(error_code)): Construct base
3232 class with error_code's message.
3233 * src/c++11/future.cc (future_error::what()): Do not call c_str() on
3236 2015-03-05 Jonathan Wakely <jwakely@redhat.com>
3238 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
3240 * testsuite/22_locale/conversions/string/2.cc: Also test UTF-8.
3241 * testsuite/22_locale/conversions/string/3.cc: Likewise, and UTF-16.
3243 2015-03-04 Jonathan Wakely <jwakely@redhat.com>
3246 * include/bits/locale_conv.h (wstring_convert::_M_conv): Handle
3247 incomplete multibyte sequences correctly.
3248 * include/std/codecvt (codecvt_utf8, codecvt_utf16,
3249 codecvt_utf8_utf16): Limit _Maxcode to maximum Unicode code point.
3250 * src/c++11/codecvt.cc (invalid_mb_sequence, incomplete_mb_character):
3252 (is_high_surrogate, is_low_surrogate, surrogate_pair_to_code_point):
3253 Define convenience functions.
3254 (read_utf8_code_point): Return relevant constant to distinguish
3255 incomplete characters from invalid sequences.
3256 (read_utf16_code_point): Likewise. Check for invalid sequences.
3257 (ucs4_in, utf16_in): Use incomplete_mb_character constant.
3258 (utf16_out): Check for invalid sequences.
3259 (utf16_span): Fix condition.
3260 (ucs2_out): Use is_high_surrogate.
3261 (ucs2_in): Use incomplete_mb_character constant and fix condition.
3262 * testsuite/22_locale/codecvt/char16_t.cc: Fix whitespace.
3263 * testsuite/22_locale/conversions/buffer/1.cc: New.
3264 * testsuite/22_locale/conversions/string/2.cc: Use char16_t and
3265 char32_t instead of wchar_t.
3266 * testsuite/22_locale/conversions/string/3.cc: New.
3268 2015-03-03 Iain Sandoe <iain@codesourcery.com>
3271 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
3272 visibility for Darwin.
3273 * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
3275 * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
3277 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
3280 * include/std/scoped_allocator (__inner_type_impl,
3281 scoped_allocator_adaptor): Add defaulted copy assignment and move
3282 assignment operators.
3283 * testsuite/20_util/scoped_allocator/65279.cc: New.
3285 2015-03-02 Jonathan Wakely <jwakely@redhat.com>
3288 * include/std/stdexcept (__sso_string): Don't use non-static member
3291 2015-02-28 Matthias Klose <doko@ubuntu.com>
3294 * python/libstdcxx/v6/__init__.py: Use explicit relative imports.
3296 2015-02-22 Jonathan Wakely <jwakely@redhat.com>
3298 * doc/xml/manual/status_cxx2011.xml: Remove duplicated information.
3299 * doc/html/manual/status.html: Regenerate.
3301 2015-02-20 Jonathan Wakely <jwakely@redhat.com>
3304 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new
3307 * doc/xml/manual/status_cxx2011.xml: Document implementation-defined
3309 * doc/html/manual/status.html: Regenerate.
3311 2015-02-19 Jonathan Wakely <jwakely@redhat.com>
3314 * include/bits/algorithmfwd.h (rotate): Move to inline namespace _V2.
3315 * include/bits/stl_algo.h (__rotate, rotate): Likewise.
3317 2015-02-19 Hans-Peter Nilsson <hp@axis.com>
3320 * testsuite/26_numerics/random/binomial_distribution/operators/values.cc
3321 (test01): Add explanatory comment. Keep only the bd1 sub-test and
3322 split out bd2, bd3, bd4, and bd5 sub-tests into...
3323 * testsuite/26_numerics/random/binomial_distribution/operators/values2.cc,
3324 testsuite/26_numerics/random/binomial_distribution/operators/values3.cc,
3325 testsuite/26_numerics/random/binomial_distribution/operators/values4.cc,
3326 testsuite/26_numerics/random/binomial_distribution/operators/values5.cc:
3327 New separate files with the old parts.
3329 2015-02-18 Jonathan Wakely <jwakely@redhat.com>
3331 * src/c++11/codecvt.cc (write_utf16_code_point): Fix code to output
3333 (utf16_in): Pass mode argument to write_utf16_code_point.
3334 (codecvt<char16_t, char, mbstate_t>::do_in): Set mode according to
3336 * testsuite/22_locale/codecvt/char16_t.cc: New.
3337 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Fix typo.
3339 * testsuite/22_locale/codecvt/char16_t.cc: Add dg-require-cstdint.
3340 * testsuite/22_locale/codecvt/char32_t.cc: Likewise.
3342 2015-02-17 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3343 Jonathan Wakely <jwakely@redhat.com>
3345 * testsuite/22_locale/codecvt/char32_t.cc: New.
3347 2015-02-17 Jonathan Wakely <jwakely@redhat.com>
3350 * include/bits/basic_string.h (basic_string(basic_string&&)): Ensure
3351 empty string gets null-terminated.
3352 * testsuite/21_strings/basic_string/cons/char/65085.cc: New.
3354 2015-02-13 Matthew Wahab <matthew.wahab@arm.com>
3356 * testsuite/28_regex/traits/char/isctype.cc (test01): Fix
3357 mixed line-endings introduced in last change.
3359 2015-02-12 Matthew Wahab <matthew.wahab@arm.com>
3361 * testsuite/28_regex/traits/char/isctype.cc (test01): Replace test
3362 for __NEWLIB__ macro with a dejagnu set macro.
3363 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
3365 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
3368 * testsuite/28_regex/traits/char/isctype.cc (test01): Add newlib
3369 special case for '\n'.
3370 * testsuite/28_regex/traits/wchar_t/isctype.cc (test01): Likewise.
3372 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
3374 * src/c++11/futex.cc: Do not define for gthr-single.h targets.
3376 2015-02-01 Jonathan Wakely <jwakely@redhat.com>
3379 * include/c_global/cstdio (gets): Use __deprecated__ attribute instead
3381 * include/c_std/cstdio (gets): Likewise.
3382 * testsuite/17_intro/headers/c++1998/all_attributes.cc: Avoid clashing
3383 with attributes used in darwin headers.
3385 2015-01-29 Jakub Jelinek <jakub@redhat.com>
3387 * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
3388 $vtv_cygmin = yes. Initialize vtv_cygmin=no unconditionally first.
3389 * configure: Regenerated.
3391 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
3393 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
3394 after vtv_cygmin is set.
3395 * configure: Regenerated.
3397 2015-01-29 Matthias Klose <doko@ubuntu.com>
3399 * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
3401 * configure: Regenerate.
3403 2015-01-29 Caroline Tice <cmtice@google.com>
3405 Committing VTV Cywin/Ming patch for Patrick Wollgast
3406 * configure: Regenerate.
3407 * libsupc++/Makefile.in: Regenerate.
3408 * src/Makefile.in: Regenerate.
3410 2015-01-29 Jonathan Wakely <jwakely@redhat.com>
3412 * include/bits/atomic_base.h: Use __always_inline__ instead of
3414 * include/bits/atomic_futex.h: Likewise.
3415 * include/bits/c++config: Use __abi_tag__ instead of abi_tag.
3416 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Use
3417 __packed__ instead of packed.
3418 * include/std/shared_mutex: Use __unused__ instead of unused.
3419 * testsuite/17_intro/headers/c++1998/all_attributes.cc: New.
3420 * testsuite/17_intro/headers/c++200x/all_attributes.cc: New.
3421 * testsuite/17_intro/headers/c++2014/all_attributes.cc: New.
3423 2015-01-28 Caroline Tice <cmtice@google.com>
3425 Committing VTV Cywin/Ming patch for Patrick Wollgast
3426 * acinclude.m4: Define VTV_CYGMIN.
3427 * libsupc++/Makefile.am: Add vtv_sources only to libsupc___la_SOURCES
3428 and libsupc__convenience_la_SOURCES if VTV_CYGMIN is not set.
3429 * libsupc++/vtv_stubs.cc: Add none weak declaration of every function
3430 for Cygwin and MinGW.
3431 * src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES, if
3432 VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
3433 libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
3435 2015-01-28 Jonathan Wakely <jwakely@redhat.com>
3438 * libsupc++/Makefile.am: Compile del_opvs.cc as C++14.
3439 * libsupc++/Makefile.in: Regenerate.
3440 * src/c++11/Makefile.in: Regenerate.
3442 2015-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3444 * testsuite/lib/libstdc++.exp (v3_target_compile): Remove
3445 check for unsupported.
3446 (v3_target_compile_as_c): Likewise.
3448 2015-01-28 Richard Biener <rguenther@suse.de>
3451 * libsupc++/eh_alloc.cc (struct allocated_entry): Align
3453 (pool::allocate): Adjust allocation size and alignment to
3455 (pool::free): Adjust pointer offsetting.
3457 2015-01-27 Jonathan Wakely <jwakely@redhat.com>
3460 * include/std/shared_mutex (shared_timed_mutex::try_lock_for,
3461 shared_timed_mutex::try_lock_until): Only define when POSIX thread
3462 timeouts option is supported.
3463 (shared_timed_mutex::try_shared_lock_for,
3464 shared_timed_mutex::try_shared_lock_until): Likewise.
3466 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
3469 * config/locale/gnu/numeric_members.cc (numpunct<char>::~numpunct(),
3470 numpunct<wchar_t>::~numpunct()): Do not set _M_data->_M_grouping.
3471 * src/c++11/cxx11-shim_facets.cc (numpunct_shim): Remove _M_grouping
3472 and use cache's _M_grouping field.
3473 (__numpunct_fill_cache): Likewise.
3474 (__moneypunct_fill_cache): Improve comments.
3476 2015-01-26 Jonathan Wakely <jwakely@redhat.com>
3478 * testsuite/23_containers/set/operations/2.cc: Add test for
3479 non-transparent comparison function.
3481 2015-01-25 Oleg Endo <olegendo@gcc.gnu.org>
3484 * config/cpu/sh/atomicity.h (__exchange_and_add, __atomic_add):
3485 Remove SH4A inline asm and lock based implementations and use the
3486 defaults from ext/atomicity.h.
3488 2015-01-23 Jonathan Wakely <jwakely@redhat.com>
3490 * config/abi/pre/gnu.ver: Tighten GLIBCXX_3.4 patterns to not match
3491 new std::string constructors for byname facets.
3493 2015-01-22 Richard Biener <rguenther@suse.de>
3496 * libsupc++/eh_alloc.cc: Include new.
3497 (bitmask_type): Remove.
3498 (one_buffer): Likewise.
3499 (emergency_buffer): Likewise.
3500 (emergency_used): Likewise.
3501 (dependents_buffer): Likewise.
3502 (dependents_used): Likewise.
3503 (class pool): New custom fixed-size arena, variable size object
3505 (emergency_pool): New global.
3506 (__cxxabiv1::__cxa_allocate_exception): Use new emergency_pool.
3507 (__cxxabiv1::__cxa_free_exception): Likewise.
3508 (__cxxabiv1::__cxa_allocate_dependent_exception): Likewise.
3509 (__cxxabiv1::__cxa_free_dependent_exception): Likewise.
3511 2015-01-22 Tim Shen <timshen@google.com>
3514 * include/bits/regex.h (basic_regex<>::basic_regex,
3515 basic_regex<>::operator=, basic_regex<>::imbue): Conform to the
3517 * testsuite/28_regex/basic_regex/assign/char/cstring.cc: New testcase.
3519 2015-01-22 Tim Shen <timshen@google.com>
3522 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
3523 regex_traits<>::lookup_classname): Correctly narrow input chars.
3524 * testsuite/28_regex/traits/wchar_t/user_defined.cc: New testcase.
3526 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
3528 * config/abi/pre/gnu.ver: Use [jmy] for size_t parameters.
3530 2015-01-21 Jonathan Wakely <jwakely@redhat.com>
3532 * testsuite/29_atomics/atomic/64658.cc: Test stored value.
3534 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3536 * doc/xml/manual/status_cxx2011.xml: Remove stray dbhtml tags.
3537 * doc/xml/manual/status_cxx2014.xml: Update status.
3538 * doc/html/manual/status.html: Regenerate.
3540 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3543 * include/experimental/optional (bad_optional_access): Add default
3545 * testsuite/experimental/optional/requirements.cc: Test for default
3548 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3550 * include/bits/stl_map.h (map::find<>, map::count<>,
3551 map::lower_bound<>, map::upper_bound<>, map::equal_range<>): New
3552 member function templates to perform heterogeneous lookup.
3553 * include/bits/stl_multimap.h (multimap::find<>, multimap::count<>,
3554 multimap::lower_bound<>, multimap::upper_bound<>,
3555 multimap::equal_range<>): Likewise.
3556 * include/bits/stl_multiset.h (multiset::find<>, multiset::count<>,
3557 multiset::lower_bound<>, multiset::upper_bound<>,
3558 multiset::equal_range<>): Likewise.
3559 * include/bits/stl_set.h (set::find<>, set::count<>,
3560 set::lower_bound<>, set::upper_bound<>, set::equal_range<>): Likewise.
3561 * include/bits/stl_tree.h (_Rb_tree::_S_lower_bound_tr,
3562 _Rb_tree::_S_upper_bound_tr, _Rb_tree::_M_find_tr,
3563 _Rb_tree::_M_count_tr, _Rb_tree::_M_lower_bound_tr,
3564 _Rb_tree::_M_upper_bound_tr, _Rb_tree::_M_equal_range_tr): Likewise.
3565 * testsuite/23_containers/map/operations/2.cc: New.
3566 * testsuite/23_containers/multimap/operations/2.cc: New.
3567 * testsuite/23_containers/multiset/operations/2.cc: New.
3568 * testsuite/23_containers/set/operations/2.cc: New.
3570 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3572 * config/abi/pre/gnu.ver: Export new constructors.
3573 * include/bits/codecvt.h (codecvt_byname): Add string constructor.
3574 (codecvt_byname<char16_t>, codecvt_byname<char32_t>): Define explicit
3575 specializations and declare explicit instantiations.
3576 * include/bits/locale_classes.h (locale, collate_byname): Add string
3578 * include/bits/locale_facets.h (ctype_byname, numpunct_byname):
3580 * include/bits/locale_facets_nonio.h (time_get_byname,
3581 time_put_byname, moneypunct_byname, messages_byname): Likewise.
3582 * src/c++11/codecvt.cc (codecvt_byname<char16_t>,
3583 codecvt_byname<char32_t>): Define explicit instantiations.
3584 * src/c++11/locale-inst.cc (time_put_byname, codecvt_byname):
3585 Instantiate string constructors.
3586 (ctype_byname): Define string constructor.
3587 * testsuite/22_locale/codecvt_byname/1.cc: New.
3588 * testsuite/22_locale/collate_byname/1.cc: New.
3589 * testsuite/22_locale/ctype_byname/2.cc: New.
3590 * testsuite/22_locale/messages_byname/1.cc: New.
3591 * testsuite/22_locale/moneypunct_byname/1.cc: New.
3592 * testsuite/22_locale/numpunct_byname/1.cc: New.
3594 2015-01-20 Jonathan Wakely <jwakely@redhat.com>
3597 * include/std/atomic (atomic_init): Define.
3598 * testsuite/29_atomics/atomic/64658.cc: New.
3600 2015-01-19 Tim Shen <timshen@google.com>
3603 * include/bits/regex.tcc (regex_traits<>::lookup_collatename,
3604 regex_traits<>::lookup_classname): Support forward iterators.
3605 * testsuite/28_regex/traits/char/lookup_classname.cc: New testcases.
3606 * testsuite/28_regex/traits/char/lookup_collatename.cc: New testcase.
3608 2015-01-19 Tim Shen <timshen@google.com>
3612 * include/bits/regex.h (basic_regex<>::basic_regex,
3613 basic_regex<>::assign, basic_regex<>::imbue,
3614 basic_regex<>::swap, basic_regex<>::mark_count): Drop NFA after
3615 imbuing basic_regex; Make assign() transactional against exception.
3616 * include/bits/regex_compiler.h (__compile_nfa<>): Add back
3617 __compile_nfa SFINAE.
3618 * include/std/regex: Adjust include order to avoid __compile_nfa
3619 forward declaration.
3620 * testsuite/28_regex/basic_regex/assign/char/string.cc: New testcase.
3621 * testsuite/28_regex/basic_regex/imbue/string.cc: New testcase.
3623 2015-01-19 Ville Voutilainen <ville.voutilainen@gmail.com>
3624 Jonathan Wakely <jwakely@redhat.com>
3626 * include/bits/range_access.h (begin, end): Use _GLIBCXX14_CONSTEXPR
3627 on overloads for arrays.
3628 (cbegin, cend, rbegin, rend, crbegin, crend): New.
3629 * testsuite/24_iterators/range_access_cpp14.cc: New.
3631 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
3634 * include/bits/stl_algo.h (__is_permutation): Also test for reaching
3635 end of the second range.
3636 * testsuite/25_algorithms/is_permutation/64646.cc: New.
3638 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
3640 * doc/xml/manual/status_cxx2011.xml: Remove note about offsetof.
3641 * doc/html/manual/status.html: Regenerate.
3643 2015-01-18 Jonathan Wakely <jwakely@redhat.com>
3645 * include/bits/atomic_futex.h: Use mutex and condition_variable when
3646 atomic int is not lock-free. Make member variables private.
3647 * src/c++11/futex.cc: Likewise.
3649 * src/c++11/futex.cc: Fix order of includes and preprocessor condition.
3651 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3654 * include/bits/atomic_futex.h: Use appropriate config macros for
3655 availability of std::mutex, std::condition and std::chrono.
3657 2015-01-17 Ville Voutilainen <ville.voutilainen@gmail.com>
3658 Jonathan Wakely <jwakely@redhat.com>
3660 * doc/xml/manual/status_cxx2011.xml: Update C++11 status.
3661 * doc/html/*: Regenerate.
3663 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3667 * include/bits/algorithmfwd.h (rotate): Return an iterator.
3668 * include/bits/stl_algo.h (rotate, __rotate): Likewise.
3669 * testsuite/25_algorithms/rotate/dr488.cc: New.
3670 * testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
3671 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
3673 * testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
3676 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3679 * include/bits/atomic_base.h: Remove atomic integral typedefs as
3680 synonyms for __atomic_base<int> etc.
3681 * include/std/atomic: Make atomic_int a synonym for atomic<int> and
3682 likewise for all atomic integral types.
3683 * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
3684 * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.
3686 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3689 * include/std/tuple (_Tuple_impl): Remove zero-element specialization
3690 and define one-element specialization.
3691 * testsuite/20_util/tuple/56785.cc: New.
3693 2015-01-17 Jonathan Wakely <jwakely@redhat.com>
3695 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc:
3696 Remove unused header.
3697 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc:
3699 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
3702 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
3704 * include/bits/locale_conv.h (wstring_convert, wbuffer_convert): New.
3705 * include/std/locale: Include new header.
3706 * include/Makefile.am: Add it.
3707 * include/Makefile.in: Regenerate.
3708 * testsuite/22_locale/conversions/buffer/requirements/typedefs.cc: New.
3709 * testsuite/22_locale/conversions/string/1.cc: New.
3710 * testsuite/22_locale/conversions/string/2.cc: New.
3711 * testsuite/22_locale/conversions/string/requirements/typedefs.cc: New.
3712 * testsuite/22_locale/conversions/string/requirements/typedefs-2.cc:
3715 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
3717 * config/abi/pre/gnu.ver: Export new symbols.
3718 * include/Makefile.am: Add codecvt.
3719 * include/Makefile.in: Regenerate.
3720 * include/std/codecvt: New header.
3721 * src/c++11/codecvt.cc (__codecvt_utf8_base, __codecvt_utf16_base,
3722 __codecvt_utf8_utf16_base): Define specializations.
3723 * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: New.
3724 * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: New.
3725 * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc:
3728 2015-01-16 Torvald Riegel <triegel@redhat.com>
3730 * src/c++11/futex.cc: New file.
3731 * include/bits/atomic_futex.h: New file.
3732 * include/std/future (__future_base::_State_baseV2): Use
3733 atomic_futex_unsigned instead of mutex+condvar.
3734 * src/c++11/futex.cc: Likewise.
3735 * include/Makefile.am: Add atomic_futex.h.
3736 * include/Makefile.in: Likewise.
3737 * src/c++11/Makefile.am: Add futex.cc.
3738 * src/c++11/Makefile.in: Likewise.
3740 2015-01-16 Jonathan Wakely <jwakely@redhat.com>
3742 * acinclude.m4: Fix typo in comment.
3743 * configure: Regenerate.
3744 * include/bits/codecvt.h (codecvt<char16_t, char, mbstate_t>,
3745 codecvt<char16_t, char, mbstate_t>): Declare specializations.
3746 * include/bits/locale_facets.h: Reserve space for new specializations.
3747 * src/c++11/Makefile.am: Add codecvt.cc.
3748 * src/c++11/Makefile.in: Regenerate.
3749 * src/c++11/codecvt.cc: New.
3750 * src/c++98/Makefile.am: Compile locale_init.cc and localename.cc
3752 * src/c++98/Makefile.in: Regenerate.
3753 * src/c++98/locale_init.cc: Initialize new codecvt specializations.
3754 * src/c++98/localename.cc: Likewise.
3755 * config/abi/pre/gnu.ver: Exports for new codecvt specializations.
3756 * testsuite/22_locale/codecvt/utf8.cc: New.
3757 * testsuite/22_locale/locale/cons/unicode.cc: Check that new
3758 specializations are installed in locale objects.
3760 2015-01-16 Torvald Riegel <triegel@redhat.com>
3762 * include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
3765 2015-01-13 Jonathan Wakely <jwakely@redhat.com>
3768 * config/abi/pre/gnu.ver: Export fstream functions using new string.
3770 2015-01-12 Jonathan Wakely <jwakely@redhat.com>
3773 * src/c++11/cxx11-shim_facets.cc (locale::facet::_M_sso_shim): Check
3777 * src/c++11/cxx11-shim_facets.cc: Check for wchar_t support.
3779 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
3781 * doc/xml/manual/parallel_mode.xml: Update for libgomp being
3782 renamed from "GNU OpenMP Runtime Library" to "GNU Offloading and
3783 Multi Processing Runtime Library".
3785 2015-01-09 Jonathan Wakely <jwakely@redhat.com>
3788 * include/bits/stl_uninitialized.h (uninitialized_copy): Fix
3789 is_assignable arguments.
3790 * testsuite/20_util/specialized_algorithms/uninitialized_copy/64476.cc:
3793 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3795 * libsupc++/unwind-cxx.h: Revert previous commit.
3797 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3799 * configure.host: Add arm*-*-freebsd* port_specific_symbol_files.
3801 2015-01-09 Tim Shen <timshen@google.com>
3804 * include/bits/regex.h (match_results<>::swap): Use std::swap
3806 * include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
3808 * testsuite/28_regex/match_results/swap.cc: New testcase.
3810 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
3813 * include/std/type_traits (has_trivial_default_constructor,
3814 has_trivial_copy_constructor, has_trivial_copy_assign): Add deprecated
3816 * testsuite/20_util/has_trivial_copy_assign/requirements/
3817 explicit_instantiation.cc: Use -Wno-deprecated.
3818 * testsuite/20_util/has_trivial_copy_assign/requirements/typedefs.cc:
3820 * testsuite/20_util/has_trivial_copy_assign/value.cc: Likewise.
3821 * testsuite/20_util/has_trivial_copy_constructor/requirements/
3822 explicit_instantiation.cc: Likewise.
3823 * testsuite/20_util/has_trivial_copy_constructor/requirements/
3824 typedefs.cc: Likewise.
3825 * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise.
3826 * testsuite/20_util/has_trivial_default_constructor/requirements/
3827 explicit_instantiation.c: Likewise.
3828 * testsuite/20_util/has_trivial_default_constructor/requirements/
3829 typedefs.cc: Likewise.
3830 * testsuite/20_util/has_trivial_default_constructor/value.cc:
3832 * testsuite/20_util/pair/requirements/dr801.cc: Replace deprecated
3834 * testsuite/20_util/tuple/requirements/dr801.cc: Likewise.
3835 * testsuite/util/testsuite_common_types.h: Likewise.
3837 2015-01-08 Jonathan Wakely <jwakely@redhat.com>
3839 * include/bits/hashtable_policy.h: Use __bool_constant.
3841 2015-01-07 Jonathan Wakely <jwakely@redhat.com>
3843 * libsupc++/Makefile.am: Compile del_ops.cc as C++14.
3844 * libsupc++/Makefile.in: Regenerate.
3846 2015-01-06 Jonathan Wakely <jwakely@redhat.com>
3848 * config/abi/pre/gnu.ver: Fix version conflict for std::locale::name().
3850 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3852 Update copyright years.
3854 2015-01-04 Jonathan Wakely <jwakely@redhat.com>
3857 * testsuite/18_support/exception_ptr/64241.cc: Use
3858 dg-require-atomic-builtins.
3860 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3862 * testsuite/21_strings/basic_string/modifiers/64422.cc: Fix copyright
3865 2015-01-02 Tim Shen <timshen@google.com>
3868 * include/bits/regex_executor.tcc (_Executor<>::_M_dfs): Copy the
3869 iterator, since the original one shouldn't be mutated.
3871 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3874 * src/c++98/misc-inst.cc (string::erase): Add missing overloads.
3875 (string::insert): Likewise.
3876 (string::replace): Likewise.
3877 (wstring::erase): Likewise.
3878 (wstring::insert): Likewise.
3879 (wstring::replace): Likewise.
3880 * testsuite/21_strings/basic_string/modifiers/64422.cc: New testcase.
3882 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3885 * doc/doxygen/user.cfg.in: Set correct TAB_SIZE.
3887 2015-01-02 Jonathan Wakely <jwakely@redhat.com>
3890 * testsuite/21_strings/basic_string/numeric_conversions/char/dr1261.cc:
3891 Revert removal of dg-require-string-conversions.
3892 * testsuite/21_strings/basic_string/numeric_conversions/char/stod.cc:
3894 * testsuite/21_strings/basic_string/numeric_conversions/char/stof.cc:
3896 * testsuite/21_strings/basic_string/numeric_conversions/char/stoi.cc:
3898 * testsuite/21_strings/basic_string/numeric_conversions/char/stol.cc:
3900 * testsuite/21_strings/basic_string/numeric_conversions/char/stold.cc:
3902 * testsuite/21_strings/basic_string/numeric_conversions/char/stoll.cc:
3904 * testsuite/21_strings/basic_string/numeric_conversions/char/stoul.cc:
3906 * testsuite/21_strings/basic_string/numeric_conversions/char/
3907 stoull.cc: Likewise.
3908 * testsuite/21_strings/basic_string/numeric_conversions/char/
3909 to_string.cc: Likewise.
3911 Copyright (C) 2015 Free Software Foundation, Inc.
3913 Copying and distribution of this file, with or without modification,
3914 are permitted in any medium without royalty provided the copyright
3915 notice and this notice are preserved.