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