lwg-active.html: Remove.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2017-02-07 Gerald Pfeifer <gerald@pfeifer.com>
2
3 * doc/html/ext/lwg-active.html: Remove.
4 * doc/html/ext/lwg-closed.html: Ditto.
5 * doc/html/ext/lwg-defects.html: Ditto.
6
7 * doc/Makefile.am (xml_extradir): Remove.
8 (xml_extra): Ditto.
9 (stamp-html-docbook-lwg): Remove recipe...
10 (stamp-html-docbook-data): ...and its use here.
11 * doc/Makefile.in: Regenerate.
12
13 * doc/xml/manual/intro.xml: Shorten two paragraphs explaining
14 the relationship to the upstream working group.
15 Replace a local link to ../ext/lwg-active.html by the upstream one.
16 Replace all reference to ../ext/lwg-defects.html by a new entity
17 &DR; which refers to the upstream address.
18
19 2017-02-07 Gerald Pfeifer <gerald@pfeifer.com>
20
21 * doc/xml/manual/status_cxx2017.xml: Fix link to N4284.
22
23 2017-02-06 Jonathan Wakely <jwakely@redhat.com>
24
25 PR libstdc++/79323
26 * testsuite/20_util/duration/literals/range.cc: Prune extra output
27 at -O0.
28
29 2017-02-06 Gerald Pfeifer <gerald@pfeifer.com>
30
31 * doc/xml/manual/documentation_hacking.xml: Update URL of the
32 DocBook Element Reference. Use that term as link description
33 instead of "online".
34 epubcheck has moved to GitHub.
35 Remove obsolete link to DocBook Publishing Tools.
36
37 2017-02-03 Jonathan Wakely <jwakely@redhat.com>
38
39 PR libstdc++/66145
40 * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Restore ABI override
41 so new ios::failure can be caught even when old ABI is the default.
42 * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
43 * testsuite/27_io/basic_istream/extractors_arithmetic/char/
44 exceptions_failbit.cc: Likewise.
45 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
46 exceptions_failbit.cc: Likewise.
47 * testsuite/27_io/basic_istream/extractors_other/char/
48 exceptions_null.cc: Likewise.
49 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
50 exceptions_null.cc: Likewise.
51 * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
52 * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
53 * testsuite/27_io/basic_ostream/inserters_other/char/
54 exceptions_null.cc: Likewise.
55 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
56 exceptions_null.cc: Likewise.
57 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
58
59 PR libstdc++/60936
60 * src/c++11/Makefile.am: Add new files.
61 * src/c++11/Makefile.in: Regenerate.
62 * src/c++11/cow-string-inst.cc [!_GLIBCXX_USE_CXX11_ABI]
63 (operator<<, operator>>, getline): Move explicit instantiations to ...
64 * src/c++11/cow-string-io-inst.cc: ... new file.
65 * src/c++11/cow-wstring-inst.cc [!_GLIBCXX_USE_CXX11_ABI]
66 (operator<<, operator>>, getline): Move explicit instantiations to ...
67 * src/c++11/cow-wstring-io-inst.cc: ... new file.
68 * src/c++11/functexcept.cc (__throw_ios_failure, __throw_system_error)
69 (__throw_future_error, __throw_bad_function_call):
70 (__throw_regex_error): Move functions for C++11 exceptions to the
71 files that define the exception types.
72 * src/c++11/functional.cc (__throw_bad_function_call): Move here.
73 * src/c++11/future.cc (__throw_future_error): Likewise.
74 * src/c++11/ios.cc (__throw_ios_failure): Likewise.
75 * src/c++11/regex.cc (__throw_regex_error): Likewise.
76 * src/c++11/snprintf_lite.cc (__concat_size_t): Print decimal
77 representation directly instead of calling __int_to_char.
78 * src/c++11/sso_string.cc (__sso_string): New file for definition
79 of __sso_string type.
80 * src/c++11/string-io-inst.cc [_GLIBCXX_USE_CXX11_ABI]: New file for
81 explicit instantiations of narrow string I/O functions.
82 * src/c++11/system_error.cc (__throw_system_error): Move here.
83 (__sso_string): Move to new file.
84 * src/c++11/wstring-io-inst.cc [_GLIBCXX_USE_CXX11_ABI]: New file for
85 explicit instantiations of wide string I/O functions.
86 * src/c++98/misc-inst.cc [_GLIBCXX_USE_CXX11_ABI] (operator<<)
87 (operator>>, getline): Remove explicit instantiations from here.
88
89 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
90
91 * config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Updated.
92
93 2017-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
94
95 * configure.host: Separate Solaris/SPARC and x86 baselines.
96 * config/abi/post/solaris2.10/baseline_symbols.txt: Move ...
97 * config/abi/post/sparc-solaris2.10/baseline_symbols.txt: ... here.
98 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Move ...
99 * config/abi/post/sparc-solaris2.10/sparcv9/baseline_symbols.txt:
100 ... here.
101 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Move ...
102 * config/abi/post/i386-solaris2.10/amd64/baseline_symbols.txt: ... here.
103 * config/abi/post/i386-solaris2.10/baseline_symbols.txt: New file.
104 * config/abi/post/solaris2.11/baseline_symbols.txt: Move ...
105 * config/abi/post/sparc-solaris2.11/baseline_symbols.txt: ... here.
106 * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: Move ...
107 * config/abi/post/sparc-solaris2.11/sparcv9/baseline_symbols.txt:
108 ... here.
109 * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: Move ...
110 * config/abi/post/i386-solaris2.11/amd64/baseline_symbols.txt: ... here.
111 * config/abi/post/i386-solaris2.11/baseline_symbols.txt: New file.
112
113 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerate.
114 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
115 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
116 * config/abi/post/solaris2.11/baseline_symbols.txt: Likewise.
117 * config/abi/post/solaris2.11/amd64/baseline_symbols.txt: Likewise.
118 * config/abi/post/solaris2.11/sparcv9/baseline_symbols.txt: Likewise.
119
120 2017-02-01 Jonathan Wakely <jwakely@redhat.com>
121
122 PR libstdc++/78346
123 * include/bits/predefined_ops.h (_Iter_equals_iter): Store iterator
124 not its referent.
125 (_Iter_comp_to_iter): Likewise.
126 * testsuite/25_algorithms/search/78346.cc: New test.
127
128 PR libstdc++/79254
129 * config/abi/pre/gnu.ver: Remove recently added symbols.
130 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
131 (basic_string::_M_copy_assign): Remove.
132 (basic_string::operator=(const basic_string&)): Don't dispatch to
133 _M_copy_assign. If source object is small just deallocate, otherwise
134 perform new allocation before making any changes.
135 * include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
136 (basic_string::_M_copy_assign(const basic_string&, true_type)):
137 Remove.
138 * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
139 Test cases where the allocators are equal or the string is small.
140 * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
141 Likewise.
142
143 2017-01-30 Ville Voutilainen <ville.voutilainen@gmail.com>
144
145 Implement LWG 2825, LWG 2756 breaks class template argument
146 deduction for optional.
147 * include/std/optional: Add a deduction guide.
148 * testsuite/20_util/optional/cons/deduction_guide.cc: New.
149
150 2017-01-27 Jonathan Wakely <jwakely@redhat.com>
151
152 PR libstdc++/79254
153 * config/abi/pre/gnu.ver: Add new symbols.
154 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
155 (basic_string::_M_copy_assign): New overloaded functions to perform
156 copy assignment.
157 (basic_string::operator=(const basic_string&)): Dispatch to
158 _M_copy_assign.
159 * include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
160 (basic_string::_M_copy_assign(const basic_string&, true_type)):
161 Define, performing rollback on exception.
162 * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
163 Test exception-safety guarantee.
164 * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
165 Likewise.
166 * testsuite/util/testsuite_allocator.h (uneq_allocator::swap): Make
167 std::swap visible.
168
169 2017-01-26 Jonathan Wakely <jwakely@redhat.com>
170
171 PR libstdc++/70607
172 * include/tr1/complex (conj): Remove using-declaration and restore
173 overloads, reverting previous change.
174
175 * testsuite/23_containers/list/operations/78389.cc: Fix for C++11
176 mode.
177 * testsuite/23_containers/priority_queue/requirements/constructible.cc:
178 Mark as unsupported in C++98 mode.
179 * testsuite/23_containers/queue/requirements/constructible.cc:
180 Likewise.
181 * testsuite/23_containers/stack/requirements/constructible.cc:
182 Likewise.
183 * testsuite/25_algorithms/make_heap/movable.cc: Fix for C++11 mode.
184
185 PR libstdc++/79243
186 * include/bits/c++config (literals::string_view_literals::__7): Add.
187 Only declare versioned namespaces for the relevant C++ dialects.
188 * include/experimental/bits/erase_if.h (fundamentals_v2::__detail):
189 Add versioning macros.
190 * include/experimental/bits/lfts_config.h:
191 (fundamentals_v1::__detail::__7, fundamentals_v2::__detail::__7): Add.
192 * include/experimental/string_view (fundamentals_v2::__detail):
193 Add versioning macros.
194 (fundamentals_v2::__detail::__identity): Remove.
195 (fundamentals_v2::__detail::__idt): Use common_type instead of
196 __detail::__identity.
197 * include/std/string_view (__detail::__identity, __detail::__idt):
198 Likewise.
199 (literals::string_view_literals): Fix nesting of versioning macros.
200
201 PR libstdc++/79190
202 * libsupc++/del_opa.cc (operator delete(void*, std::align_val_t))
203 [!_GLIBCXX_HAVE_ALIGNED_ALLOC && !_GLIBCXX_HAVE_POSIX_MEMALIGN
204 && !_GLIBCXX_HAVE_MEMALIGN && !_GLIBCXX_HAVE__ALIGNED_MALLOC]:
205 Retrieve original pointer value allocated by malloc.
206 * libsupc++/new_opa.cc [!_GLIBCXX_HAVE_ALIGNED_ALLOC
207 && !_GLIBCXX_HAVE_POSIX_MEMALIGN && !_GLIBCXX_HAVE_MEMALIGN
208 && !_GLIBCXX_HAVE__ALIGNED_MALLOC] (aligned_alloc(size_t, size_t)):
209 Define, adjusting pointer value allocated by malloc and storing for
210 retrieval by operator delete.
211
212 2017-01-26 Jakub Jelinek <jakub@redhat.com>
213
214 * libsupc++/eh_atomics.h: Update copyright years.
215 * testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years.
216
217 2017-01-25 Jonathan Wakely <jwakely@redhat.com>
218
219 PR libstdc++/61791
220 PR libstdc++/70607
221 * include/std/complex (real(T), imag(T)): Add _GLIBCXX_CONSTEXPR.
222 (proj(T), conj(T)): Change return types per DR 1522.
223 * include/tr1/complex (conj): Remove overloads and use std::conj.
224 * testsuite/26_numerics/complex/dr781_dr1137.cc: Rename to...
225 * testsuite/26_numerics/complex/dr781.cc: ... this, and update.
226 * testsuite/26_numerics/complex/value_operations/constexpr2.cc: Test
227 real(T) and imag(T). Allow testing for C++11 too.
228
229 2017-01-24 Jonathan Wakely <jwakely@redhat.com>
230
231 PR libstdc++/79206
232 * include/experimental/string_view (operator==): Check sizes first.
233 * include/std/string_view (operator==): Likewise.
234
235 2017-01-23 Jonathan Wakely <jwakely@redhat.com>
236
237 * testsuite/experimental/array/make_array.cc: Restore <functional>
238 inclusion.
239
240 2017-01-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
241
242 * testsuite/29_atomics/atomic/69301.cc: Require atomic builtins.
243
244 2017-01-23 Jonathan Wakely <jwakely@redhat.com>
245
246 PR libstdc++/79195
247 * include/experimental/array (__make_array_elem): New class template
248 and partial specialization.
249 (__is_reference_wrapper): Move into __make_array_elem specialization.
250 (make_array): Use __make_array_elem to determine element type and move
251 static assertion into specialization. Qualify std::forward call.
252 (to_array): Add exception specifiation.
253 * testsuite/experimental/array/make_array.cc: Test argument types
254 without a common type.
255 * testsuite/experimental/array/neg.cc: Adjust expected error message.
256
257 2017-01-22 Gerald Pfeifer <gerald@pfeifer.com>
258
259 * doc/xml/manual/debug.xml: code.google.com uses https now.
260
261 2017-01-22 Gerald Pfeifer <gerald@pfeifer.com>
262
263 * doc/xml/manual/test.xml: Fix link into gccint online manual.
264
265 2017-01-21 Ville Voutilainen <ville.voutilainen@gmail.com>
266
267 Make poisoned hashes SFINAE away the call operator of the hash.
268 * include/bits/functional_hash.h
269 (__poison_hash::__enable_hash_call): New.
270 * include/std/optional (__optional_hash_call_base): New.
271 (hash<optional<_Tp>>): Derive from the new base,
272 move the hash function into that base.
273 * include/std/variant (__variant_hash_call_base_impl): New.
274 (__variant_hash_call_base): Likewise.
275 (hash<variant<_Types...>>): Derive from the new base,
276 move the hash function into that base.
277 * testsuite/20_util/optional/hash.cc: Add tests for is_callable.
278 * testsuite/20_util/variant/hash.cc: Likewise.
279
280 2017-01-20 Joe Seymour <joe.s@somniumtech.com>
281
282 * acinclude.m4 (GLIBCXX_CHECK_SIZE_T_MANGLING): Support uint20_t.
283 * configure: Regenerate.
284
285 2017-01-20 Jonathan Wakely <jwakely@redhat.com>
286
287 PR libstdc++/69240
288 * include/bits/random.h (uniform_real_distribution::param_type)
289 (normal_distribution::param_type, lognormal_distribution::param_type)
290 (gamma_distribution::param_type, chi_squared_distribution::param_type)
291 (cauchy_distribution::param_type, fisher_f_distribution::param_type)
292 (student_t_distribution::param_type)
293 (bernoulli_distribution::param_type, binomial_distribution::param_type)
294 (geometric_distribution::param_type)
295 (negative_binomial_distribution::param_type)
296 (poisson_distribution::param_type)
297 (exponential_distribution::param_type)
298 (weibull_distribution::param_type)
299 (extreme_value_distribution::param_type)
300 (discrete_distribution::param_type)
301 (piecewise_constant_distribution::param_type)
302 (piecewise_linear_distribution::param_type): Define operator!=.
303 * include/bits/uniform_int_dist.h
304 (uniform_int_distribution::param_type): Likewise.
305 * include/ext/random (beta_distribution::param_type)
306 (rice_distribution::param_type, nakagami_distribution::param_type)
307 (pareto_distribution::param_type, k_distribution::param_type)
308 (arcsine_distribution::param_type, hoyt_distribution::param_type)
309 (triangular_distribution::param_type)
310 (von_mises_distribution::param_type)
311 (hypergeometric_distribution::param_type)
312 (logistic_distribution::param_type)
313 (uniform_on_sphere_distribution::param_type)
314 (uniform_inside_sphere_distribution::param_type): Likewise.
315 * testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc:
316 Test construction with param_type.
317 * testsuite/26_numerics/random/binomial_distribution/cons/parms.cc:
318 Likewise.
319 * testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
320 Likewise.
321 * testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc:
322 Likewise.
323 * testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
324 Likewise.
325 * testsuite/26_numerics/random/extreme_value_distribution/cons/
326 parms.cc: Likewise.
327 * testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc:
328 Likewise.
329 * testsuite/26_numerics/random/gamma_distribution/cons/parms.cc:
330 Likewise.
331 * testsuite/26_numerics/random/geometric_distribution/cons/parms.cc:
332 Likewise.
333 * testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc:
334 Likewise.
335 * testsuite/26_numerics/random/negative_binomial_distribution/cons/
336 parms.cc: Likewise.
337 * testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
338 Likewise.
339 * testsuite/26_numerics/random/poisson_distribution/cons/parms.cc:
340 Likewise.
341 * testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
342 Likewise.
343 * testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc:
344 Likewise.
345 * testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc:
346 Likewise.
347 * testsuite/26_numerics/random/weibull_distribution/cons/parms.cc:
348 Likewise.
349 * testsuite/ext/random/arcsine_distribution/cons/parms.cc: Likewise.
350 * testsuite/ext/random/beta_distribution/cons/parms.cc: Likewise.
351 * testsuite/ext/random/hoyt_distribution/cons/parms.cc: Likewise.
352 * testsuite/ext/random/hypergeometric_distribution/cons/parms.cc:
353 Likewise.
354 * testsuite/ext/random/k_distribution/cons/parms.cc: Likewise.
355 * testsuite/ext/random/logistic_distribution/cons/parms.cc: Likewise.
356 * testsuite/ext/random/nakagami_distribution/cons/parms.cc: Likewise.
357 * testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
358 * testsuite/ext/random/pareto_distribution/cons/parms.cc: Likewise.
359 * testsuite/ext/random/rice_distribution/cons/parms.cc: Likewise.
360 * testsuite/ext/random/triangular_distribution/cons/parms.cc:
361 Likewise.
362 * testsuite/ext/random/uniform_inside_sphere_distribution/cons/
363 parms.cc: Likewise.
364 * testsuite/ext/random/von_mises_distribution/cons/parms.cc: Likewise.
365
366 PR libstdc++/72792
367 * include/bits/alloc_traits.h (__allocator_traits_base::__diff_type)
368 (__allocator_traits_base::__size_type): Remove.
369 (allocator_traits::_Ptr): New class template to detect const and void
370 pointer types without instantiating pointer_traits::rebind
371 unnecessarily.
372 (allocator_traits::_Diff): Likewise for detecting difference_type.
373 (allocator_traits::_Size): New class template to detect size_type
374 without instantiating make_unsigned unnecessarily.
375 * include/bits/ptr_traits.h (pointer_traits::element_type): Use
376 __detected_or_t instead of __detected_or_t_.
377 * include/std/type_traits (__detected_or_t_): Remove.
378 * testsuite/20_util/allocator_traits/members/pointers.cc: New test.
379
380 PR libstdc++/72792
381 PR libstdc++/72793
382 * include/bits/alloc_traits.h (__allocator_traits_base::__rebind):
383 Replace with class template using void_t.
384 (__alloc_rebind): Define in terms of
385 __allocator_traits_base::__rebind.
386 (allocator_traits): Remove unconditional static_assert for
387 rebind_alloc.
388 * include/bits/ptr_traits.h (__replace_first_arg): Remove type member.
389 (pointer_traits::__rebind): Replace with class template using void_t.
390 (pointer_traits::rebind): Define in terms of __rebind.
391 (pointer_traits): Remove unconditional static_assert for rebind.
392 * testsuite/20_util/allocator_traits/members/rebind_alloc.cc: New test.
393 * testsuite/20_util/pointer_traits/rebind.cc: New test.
394
395 PR libstdc++/69321
396 * include/experimental/any (__any_caster): Avoid instantiating
397 manager function for types that can't be stored in any.
398 * include/std/any (__any_caster): Likewise.
399 * testsuite/20_util/any/misc/any_cast.cc: Test non-copyable type.
400 * testsuite/experimental/any/misc/any_cast.cc: Likewise.
401
402 PR libstdc++/64903
403 * include/bits/stl_algo.h (is_partitioned): Use increment instead of
404 std::advance.
405
406 2017-01-19 Jonathan Wakely <jwakely@redhat.com>
407
408 PR libstdc++/79156
409 * include/bits/shared_ptr_base.h (__enable_shared_from_this_base):
410 Fix return type.
411 (__enable_shared_from_this): Declare __shared_ptr as a friend.
412 * testsuite/ext/shared_ptr/1.cc: New test.
413
414 PR libstdc++/64903
415 * include/bits/stl_algo.h (is_partitioned): Don't retest the partition
416 point.
417 * testsuite/25_algorithms/is_partitioned/2.cc: New test.
418
419 * doc/xml/manual/abi.xml: Fix typo.
420 * doc/html/manual/abi.html: Likewise.
421
422 PR libstdc++/67085
423 * include/bits/predefined_ops.h (_Iter_less_val, _Val_less_iter): Add
424 converting constructors from _Iter_less_iter.
425 (_Iter_comp_val, _Val_comp_iter): Add converting constructors from
426 _Iter_comp_iter.
427 (__iter_comp_val(_Iter_comp_iter<C>): Use converting constructor.
428 (__val_comp_iter(_Iter_comp_iter<C>): Likewise.
429 * include/bits/stl_heap.h (__is_heap_until, __push_heap, __pop_heap)
430 (__make_heap, __sort_heap): Change _Compare parameters to references.
431 (__is_heap, push_heap, __adjust_heap, __pop_heap, pop_heap)
432 (__make_heap, make_heap, sort_heap, is_heap_until): Pass comparison
433 functions as lvalues.
434 (is_heap): Call __is_heap_until directly to avoid copying __comp.
435 * testsuite/23_containers/priority_queue/67085.cc: Adjust test to
436 count copies during construction with empty sequence.
437
438 PR libstdc++/67085
439 * include/bits/stl_heap.h (__is_heap): Use _GLIBCXX_MOVE.
440 (__make_heap, __sort_heap): Don't use _GLIBCXX_MOVE inside loops.
441 * testsuite/23_containers/priority_queue/67085.cc: Adjust expected
442 number of copies.
443 * testsuite/25_algorithms/make_heap/movable.cc: New test.
444
445 PR libstdc++/67085
446 * include/bits/stl_heap.h (push_heap, __adjust_heap, __pop_heap)
447 (pop_heap, __make_heap, make_heap, __sort_heap, sort_heap): Use
448 _GLIBCXX_MOVE when passing comparison function to other functions.
449 (is_heap_until, is_heap): Use std::move when passing comparison
450 function.
451 * testsuite/23_containers/priority_queue/67085.cc: New test.
452
453 PR libstdc++/78905
454 * doc/xml/manual/abi.xml (abi.versioning.history): Add markup to
455 macro names, filenames, and literal values. Document _GLIBCXX_RELEASE.
456 Document that the deprecated _GLIBCXX_VERSION macro was removed for
457 the 4.0.0 release.
458 * doc/html/*: Regenerate.
459 * include/Makefile.am (_GLIBCXX_RELEASE): Set value.
460 * include/Makefile.in: Regenerate.
461 * include/bits/c++config (_GLIBCXX_RELEASE): Add #define.
462 * testsuite/ext/profile/mutex_extensions_neg.cc: Use lineno of 0 in
463 dg-error.
464
465 2017-01-18 Jonathan Wakely <jwakely@redhat.com>
466
467 PR libstdc++/69301
468 * include/std/atomic (atomic<T>::load, atomic<T>::exchange): Use
469 aligned buffer instead of default-initialized variable.
470 * testsuite/29_atomics/atomic/69301.cc: New test.
471 * include/experimental/memory (observer_ptr::release): Use reserved
472 name.
473 * include/ext/pointer.h (_Pointer_adapter::operator++(int))
474 (_Pointer_adapter::operator--(int)): Likewise.
475
476 PR libstdc++/68925
477 * include/experimental/random (randint): Use temporary instead of
478 thread_local static.
479
480 2017-01-17 Joshua Conner <joshconner@google.com>
481
482 * crossconfig.m4: Add fuchsia OS.
483 * configure: Regenerate.
484
485 2017-01-17 Jonathan Wakely <jwakely@redhat.com>
486
487 PR libstdc++/69699
488 * doc/xml/manual/abi.xml (abi.versioning.history): Explain why the
489 __GLIBCXX__ macro is not useful. Remove redundant date information
490 and link to the GCC release timeline.
491 (abi.versioning.active): Move partial sentence into the previous
492 paragraph.
493 * doc/html/*: Regenerate.
494
495 PR libstdc++/79114
496 * libsupc++/nested_exception.h (throw_with_nested): Use decay instead
497 of remove_reference.
498 * testsuite/18_support/nested_exception/79114.cc: New test.
499
500 2017-01-17 Jakub Jelinek <jakub@redhat.com>
501
502 PR other/79046
503 * configure.ac: Add GCC_BASE_VER.
504 * fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
505 get version from BASE-VER file.
506 * po/Makefile.in: Regenerated.
507 * libsupc++/Makefile.in: Regenerated.
508 * testsuite/Makefile.in: Regenerated.
509 * src/Makefile.in: Regenerated.
510 * configure: Regenerated.
511 * Makefile.in: Regenerated.
512 * include/Makefile.in: Regenerated.
513 * doc/Makefile.in: Regenerated.
514 * python/Makefile.in: Regenerated.
515 * src/c++11/Makefile.in: Regenerated.
516 * src/c++98/Makefile.in: Regenerated.
517 * src/filesystem/Makefile.in: Regenerated.
518
519 2017-01-16 Jonathan Wakely <jwakely@redhat.com>
520
521 PR libstdc++/66145
522 * src/c++11/functexcept.cc: Use new ABI for std::ios_base::failure
523 exceptions.
524 * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Don't override ABI
525 for test, so new ios::failure can be caught.
526 * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
527 * testsuite/27_io/basic_istream/extractors_arithmetic/char/
528 exceptions_failbit.cc: Likewise.
529 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
530 exceptions_failbit.cc: Likewise.
531 * testsuite/27_io/basic_istream/extractors_other/char/
532 exceptions_null.cc: Likewise.
533 * testsuite/27_io/basic_istream/extractors_other/wchar_t/
534 exceptions_null.cc: Likewise.
535 * testsuite/27_io/basic_istream/sentry/char/12297.cc: Likewise.
536 * testsuite/27_io/basic_istream/sentry/wchar_t/12297.cc: Likewise.
537 * testsuite/27_io/basic_ostream/inserters_other/char/
538 exceptions_null.cc: Likewise.
539 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
540 exceptions_null.cc: Likewise.
541 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
542
543 PR libstdc++/78702
544 * include/bits/locale_classes.h (locale::facet::__shim): Change from
545 private to protected.
546 * src/c++11/cxx11-shim_facets.cc (__shim_accessor): Define helper to
547 make locale::facet::__shim accessible.
548
549 2017-01-16 Ville Voutilainen <ville.voutilainen@gmail.com>
550
551 PR libstdc++/78389
552 * include/bits/list.tcc (merge(list&&)): Fix backwards size adjustments.
553 (merge(list&&, _StrictWeakOrdering)): Likewise.
554 * testsuite/23_containers/list/operations/78389.cc: Add
555 better test for the sizes.
556
557 2017-01-14 Jonathan Wakely <jwakely@redhat.com>
558
559 * testsuite/23_containers/array/specialized_algorithms/swap_cxx17.cc:
560 Skip test when -D_GLIBCXX_PROFILE mode is included in options.
561 * testsuite/23_containers/map/modifiers/extract.cc: Likewise.
562 * testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
563 Likewise.
564 * testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
565 * testsuite/23_containers/multimap/modifiers/extract.cc: Likewise.
566 * testsuite/23_containers/multiset/modifiers/extract.cc: Likewise.
567 * testsuite/23_containers/set/modifiers/extract.cc: Likewise.
568 * testsuite/23_containers/unordered_map/modifiers/extract.cc:
569 Likewise.
570 * testsuite/23_containers/unordered_multimap/modifiers/extract.cc::
571 Likewise.
572 * testsuite/23_containers/unordered_multiset/modifiers/extract.cc::
573 Likewise.
574 * testsuite/23_containers/unordered_set/modifiers/extract.cc:
575 Likewise.
576 * testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc:
577 Likewise.
578 * testsuite/25_algorithms/binary_search/partitioned.cc: Likewise.
579 * testsuite/25_algorithms/equal_range/partitioned.cc: Likewise.
580 * testsuite/25_algorithms/lexicographical_compare/71545.cc: Likewise.
581 * testsuite/25_algorithms/lower_bound/partitioned.cc: Likewise.
582 * testsuite/25_algorithms/upper_bound/partitioned.cc: Likewise.
583 * testsuite/libstdc++-prettyprinters/cxx11.cc: Likewise.
584 * testsuite/libstdc++-prettyprinters/cxx17.cc: Likewise.
585 * testsuite/libstdc++-prettyprinters/debug.cc: Likewise.
586 * testsuite/libstdc++-prettyprinters/debug_cxx11.cc: Likewise.
587 * testsuite/libstdc++-prettyprinters/libfundts.cc: Likewise.
588 * testsuite/libstdc++-prettyprinters/simple.cc: Likewise.
589 * testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.
590 * testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.
591
592 2017-01-13 Jonathan Wakely <jwakely@redhat.com>
593
594 PR libstdc++/65411
595 * config/io/basic_file_stdio.cc (__basic_file<char>::close()): Don't
596 retry fclose on EINTR.
597
598 * include/profile/base.h: Remove unused header that leads to header
599 cycle in C++17 mode.
600
601 PR libstdc++/79075
602 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
603 Make _If_sv private.
604 [!_GLIBCXX_USE_CXX11_ABI] (basic_string): Add member functions taking
605 basic_string_view arguments.
606
607 PR libstdc++/79075
608 * testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Remove
609 redundant option from cxxflags.
610 (check_effective_target_cxx11-abi): Define.
611 * testsuite/21_strings/basic_string/allocator/71964.cc: Use cxx11-abi
612 effective target.
613 * testsuite/21_strings/basic_string/allocator/char/copy.cc: Likewise.
614 * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
615 Likewise.
616 * testsuite/21_strings/basic_string/allocator/char/minimal.cc:
617 Likewise.
618 * testsuite/21_strings/basic_string/allocator/char/move.cc: Likewise.
619 * testsuite/21_strings/basic_string/allocator/char/move_assign.cc:
620 Likewise.
621 * testsuite/21_strings/basic_string/allocator/char/noexcept.cc:
622 Likewise.
623 * testsuite/21_strings/basic_string/allocator/char/swap.cc: Likewise.
624 * testsuite/21_strings/basic_string/allocator/wchar_t/copy.cc:
625 Likewise.
626 * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
627 Likewise.
628 * testsuite/21_strings/basic_string/allocator/wchar_t/minimal.cc:
629 Likewise.
630 * testsuite/21_strings/basic_string/allocator/wchar_t/move.cc:
631 Likewise.
632 * testsuite/21_strings/basic_string/allocator/wchar_t/move_assign.cc:
633 Likewise.
634 * testsuite/21_strings/basic_string/allocator/wchar_t/noexcept.cc:
635 Likewise.
636 * testsuite/21_strings/basic_string/allocator/wchar_t/swap.cc:
637 Likewise.
638 * testsuite/23_containers/list/61347.cc: Likewise.
639 * testsuite/27_io/basic_fstream/cons/base.cc: Likewise.
640 * testsuite/27_io/ios_base/failure/cxx11.cc: Likewise.
641
642 2017-01-13 Ville Voutilainen <ville.voutilainen@gmail.com>
643
644 PR libstdc++/78389
645 * include/bits/list.tcc (merge(list&&)):
646 Adjust list sizes if the comparator throws.
647 (merge(list&&, _StrictWeakOrdering)): Likewise.
648 (sort()): Splice elements back from the scratch buffers
649 if the comparator throws.
650 (sort(_StrictWeakOrdering)): Likewise.
651 * testsuite/23_containers/list/operations/78389.cc: New.
652
653 2017-01-13 Jonathan Wakely <jwakely@redhat.com>
654
655 * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Mark
656 XFAIL for C++17 until node reinsertion supports fancy pointers.
657
658 PR libstdc++/78361
659 * testsuite/20_util/add_pointer/value.cc: Test forming function
660 pointers.
661
662 2017-01-13 Michael Brune <lucdanton@free.fr>
663
664 PR libstdc++/78361
665 * include/std/type_traits (__is_referenceable): Handle noexcept
666 function types.
667
668 2017-01-12 Jonathan Wakely <jwakely@redhat.com>
669
670 PR libstdc++/77528
671 * include/bits/stl_queue.h (queue, priority_queue): Remove default
672 member-initializers and define default constructors as templates with
673 constraints.
674 * include/bits/stl_stack.h (stack): Likewise.
675 * testsuite/23_containers/priority_queue/requirements/constructible.cc:
676 New.
677 * testsuite/23_containers/priority_queue/requirements/
678 explicit_instantiation/1.cc: Test more instantiations.
679 * testsuite/23_containers/priority_queue/requirements/
680 explicit_instantiation/1_c++98.cc: Likewise.
681 * testsuite/23_containers/queue/requirements/constructible.cc: New.
682 * testsuite/23_containers/stack/requirements/constructible.cc: New.
683
684 PR libstdc++/66284
685 * doc/xml/manual/intro.xml: Document LWG 2781 change.
686 * doc/html/*: Regenerate.
687 * include/std/functional (_Function_base::_Ref_manager): Remove.
688 (_Function_handler): Remove partial specializations for
689 reference_wrapper.
690 (function::target): Remove special case for const qualification.
691 * testsuite/20_util/function/6.cc: Adjust tests for target type.
692 * testsuite/20_util/function/7.cc: Likewise.
693 * testsuite/20_util/function/8.cc: Likewise.
694
695 2017-01-11 Jonathan Wakely <jwakely@redhat.com>
696
697 PR libstdc++/78134
698 * include/bits/stl_map.h (map::lower_bound, map::upper_bound)
699 (map::equal_range): Fix return type of heterogeneous overloads.
700 * include/bits/stl_multimap.h (multimap::lower_bound)
701 (multimap::upper_bound, multimap::equal_range): Likewise.
702 * include/bits/stl_multiset.h (multiset::lower_bound)
703 (multiset::upper_bound, multiset::equal_range): Likewise.
704 * include/bits/stl_set.h (set::lower_bound, set::upper_bound)
705 (set::equal_range): Likewise.
706 * testsuite/23_containers/map/operations/2.cc
707 * testsuite/23_containers/multimap/operations/2.cc
708 * testsuite/23_containers/multiset/operations/2.cc
709 * testsuite/23_containers/set/operations/2.cc
710
711 PR libstdc++/78273
712 * include/bits/stl_map.h (map::count<_Kt>(const _Kt&)): Don't assume
713 the heterogeneous comparison can only find one match.
714 * include/bits/stl_set.h (set::count<_Kt>(const _Kt&)): Likewise.
715 * testsuite/23_containers/map/operations/2.cc: Test count works with
716 comparison function that just partitions rather than sorting.
717 * testsuite/23_containers/set/operations/2.cc: Likewise.
718
719 2017-01-11 Ville Voutilainen <ville.voutilainen@gmail.com>
720
721 Reduce the size of variant, it doesn't need an index of
722 type size_t internally.
723 * include/std/variant (parse_numbers.h): New include.
724 (__select_index): New.
725 (_Variant_storage<false, _Types...>::_M_reset_impl): Use
726 _index_type for comparison with variant_npos.
727 (_Variant_storage<false, _Types...>::__index_type): New.
728 (_Variant_storage<false, _Types...>::_M_index): Change the
729 type from size_t to __index_type.
730 (_Variant_storage<true, _Types...>::__index_type): New.
731 (_Variant_storage<true, _Types...>::_M_index): Change the
732 type from size_t to __index_type.
733 (_Variant_base::_M_valid): Use _Storage::__index_type
734 for comparison with variant_npos.
735 (variant::index): Use _Base::_Storage::__index_type
736 for comparison with variant_npos.
737 * testsuite/20_util/variant/index_type.cc: New.
738
739 2017-01-10 Jonathan Wakely <jwakely@redhat.com>
740
741 * testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust
742 effective target selector to prevent running in C++17 mode.
743
744 PR libstdc++/77528
745 * include/bits/stl_queue.h (queue::c): Add default member initializer.
746 (queue::queue()): Add constructor and define as defaulted.
747 (queue::queue(_Sequence&&)): Remove default argument.
748 (priority_queue::c, priority_queue::comp): Add default member
749 initializers.
750 (priority_queue::priority_queue()): Add constructor and define as
751 defaulted.
752 (priority_queue::priority_queue(const _Compare&, _Sequence&&)):
753 Remove default argument for first parameter.
754 * include/bits/stl_stack.h (stack::c): Add default member initializer.
755 (stack::stack()): Add constructor and define as defaulted.
756 (stack::stack(const _Sequence&)): Remove default argument.
757 * testsuite/23_containers/priority_queue/requirements/
758 explicit_instantiation/1.cc: Test explicit instantiation with
759 non-DefaultConstructible sequence.
760 * testsuite/23_containers/priority_queue/77528.cc: New test.
761 * testsuite/23_containers/priority_queue/requirements/
762 explicit_instantiation/1_c++0x.cc: Replace with 1_c++98.cc.
763 * testsuite/23_containers/queue/77528.cc: New test.
764 * testsuite/23_containers/queue/requirements/explicit_instantiation/
765 1.cc: Test explicit instantiation with non-DefaultConstructible
766 sequence.
767 * testsuite/23_containers/queue/requirements/explicit_instantiation/
768 1_c++0x.cc: Replace with 1_c++98.cc.
769 * testsuite/23_containers/stack/77528.cc: New test.
770 * testsuite/23_containers/stack/requirements/explicit_instantiation/
771 1.cc: Test explicit instantiation with non-DefaultConstructible
772 sequence.
773 * testsuite/23_containers/stack/requirements/explicit_instantiation/
774 1_c++0x.cc: Replace with 1_c++98.cc.
775
776 2017-01-10 Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
777
778 * include/bits/locale_facets_nonio.tcc
779 (time_get::_M_extract_via_format): Avoid compilation errors with
780 non-standard struct tm.
781
782 2017-01-10 François Dumont <fdumont@gcc.gnu.org>
783 Jonathan Wakely <jwakely@redhat.com>
784
785 * python/libstdcxx/v6/printers.py (_versioned_namespace): Define.
786 (is_specialization, strip_versioned_namespace): New helpers functions
787 to work with symbols in the versioned namespace.
788 (Printer.add_version): Add second name using versioned namespace.
789 (add_one_template_type_printer, add_one_type_printer): Add second
790 type printers using versioned namespace.
791 (register_type_printers): Add template type printer for basic_string.
792 (build_libstdcxx_dictionary): Remove dead code.
793 * python/libstdcxx/v6/xmethods.py: Make all matchers look for
794 versioned namespace.
795 * testsuite/libstdc++-prettyprinters/48362.cc: Adjust expected
796 results.
797 * testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.
798
799 2017-01-09 Jonathan Wakely <jwakely@redhat.com>
800
801 PR libstdc++/79017
802 * acinclude.m4 (GLIBCXX_CHECK_C99_TR1): Check for llrint and llround
803 functions separately on darwin and if they're missing define
804 _GLIBCXX_NO_C99_ROUNDING_FUNCS.
805 * config.h.in: Regenerate.
806 * configure: Regenerate.
807 * include/c_global/cmath [_GLIBCXX_NO_C99_ROUNDING_FUNCS] (llrint)
808 (llrintf, llrintl, llround, llroundf, llroundl): Do not define.
809
810 * testsuite/30_threads/condition_variable/members/3.cc: Use new macro
811 to detect correct thread_local destructors.
812 * testsuite/util/testsuite_hooks.h (CORRECT_THREAD_LOCAL_DTORS):
813 Define.
814
815 2017-01-09 Jonathan Wakely <jwakely@redhat.com>
816 Aditya Kumar <hiraditya@msn.com>
817
818 PR libstdc++/66414
819 * include/bits/basic_string.tcc
820 (basic_string::find(const CharT*, size_type, size_type)): Optimize.
821
822 2017-01-06 Jonathan Wakely <jwakely@redhat.com>
823
824 * testsuite/21_strings/basic_string/operations/find/char/6.cc: New.
825 * testsuite/21_strings/basic_string/operations/find/wchar_t/6.cc: New.
826
827 * testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp:
828 Include <cassert> header.
829
830 PR libstdc++/78968
831 * crossconfig.m4: Check for __cxa_thread_atexit on *-*-freebsd*.
832 * configure: Regenerate.
833
834 2017-01-06 Barrett Adair <barrettellisadair@gmail.com>
835 Jonathan Wakely <jwakely@redhat.com>
836
837 * include/std/variant (variant, swap): Replace __and_ usage with fold
838 expressions.
839
840 2017-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
841
842 PR go/78978
843 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Remove.
844 * configure.ac: Call GCC_CHECK_ASSEMBLER_HWCAP instead of
845 GLIBCXX_CHECK_ASSEMBLER_HWCAP.
846 * fragment.am (CONFIG_CXXFLAGS): Use HWCAP_CFLAGS instead of
847 HWCAP_FLAGS.
848 * aclocal.m4: Regenerate.
849 * configure: Regenerate.
850 * Makefile.in, doc/Makefile.in, include/Makefile.in,
851 libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in,
852 src/Makefile.in, src/c++11/Makefile.in, src/c++98/Makefile.in,
853 src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
854
855 2017-01-06 Jonathan Wakely <jwakely@redhat.com>
856
857 * include/bits/c++config (_GLIBCXX_ASSERTIONS): Avoid redefinition.
858
859 PR libstdc++/78991
860 * include/bits/predefined_ops.h (_Iter_comp_iter, _Iter_comp_val)
861 (_Val_comp_iter, _Iter_equals_val, _Iter_pred, _Iter_comp_to_val)
862 (_Iter_comp_to_iter, _Iter_negate): Make constructors explicit and
863 move function objects.
864 (__iter_comp_iter, __iter_comp_val, __val_comp_iter, __pred_iter)
865 (__iter_comp_val, __iter_comp_iter, __negate): Move function objects.
866 * testsuite/25_algorithms/sort/78991.cc: New test.
867
868 2017-01-05 Jonathan Wakely <jwakely@redhat.com>
869
870 * include/bits/std_function.h (function::_Signature_type): Remove.
871 (function::function(_Functor)): Adjust.
872
873 2017-01-05 Tim Shen <timshen@google.com>
874
875 PR libstdc++/78996
876 * include/std/variant (__gen_vtable_impl): rename __unused to
877 __dimensions to avoid naming conflict.
878
879 2017-01-04 Jonathan Wakely <jwakely@redhat.com>
880
881 PR libstdc++/78968
882 * config.h.in: Regenerate.
883 * configure: Likewise.
884 * configure.ac: Check for __cxa_thread_atexit.
885 * libsupc++/atexit_thread.cc [_GLIBCXX_HAVE___CXA_THREAD_ATEXIT]:
886 Don't define __cxa_thread_atexit if libc provides it.
887
888 2017-01-04 Ville Voutilainen <ville.voutilainen@gmail.com>
889
890 Implement 2801, Default-constructibility of unique_ptr.
891 * include/bits/unique_ptr.h (__uniq_ptr_impl::_DeleterConstraint): New.
892 (unique_ptr::_DeleterConstraint): Likewise.
893 (unique_ptr()): Constrain.
894 (unique_ptr(pointer)): Likewise.
895 (unique_ptr(nullptr_t)): Likewise.
896 (unique_ptr<_Tp[], _Dp>::_DeleterConstraint): New.
897 (unique_ptr<_Tp[], _Dp>::unique_ptr()): Constrain.
898 (unique_ptr<_Tp[], _Dp>::unique_ptr(_Up)): Likewise.
899 (unique_ptr<_Tp[], _Dp>::unique_ptr(nullptr_t)): Likewise.
900 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust.
901 * testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: Likewise.
902 * testsuite/20_util/unique_ptr/cons/default.cc: New.
903 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Adjust.
904
905 2017-01-04 Pauli Nieminen <suokkos@gmail.com>
906 Jonathan Wakely <jwakely@redhat.com>
907
908 PR libstdc++/64735
909 * acinclude.m4 (GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER): Define.
910 * config.h.in: Regenerate.
911 * config/abi/pre/gnu.ver [HAVE_EXCEPTION_PTR_SINCE_GCC46]
912 (GLIBCXX_3.4.15, GLIBCXX_3.4.21, CXXABI_1.3.3, CXXABI_1.3.5): Make
913 exports for exception_ptr, nested_exception, and future conditional.
914 [HAVE_EXCEPTION_PTR_SINCE_GCC46] (GLIBCXX_3.4.23, CXXABI_1.3.11): Add
915 exports for exception_ptr, nested_exception, and future conditional.
916 * configure: Regenerate.
917 * configure.ac: Use GLIBCXX_CHECK_EXCEPTION_PTR_SYMVER.
918 * include/std/future: Remove check for ATOMIC_INT_LOCK_FREE
919 * libsupc++/eh_atomics.h: New file for internal use only.
920 (__eh_atomic_inc, __eh_atomic_dec): New.
921 * libsupc++/eh_ptr.cc (exception_ptr::_M_addref)
922 (exception_ptr::_M_release) (__gxx_dependent_exception_cleanup)
923 (rethrow_exception): Use eh_atomics.h reference counting helpers.
924 * libsupc++/eh_throw.cc (__gxx_exception_cleanup): Likewise.
925 * libsupc++/eh_tm.cc (free_any_cxa_exception): Likewise.
926 * libsupc++/exception: Remove check for ATOMIC_INT_LOCK_FREE.
927 * libsupc++/exception_ptr.h: Likewise.
928 * libsupc++/guard.cc: Include header for ATOMIC_INT_LOCK_FREE macro.
929 * libsupc++/nested_exception.cc: Remove check for
930 ATOMIC_INT_LOCK_FREE.
931 * libsupc++/nested_exception.h: Likewise.
932 * src/c++11/future.cc: Likewise.
933 * testsuite/18_support/exception_ptr/*: Remove atomic builtins checks.
934 * testsuite/18_support/nested_exception/*: Likewise.
935 * testsuite/30_threads/async/*: Likewise.
936 * testsuite/30_threads/future/*: Likewise.
937 * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise.
938 * testsuite/30_threads/packaged_task/*: Likewise.
939 * testsuite/30_threads/promise/*: Likewise.
940 * testsuite/30_threads/shared_future/*: Likewise.
941
942 2017-01-03 Gerald Pfeifer <gerald@pfeifer.com>
943
944 * doc/xml/manual/documentation_hacking.xml: sourceforge.net now
945 defaults to https; adjust reference.
946
947 2017-01-03 Jonathan Wakely <jwakely@redhat.com>
948
949 PR libstdc++/78956
950 * include/std/thread (thread(const thread&&)): Add deleted
951 constructor.
952 * testsuite/30_threads/thread/cons/lwg2097.cc: New test.
953
954 * doc/xml/manual/spine.xml: Update copyright years.
955 * doc/xml/manual/build_hacking.xml: Fix spelling of libbuilddir.
956 * doc/xml/manual/test.xml: Likewise.
957 * doc/html/*: Regenerate.
958
959 2017-01-01 Gerald Pfeifer <gerald@pfeifer.com>
960
961 * doc/xml/faq.xml: Update address of C++ ABI link.
962 * doc/xml/manual/abi.xml: Ditto.
963
964 2017-01-01 Jakub Jelinek <jakub@redhat.com>
965
966 Update copyright years.
967 \f
968 Copyright (C) 2017 Free Software Foundation, Inc.
969
970 Copying and distribution of this file, with or without modification,
971 are permitted in any medium without royalty provided the copyright
972 notice and this notice are preserved.