1 2013-06-12 Ed Smith-Rowland <3dw4rd@verizon.net>
4 * include/tr1/modified_bessel_func.tcc (__airy): Remove return
6 (__gnu_cxx::__airy_ai(), __gnu_cxx::__airy_bi()): New functions.
7 * testsuite/tr1/5_numerical_facilities/special_functions/
8 10_cyl_bessel_k/airy.cc: New.
10 2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net>
12 Fix library literals error involving namespace __detail.
13 * include/std/chrono: Rename __detail to __select_type. Reformat.
14 * include/bits/basic_string.h: Reformat.
15 * testsuite/20_util/duration/literals/ns_detail.cc: New.
17 2013-06-11 Paolo Carlini <paolo.carlini@oracle.com>
20 * include/c_global/cstddef (max_align_t): Add to namespace std.
21 * include/c_std/cstddef: Likewise.
22 * testsuite/18_support/max_align_t/requirements/1.cc: New.
23 * testsuite/18_support/max_align_t/requirements/2.cc: Likewise.
25 2013-06-10 Benjamin Kosnik <bkoz@redhat.com>
27 * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add.
28 * include/bits/stl_map.h (erase): Use abi_tag when C++11.
29 * include/bits/stl_multimap.h: Same.
30 * include/bits/stl_multiset.h: Same.
31 * include/bits/stl_set.h: Same.
32 * include/bits/stl_tree.h: Same.
33 * include/std/complex (real, imag): Use macro for abi_tag.
35 * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline.
36 * testsuite/util/testsuite_containers.h (erase_external): New
38 (erase_external_iterators): Same.
39 (linkage_check_cxx98_cxx11_erase): Same.
40 (linkage_check_cxx98_cxx11_erase_iterators): Same.
41 * testsuite/util/testsuite_shared.cc: Define.
42 * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New.
43 * testsuite/23_containers/map/modifiers/erase/
44 dr130-linkage-check.cc: New.
45 * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New.
46 * testsuite/23_containers/multimap/modifiers/erase/
47 dr130-linkage-check.cc: New.
48 * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New.
49 * testsuite/23_containers/multiset/modifiers/erase/
50 dr130-linkage-check.cc: New.
51 * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New.
52 * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc:
54 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.
56 * testsuite/23_containers/map/dr130.cc: Move...
57 * testsuite/23_containers/map/modifiers/dr130.cc: ...here.
58 * testsuite/23_containers/multimap/dr130.cc: Move ...
59 * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here.
60 * testsuite/23_containers/multiset/dr130.cc: Move...
61 * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here.
62 * testsuite/23_containers/set/dr130.cc: Move...
63 * testsuite/23_containers/set/modifiers/dr130.cc: ...here.
65 2013-06-10 Thomas Schwinge <thomas@codesourcery.com>
67 * testsuite/17_intro/headers/c++1998/49745.cc: Extend current
68 handling of Linux-based x86 systems to cover all GNU systems.
69 * testsuite/18_support/bad_exception/23591_thread-1.c: Likewise.
70 * testsuite/18_support/pthread_guard.cc: Likewise.
71 * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
73 * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc:
75 * testsuite/21_strings/basic_string/pthread18185.cc: Likewise.
76 * testsuite/21_strings/basic_string/pthread4.cc: Likewise.
77 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
78 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
79 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
80 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
81 * testsuite/23_containers/list/pthread1.cc: Likewise.
82 * testsuite/23_containers/list/pthread5.cc: Likewise.
83 * testsuite/23_containers/map/pthread6.cc: Likewise.
84 * testsuite/23_containers/vector/debug/multithreaded_swap.cc:
86 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
88 * testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
89 * testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
90 * testsuite/30_threads/async/42819.cc: Likewise.
91 * testsuite/30_threads/async/49668.cc: Likewise.
92 * testsuite/30_threads/async/54297.cc: Likewise.
93 * testsuite/30_threads/async/any.cc: Likewise.
94 * testsuite/30_threads/async/async.cc: Likewise.
95 * testsuite/30_threads/async/launch.cc: Likewise.
96 * testsuite/30_threads/async/sync.cc: Likewise.
97 * testsuite/30_threads/call_once/39909.cc: Likewise.
98 * testsuite/30_threads/call_once/49668.cc: Likewise.
99 * testsuite/30_threads/call_once/call_once1.cc: Likewise.
100 * testsuite/30_threads/condition_variable/54185.cc: Likewise.
101 * testsuite/30_threads/condition_variable/cons/1.cc: Likewise.
102 * testsuite/30_threads/condition_variable/members/1.cc: Likewise.
103 * testsuite/30_threads/condition_variable/members/2.cc: Likewise.
104 * testsuite/30_threads/condition_variable/members/53841.cc:
106 * testsuite/30_threads/condition_variable/native_handle/typesizes.cc:
108 * testsuite/30_threads/condition_variable_any/50862.cc: Likewise.
109 * testsuite/30_threads/condition_variable_any/53830.cc: Likewise.
110 * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise.
111 * testsuite/30_threads/condition_variable_any/members/1.cc:
113 * testsuite/30_threads/condition_variable_any/members/2.cc:
115 * testsuite/30_threads/future/cons/move.cc: Likewise.
116 * testsuite/30_threads/future/members/45133.cc: Likewise.
117 * testsuite/30_threads/future/members/get.cc: Likewise.
118 * testsuite/30_threads/future/members/get2.cc: Likewise.
119 * testsuite/30_threads/future/members/share.cc: Likewise.
120 * testsuite/30_threads/future/members/valid.cc: Likewise.
121 * testsuite/30_threads/future/members/wait.cc: Likewise.
122 * testsuite/30_threads/future/members/wait_for.cc: Likewise.
123 * testsuite/30_threads/future/members/wait_until.cc: Likewise.
124 * testsuite/30_threads/lock/1.cc: Likewise.
125 * testsuite/30_threads/lock/2.cc: Likewise.
126 * testsuite/30_threads/lock/3.cc: Likewise.
127 * testsuite/30_threads/lock/4.cc: Likewise.
128 * testsuite/30_threads/mutex/cons/1.cc: Likewise.
129 * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise.
130 * testsuite/30_threads/mutex/lock/1.cc: Likewise.
131 * testsuite/30_threads/mutex/native_handle/1.cc: Likewise.
132 * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise.
133 * testsuite/30_threads/mutex/try_lock/1.cc: Likewise.
134 * testsuite/30_threads/mutex/try_lock/2.cc: Likewise.
135 * testsuite/30_threads/mutex/unlock/1.cc: Likewise.
136 * testsuite/30_threads/packaged_task/49668.cc: Likewise.
137 * testsuite/30_threads/packaged_task/cons/1.cc: Likewise.
138 * testsuite/30_threads/packaged_task/cons/2.cc: Likewise.
139 * testsuite/30_threads/packaged_task/cons/3.cc: Likewise.
140 * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise.
141 * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise.
142 * testsuite/30_threads/packaged_task/cons/move.cc: Likewise.
143 * testsuite/30_threads/packaged_task/cons/move_assign.cc:
145 * testsuite/30_threads/packaged_task/members/get_future.cc:
147 * testsuite/30_threads/packaged_task/members/get_future2.cc:
149 * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise.
150 * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise.
151 * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise.
152 * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise.
153 * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise.
154 * testsuite/30_threads/packaged_task/members/reset.cc: Likewise.
155 * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise.
156 * testsuite/30_threads/packaged_task/members/swap.cc: Likewise.
157 * testsuite/30_threads/packaged_task/members/valid.cc: Likewise.
158 * testsuite/30_threads/promise/cons/1.cc: Likewise.
159 * testsuite/30_threads/promise/cons/alloc.cc: Likewise.
160 * testsuite/30_threads/promise/cons/move.cc: Likewise.
161 * testsuite/30_threads/promise/cons/move_assign.cc: Likewise.
162 * testsuite/30_threads/promise/members/get_future.cc: Likewise.
163 * testsuite/30_threads/promise/members/get_future2.cc: Likewise.
164 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
165 * testsuite/30_threads/promise/members/set_exception2.cc:
167 * testsuite/30_threads/promise/members/set_value.cc: Likewise.
168 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
169 * testsuite/30_threads/promise/members/set_value3.cc: Likewise.
170 * testsuite/30_threads/promise/members/swap.cc: Likewise.
171 * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
172 * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc:
174 * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise.
175 * testsuite/30_threads/recursive_mutex/native_handle/1.cc:
177 * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc:
179 * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise.
180 * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise.
181 * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise.
182 * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise.
183 * testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc:
185 * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise.
186 * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise.
187 * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc:
189 * testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc:
191 * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc:
193 * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc:
195 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc:
197 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc:
199 * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc:
201 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc:
203 * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc:
205 * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc:
207 * testsuite/30_threads/shared_future/cons/move.cc: Likewise.
208 * testsuite/30_threads/shared_future/members/45133.cc: Likewise.
209 * testsuite/30_threads/shared_future/members/get.cc: Likewise.
210 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
211 * testsuite/30_threads/shared_future/members/valid.cc: Likewise.
212 * testsuite/30_threads/shared_future/members/wait.cc: Likewise.
213 * testsuite/30_threads/shared_future/members/wait_for.cc:
215 * testsuite/30_threads/shared_future/members/wait_until.cc:
217 * testsuite/30_threads/this_thread/1.cc: Likewise.
218 * testsuite/30_threads/this_thread/2.cc: Likewise.
219 * testsuite/30_threads/this_thread/3.cc: Likewise.
220 * testsuite/30_threads/this_thread/4.cc: Likewise.
221 * testsuite/30_threads/thread/cons/1.cc: Likewise.
222 * testsuite/30_threads/thread/cons/2.cc: Likewise.
223 * testsuite/30_threads/thread/cons/3.cc: Likewise.
224 * testsuite/30_threads/thread/cons/4.cc: Likewise.
225 * testsuite/30_threads/thread/cons/49668.cc: Likewise.
226 * testsuite/30_threads/thread/cons/5.cc: Likewise.
227 * testsuite/30_threads/thread/cons/6.cc: Likewise.
228 * testsuite/30_threads/thread/cons/7.cc: Likewise.
229 * testsuite/30_threads/thread/cons/8.cc: Likewise.
230 * testsuite/30_threads/thread/cons/9.cc: Likewise.
231 * testsuite/30_threads/thread/cons/moveable.cc: Likewise.
232 * testsuite/30_threads/thread/members/1.cc: Likewise.
233 * testsuite/30_threads/thread/members/2.cc: Likewise.
234 * testsuite/30_threads/thread/members/3.cc: Likewise.
235 * testsuite/30_threads/thread/members/4.cc: Likewise.
236 * testsuite/30_threads/thread/members/5.cc: Likewise.
237 * testsuite/30_threads/thread/members/hardware_concurrency.cc:
239 * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise.
240 * testsuite/30_threads/thread/native_handle/typesizes.cc:
242 * testsuite/30_threads/thread/swap/1.cc: Likewise.
243 * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise.
244 * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc:
246 * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise.
247 * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise.
248 * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc:
250 * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise.
251 * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise.
252 * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise.
253 * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise.
254 * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise.
255 * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise.
256 * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise.
257 * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise.
258 * testsuite/30_threads/try_lock/1.cc: Likewise.
259 * testsuite/30_threads/try_lock/2.cc: Likewise.
260 * testsuite/30_threads/try_lock/3.cc: Likewise.
261 * testsuite/30_threads/try_lock/4.cc: Likewise.
262 * testsuite/30_threads/unique_lock/cons/1.cc: Likewise.
263 * testsuite/30_threads/unique_lock/cons/2.cc: Likewise.
264 * testsuite/30_threads/unique_lock/cons/3.cc: Likewise.
265 * testsuite/30_threads/unique_lock/cons/4.cc: Likewise.
266 * testsuite/30_threads/unique_lock/cons/5.cc: Likewise.
267 * testsuite/30_threads/unique_lock/cons/6.cc: Likewise.
268 * testsuite/30_threads/unique_lock/locking/1.cc: Likewise.
269 * testsuite/30_threads/unique_lock/locking/2.cc: Likewise.
270 * testsuite/30_threads/unique_lock/locking/3.cc: Likewise.
271 * testsuite/30_threads/unique_lock/locking/4.cc: Likewise.
272 * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise.
273 * testsuite/30_threads/unique_lock/modifiers/2.cc: Likewise.
274 * testsuite/ext/mt_allocator/22309_thread.cc: Likewise.
275 * testsuite/ext/profile/mh.cc: Likewise.
276 * testsuite/ext/rope/pthread7-rope.cc: Likewise.
277 * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
278 * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc:
280 * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc:
282 * testsuite/util/testsuite_performance.h: Extend current handling
283 of Linux-based systems to cover all glibc-based systems.
285 2013-06-09 Jonathan Wakely <jwakely.gcc@gmail.com>
287 * include/std/mutex (call_once): Remove parentheses to fix error in
288 c++1y and gnu++1y mode.
289 * testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
290 thread to avoid undefined behaviour.
292 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
294 Simplify and clean up library literals.
295 * include/std/chrono: Simplify namespace and versioning management.
296 * include/bits/basic_string.h: Ditto.
297 * testsuite/20_util/duration/literals/types.cc: Remove bogus comment.
298 * testsuite/20_util/duration/literals/values.cc: Ditto.
299 * testsuite/21_strings/basic_string/literals/types.cc: Ditto.
300 * testsuite/21_strings/basic_string/literals/values.cc: Ditto.
302 2013-06-08 Ed Smith-Rowland <3dw4rd@verizon.net>
304 Implement N3654 - Quoted Strings Library Proposal
305 * include/std/iomanip: Add quoted(String, Char delim, Char escape)
306 manipulators and supporting machinery in c++1y mode.
307 * testsuite/27_io/manipulators/standard/char/quoted.cc: New.
308 * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: New.
310 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
312 * include/bits/alloc_traits.h (allocator_traits::max_size()): LWG
315 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
317 * include/bits/stl_algo.h (is_permutation): Add overloads from N3671.
318 * include/bits/stl_algobase.h (equal, mismatch): Likewise.
319 * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case.
320 * testsuite/25_algorithms/equal/2.cc: New.
321 * testsuite/25_algorithms/equal/check_type2.cc: New.
322 * testsuite/25_algorithms/is_permutationqual/2.cc: New.
323 * testsuite/25_algorithms/is_permutationqual/check_type2.cc: New.
324 * testsuite/25_algorithms/mismatch/2.cc: New.
325 * testsuite/25_algorithms/mismatch/check_type2.cc: New.
326 * testsuite/util/testsuite_iterators.h: Fix spelling.
328 2013-06-08 Jonathan Wakely <jwakely.gcc@gmail.com>
330 * include/std/type-traits (integral_constant::operator()): Implement
332 * testsuite/20_util/integral_constant/call_operator.cc: New.
333 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
335 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
337 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
340 2013-06-07 Uros Bizjak <ubizjak@gmail.com>
342 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
344 2013-06-05 Tom Tromey <tromey@redhat.com>
346 * testsuite/libstdc++-prettyprinters/shared_ptr.cc: Use -O0.
348 2013-06-03 Paolo Carlini <paolo.carlini@oracle.com>
351 * testsuite/20_util/default_delete/48631_neg.cc: Adjust.
353 2013-06-01 Ed Smith-Rowland <3dw4rd@verizon.net>
355 * include/std/chrono: Collapse redundant 'inline' from 'inline
357 * include/std/tuple: Ditto.
358 * include/bits/move.h: Ditto.
360 2013-05-30 Ed Smith-Rowland <3dw4rd@verizon.net>
362 Implement N3642 - User-defined Literals for Standard Library Types
363 * include/bits/parse_numbers.h: New.
364 * include/std/chrono: Add duration literal operators.
365 * include/bits/basic_string.h: Add string literal operators.
366 * include/Makefile.in: Add parse_numbers.h.
367 * include/Makefile.am: Ditto.
368 * testsuite/20_util/duration/literals/values.cc: New.
369 * testsuite/20_util/duration/literals/types.cc: New.
370 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust.
371 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Adjust.
372 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Adjust.
373 * testsuite/21_strings/basic_string/literals/values.cc: New.
374 * testsuite/21_strings/basic_string/literals/types.cc: New.
376 2013-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
378 * src/c++11/compatibility-chrono.cc (steady_clock::now()): If
379 !_GLIBCXX_USE_GETTIMEOFDAY perform conversion inline instead of
380 calling non-existent from_time_t.
382 2013-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
384 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
387 2013-05-24 Benjamin Kosnik <bkoz@redhat.com>
389 * include/std/chrono: Wrap clocks in inline namespace _V2.
390 * src/c++11/chrono.cc: Same.
391 * src/c++11/compatibility-chrono.cc: Revert to previous chrono.cc
392 file, with default configure macros selected.
394 * config/abi/pre/gnu.ver (GLIBCXX_3.4.19): Use symbols from inline
396 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Fix up.
398 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
399 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
400 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
402 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
404 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
405 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
407 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
408 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
409 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
410 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
411 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
412 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
414 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
415 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
417 2013-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
419 * config/os/solaris/solaris2.9/os_defines.h [!CLOCK_MONOTONIC]
420 (CLOCK_MONOTONIC): Define.
422 2013-05-24 Paolo Carlini <paolo.carlini@oracle.com>
424 * include/ext/type_traits.h (__is_null_pointer): Add std::nullptr_t
427 * include/bits/cpp_type_traits.h (__is_fundamental): Remove, unused.
429 2013-05-24 Jakub Jelinek <jakub@redhat.com>
431 * src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
432 include unistd.h and sys/syscall.h. If _GLIBCXX_COMPATIBILITY_CXX0X,
433 don't define system_clock::is_steady, system_clock::now() and
434 steady_clock::is_steady.
435 (std::chrono::system_clock::now()): If
436 _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
437 syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
438 (std::chrono::system_clock::now()): Likewise. Add weak attribute
439 if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
441 * src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
442 (compatibility-chrono.lo, compatibility-chrono.o): New goals.
443 * src/c++11/compatibility-chrono.cc: New file.
444 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
445 syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
446 * testsuite/util/testsuite_abi.cc (check_version): Add
447 GLIBCXX_3.4.20 version and make it the latest.
448 * config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
449 also @@GLIBCXX_3.4.19. Move all symbols so far added for GCC 4.9 to
450 @@GLIBCXX_3.4.20 instead.
451 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
452 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
453 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
455 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
457 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
458 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
460 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
461 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
462 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
463 * config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
464 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
465 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
467 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
468 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
469 * config.h.in: Regenerated.
470 * src/Makefile.in: Regenerated.
471 * configure: Regenerated.
473 2013-05-23 Matthias Klose <doko@ubuntu.com>
475 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
476 (ext_headers): Remove ${ext_host_headers}.
477 (stamp-${host_alias}): Create ${host_builddir}/../ext.
478 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
479 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
480 * include/Makefile.in: Regenerate.
481 * include/ext/random: Include ext/opt_random.h.
483 2013-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
485 * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add KIND=auto to
486 enable features if target OS is known to support them.
487 * configure.ac (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Default to 'auto'.
488 * configure: Regenerate.
490 2013-05-21 Jonathan Wakely <jwakely.gcc@gmail.com>
493 * include/std/functional (__invoke): Do not form function types with
494 abstract return type.
495 * testsuite/20_util/reference_wrapper/invoke-3.cc: New.
497 2013-05-19 Jonathan Wakely <jwakely.gcc@gmail.com>
499 * include/std/tuple (get): Implement N3670.
500 * include/std/utility (get): Likewise.
501 * testsuite/20_util/pair/get.cc: Move to ...
502 * testsuite/20_util/pair/astuple/get.cc: Here.
503 * testsuite/20_util/pair/astuple/astuple.cc: New.
504 * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
505 * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
506 * testsuite/20_util/pair/astuple/get_by_type.cc: New.
507 * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
508 * testsuite/20_util/pair/astuple/get_neg.cc: New.
509 * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
510 * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
511 * testsuite/20_util/tuple/element_access/get_by_type.cc: New.
513 2013-05-19 Paolo Carlini <paolo.carlini@oracle.com>
515 * Revert last commit.
517 2013-05-19 Matthias Klose <doko@ubuntu.com>
519 * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
520 (ext_headers): Remove ${ext_host_headers}.
521 (stamp-${host_alias}): Create ${host_builddir}/../ext.
522 (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
523 (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
524 * include/Makefile.in: Regenerate.
526 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
528 * include/std/system_error (error_category::error_category()): LWG
529 2145: Declare public and constexpr.
530 * src/c++11/system_error.cc (error_category::error_category()): Move
532 * src/c++11/compatibility-c++0x.cc: Here.
534 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
536 * include/std/typeindex (type_index::name()): LWG 2144: Add noexcept.
538 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
540 * include/bits/unique_ptr.h (make_unique): Declare inline.
541 (unique_ptr<T[],D>::reset()): Combine two overloads into one.
542 (default_delete, unique_ptr): Add doxygen comments.
543 * include/bits/shared_ptr_base.h: Improve doxygen comments.
544 * include/bits/shared_ptr.h: Likewise.
545 * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line
547 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
549 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
551 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
553 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
555 * doc/xml/manual/status_cxx2011.xml: Fix markup error.
557 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
559 * include/std/utility (exchange): Define.
560 * testsuite/20_util/exchange/1.cc: New.
562 2013-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
564 * include/bits/unique_ptr.h (make_unique): Define.
565 * testsuite/20_util/unique_ptr/creation/single.cc: New.
566 * testsuite/20_util/unique_ptr/creation/array.cc: New.
567 * testsuite/20_util/unique_ptr/creation/array_neg.cc: New.
569 2013-05-15 François Dumont <fdumont@gcc.gnu.org>
571 * python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
572 rendering of std::tr1 unordered containers iterator.
573 (StdHashtableIterator): New, render std unordered containers iterator.
574 * testsuite/libstdc++-prettyprinters/tr1.cc: New.
576 2013-05-15 Jonathan Wakely <jwakely.gcc@gmail.com>
578 * include/bits/basic_string.h (getline): Fix doxygen comments.
580 2013-05-14 Paolo Carlini <paolo.carlini@oracle.com>
582 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
583 Use std::pointer_traits.
585 2013-05-13 Benjamin Kosnik <bkoz@redhat.com>
587 * libsupc++/Makefile.am (sources): Add bad_array_length.cc,
589 * libsupc++/Makefile.in: Regenerate.
590 * libsupc++/bad_array_length.cc: Tweak.
591 * libsupc++/bad_array_new.cc: Tweak.
593 2013-05-10 Paolo Carlini <paolo.carlini@oracle.com>
596 * include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
597 (_Deque_iterator<>::_M_const_cast): Add.
598 (deque<>::_M_erase): Declare.
599 * include/bits/deque.tcc: ... and define.
600 * include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
601 (_List_const_iterator<>::_M_const_cast): Add.
602 * include/bits/list.tcc (erase (iterator)): Fix.
603 * include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
604 Add; include <ext/cast.h>.
605 * include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
606 (vector<>::_M_erase): Declare.
607 * include/bits/stl_bvector.h: Likewise.
608 * include/bits/vector.tcc (vector<>::_M_erase): Define.
609 * include/ext/vstring.h (erase): Fix signatures in C++11 mode.
610 * include/debug/deque: Adjust.
611 * include/debug/list: Likewise.
612 * include/debug/vector: Likewise.
613 * include/profile/deque: Likewise.
614 * include/profile/list: Likewise.
615 * include/profile/vector: Likewise.
616 * testsuite/util/exception/safety.h (erase_base<deque>,
617 erase_base<deque>, erase_base<vector>): Remove.
618 (erase_base<__versa_string>): Update.
619 * testsuite/ext/vstring/modifiers/char/54577.cc: New.
620 * testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
621 * testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
622 * testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
623 * testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
625 * testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
626 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
627 Adjust dg-error line numbers.
628 * testsuite/23_containers/deque/requirements/dr438/
629 constructor_1_neg.cc: Likewise.
630 * testsuite/23_containers/deque/requirements/dr438/
631 constructor_2_neg.cc: Likewise.
632 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
634 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
636 * testsuite/23_containers/list/requirements/dr438/
637 constructor_1_neg.cc: Likewise.
638 * testsuite/23_containers/list/requirements/dr438/
639 constructor_2_neg.cc: Likewise.
640 * testsuite/23_containers/list/requirements/dr438/
641 insert_neg.cc: Likewise.
642 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
644 * testsuite/23_containers/vector/requirements/dr438/
645 constructor_1_neg.cc: Likewise.
646 * testsuite/23_containers/vector/requirements/dr438/
647 constructor_2_neg.cc: Likewise.
648 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
651 2013-05-09 Uros Bizjak <ubizjak@gmail.com>
653 * testsuite/util/testsuite_abi.cc (check_version): Add CXXABI_1.3.8.
655 2013-05-08 Jason Merrill <jason@redhat.com>
657 Add std::bad_array_length (N3639)
658 * libsupc++/new: Add std::bad_array_length.
659 * libsupc++/bad_array_length.cc: New.
660 * libsupc++/eh_aux_runtime.cc: Add __cxa_bad_array_length.
661 * libsupc++/Makefile.in: Build them.
662 * config/abi/pre/gnu.ver: Add new symbols.
663 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
665 2013-05-08 Andi Kleen <ak@linux.intel.com>
668 * libstdc++-v3/include/bits/atomic_base.h
669 (_GLIBCXX_ALWAYS_INLINE): Add new macro.
670 (atomic_thread_fence, atomic_signal_fence, test_and_set,
671 clear, store, load, exchange, compare_exchange_weak)
672 compare_exchange_strong, fetch_add, fetch_sub, fetch_and,
673 fetch_or, fetch_xor): Mark _GLIBCXX_ALWAYS_INLINE.
675 2013-05-08 Jason Merrill <jason@redhat.com>
677 Add std::bad_array_new_length (N2932)
678 * libsupc++/new: Add std::bad_array_new_length.
679 * libsupc++/bad_array_new.cc: New.
680 * libsupc++/eh_aux_runtime.cc: Add __cxa_throw_bad_array_new_length.
681 * libsupc++/Makefile.in: Build them.
682 * config/abi/pre/gnu.ver: Add new symbols.
683 * config/abi/pre/gnu-versioned-namespace.ver: Add new symbols.
685 2013-05-08 Andoni Morales Alastruey <ylatuya@gmail.com>
688 * include/Makefile.am (_GLIBCXX___MINGW32_GLIBCXX___): Modify
690 * include/Makefile.in: Regenerated.
692 2013-05-07 François Dumont <fdumont@gcc.gnu.org>
694 * include/profile/unordered_base.h: New.
695 * include/Makefile.am: Add new profile header.
696 * include/Makefile.in: Regenerate.
697 * include/profile/impl/profiler.h
698 (__profcxx_inefficient_hash_is_on): New macro.
699 * include/profile/unordered_map (std::profile::unordered_map<>):
700 Use new _Unordered_profile base class. Use default implementations
701 for special functions.
702 (std::profile::unordered_multimap<>): Likewise.
703 * include/profile/unordered_set (std::profile::unordered_set<>):
705 (std::profile::unordered_multiset<>): Likewise.
706 * testsuite/23_containers/unordered_multiset/55043.cc: Fix
707 MoveOnly equality operator signature.
709 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
711 * testsuite/tr1/4_metaprogramming/integral_constant/requirements/
712 constexpr_data.cc: Move...
713 * testsuite/20_util/integral_constant/requirements/constexpr_data.cc:
715 * testsuite/20_util/integral_constant/requirements/
716 explicit_instantiation.cc: New.
717 * testsuite/20_util/integral_constant/requirements/typedefs.cc:
719 * testsuite/20_util/integral_constant/static_definition.cc: Likewise.
720 * testsuite/20_util/integral_constant/true_false_type_typedefs.cc:
722 * testsuite/20_util/integral_constant/true_false_value.cc: Likewise.
723 * testsuite/20_util/integral_constant/operator_value_type.cc: Likewise.
725 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
727 * include/std/type_traits (is_null_pointer): Add.
728 (__is_nullptr_t): Implement in terms of the latter.
729 (is_fundamental, is_scalar): Adjust.
730 * testsuite/20_util/is_null_pointer/requirements/
731 explicit_instantiation.cc: New.
732 * testsuite/20_util/is_null_pointer/requirements/typedefs.cc:
734 * testsuite/20_util/is_null_pointer/value.cc: Likewise.
735 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
737 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
739 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
742 2013-05-02 Paolo Carlini <paolo.carlini@oracle.com>
744 * include/c_global/cstdio: Add comment about LWG 2249.
745 * include/c_std/cstdio: Likewise.
747 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
749 * include/bits/hashtable_policy.h (_Hashtable_ebo_helper): Fix
751 * include/std/mutex (__recursive_mutex_base): Likewise.
753 2013-04-28 Jonathan Wakely <jwakely.gcc@gmail.com>
756 * include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
757 implement EBO safely.
758 (_Sp_counted_base::_M_get_deleter): Add noexcept.
759 (_Sp_counter_ptr): Use noexcept instead of comments.
760 (_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
761 (_Sp_counted_ptr_inplace): Likewise.
762 * testsuite/20_util/shared_ptr/cons/51365.cc: New.
763 * testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
764 custom allocator and test construction with custom allocator.
765 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
768 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
770 * testsuite/23_containers/unordered_set/insert/move_range.cc: Adjust
771 dialect to -std=gnu++11.
773 2013-04-26 François Dumont <fdumont@gcc.gnu.org>
775 * include/bits/hashtable_policy.h
776 (_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
777 * testsuite/23_containers/unordered_set/insert/move_range.cc: New.
779 2013-04-26 Paolo Carlini <paolo.carlini@oracle.com>
781 * include/c_global/cstdio (gets): Provide only in C++98 and C++11.
782 * include/c_std/cstdio (gets): Likewise.
783 * testsuite/27_io/headers/cstdio/functions_std.cc: Adjust.
785 2013-04-25 Paolo Carlini <paolo.carlini@oracle.com>
788 * include/debug/unordered_map (unordered_map, unordered_multimap):
789 Fix default allocator type.
790 * include/profile/unordered_map (unordered_map, unordered_multimap):
792 * include/bits/unordered_map.h: Fix comments.
794 2013-04-24 Jonathan Wakely <jwakely.gcc@gmail.com>
797 * libsupc++/exception_ptr.h (copy_exception): Deprecate and
798 move implementation to make_exception_ptr.
799 * include/std/future (_State_base::_M_break_promise): Replace
800 copy_exception with make_exception_ptr.
801 * testsuite/18_support/exception_ptr/move.cc: Likewise.
802 * testsuite/18_support/exception_ptr/rethrow_exception.cc: Likewise.
803 * testsuite/30_threads/future/members/get2.cc: Likewise.
804 * testsuite/30_threads/promise/members/set_exception.cc: Likewise.
805 * testsuite/30_threads/promise/members/set_exception2.cc: Likewise.
806 * testsuite/30_threads/promise/members/set_value2.cc: Likewise.
807 * testsuite/30_threads/shared_future/members/get2.cc: Likewise.
809 2013-04-22 Jason Merrill <jason@redhat.com>
811 * src/c++11/hashtable_c++0x.cc: Include ext/aligned_buffer.h.
813 * testsuite/lib/prune.exp (libstdc++-dg-prune): Also ignore "In
816 * testsuite/20_util/is_assignable/value.cc: Comment out tests involving
818 * testsuite/20_util/is_constructible/value-2.cc: Likewise.
819 * testsuite/20_util/reference_wrapper/result_type.cc: Likewise.
820 * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise.
822 2013-04-22 François Dumont <fdumont@gcc.gnu.org>
824 * include/bits/hashtable_policy.h: Add C++11 allocator support.
825 * include/bits/hashtable.h: Likewise.
826 * include/bits/unordered_set.h: Likewise.
827 * include/bits/unordered_map.h: Likewise.
828 * include/debug/unordered_set: Likewise.
829 * include/debug/unordered_map: Likewise.
830 * include/std/unordered_set: Remove bits/algobase.h
831 include. Replace bits/alloc_traits.h by ext/alloc_traits.h.
832 * include/std/unordered_map: Likewise.
833 * include/ext/throw_allocator.h: Add checks on calls to allocator
835 (std::hash<__gnu_cxx::throw_value_limit>): Add conditional throw.
836 (std::hash<__gnu_cxx::throw_value_random>): Likewise.
837 * testsuite/util/regression/rand/priority_queue
838 /container_rand_regression_test.tcc: Adapt.
839 * testsuite/util/regression/rand/assoc
840 /container_rand_regression_test.tcc: Likewise.
841 * testsuite/util/testsuite_counter_type.h: Add count of destructors.
842 * testsuite/23_containers/unordered_set
843 /not_default_constructible_hash_neg.cc: Adjust dg-error line number.
844 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Likewise.
845 * testsuite/23_containers/unordered_set/allocator/copy.cc: New.
846 * testsuite/23_containers/unordered_set/allocator/copy_assign.cc: New.
847 * testsuite/23_containers/unordered_set/allocator/minimal.cc: New.
848 * testsuite/23_containers/unordered_set/allocator/move_assign.cc: New.
849 * testsuite/23_containers/unordered_set/allocator/noexcept.cc: New.
850 * testsuite/23_containers/unordered_set/allocator/swap.cc: New.
851 * testsuite/23_containers/unordered_multiset/allocator/copy.cc: New.
852 * testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc:
854 * testsuite/23_containers/unordered_multiset/allocator/minimal.cc: New.
855 * testsuite/23_containers/unordered_multiset/allocator/move_assign.cc:
857 * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: New.
858 * testsuite/23_containers/unordered_multiset/allocator/swap.cc: New.
859 * testsuite/23_containers/unordered_map/allocator/copy.cc: New.
860 * testsuite/23_containers/unordered_map/allocator/copy_assign.cc: New.
861 * testsuite/23_containers/unordered_map/allocator/minimal.cc: New.
862 * testsuite/23_containers/unordered_map/allocator/move_assign.cc: New.
863 * testsuite/23_containers/unordered_map/allocator/noexcept.cc:
865 * testsuite/23_containers/unordered_map/allocator/swap.cc: New.
866 * testsuite/23_containers/unordered_multimap/allocator/copy.cc: New.
867 * testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc:
869 * testsuite/23_containers/unordered_multimap/allocator/minimal.cc: New.
870 * testsuite/23_containers/unordered_multimap/allocator/move_assign.cc:
872 * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: New.
873 * testsuite/23_containers/unordered_multimap/allocator/swap.cc: New.
875 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
877 * include/std/type_traits (is_signed): Simplify.
878 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
879 Adjust dg-error line numbers.
880 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
882 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
884 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
887 * include/std/complex (complex<float>::real, complex<float>::imag,
888 complex<double>::real, complex<double>::imag,
889 complex<long double>::real, complex<long double>::imag): Declare
890 as const member functions.
891 * include/std/type_traits (integral_constant<>::operator value_type):
894 2013-04-22 Paolo Carlini <paolo.carlini@oracle.com>
897 * include/bits/stl_heap.h (pop_heap): Avoid self move-assignment.
898 * testsuite/25_algorithms/pop_heap/57010.cc: New.
900 2013-04-21 Evgeniy Stepanov <eugenis@google.com>
902 * src/c++11/system_error.cc (generic_category_instance): Add
904 (system_category_instance): Likewise.
905 * src/c++11/future.cc (__fec): Likewise.
907 2013-04-20 Jonathan Wakely <jwakely.gcc@gmail.com>
909 * doc/xml/manual/extensions.xml: Fix anachronism.
911 2013-04-09 Tom Tromey <tromey@redhat.com>
913 * configure, config.h.in: Rebuild.
914 * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for
916 * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun.
918 2013-04-09 Uros Bizjak <ubizjak@gmail.com>
920 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update.
922 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com>
924 * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>.
926 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
928 * include/Makefile.am: Add ext/aligned_buffer.h
929 * include/Makefile.in: Regenerate.
930 * include/ext/aligned_buffer.h: New.
931 * include/std/future (_Result): Use __aligned_buffer.
932 * include/bits/forward_list.h (_Fwd_list_node): Likewise.
933 * include/bits/shared_ptr_base.h (_Sp_counted_ptr_inplace): Likewise.
934 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line
937 2013-04-07 Jonathan Wakely <jwakely.gcc@gmail.com>
939 * include/bits/forward_list.h: Only include required headers.
940 (forward_list::reference): Define directly, not using __alloc_traits.
941 (forward_list::const_reference): Likewise.
943 2013-04-07 François Dumont <fdumont@gcc.gnu.org>
945 * include/std/functional (_Derives_from_unary_function): Remove.
946 (_Derives_from_binary_function): Remove.
947 * include/std/type_traits (__sfinae_types): Remove.
948 (__is_assignable_helper): Adapt.
949 (__is_convertible_helper): Adapt.
950 (_GLIBCXX_HAS_NESTED_TYPE): Adapt.
951 Remove several explicit instantiations of integral_constant.
952 * testsuite/20_util/reference_wrapper/typedefs-3.cc: Adapt.
953 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
954 Adapt dg-error line number.
955 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
957 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
958 * testsuite/20_util/bind/ref_neg.cc: Likewise.
960 2013-04-05 Jonathan Wakely <jwakely.gcc@gmail.com>
963 * libsupc++/eh_ptr.cc (rethrow_exception): Use get_unexpected() and
964 get_terminate() accessors.
965 * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
966 * libsupc++/eh_terminate.cc: Use mutex when atomic builtins not
968 * libsupc++/new_handler.cc: Likewise.
970 2013-04-04 Jonathan Wakely <jwakely.gcc@gmail.com>
972 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.19 version.
974 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
977 * include/debug/array (tuple_size, tuple_element): Do not declare.
978 * include/profile/array: Likewise.
979 * testsuite/23_containers/array/tuple_interface/
980 tuple_element_debug_neg.cc: Adjust dg-error line number.
982 2013-04-03 Jonathan Wakely <jwakely.gcc@gmail.com>
984 * libsupc++/exception (get_terminate(), get_unexpected()): Declare.
985 * libsupc++/eh_terminate.cc (get_terminate() , set_unexpected()):
987 (set_terminate(terminate_handler)): Set atomically.
988 (set_unexpected(terminate_handler)): Likewise.
989 * libsupc++/new (get_new_handler()): Declare.
990 * libsupc++/new_handler.cc (get_new_handler()): Define.
991 (set_new_handler(new_handler)): Set atomically.
992 (__new_handler): Use internal linkage.
993 * libsupc++/new_op.cc (operator new): Use get_new_handler().
994 * libsupc++/new_opnt.cc (operator new): Likewise.
995 * acinclude.m4: Bump libtool_VERSION to 6:19:0.
996 * configure: Regenerate.
997 * libsupc++/Makefile.am: Compile above files with -std=gnu++11.
998 * libsupc++/Makefile.in: Regenerate.
999 * config/abi/pre/gnu.ver: Add new exports.
1000 * doc/xml/manual/status_cxx2011.xml: Update.
1001 * testsuite/18_support/headers/exception/synopsis.cc: Check accessors
1003 * testsuite/18_support/headers/new/synopsis.cc: Likewise.
1004 * testsuite/18_support/new_handler.cc: New.
1005 * testsuite/18_support/terminate_handler.cc: New.
1006 * testsuite/18_support/unexpected_handler.cc: New.
1008 2013-04-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1010 * doc/xml/manual/appendix_contributing.xml: Remove broken link and
1011 defer to general documentation on contributing to GCC.
1012 * doc/html/*: Regenerate.
1014 2013-03-30 Gerald Pfeifer <gerald@pfeifer.com>
1016 * doc/xml/manual/allocator.xml: Adjust link to Dr.Dobb's article.
1018 * doc/xml/manual/appendix_contributing.xml: Adjust link to GNU
1021 * doc/xml/manual/debug.xml: Adjust link for ThreadSanitizer.
1023 * doc/xml/manual/debug_mode.xml: Adjust link for SafeSTL.
1025 * doc/xml/manual/documentation_hacking.xml: Adjust Doxygen link.
1027 * doc/xml/manual/messages.xml: Adjust link to Java API specs.
1029 * doc/xml/manual/policy_data_structures: Remove direct link to
1030 IBM Haifa Research Labs.
1032 * doc/xml/manual/policy_data_structures_biblio.xml: Adjust links
1033 for biblio.maverik_lowerbounds and biblio.nelson96stlpq.
1035 * doc/xml/manual/profile_mode.xml: Adjust two links to acm.org
1038 * doc/xml/manual/shared_ptr.xml: Use canonical address for
1041 2013-03-27 Kai Tietz <ktietz@redhat.com>
1043 * crossconfig.m4: Add support for cygwin x64 target.
1044 * configure: Regenerated.
1046 2013-03-25 Kai Tietz <ktietz@redhat.com>
1048 * testsuite/18_support/50594.cc: For mingw-targets use only static
1050 * testsuite/19_diagnostics/error_category/operators/equal.cc
1051 * testsuite/19_diagnostics/error_code/cons/1.cc
1052 * testsuite/19_diagnostics/error_code/operators/bool.cc
1053 * testsuite/19_diagnostics/error_code/operators/equal.cc
1054 * testsuite/19_diagnostics/error_code/operators/not_equal.cc
1055 * testsuite/19_diagnostics/error_condition/cons/1.cc
1056 * testsuite/19_diagnostics/error_condition/operators/bool.cc
1057 * testsuite/19_diagnostics/error_condition/operators/equal.cc
1058 * testsuite/19_diagnostics/error_condition/operators/not_equal.cc
1059 * testsuite/23_containers/set/requirements/exception/basic.cc
1060 * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc
1061 * testsuite/lib/dg-options.exp (dg-additional-options): New option.
1063 2013-03-24 Jonathan Wakely <jwakely.gcc@gmail.com>
1066 * include/ext/debug_allocator.h (debug_allocator): Add missing members
1067 to meet allocator requirements.
1068 * testsuite/ext/debug_allocator/56170.cc: New.
1070 2013-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1073 * include/std/chrono (__is_ratio): Uglify T.
1075 2013-03-18 Paolo Carlini <paolo.carlini@oracle.com>
1077 PR libstdc++/55977 (partial, std::vector and std::deque bits)
1078 * include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
1079 _InputIterator, std::input_iterator_tag)): Use emplace_back.
1080 * include/bits/deque.tcc (_M_range_initialize(_InputIterator,
1081 _InputIterator, std::input_iterator_tag)): Likewise.
1082 * testsuite/23_containers/vector/cons/55977.cc: New.
1083 * testsuite/23_containers/deque/cons/55977.cc: Likewise.
1084 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
1085 Adjust dg-error line number.
1086 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
1089 2013-03-17 Paolo Carlini <paolo.carlini@oracle.com>
1092 * include/bits/stl_list.h (_M_initialize_dispatch(_InputIterator,
1093 _InputIterator, __false_type)): Use emplace_back.
1094 * testsuite/23_containers/list/cons/55979.cc: New.
1095 * testsuite/23_containers/list/modifiers/1.h: Adjust.
1096 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
1097 Adjust dg-error line number.
1099 2013-03-16 Jason Merrill <jason@redhat.com>
1102 * testsuite/20_util/pair/piecewise2.cc (test01): Use std::move.
1104 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1107 * libsupc++/exception_ptr.h (type_info): Declare.
1109 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1112 * include/std/mutex (lock_guard, unique_lock, lock): Define without
1113 depending on _GLIBCXX_HAS_GTHREADS.
1114 * testsuite/30_threads/lock_guard/cons/1.cc: Run on all targets.
1116 2013-03-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1119 * include/std/future (__future_base::_Result): Add result_type
1121 (__future_base::_S_allocate_result): Overload for std::allocator.
1122 (__future_base::_Task_setter): Use _Result::result_type instead of
1123 deducing the type from the task.
1124 (__future_base::_Task_state): Store allocator to allow shared state
1125 to be reset. Replace std::function with member of target object type
1127 (__future_base::_Task_state_base): New abstract base class.
1128 (__future_base::_Task_state_base::_M_run): New virtual function to
1129 invoke type-erased target object.
1130 (__future_base::_Task_state_base::_M_reset): New virtual function to
1131 create new shared_state using same target object and allocator.
1132 (__future_base::__create_task_state): Allocate a new _Task_state.
1133 (packaged_task::packaged_task): Use __create_task_state.
1134 (packaged_task::reset): Use _Task_state_base::_M_reset.
1135 * testsuite/30_threads/packaged_task/cons/56492.cc: New.
1137 2013-03-15 Tom Tromey <tromey@redhat.com>
1139 * libsupc++/unwind-cxx.h: Include sys/sdt.h if detected.
1140 (PROBE2): New macro.
1141 * libsupc++/eh_throw.cc (__cxa_throw, __cxa_rethrow): Add probe.
1142 * libsupc++/eh_catch.cc (__cxa_begin_catch): Add probe.
1143 * configure.ac: Check for sys/sdt.h.
1144 * configure, config.h.in: Rebuild.
1146 2013-03-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1149 * include/bits/stl_tree.h (_Rb_tree::_M_create_node): Use
1150 allocator_traits instead of calling construct directly.
1151 * testsuite/23_containers/map/56613.cc: New.
1153 2013-03-13 Benjamin Kosnik <bkoz@redhat.com>
1155 * doc/html/*: Regenerate.
1157 2013-03-13 Paolo Carlini <paolo.carlini@oracle.com>
1160 * include/std/type_traits (is_fundamental): Add std::nullptr_t.
1161 * testsuite/20_util/is_fundamental/value.cc: Extend.
1162 * testsuite/20_util/is_compound/value.cc: Likewise.
1164 2013-03-09 Paolo Carlini <paolo.carlini@oracle.com>
1166 * testsuite/20_util/function_objects/mem_fn/55463.cc: Avoid
1169 2013-03-08 Benjamin Kosnik <bkoz@redhat.com>
1171 * include/bits/memoryfwd.h: New. Centralize forward declarations.
1172 * include/bits/algorithmfwd.h: Consistent comments.
1173 * include/bits/localefwd.h: Same.
1174 * include/ext/vstring_fwd.h: Same.
1175 * include/parallel/algorithmfwd.h: Same.
1176 * include/parallel/numericfwd.h: Same.
1177 * include/std/iosfwd: Same.
1179 * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator
1181 * include/ext/alloc_traits.h: Remove allocator forward decl.
1182 * include/bits/stl_construct.h: Same.
1183 * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator
1184 forward decl. Consistent comments.
1186 * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO.
1188 * include/Makefile.am (bits_headers): Add memoryfwd.h.
1189 * include/Makefile.in: Regenerate.
1192 2013-03-08 François Dumont <fdumont@gcc.gnu.org>
1194 * include/bits/vector.tcc (vector<>operator=(const vector<>&):
1195 Reset pointers after deallocation when memory can be reused.
1196 * testsuite/23_containers/vector/allocator/minimal.cc: Insert
1197 elements to really challenge C++11 allocator integration.
1198 * testsuite/23_containers/vector/allocator/copy.cc: Likewise.
1199 * testsuite/23_containers/vector/allocator/copy_assign.cc:
1201 * testsuite/23_containers/vector/allocator/move_assign.cc:
1203 * testsuite/23_containers/vector/allocator/swap.cc: Likewise and
1204 swap vector back before checks on memory/personality mapping are
1206 * testsuite/23_containers/forward_list/allocator/minimal.cc:
1207 Insert element to really challenge C++11 allocator integration.
1208 * testsuite/23_containers/forward_list/allocator/copy.cc:
1210 * testsuite/23_containers/forward_list/allocator/copy_assign.cc:
1212 * testsuite/23_containers/forward_list/allocator/move_assign.cc:
1214 * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
1215 and swap forward_list back before checks on memory/personality
1216 mapping are performed.
1218 2013-03-07 Jakub Jelinek <jakub@redhat.com>
1220 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1221 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1222 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1224 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1225 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1226 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1227 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1228 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1229 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1231 2013-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1233 * scripts/extract_symvers.pl: Omit symbols bound to base
1235 * scripts/extract_symvers.in: Likewise.
1236 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
1237 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
1238 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1239 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1240 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1242 2013-03-04 Ulrich Drepper <drepper@gmail.com>
1244 * include/ext/random (__gnu_cxx::von_mises_distribution<>):
1245 Optimize generation function by pulling computation of __r into the
1246 constructor for param_type. Also compare _M_mu in operator==.
1249 2013-03-02 Ulrich Drepper <drepper@gmail.com>
1251 Add triangular and von Mises distributions.
1252 * include/ext/random: Include <ext/cmath>.
1253 Add __gnu_cxx::triangular_distribution<> and
1254 __gnu_cxx::von_mises_distribution<> classes.
1255 * include/ext/random.tcc: Add out-of-line functions for
1256 __gnu_cxx::triangular_distribution<> and
1257 __gnu_cxx::von_mises_distribution<>.
1258 * testsuite/ext/triangular_distribution/cons/default.cc: New file.
1259 * testsuite/ext/triangular_distribution/cons/parms.cc: New file.
1260 * testsuite/ext/triangular_distribution/operators/serialize.cc:
1262 * testsuite/ext/triangular_distribution/operators/equal.cc:
1264 * testsuite/ext/triangular_distribution/operators/inequal.cc:
1266 * testsuite/ext/triangular_distribution/requirements/typedefs.cc:
1268 * testsuite/ext/triangular_distribution/requirements/
1269 explicit_instantiation/1.cc: New file.
1270 * testsuite/ext/von_mises_distribution/cons/default.cc: New file.
1271 * testsuite/ext/von_mises_distribution/cons/parms.cc: New file.
1272 * testsuite/ext/von_mises_distribution/operators/serialize.cc:
1274 * testsuite/ext/von_mises_distribution/operators/equal.cc: New file.
1275 * testsuite/ext/von_mises_distribution/operators/inequal.cc:
1277 * testsuite/ext/von_mises_distribution/requirements/typedefs.cc:
1279 * testsuite/ext/von_mises_distribution/requirements/
1280 explicit_instantiation/1.cc: New file.
1283 * include/Makefile.am (ext_headers): Add cmath.
1284 * include/Makefile.in: Regenerated.
1285 * include/ext/cmath: New file.
1287 2013-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1289 * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
1290 * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
1291 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1292 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1293 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1295 2013-02-26 Jonathan Wakely <jwakely.gcc@gmail.com>
1298 * include/bits/atomic_base.h (atomic_flag): Fix narrowing conversion.
1299 * testsuite/29_atomics/atomic/operators/56012.cc: New.
1302 * include/std/atomic (atomic<bool>::operator=(bool) volatile): Add
1304 * testsuite/29_atomics/atomic/operators/56011.cc: New.
1306 2013-02-25 Jason Merrill <jason@redhat.com>
1308 * configure.ac: Check for __cxa_thread_atexit_impl.
1309 * libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
1311 * config.h.in, configure: Regenerate.
1313 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1315 * include/std/streambuf (basic_streambuf): Use injected class name
1316 instead of non-standard __streambuf_type typedef. Fix unclosed Doxygen
1319 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1321 * doc/html/faq.html: Fix spelling.
1322 * doc/xml/faq.xml: Likewise.
1323 * include/bits/basic_ios.h: Likewise.
1324 * include/bits/regex.h: Likewise.
1325 * include/std/istream: Likewise.
1326 * include/std/streambuf: Likewise.
1328 2013-02-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1330 * testsuite/23_containers/unordered_set/55043.cc: Add missing
1331 namespace qualification.
1332 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
1334 2013-02-19 Benjamin Kosnik <bkoz@redhat.com>
1336 * doc/doxygen/user.cfg.in: Set __cplusplus to 201103L. Change to
1337 _GLIBCXX_INCLUDE_AS_CXX11. DIRECTORY_GRAPH, MARKDOWN_SUPPORT,
1338 AUTOLINK_SUPPORT to NO. Update to doxygen 1.8.3.1.
1339 * include/bits/stl_pair.h: Add to utilities group.
1340 * include/std/tuple: Same.
1341 * include/std/typeindex: Same.
1343 * include/bits/stringfwd.h: Fix markup.
1344 * include/std/limits: Same.
1345 * include/std/type_traits: Same.
1346 * include/tr1/memory: Same.
1347 * include/tr1/regex: Same.
1348 * scripts/run_doxygen: Comment.
1349 * testsuite/20_util/uses_allocator/cons_neg.cc: Fixup line numbers.
1351 2013-02-14 Jason Merrill <jason@redhat.com>
1353 * testsuite/18_support/quick_exit/quick_exit.cc: #if out the whole
1354 test if unsupported.
1356 2013-02-13 Marc Glisse <marc.glisse@inria.fr>
1359 * include/std/complex (complex): Undefine.
1360 * include/c_compatibility/complex.h (complex): Only undefine if
1361 <complex> has been included.
1362 * testsuite/26_numerics/complex/56111.cc: New testcase.
1364 2013-02-13 François Dumont <fdumont@gcc.gnu.org>
1366 * include/bits/hashtable_policy.h (_Hash_code_base): Restore
1367 default constructor protected.
1368 * include/bits/hashtable.h: static assert that _Hash_code_base has
1369 a default constructor available through inheritance.
1371 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1373 * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
1376 2013-02-12 Julian Brown <julian@codesourcery.com>
1378 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
1379 Don't expect dots after abbreviated weekday names for ru_RU for
1380 glibc versions >= 2.17.
1381 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc (test01):
1384 2013-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1386 * include/bits/random.tcc (__transform): Remove.
1388 (discrete_distribution<>::param_type::_M_initialize): Adjust.
1389 (piecewise_constant_distribution<>::param_type::_M_initialize):
1391 (piecewise_linear_distribution<>::param_type::_M_initialize):
1394 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
1396 * src/c++11/Makefile.am (hashtable_c++0x.lo, hashtable_c++0x.o):
1397 Use -fimplicit-templates.
1398 * src/c++11/Makefile.in: Regenerate.
1399 * src/c++11/hashtable_c++0x.cc: Remove instantiation for
1400 std::lower_bound template.
1402 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
1404 * include/c_std/cstdlib (at_quick_exit, quick_exit): Do not declare.
1405 * include/c_global/cstdlib (at_quick_exit, quick_exit): Declare only
1406 in C++11 mode and if available in the underlying C library.
1407 * testsuite/18_support/quick_exit/quick_exit.cc: Compile with
1408 -std=gnu++11; check _GLIBCXX_HAVE_AT_QUICK_EXIT and
1409 _GLIBCXX_HAVE_QUICK_EXIT.
1411 2013-02-11 Benjamin Kosnik <bkoz@redhat.com>
1413 * doc/html/*: Regenerate.
1415 2013-02-11 Jason Merrill <jason@redhat.com>
1417 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New.
1418 (GLIBCXX_CHECK_STDLIB_SUPPORT): Check for atexit and at_quick_exit.
1419 * config.h.in, configure: Regenerate.
1420 * include/c_std/cstdlib: Add atexit and at_quick_exit.
1421 * include/c_global/cstdlib: Add atexit and at_quick_exit.
1422 * testsuite/18_support/quick_exit/quick_exit.cc: New.
1424 2013-02-11 Paolo Carlini <paolo.carlini@oracle.com>
1428 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
1431 * include/bits/basic_ios.h: Replace operator void*() const
1432 with explicit operator bool() const in C++11 and greater.
1433 * testsuite/27_io/basic_ios/pr56193.cc: New file.
1435 2013-02-10 François Dumont <fdumont@gcc.gnu.org>
1436 Jonathan Wakely <jwakely.gcc@gmail.com>
1438 * doc/xml/manual/containers.xml: Add section on unordered containers.
1439 * doc/xml/manual/using.xml: Fix incomplete sentence.
1441 2013-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1444 * include/bits/hashtable.h (__cache_default): Check if hash function
1446 * testsuite/23_containers/unordered_set/56267.cc: New.
1447 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
1448 dg-error line number.
1449 * testsuite/23_containers/unordered_set/
1450 not_default_constructible_hash_neg.cc: Likewise.
1453 * include/bits/hashtable_policy.h (_Hash_code_base): Make default
1455 * testsuite/23_containers/unordered_set/56278.cc: New.
1457 2013-02-09 François Dumont <fdumont@gcc.gnu.org>
1459 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series): Code
1462 2013-02-08 Edward Smith-Rowland <3dw4rd@verizon.net>
1465 * include/tr1/special_function_util.h: Remove spurious const
1466 from numeric arguments.
1467 * include/tr1/riemann_zeta.tcc: Likewise.
1468 * include/tr1/exp_integral.tcc: Likewise.
1469 * include/tr1/bessel_function.tcc: Likewise.
1470 * include/tr1/hypergeometric.tcc: Likewise.
1471 * include/tr1/modified_bessel_func.tcc: Likewise.
1472 * include/tr1/poly_laguerre.tcc: Likewise.
1473 * include/tr1/gamma.tcc: Likewise.
1474 * include/tr1/legendre_function.tcc: Likewise.
1475 * include/tr1/poly_hermite.tcc: Likewise.
1476 * include/tr1/ell_integral.tcc: Likewise.
1477 * include/tr1/bessel_function.tcc (__cyl_bessel_ij_series):
1478 If argument is zero return function value.
1479 * testsuite/tr1/5_numerical_facilities/special_functions/
1480 08_cyl_bessel_i/pr56216.cc: New.
1482 2013-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1484 * testsuite/27_io/basic_ios/pr56193.cc: Tweak.
1486 2013-02-06 Edward Smith-Rowland <3dw4rd@verizon.net>
1489 * include/bits/basic_ios.h: Replace operator void*() const
1490 with explicit operator bool() const in C++11 and greater.
1491 * testsuite/27_io/basic_ios/pr56193.cc: New file.
1493 2013-02-04 Dodji Seketeli <dodji@redhat.com>
1495 Add missing explicit instantiation for std::lower_bound template
1496 * libstdc++-v3/src/c++11/hashtable_c++0x.cc (namespace std): Add
1497 missing instantiation for std::lower_bound template.
1499 2013-02-04 François Dumont <fdumont@gcc.gnu.org>
1501 * include/bits/functional_hash.h (std::__is_fast_hash<>): New.
1502 * include/bits/basic_string.h: Specialize previous to mark
1503 std::hash for string types as slow.
1504 * include/bits/hashtable.h (__cache_default): Replace is_integral
1505 with __is_fast_hash.
1506 * src/c++11/hash_c++0x.cc: Add type_traits include.
1507 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1508 Adapt dg-error line number.
1509 * testsuite/23_containers/unordered_set/
1510 not_default_constructible_hash_neg.cc: Likewise.
1512 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
1513 Paolo Carlini <paolo.carlini@oracle.com>
1515 PR libstdc++/56202 (again)
1516 * include/bits/random.tcc (binomial_distribution<>::
1517 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Fix thinko
1520 * include/bits/random.h: Fix comment typo.
1522 2013-02-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
1523 Paolo Carlini <paolo.carlini@oracle.com>
1526 * include/bits/random.tcc (binomial_distribution<>::
1527 _M_waiting(_UniformRandomNumberGenerator&, _IntType)): Avoid
1530 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
1532 Update copyright years.
1533 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc,
1534 testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc,
1535 testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc,
1536 testsuite/23_containers/deque/requirements/dr438/insert_neg.cc,
1537 testsuite/23_containers/list/requirements/dr438/assign_neg.cc,
1538 testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc,
1539 testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc,
1540 testsuite/23_containers/list/requirements/dr438/insert_neg.cc,
1541 testsuite/23_containers/vector/requirements/dr438/assign_neg.cc,
1542 testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc,
1543 testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc,
1544 testsuite/23_containers/vector/requirements/dr438/insert_neg.cc,
1545 testsuite/29_atomics/atomic/cons/assign_neg.cc,
1546 testsuite/29_atomics/atomic/cons/copy_neg.cc,
1547 testsuite/29_atomics/atomic_integral/cons/assign_neg.cc,
1548 testsuite/29_atomics/atomic_integral/cons/copy_neg.cc,
1549 testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc,
1550 testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc,
1551 testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1552 Update lines in dg error matches.
1554 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
1556 * config/os/mingw32/ctype_inline.h: Fix copyright typo.
1558 2013-02-01 François Dumont <fdumont@gcc.gnu.org>
1560 * include/bits/hashtable_policy.h
1561 (_Prime_rehash_policy::_M_next_bkt)
1562 (_Prime_rehash_policy::_M_need_rehash): Move definition...
1563 * src/c++11/hashtable_c++0x.cc: ... here.
1564 * src/shared/hashtable-aux.cc: Remove c++config.h include.
1565 * config/abi/gnu.ver (GLIBCXX_3.4.18): Export _Prime_rehash_policy
1568 2013-01-29 Jason Merrill <jason@redhat.com>
1571 * config/abi/pre/gnu.ver: Don't export construction vtables.
1572 * config/abi/pre/gnu-versioned-namespace.ver: Likewise.
1574 2013-01-28 Jonathan Wakely <jwakely.gcc@gmail.com>
1577 * include/bits/hashtable_policy.h (insert(_Pair&&)): Use _M_emplace
1578 to construct value_type explicitly before trying to extract the key.
1579 * testsuite/23_containers/unordered_map/cons/56112.cc: New.
1581 2013-01-28 François Dumont <fdumont@gcc.gnu.org>
1583 * include/bits/hashtable_policy.h (_Local_iterator_base): Use
1584 _Hashtable_ebo_helper to embed functors into the local_iterator
1585 when necessary. Pass information about functors involved in hash
1587 * include/bits/hashtable.h (__cache_default): Do not cache for
1588 builtin integral types unless the hash functor is not noexcept
1589 qualified or is not default constructible. Adapt static assertions
1590 and local iterator instantiations.
1591 * include/debug/unordered_set
1592 (std::__debug::unordered_set<>::erase): Detect local iterators to
1593 invalidate using contained node rather than generating a dummy
1594 local_iterator instance.
1595 (std::__debug::unordered_multiset<>::erase): Likewise.
1596 * include/debug/unordered_map
1597 (std::__debug::unordered_map<>::erase): Likewise.
1598 (std::__debug::unordered_multimap<>::erase): Likewise.
1599 * testsuite/performance/23_containers/insert_erase/41975.cc: Test
1600 std::tr1 and std versions of unordered_set regardless of any
1601 macro. Add test on default cache behavior.
1602 * testsuite/performance/23_containers/insert/54075.cc: Likewise.
1603 * testsuite/23_containers/unordered_set/instantiation_neg.cc:
1605 * testsuite/23_containers/unordered_set/
1606 not_default_constructible_hash_neg.cc: New.
1607 * testsuite/23_containers/unordered_set/buckets/swap.cc: New.
1609 2013-01-24 Paolo Carlini <paolo.carlini@oracle.com>
1612 * include/std/complex (pow(const complex<>&, int)): Avoid __n
1615 2013-01-22 Jakub Jelinek <jakub@redhat.com>
1617 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
1618 Tightten scan-assembler-times regexps, add dg-additional-options for
1619 ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
1622 2013-01-12 Andi Kleen <ak@linux.intel.com>
1623 Jonathan Wakely <jwakely.gcc@gmail.com>
1626 * include/bits/atomic_base.h (__memory_order_modifier): Add
1627 __memory_order_mask, __memory_order_modifier_mask,
1628 __memory_order_hle_acquire, __memory_order_hle_release.
1629 (operator|,operator&): Add.
1630 (__cmpexch_failure_order): Rename to __cmpexch_failure_order2.
1631 (__cmpexch_failure_order): Add.
1632 (clear, store, load, compare_exchange_weak, compare_exchange_strong):
1634 * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
1637 2013-01-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1640 * include/std/future (_State_base::_S_check(const shared_ptr<T>&)):
1642 (__basic_future::_M_get_result()): Const qualify.
1643 (shared_future::get()): Likewise.
1644 * testsuite/30_threads/shared_future/members/get.cc: Use const
1647 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1649 PR libstdc++/55043 (again)
1650 * include/bits/alloc_traits.h (allocator_traits::construct): Disable
1651 unless construction would be well-formed.
1652 (__allow_copy_cons, __check_copy_constructible): Define.
1653 * include/bits/unordered_map.h (__check_copy_constructible): Use as
1654 base class so copy constructor will be deleted if appropriate.
1655 (is_copy_constructible): Remove specialization.
1656 * include/bits/unordered_set.h: Likewise.
1657 * include/debug/unordered_map.h: Undo previous commit. Default copy
1658 and move constructors.
1659 * include/debug/unordered_set.h: Likewise.
1660 * include/profile/unordered_map.h: Undo previous commit.
1661 * include/profile/unordered_set.h: Likewise.
1662 * testsuite/23_containers/unordered_map/55043.cc: Fix test.
1663 * testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
1664 * testsuite/23_containers/unordered_multiset/55043.cc: Likewise.
1665 * testsuite/23_containers/unordered_set/55043.cc: Likewise.
1666 * testsuite/23_containers/unordered_map/requirements/53339.cc: XFAIL,
1667 cannot support incomplete types.
1668 * testsuite/23_containers/unordered_multimap/requirements/53339.cc:
1671 2013-01-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1674 * include/std/unordered_map: Include alloc_traits.h
1675 * include/std/unordered_set: Likewise.
1676 * include/bits/alloc_traits.h: Define __is_copy_insertable.
1677 * include/bits/unordered_map.h: Use it.
1678 * include/bits/unordered_set.h: Likewise.
1679 * include/debug/unordered_map.h: Likewise.
1680 * include/debug/unordered_set.h: Likewise.
1681 * include/profile/unordered_map.h: Likewise.
1682 * include/profile/unordered_set.h: Likewise.
1683 * include/bits/hashtable.h: Fix comment typos.
1684 * testsuite/23_containers/unordered_map/55043.cc: New.
1685 * testsuite/23_containers/unordered_multimap/55043.cc: New.
1686 * testsuite/23_containers/unordered_multiset/55043.cc: New.
1687 * testsuite/23_containers/unordered_set/55043.cc: New.
1689 2013-01-03 Janis Johnson <janisjo@codesourcery.com>
1691 * testsuite/lib/gdb-test.exp (gdb_batch_check): Catch error running
1694 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1696 * doc/xml/manual/status_cxx2011.xml: Document that N3189 is missing.
1698 2013-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1701 * include/std/functional (_Mem_fn::operator()): Fix constraints to
1703 * testsuite/20_util/function_objects/mem_fn/55908.cc: New.
1704 * testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
1706 2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1709 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
1711 * configure: Regenerate.
1713 2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1716 * src/c++11/shared_ptr.cc (bad_weak_ptr::what()): Correct string.
1717 * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Verify
1721 * include/std/functional (bad_function_call::what()): Declare.
1722 * src/c++11/functional.cc (bad_function_call::what()): Define.
1723 * config/abi/pre/gnu.ver (bad_function_call::what()): Export.
1724 * testsuite/20_util/bad_function_call/what.cc: New.
1726 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
1728 * include/bits/unordered_map.h: Fix typo in comments.
1729 * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
1730 counts for unordered associative containers.
1732 2013-01-06 Jonathan Wakely <jwakely.gcc@gmail.com>
1734 * doc/xml/manual/abi.xml: Update library and symbol versions.
1736 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
1738 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Fix typo
1740 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
1743 Copyright (C) 2013 Free Software Foundation, Inc.
1745 Copying and distribution of this file, with or without modification,
1746 are permitted in any medium without royalty provided the copyright
1747 notice and this notice are preserved.