1 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
6 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
8 * include/std/chrono: Wrap clocks in inline namespace _V2.
9 * src/c++11/chrono.cc: Same.
10 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
11 file, with default configure macros selected.
13 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
15 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
17 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
18 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
19 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
21 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
23 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
24 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
26 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
27 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
28 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
29 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
30 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
31 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
33 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
34 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
36 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
38 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
39 (CLOCK_MONOTONIC): Define.
41 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
43 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
46 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
48 2013-05-24 Jakub Jelinek <jakub@redhat.com>
50 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
51 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
52 don't define system_clock::is_steady, system_clock::now() and
53 steady_clock::is_steady.
54 (std::chrono::system_clock::now()): If
55 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
56 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
57 (std::chrono::system_clock::now()): Likewise. Add weak attribute
58 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
60 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
61 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
62 * src/c++11/compatibility-chrono.cc: New file.
63 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
64 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
65 * testsuite/util/testsuite_abi.cc (check_version): Add
66 GLIBCXX_3.4.20 version and make it the latest.
67 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
68 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
69 @@GLIBCXX_3.4.20 instead.
70 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
71 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
72 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
74 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
76 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
77 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
79 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
80 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
81 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
82 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
83 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
84 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
86 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
87 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
88 * config.h.in: Regenerated.
89 * src/Makefile.in: Regenerated.
90 * configure: Regenerated.
92 2013-05-23 Matthias Klose <doko@ubuntu.com>
94 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
95 (ext_headers): Remove ${ext_host_headers}.
96 (stamp-${host_alias}): Create ${host_builddir}/../ext.
97 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
98 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
99 * include/Makefile.in: Regenerate.
100 * include/ext/random: Include ext/opt_random.h.
102 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
104 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
105 enable features if target OS is known to support them.
106 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
107 * configure: Regenerate.
109 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
112 * include/std/functional (__invoke): Do not form function types with
113 abstract return type.
114 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
116 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
118 * include/std/tuple (get): Implement N3670.
119 * include/std/utility (get): Likewise.
120 * testsuite/20_util/pair/get.cc: Move to ...
121 * testsuite/20_util/pair/astuple/get.cc: Here.
122 * testsuite/20_util/pair/astuple/astuple.cc: New.
123 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
124 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
125 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
126 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
127 * testsuite/20_util/pair/astuple/get_neg.cc: New.
128 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
129 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
130 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
132 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
134 * Revert last commit.
136 2013-05-19 Matthias Klose <doko@ubuntu.com>
138 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
139 (ext_headers): Remove ${ext_host_headers}.
140 (stamp-${host_alias}): Create ${host_builddir}/../ext.
141 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
142 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
143 * include/Makefile.in: Regenerate.
145 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
147 * include/std/system_error (error_category::error_category()): LWG
148 2145: Declare public and constexpr.
149 * src/c++11/system_error.cc (error_category::error_category()): Move
151 * src/c++11/compatibility-c++0x.cc: Here.
153 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
155 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
157 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
159 * include/bits/unique_ptr.h (make_unique): Declare inline.
160 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
161 (default_delete, unique_ptr): Add doxygen comments.
162 * include/bits/shared_ptr_base.h: Improve doxygen comments.
163 * include/bits/shared_ptr.h: Likewise.
164 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
166 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
168 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
170 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
172 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
174 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
176 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
178 * include/std/utility (exchange): Define.
179 * testsuite/20_util/exchange/1.cc: New.
181 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
183 * include/bits/unique_ptr.h (make_unique): Define.
184 * testsuite/20_util/unique_ptr/creation/single.cc: New.
185 * testsuite/20_util/unique_ptr/creation/array.cc: New.
186 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
188 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
190 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
191 rendering of std::tr1 unordered containers iterator.
192 (StdHashtableIterator): New, render std unordered containers iterator.
193 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
195 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
197 * include/bits/basic_string.h (getline): Fix doxygen comments.
199 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
201 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
202 Use std::pointer_traits.
204 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
206 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
208 * libsupc++/Makefile.in: Regenerate.
209 * libsupc++/bad_array_length.cc: Tweak.
210 * libsupc++/bad_array_new.cc: Tweak.
212 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
215 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
216 (_Deque_iterator<>::_M_const_cast): Add.
217 (deque<>::_M_erase): Declare.
218 * include/bits/deque.tcc: ... and define.
219 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
220 (_List_const_iterator<>::_M_const_cast): Add.
221 * include/bits/list.tcc (erase (iterator)): Fix.
222 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
223 Add; include <ext/cast.h>.
224 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
225 (vector<>::_M_erase): Declare.
226 * include/bits/stl_bvector.h: Likewise.
227 * include/bits/vector.tcc (vector<>::_M_erase): Define.
228 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
229 * include/debug/deque: Adjust.
230 * include/debug/list: Likewise.
231 * include/debug/vector: Likewise.
232 * include/profile/deque: Likewise.
233 * include/profile/list: Likewise.
234 * include/profile/vector: Likewise.
235 * testsuite/util/exception/safety.h (erase_base<deque>,
236 erase_base<deque>, erase_base<vector>): Remove.
237 (erase_base<__versa_string>): Update.
238 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
239 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
240 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
241 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
242 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
244 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
245 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
246 Adjust dg-error line numbers.
247 * testsuite/23_containers/deque/requirements/dr438/
248 constructor_1_neg.cc: Likewise.
249 * testsuite/23_containers/deque/requirements/dr438/
250 constructor_2_neg.cc: Likewise.
251 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
253 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
255 * testsuite/23_containers/list/requirements/dr438/
256 constructor_1_neg.cc: Likewise.
257 * testsuite/23_containers/list/requirements/dr438/
258 constructor_2_neg.cc: Likewise.
259 * testsuite/23_containers/list/requirements/dr438/
260 insert_neg.cc: Likewise.
261 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
263 * testsuite/23_containers/vector/requirements/dr438/
264 constructor_1_neg.cc: Likewise.
265 * testsuite/23_containers/vector/requirements/dr438/
266 constructor_2_neg.cc: Likewise.
267 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
270 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
272 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
274 2013-05-08 Jason Merrill <jason@redhat.com>
276 Add std::bad_array_length (N3639)
277 * libsupc++/new: Add std::bad_array_length.
278 * libsupc++/bad_array_length.cc: New.
279 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
280 * libsupc++/Makefile.in: Build them.
281 * config/abi/pre/gnu.ver: Add new symbols.
282 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
284 2013-05-08 Andi Kleen <ak@linux.intel.com>
287 * libstdc++-v3/include/bits/atomic_base.h
288 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
289 (atomic_thread_fence, atomic_signal_fence, test_and_set,
290 clear, store, load, exchange, compare_exchange_weak)
291 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
292 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
294 2013-05-08 Jason Merrill <jason@redhat.com>
296 Add std::bad_array_new_length (N2932)
297 * libsupc++/new: Add std::bad_array_new_length.
298 * libsupc++/bad_array_new.cc: New.
299 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
300 * libsupc++/Makefile.in: Build them.
301 * config/abi/pre/gnu.ver: Add new symbols.
302 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
304 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
307 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
309 * include/Makefile.in: Regenerated.
311 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
313 * include/profile/unordered_base.h: New.
314 * include/Makefile.am: Add new profile header.
315 * include/Makefile.in: Regenerate.
316 * include/profile/impl/profiler.h
317 (__profcxx_inefficient_hash_is_on): New macro.
318 * include/profile/unordered_map (std::profile::unordered_map<>):
319 Use new _Unordered_profile base class. Use default implementations
320 for special functions.
321 (std::profile::unordered_multimap<>): Likewise.
322 * include/profile/unordered_set (std::profile::unordered_set<>):
324 (std::profile::unordered_multiset<>): Likewise.
325 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
326 MoveOnly equality operator signature.
328 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
330 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
331 constexpr_data.cc: Move...
332 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
334 * testsuite/20_util/integral_constant/requirements/
335 explicit_instantiation.cc: New.
336 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
338 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
339 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
341 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
342 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
344 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
346 * include/std/type_traits (is_null_pointer): Add.
347 (__is_nullptr_t): Implement in terms of the latter.
348 (is_fundamental, is_scalar): Adjust.
349 * testsuite/20_util/is_null_pointer/requirements/
350 explicit_instantiation.cc: New.
351 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
353 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
354 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
356 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
358 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
361 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
363 * include/c_global/cstdio: Add comment about LWG 2249.
364 * include/c_std/cstdio: Likewise.
366 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
368 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
370 * include/std/mutex (__recursive_mutex_base): Likewise.
372 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
375 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
376 implement EBO safely.
377 (_Sp_counted_base::_M_get_deleter): Add noexcept.
378 (_Sp_counter_ptr): Use noexcept instead of comments.
379 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
380 (_Sp_counted_ptr_inplace): Likewise.
381 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
382 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
383 custom allocator and test construction with custom allocator.
384 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
387 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
389 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
390 dialect to -std=gnu++11.
392 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
394 * include/bits/hashtable_policy.h
395 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
396 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
398 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
400 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
401 * include/c_std/cstdio (gets): Likewise.
402 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
404 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
407 * include/debug/unordered_map (unordered_map, unordered_multimap):
408 Fix default allocator type.
409 * include/profile/unordered_map (unordered_map, unordered_multimap):
411 * include/bits/unordered_map.h: Fix comments.
413 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
416 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
417 move implementation to make_exception_ptr.
418 * include/std/future (_State_base::_M_break_promise): Replace
419 copy_exception with make_exception_ptr.
420 * testsuite/18_support/exception_ptr/move.cc: Likewise.
421 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
422 * testsuite/30_threads/future/members/get2.cc: Likewise.
423 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
424 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
425 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
426 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
428 2013-04-22 Jason Merrill <jason@redhat.com>
430 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
432 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
435 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
437 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
438 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
439 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
441 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
443 * include/bits/hashtable_policy.h: Add C++11 allocator support.
444 * include/bits/hashtable.h: Likewise.
445 * include/bits/unordered_set.h: Likewise.
446 * include/bits/unordered_map.h: Likewise.
447 * include/debug/unordered_set: Likewise.
448 * include/debug/unordered_map: Likewise.
449 * include/std/unordered_set: Remove bits/algobase.h
450 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
451 * include/std/unordered_map: Likewise.
452 * include/ext/throw_allocator.h: Add checks on calls to allocator
454 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
455 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
456 * testsuite/util/regression/rand/priority_queue
457 /container_rand_regression_test.tcc: Adapt.
458 * testsuite/util/regression/rand/assoc
459 /container_rand_regression_test.tcc: Likewise.
460 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
461 * testsuite/23_containers/unordered_set
462 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
463 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
464 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
465 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
466 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
467 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
468 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
469 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
470 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
471 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
473 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
474 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
476 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
477 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
478 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
479 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
480 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
481 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
482 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
484 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
485 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
486 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
488 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
489 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
491 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
492 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
494 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
496 * include/std/type_traits (is_signed): Simplify.
497 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
498 Adjust dg-error line numbers.
499 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
501 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
503 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
506 * include/std/complex (complex<float>::real, complex<float>::imag,
507 complex<double>::real, complex<double>::imag,
508 complex<long double>::real, complex<long double>::imag): Declare
509 as const member functions.
510 * include/std/type_traits (integral_constant<>::operator value_type):
513 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
516 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
517 * testsuite/25_algorithms/pop_heap/57010.cc: New.
519 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
521 * src/c++11/system_error.cc (generic_category_instance): Add
523 (system_category_instance): Likewise.
524 * src/c++11/future.cc (__fec): Likewise.
526 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
528 * doc/xml/manual/extensions.xml: Fix anachronism.
530 2013-04-09 Tom Tromey <tromey@redhat.com>
532 * configure, config.h.in: Rebuild.
533 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
535 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
537 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
539 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
541 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
543 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
545 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
547 * include/Makefile.am: Add ext/aligned_buffer.h
548 * include/Makefile.in: Regenerate.
549 * include/ext/aligned_buffer.h: New.
550 * include/std/future (_Result): Use __aligned_buffer.
551 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
552 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
553 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
556 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
558 * include/bits/forward_list.h: Only include required headers.
559 (forward_list::reference): Define directly, not using __alloc_traits.
560 (forward_list::const_reference): Likewise.
562 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
564 * include/std/functional (_Derives_from_unary_function): Remove.
565 (_Derives_from_binary_function): Remove.
566 * include/std/type_traits (__sfinae_types): Remove.
567 (__is_assignable_helper): Adapt.
568 (__is_convertible_helper): Adapt.
569 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
570 Remove several explicit instantiations of integral_constant.
571 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
572 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
573 Adapt dg-error line number.
574 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
576 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
577 * testsuite/20_util/bind/ref_neg.cc: Likewise.
579 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
582 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
583 get_terminate() accessors.
584 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
585 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
587 * libsupc++/new_handler.cc: Likewise.
589 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
591 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
593 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
596 * include/debug/array (tuple_size, tuple_element): Do not declare.
597 * include/profile/array: Likewise.
598 * testsuite/23_containers/array/tuple_interface/
599 tuple_element_debug_neg.cc: Adjust dg-error line number.
601 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
603 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
604 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
606 (set_terminate(terminate_handler)): Set atomically.
607 (set_unexpected(terminate_handler)): Likewise.
608 * libsupc++/new (get_new_handler()): Declare.
609 * libsupc++/new_handler.cc (get_new_handler()): Define.
610 (set_new_handler(new_handler)): Set atomically.
611 (__new_handler): Use internal linkage.
612 * libsupc++/new_op.cc (operator new): Use get_new_handler().
613 * libsupc++/new_opnt.cc (operator new): Likewise.
614 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
615 * configure: Regenerate.
616 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
617 * libsupc++/Makefile.in: Regenerate.
618 * config/abi/pre/gnu.ver: Add new exports.
619 * doc/xml/manual/status_cxx2011.xml: Update.
620 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
622 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
623 * testsuite/18_support/new_handler.cc: New.
624 * testsuite/18_support/terminate_handler.cc: New.
625 * testsuite/18_support/unexpected_handler.cc: New.
627 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
629 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
630 defer to general documentation on contributing to GCC.
631 * doc/html/*: Regenerate.
633 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
635 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
637 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
640 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
642 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
644 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
646 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
648 * doc/xml/manual/policy_data_structures: Remove direct link to
649 IBM Haifa Research Labs.
651 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
652 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
654 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
657 * doc/xml/manual/shared_ptr.xml: Use canonical address for
660 2013-03-27 Kai Tietz <ktietz@redhat.com>
662 * crossconfig.m4: Add support for cygwin x64 target.
663 * configure: Regenerated.
665 2013-03-25 Kai Tietz <ktietz@redhat.com>
667 * testsuite/18_support/50594.cc: For mingw-targets use only static
669 * testsuite/19_diagnostics/error_category/operators/equal.cc
670 * testsuite/19_diagnostics/error_code/cons/1.cc
671 * testsuite/19_diagnostics/error_code/operators/bool.cc
672 * testsuite/19_diagnostics/error_code/operators/equal.cc
673 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
674 * testsuite/19_diagnostics/error_condition/cons/1.cc
675 * testsuite/19_diagnostics/error_condition/operators/bool.cc
676 * testsuite/19_diagnostics/error_condition/operators/equal.cc
677 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
678 * testsuite/23_containers/set/requirements/exception/basic.cc
679 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
680 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
682 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
685 * include/ext/debug_allocator.h (debug_allocator): Add missing members
686 to meet allocator requirements.
687 * testsuite/ext/debug_allocator/56170.cc: New.
689 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
692 * include/std/chrono (__is_ratio): Uglify T.
694 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
696 PR libstdc++/55977 (partial, std::vector and std::deque bits)
697 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
698 _InputIterator, std::input_iterator_tag)): Use emplace_back.
699 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
700 _InputIterator, std::input_iterator_tag)): Likewise.
701 * testsuite/23_containers/vector/cons/55977.cc: New.
702 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
703 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
704 Adjust dg-error line number.
705 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
708 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
711 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
712 _InputIterator, __false_type)): Use emplace_back.
713 * testsuite/23_containers/list/cons/55979.cc: New.
714 * testsuite/23_containers/list/modifiers/1.h: Adjust.
715 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
716 Adjust dg-error line number.
718 2013-03-16 Jason Merrill <jason@redhat.com>
721 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
723 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
726 * libsupc++/exception_ptr.h (type_info): Declare.
728 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
731 * include/std/mutex (lock_guard, unique_lock, lock): Define without
732 depending on _GLIBCXX_HAS_GTHREADS.
733 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
735 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
738 * include/std/future (__future_base::_Result): Add result_type
740 (__future_base::_S_allocate_result): Overload for std::allocator.
741 (__future_base::_Task_setter): Use _Result::result_type instead of
742 deducing the type from the task.
743 (__future_base::_Task_state): Store allocator to allow shared state
744 to be reset. Replace std::function with member of target object type
746 (__future_base::_Task_state_base): New abstract base class.
747 (__future_base::_Task_state_base::_M_run): New virtual function to
748 invoke type-erased target object.
749 (__future_base::_Task_state_base::_M_reset): New virtual function to
750 create new shared_state using same target object and allocator.
751 (__future_base::__create_task_state): Allocate a new _Task_state.
752 (packaged_task::packaged_task): Use __create_task_state.
753 (packaged_task::reset): Use _Task_state_base::_M_reset.
754 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
756 2013-03-15 Tom Tromey <tromey@redhat.com>
758 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
760 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
761 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
762 * configure.ac: Check for sys/sdt.h.
763 * configure, config.h.in: Rebuild.
765 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
768 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
769 allocator_traits instead of calling construct directly.
770 * testsuite/23_containers/map/56613.cc: New.
772 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
774 * doc/html/*: Regenerate.
776 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
779 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
780 * testsuite/20_util/is_fundamental/value.cc: Extend.
781 * testsuite/20_util/is_compound/value.cc: Likewise.
783 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
785 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
788 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
790 * include/bits/memoryfwd.h: New. Centralize forward declarations.
791 * include/bits/algorithmfwd.h: Consistent comments.
792 * include/bits/localefwd.h: Same.
793 * include/ext/vstring_fwd.h: Same.
794 * include/parallel/algorithmfwd.h: Same.
795 * include/parallel/numericfwd.h: Same.
796 * include/std/iosfwd: Same.
798 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
800 * include/ext/alloc_traits.h: Remove allocator forward decl.
801 * include/bits/stl_construct.h: Same.
802 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
803 forward decl. Consistent comments.
805 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
807 * include/Makefile.am (bits_headers): Add memoryfwd.h.
808 * include/Makefile.in: Regenerate.
811 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
813 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
814 Reset pointers after deallocation when memory can be reused.
815 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
816 elements to really challenge C++11 allocator integration.
817 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
818 * testsuite/23_containers/vector/allocator/copy_assign.cc:
820 * testsuite/23_containers/vector/allocator/move_assign.cc:
822 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
823 swap vector back before checks on memory/personality mapping are
825 * testsuite/23_containers/forward_list/allocator/minimal.cc:
826 Insert element to really challenge C++11 allocator integration.
827 * testsuite/23_containers/forward_list/allocator/copy.cc:
829 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
831 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
833 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
834 and swap forward_list back before checks on memory/personality
835 mapping are performed.
837 2013-03-07 Jakub Jelinek <jakub@redhat.com>
839 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
840 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
841 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
843 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
844 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
845 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
846 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
847 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
848 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
850 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
852 * scripts/extract_symvers.pl: Omit symbols bound to base
854 * scripts/extract_symvers.in: Likewise.
855 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
856 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
857 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
858 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
859 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
861 2013-03-04 Ulrich Drepper <drepper@gmail.com>
863 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
864 Optimize generation function by pulling computation of __r into the
865 constructor for param_type. Also compare _M_mu in operator==.
868 2013-03-02 Ulrich Drepper <drepper@gmail.com>
870 Add triangular and von Mises distributions.
871 * include/ext/random: Include <ext/cmath>.
872 Add __gnu_cxx::triangular_distribution<> and
873 __gnu_cxx::von_mises_distribution<> classes.
874 * include/ext/random.tcc: Add out-of-line functions for
875 __gnu_cxx::triangular_distribution<> and
876 __gnu_cxx::von_mises_distribution<>.
877 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
878 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
879 * testsuite/ext/triangular_distribution/operators/serialize.cc:
881 * testsuite/ext/triangular_distribution/operators/equal.cc:
883 * testsuite/ext/triangular_distribution/operators/inequal.cc:
885 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
887 * testsuite/ext/triangular_distribution/requirements/
888 explicit_instantiation/1.cc: New file.
889 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
890 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
891 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
893 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
894 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
896 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
898 * testsuite/ext/von_mises_distribution/requirements/
899 explicit_instantiation/1.cc: New file.
902 * include/Makefile.am (ext_headers): Add cmath.
903 * include/Makefile.in: Regenerated.
904 * include/ext/cmath: New file.
906 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
908 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
909 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
910 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
911 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
912 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
914 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
917 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
918 * testsuite/29_atomics/atomic/operators/56012.cc: New.
921 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
923 * testsuite/29_atomics/atomic/operators/56011.cc: New.
925 2013-02-25 Jason Merrill <jason@redhat.com>
927 * configure.ac: Check for __cxa_thread_atexit_impl.
928 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
930 * config.h.in, configure: Regenerate.
932 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
934 * include/std/streambuf (basic_streambuf): Use injected class name
935 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
938 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
940 * doc/html/faq.html: Fix spelling.
941 * doc/xml/faq.xml: Likewise.
942 * include/bits/basic_ios.h: Likewise.
943 * include/bits/regex.h: Likewise.
944 * include/std/istream: Likewise.
945 * include/std/streambuf: Likewise.
947 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
949 * testsuite/23_containers/unordered_set/55043.cc: Add missing
950 namespace qualification.
951 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
953 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
955 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
956 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
957 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
958 * include/bits/stl_pair.h: Add to utilities group.
959 * include/std/tuple: Same.
960 * include/std/typeindex: Same.
962 * include/bits/stringfwd.h: Fix markup.
963 * include/std/limits: Same.
964 * include/std/type_traits: Same.
965 * include/tr1/memory: Same.
966 * include/tr1/regex: Same.
967 * scripts/run_doxygen: Comment.
968 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
970 2013-02-14 Jason Merrill <jason@redhat.com>
972 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
975 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
978 * include/std/complex (complex): Undefine.
979 * include/c_compatibility/complex.h (complex): Only undefine if
980 <complex> has been included.
981 * testsuite/26_numerics/complex/56111.cc: New testcase.
983 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
985 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
986 default constructor protected.
987 * include/bits/hashtable.h: static assert that _Hash_code_base has
988 a default constructor available through inheritance.
990 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
992 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
995 2013-02-12 Julian Brown <julian@codesourcery.com>
997 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
998 Don't expect dots after abbreviated weekday names for ru_RU for
999 glibc versions >= 2.17.
1000 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
1003 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1005 * include/bits/random.tcc (__transform): Remove.
1007 (discrete_distribution<>::param_type::_M_initialize): Adjust.
1008 (piecewise_constant_distribution<>::param_type::_M_initialize):
1010 (piecewise_linear_distribution<>::param_type::_M_initialize):
1013 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
1015 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
1016 Use -fimplicit-templates.
1017 * src/c++11/Makefile.in: Regenerate.
1018 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
1019 std::lower_bound template.
1021 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
1023 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
1024 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
1025 in C++11 mode and if available in the underlying C library.
1026 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
1027 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
1028 _GLIBCXX_HAVE_QUICK_EXIT.
1030 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
1032 * doc/html/*: Regenerate.
1034 2013-02-11 Jason Merrill <jason@redhat.com>
1036 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
1037 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
1038 * config.h.in, configure: Regenerate.
1039 * include/c_std/cstdlib: Add atexit and at_quick_exit.
1040 * include/c_global/cstdlib: Add atexit and at_quick_exit.
1041 * testsuite/18_support/quick_exit/quick_exit.cc: New.
1043 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
1047 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
1050 * include/bits/basic_ios.h: Replace operator void*() const
1051 with explicit operator bool() const in C++11 and greater.
1052 * testsuite/27_io/basic_ios/pr56193.cc: New file.
1054 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
1055 Jonathan Wakely <jwakely.gcc@gmail.com>
1057 * doc/xml/manual/containers.xml: Add section on unordered containers.
1058 * doc/xml/manual/using.xml: Fix incomplete sentence.
1060 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1063 * include/bits/hashtable.h (__cache_default): Check if hash function
1065 * testsuite/23_containers/unordered_set/56267.cc: New.
1066 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
1067 dg-error line number.
1068 * testsuite/23_containers/unordered_set/
1069 not_default_constructible_hash_neg.cc: Likewise.
1072 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
1074 * testsuite/23_containers/unordered_set/56278.cc: New.
1076 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
1078 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
1081 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
1084 * include/tr1/special_function_util.h: Remove spurious const
1085 from numeric arguments.
1086 * include/tr1/riemann_zeta.tcc: Likewise.
1087 * include/tr1/exp_integral.tcc: Likewise.
1088 * include/tr1/bessel_function.tcc: Likewise.
1089 * include/tr1/hypergeometric.tcc: Likewise.
1090 * include/tr1/modified_bessel_func.tcc: Likewise.
1091 * include/tr1/poly_laguerre.tcc: Likewise.
1092 * include/tr1/gamma.tcc: Likewise.
1093 * include/tr1/legendre_function.tcc: Likewise.
1094 * include/tr1/poly_hermite.tcc: Likewise.
1095 * include/tr1/ell_integral.tcc: Likewise.
1096 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
1097 If argument is zero return function value.
1098 * testsuite/tr1/5_numerical_facilities/special_functions/
1099 08_cyl_bessel_i/pr56216.cc: New.
1101 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1103 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
1105 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
1108 * include/bits/basic_ios.h: Replace operator void*() const
1109 with explicit operator bool() const in C++11 and greater.
1110 * testsuite/27_io/basic_ios/pr56193.cc: New file.
1112 2013-02-04 Dodji Seketeli <dodji@redhat.com>
1114 Add missing explicit instantiation for std::lower_bound template
1115 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
1116 missing instantiation for std::lower_bound template.
1118 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
1120 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
1121 * include/bits/basic_string.h: Specialize previous to mark
1122 std::hash for string types as slow.
1123 * include/bits/hashtable.h (__cache_default): Replace is_integral
1124 with __is_fast_hash.
1125 * src/c++11/hash_c++0x.cc: Add type_traits include.
1126 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1127 Adapt dg-error line number.
1128 * testsuite/23_containers/unordered_set/
1129 not_default_constructible_hash_neg.cc: Likewise.
1131 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
1132 Paolo Carlini <paolo.carlini@oracle.com>
1134 PR libstdc++/56202 (again)
1135 * include/bits/random.tcc (binomial_distribution<>::
1136 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
1139 * include/bits/random.h: Fix comment typo.
1141 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
1142 Paolo Carlini <paolo.carlini@oracle.com>
1145 * include/bits/random.tcc (binomial_distribution<>::
1146 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
1149 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
1151 Update copyright years.
1152 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
1153 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
1154 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
1155 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
1156 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
1157 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
1158 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
1159 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
1160 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
1161 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
1162 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
1163 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
1164 testsuite/29_atomics/atomic/cons/assign_neg.cc,
1165 testsuite/29_atomics/atomic/cons/copy_neg.cc,
1166 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
1167 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
1168 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
1169 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
1170 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1171 Update lines in dg error matches.
1173 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
1175 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
1177 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
1179 * include/bits/hashtable_policy.h
1180 (_Prime_rehash_policy::_M_next_bkt)
1181 (_Prime_rehash_policy::_M_need_rehash): Move definition...
1182 * src/c++11/hashtable_c++0x.cc: ... here.
1183 * src/shared/hashtable-aux.cc: Remove c++config.h include.
1184 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
1187 2013-01-29 Jason Merrill <jason@redhat.com>
1190 * config/abi/pre/gnu.ver: Don't export construction vtables.
1191 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
1193 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1196 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
1197 to construct value_type explicitly before trying to extract the key.
1198 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
1200 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
1202 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
1203 _Hashtable_ebo_helper to embed functors into the local_iterator
1204 when necessary. Pass information about functors involved in hash
1206 * include/bits/hashtable.h (__cache_default): Do not cache for
1207 builtin integral types unless the hash functor is not noexcept
1208 qualified or is not default constructible. Adapt static assertions
1209 and local iterator instantiations.
1210 * include/debug/unordered_set
1211 (std::__debug::unordered_set<>::erase): Detect local iterators to
1212 invalidate using contained node rather than generating a dummy
1213 local_iterator instance.
1214 (std::__debug::unordered_multiset<>::erase): Likewise.
1215 * include/debug/unordered_map
1216 (std::__debug::unordered_map<>::erase): Likewise.
1217 (std::__debug::unordered_multimap<>::erase): Likewise.
1218 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
1219 std::tr1 and std versions of unordered_set regardless of any
1220 macro. Add test on default cache behavior.
1221 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
1222 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1224 * testsuite/23_containers/unordered_set/
1225 not_default_constructible_hash_neg.cc: New.
1226 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
1228 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
1231 * include/std/complex (pow(const complex<>&, int)): Avoid __n
1234 2013-01-22 Jakub Jelinek <jakub@redhat.com>
1236 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
1237 Tightten scan-assembler-times regexps, add dg-additional-options for
1238 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
1241 2013-01-12 Andi Kleen <ak@linux.intel.com>
1242 Jonathan Wakely <jwakely.gcc@gmail.com>
1245 * include/bits/atomic_base.h (__memory_order_modifier): Add
1246 __memory_order_mask, __memory_order_modifier_mask,
1247 __memory_order_hle_acquire, __memory_order_hle_release.
1248 (operator|,operator&): Add.
1249 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
1250 (__cmpexch_failure_order): Add.
1251 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
1253 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
1256 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1259 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
1261 (__basic_future::_M_get_result()): Const qualify.
1262 (shared_future::get()): Likewise.
1263 * testsuite/30_threads/shared_future/members/get.cc: Use const
1266 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1268 PR libstdc++/55043 (again)
1269 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
1270 unless construction would be well-formed.
1271 (__allow_copy_cons, __check_copy_constructible): Define.
1272 * include/bits/unordered_map.h (__check_copy_constructible): Use as
1273 base class so copy constructor will be deleted if appropriate.
1274 (is_copy_constructible): Remove specialization.
1275 * include/bits/unordered_set.h: Likewise.
1276 * include/debug/unordered_map.h: Undo previous commit. Default copy
1277 and move constructors.
1278 * include/debug/unordered_set.h: Likewise.
1279 * include/profile/unordered_map.h: Undo previous commit.
1280 * include/profile/unordered_set.h: Likewise.
1281 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
1282 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
1283 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
1284 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
1285 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
1286 cannot support incomplete types.
1287 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
1290 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1293 * include/std/unordered_map: Include alloc_traits.h
1294 * include/std/unordered_set: Likewise.
1295 * include/bits/alloc_traits.h: Define __is_copy_insertable.
1296 * include/bits/unordered_map.h: Use it.
1297 * include/bits/unordered_set.h: Likewise.
1298 * include/debug/unordered_map.h: Likewise.
1299 * include/debug/unordered_set.h: Likewise.
1300 * include/profile/unordered_map.h: Likewise.
1301 * include/profile/unordered_set.h: Likewise.
1302 * include/bits/hashtable.h: Fix comment typos.
1303 * testsuite/23_containers/unordered_map/55043.cc: New.
1304 * testsuite/23_containers/unordered_multimap/55043.cc: New.
1305 * testsuite/23_containers/unordered_multiset/55043.cc: New.
1306 * testsuite/23_containers/unordered_set/55043.cc: New.
1308 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
1310 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
1313 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1315 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
1317 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1320 * include/std/functional (_Mem_fn::operator()): Fix constraints to
1322 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
1323 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
1325 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1328 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
1330 * configure: Regenerate.
1332 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1335 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
1336 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
1340 * include/std/functional (bad_function_call::what()): Declare.
1341 * src/c++11/functional.cc (bad_function_call::what()): Define.
1342 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
1343 * testsuite/20_util/bad_function_call/what.cc: New.
1345 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
1347 * include/bits/unordered_map.h: Fix typo in comments.
1348 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
1349 counts for unordered associative containers.
1351 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
1353 * doc/xml/manual/abi.xml: Update library and symbol versions.
1355 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1357 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
1359 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
1362 Copyright (C) 2013 Free Software Foundation, Inc.
1364 Copying and distribution of this file, with or without modification,
1365 are permitted in any medium without royalty provided the copyright
1366 notice and this notice are preserved.