1 2011-06-09 Jason Merrill <jason@redhat.com>
3 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune notes.
4 * testsuite/20_util/duration/cons/1_neg.cc: Remove dg-excess-errors.
5 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
6 * testsuite/20_util/forward/1_neg.cc: Likewise.
7 * testsuite/20_util/function/cmp/cmp_neg.cc: Likewise.
8 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
9 * testsuite/20_util/reference_wrapper/ref_neg.cc: Likewise.
10 * testsuite/20_util/tuple/comparison_operators/35480_neg.cc: Likewise.
11 * testsuite/tr1/6_containers/tuple/comparison_operators/35480_neg.cc: Likewise.
12 * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
13 * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise.
14 * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: Likewise.
15 * testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
16 * testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Likewise.
17 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
18 * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Likewise.
19 * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Likewise.
20 * testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
21 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Likewise.
22 * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
23 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
24 * testsuite/23_containers/forward_list/requirements/dr438/assign_neg.cc: Likewise.
25 * testsuite/23_containers/forward_list/requirements/dr438/constructor_1_neg.cc: Likewise.
26 * testsuite/23_containers/forward_list/requirements/dr438/constructor_2_neg.cc: Likewise.
27 * testsuite/23_containers/forward_list/requirements/dr438/insert_neg.cc: Likewise.
28 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
29 * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
30 * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
31 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
32 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
33 * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
34 * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
35 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise.
36 * testsuite/23_containers/map/operators/1_neg.cc: Likewise.
37 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Likewise.
38 * testsuite/decimal/mixed-mode-arith_neg.cc: Likewise.
39 * testsuite/decimal/mixed-mode-cmp_neg.cc: Likewise.
40 * testsuite/decimal/operator_neg.cc: Likewise.
42 2011-06-09 Simon Baldwin <simonb@google.com>
44 * scripts/extract_symvers.in: Handle processor/OS specific or
45 unknown symbol binding strings from readelf.
47 2011-06-09 Paolo Carlini <paolo.carlini@oracle.com>
49 * include/std/type_traits (__is_copy_assignable_impl,
50 __is_nt_copy_assignable_impl): Fix typo.
52 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
54 * include/ext/extptr_allocator.h: Include <ext/numeric_traits.h>
56 * include/bits/allocator.h: Likewise.
58 * include/std/chrono (duration_values<>::min): Call lowest, not min.
60 2011-06-08 Paolo Carlini <paolo.carlini@oracle.com>
62 * include/bits/allocator.h (__shrink_to_fit): Simplify.
63 * include/bits/stl_vector.h (vector<>::shrink_to_fit): Adjust.
64 * include/bits/stl_deque.h: Likewise.
65 * include/bits/stl_bvector.h: Likewise.
67 2011-06-07 Jason Merrill <jason@redhat.com>
69 * testsuite/lib/prune.exp: s/required/instantiated/.
70 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
71 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise.
72 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
73 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
74 * testsuite/20_util/forward/1_neg.cc: Likewise.
75 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
76 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
78 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
79 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
80 * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
81 * testsuite/ext/ext_pointer/1_neg.cc: Likewise.
82 * testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
83 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise.
84 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise.
85 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise.
86 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Likewise.
87 * testsuite/tr1/2_general_utilities/shared_ptr/assign/
88 shared_ptr_neg.cc: Likewise.
90 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
92 * include/bits/move.h (struct __move_if_noexcept_cond): Add.
93 (move_if_noexcept): Use the latter.
94 * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator,
95 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add.
96 * include/bits/stl_uninitialized.h
97 (__uninitialized_move_if_noexcept_a): Add.
98 * include/bits/vector.tcc (vector<>::reserve): Use
99 _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR.
100 (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append,
101 _M_range_insert): Use __uninitialized_move_if_noexcept_a.
102 * testsuite/util/testsuite_rvalref.h (throwing_move_constructor):
104 (copycounter::copycounter(copycounter&&)): Use noexcept.
105 * testsuite/23_containers/vector/modifiers/moveable2.cc: New.
106 * testsuite/23_containers/vector/capacity/resize/moveable2.cc:
108 * testsuite/23_containers/vector/capacity/reserve/moveable2.cc:
111 2011-06-07 Paolo Carlini <paolo.carlini@oracle.com>
114 * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: Tweak
116 * testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
118 2011-06-06 Paolo Carlini <paolo.carlini@oracle.com>
120 * include/bits/move.h (move_if_noexcept): Use __and_ and __not_.
122 2011-06-05 Jonathan Wakely <jwakely.gcc@gmail.com>
124 * include/bits/ptr_traits.h (pointer_traits): Fix typos.
125 * include/ext/pointer.h (pointer_traits): Add partial specialization
126 for _Pointer_adapter.
128 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com>
130 * testsuite/util/testsuite_allocator.h (tracker_allocator::construct):
131 Update to C++0x definition using type to construct as template
133 (tracker_allocator::destroy): Likewise for type to destroy.
134 (uneq_allocator::construct, uneq_allocator::destroy): Likewise.
136 2011-06-01 Paolo Carlini <paolo.carlini@oracle.com>
138 * include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
139 Use std::move on the allocator, use noexcept.
140 (_Hashtable<>::~_Hashtable): Use noexcept.
141 * include/bits/stl_list.h: Likewise.
142 * include/bits/forward_list.h: Likewise.
143 * include/bits/stl_vector.h: Likewise.
144 * include/bits/stl_bvector.h: Likewise.
145 * include/bits/stl_map.h (map<>::map(map&&)): Use noexcept.
146 * include/bits/stl_set.h: Likewise.
147 * include/bits/stl_multimap.h: Likewise.
148 * include/bits/stl_multiset.h: Likewise.
149 * include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
150 std::move on the allocator.
151 (_Rb_tree<>::~_Rb_tree): Use noexcept.
152 * include/bits/stl_deque.h: Likewise.
153 * include/bits/basic_string.h (basic_string<>::~basic_string): Use
155 * include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
156 * include/debug/set.h: Adjust.
157 * include/debug/unordered_map: Likewise.
158 * include/debug/multiset.h: Likewise.
159 * include/debug/forward_list: Likewise.
160 * include/debug/vector: Likewise.
161 * include/debug/unordered_set: Likewise.
162 * include/debug/deque: Likewise.
163 * include/debug/map.h: Likewise.
164 * include/debug/string: Likewise.
165 * include/debug/list: Likewise.
166 * include/debug/multimap.h: Likewise.
167 * include/profile/set.h: Likewise.
168 * include/profile/unordered_map: Likewise.
169 * include/profile/multiset.h: Likewise.
170 * include/profile/forward_list: Likewise.
171 * include/profile/unordered_set: Likewise.
172 * include/profile/vector: Likewise.
173 * include/profile/deque: Likewise.
174 * include/profile/map.h: Likewise.
175 * include/profile/list: Likewise.
176 * include/profile/multimap.h: Likewise.
177 * testsuite/21_strings/basic_string/cons/wchar_t/
178 noexcept_move_construct.cc: New.
179 * testsuite/21_strings/basic_string/cons/char/
180 noexcept_move_construct.cc: Likewise.
181 * testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
182 * testsuite/23_containers/unordered_map/cons/
183 noexcept_move_construct.cc: Likewise.
184 * testsuite/23_containers/multimap/cons/
185 noexcept_move_construct.cc: Likewise.
186 * testsuite/23_containers/set/cons/
187 noexcept_move_construct.cc: Likewise.
188 * testsuite/23_containers/unordered_multimap/cons/
189 noexcept_move_construct.cc: Likewise.
190 * testsuite/23_containers/forward_list/cons/
191 noexcept_move_construct.cc: Likewise.
192 * testsuite/23_containers/unordered_set/cons/
193 noexcept_move_construct.cc: Likewise.
194 * testsuite/23_containers/vector/bool/cons/
195 noexcept_move_construct.cc: Likewise.
196 * testsuite/23_containers/vector/cons/
197 noexcept_move_construct.cc: Likewise.
198 * testsuite/23_containers/multiset/cons/
199 noexcept_move_construct.cc: Likewise.
200 * testsuite/23_containers/list/cons/
201 noexcept_move_construct.cc: Likewise.
202 * testsuite/23_containers/unordered_multiset/cons/
203 noexcept_move_construct.cc: Likewise.
204 * testsuite/23_containers/map/cons/noexcept_move_construct.cc
205 * testsuite/23_containers/forward_list/requirements/dr438/
206 assign_neg.cc: Adjust dg-error line numbers.
207 * testsuite/23_containers/forward_list/requirements/dr438/
208 insert_neg.cc: Likewise.
209 * testsuite/23_containers/forward_list/requirements/dr438/
210 constructor_1_neg.cc: Likewise.
211 * testsuite/23_containers/forward_list/requirements/dr438/
212 constructor_2_neg.cc: Likewise.
213 * testsuite/23_containers/vector/requirements/dr438/
214 assign_neg.cc: Likewise.
215 * testsuite/23_containers/vector/requirements/dr438/
216 insert_neg.cc: Likewise.
217 * testsuite/23_containers/vector/requirements/dr438/
218 constructor_1_neg.cc: Likewise.
219 * testsuite/23_containers/vector/requirements/dr438/
220 constructor_2_neg.cc: Likewise.
221 * testsuite/23_containers/deque/requirements/dr438/
222 assign_neg.cc: Likewise.
223 * testsuite/23_containers/deque/requirements/dr438/
224 insert_neg.cc: Likewise.
225 * testsuite/23_containers/deque/requirements/dr438/
226 constructor_1_neg.cc: Likewise.
227 * testsuite/23_containers/deque/requirements/dr438/
228 constructor_2_neg.cc: Likewise.
229 * testsuite/23_containers/list/requirements/dr438/
230 assign_neg.cc: Likewise.
231 * testsuite/23_containers/list/requirements/dr438/
232 insert_neg.cc: Likewise.
233 * testsuite/23_containers/list/requirements/dr438/
234 constructor_1_neg.cc: Likewise.
235 * testsuite/23_containers/list/requirements/dr438/
236 constructor_2_neg.cc: Likewise.
238 * include/bits/move.h (swap): Use __and_ in the noexcept.
239 * include/bits/algorithmfwd.h: Adjust.
241 2011-05-31 Paolo Carlini <paolo.carlini@oracle.com>
243 * include/bits/basic_string.h: Use noexcept per the FDIS (minus
244 compare(const string&), which uses char_traits::compare, which
245 isn't noexcept; also no noexcept in the move assignment operator
246 and move assign, see c++std-lib-30855).
247 * include/bits/basic_string.tcc: Likewise.
248 * include/ext/vstring.h: Likewise.
249 * include/ext/vstring.tcc: Likewise.
250 * include/debug/string: Likewise.
252 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
254 * doc/xml/manual/status_cxx200x.xml: Update.
255 * doc/html/*: Regenerate.
257 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
259 * include/std/type_traits (__or_, __and_): Add trivial definitions
260 for a single element.
261 * include/bits/stl_pair.h: Use __and_ in noexcept specs and
263 (pair<>::pair(pair&&)): Define.
264 (pair<>::pair(const pair<>&)): Constrain with is_convertible.
265 (pair<>::pair(pair<>&&)): Likewise, remove noexcept.
266 * include/std/tuple: Use __and_ in noexcept specs and constraints.
267 (_Tuple_impl<>::_Tuple_impl(allocator_arg_t, const _Alloc&,
268 _Tuple_impl&&)): Remove noexcept.
269 (tuple<>::tuple(_UElements&&...), tuple(const tuple<_UElements...>&),
270 tuple(tuple<_UElements...>&&), tuple(const pair<_U1, _U2>&),
271 tuple(pair<_U1, _U2>&&)): Constrain with is_convertible.
272 * testsuite/20_util/tuple/moveable2.cc: Use = delete.
273 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
274 Adjust dg-error line numbers.
275 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
277 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
278 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
279 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
281 2011-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
283 * include/std/tuple: Restore is_convertible constraint.
284 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: Remove.
286 2011-05-30 Paolo Carlini <paolo.carlini@oracle.com>
289 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
292 2011-05-30 Jonathan Wakely <jwakely.gcc@gmail.com>
294 * include/std/tuple: Implement uses-allocator construction.
295 * include/bits/allocator.h (uses_allocator): Move to ...
296 * include/bits/uses_allocator.h: New file.
297 * include/Makefile.am: Add new header.
298 * include/Makefile.in: Regenerate.
299 * testsuite/20_util/uses_allocator/cons_neg.cc: New.
300 * testsuite/20_util/uses_allocator/construction.cc: New.
301 * testsuite/20_util/tuple/cons/allocate_noncopyable.cc: New.
302 * testsuite/20_util/tuple/cons/allocators.cc: New.
304 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
306 * testsuite/20_util/pointer_traits/pointer_to.cc: Fix.
308 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
310 * acinclude.m4: Define GLIBCXX_CHECK_GET_NPROCS and
311 GLIBCXX_CHECK_SC_NPROCESSORS_ONLN.
312 * configure.ac: Use them. Increase minor version.
313 * configure: Regenerate.
314 * config.h.in: Regenerate.
315 * include/std/thread (thread::hardware_concurrency): Remove inline
317 * src/thread.cc (thread::hardware_concurrency): Define.
318 * config/abi/pre/gnu.ver: Export new symbol @3.4.17
319 * testsuite/util/testsuite_abi.cc: Add new version.
320 * testsuite/lib/libstdc++.exp (check_v3_target_nprocs): Add.
321 * testsuite/lib/dg-options.exp (dg-require-nprocs): Add.
322 * testsuite/30_threads/thread/members/hardware_concurrency.cc: Use
323 dg-require-nprocs and verify hardware_concurrency returns non-zero.
325 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
327 * testsuite/20_util/pointer_traits/pointer_to.cc: New.
329 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
331 * include/Makefile.am: Add new ptr_traits.h header.
332 * include/Makefile.in: Regenerate.
333 * include/bits/ptr_traits.h (pointer_traits): New.
334 * include/bits/allocator.h (allocator_traits): Add.
335 * include/ext/array_allocator.h (construct, destroy): Update C++0x
337 * include/ext/bitmap_allocator.h (construct, destroy): Likewise.
338 * include/ext/extptr_allocator.h (construct, destroy): Likewise.
339 * include/ext/malloc_allocator.h (construct, destroy): Likewise.
340 * include/ext/mt_allocator.h (construct, destroy): Likewise.
341 * include/ext/new_allocator.h (construct, destroy): Likewise.
342 * include/ext/pool_allocator.h (construct, destroy): Likewise.
343 * include/ext/throw_allocator.h (construct, destroy): Likewise.
344 * testsuite/20_util/allocator_traits/requirements/typedefs.cc: New.
345 * testsuite/20_util/allocator_traits/requirements/
346 explicit_instantiation.cc: New.
347 * testsuite/20_util/allocator_traits/members/max_size.cc: New.
348 * testsuite/20_util/allocator_traits/members/select.cc: New.
349 * testsuite/20_util/allocator_traits/members/construct.cc: New.
350 * testsuite/20_util/allocator_traits/members/allocate_hint.cc: New.
351 * testsuite/20_util/allocator_traits/members/destroy.cc: New.
352 * testsuite/20_util/pointer_traits/requirements/typedefs.cc: New.
353 * testsuite/20_util/pointer_traits/requirements/
354 explicit_instantiation.cc: New.
356 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
358 * include/std/future (launch): Update enumerators and define
359 operators required for bitmask type. Remove trailing whitespace.
360 * src/future.cc: Remove trailing whitespace.
361 * testsuite/30_threads/async/any.cc: Adjust.
362 * testsuite/30_threads/async/sync.cc: Adjust.
363 * testsuite/30_threads/async/launch.cc: New.
365 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
367 * include/std/future: Use noexcept.
368 * src/future.cc: Likewise.
370 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
372 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
374 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
377 * include/parallel/losertree.h: Add missing using declarations
379 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
380 * include/parallel/multiway_merge.h: Include <parallel/
381 multiseq_selection.h>, forward declare __merge_advance.
382 * include/parallel/multiseq_selection.h: Don't include <parallel/
384 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
385 qualification of upper_bound.
387 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
388 Use dg-require-debug-mode.
389 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
391 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
393 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
395 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
397 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
399 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
401 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
403 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
406 * include/parallel/algo.h: Minor uglification fixes.
408 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
410 * src/list.cc: Use noexcept per the FDIS.
411 * src/compatibility-list-2.cc: Likewise.
412 * include/debug/set.h: Likewise.
413 * include/debug/unordered_map: Likewise.
414 * include/debug/multiset.h: Likewise.
415 * include/debug/forward_list: Likewise.
416 * include/debug/unordered_set: Likewise.
417 * include/debug/vector: Likewise.
418 * include/debug/map.h: Likewise.
419 * include/debug/deque: Likewise.
420 * include/debug/list: Likewise.
421 * include/debug/multimap.h: Likewise.
422 * include/profile/set.h: Likewise.
423 * include/profile/unordered_map: Likewise.
424 * include/profile/multiset.h: Likewise.
425 * include/profile/forward_list: Likewise.
426 * include/profile/vector: Likewise.
427 * include/profile/unordered_set: Likewise.
428 * include/profile/map.h: Likewise.
429 * include/profile/deque: Likewise.
430 * include/profile/list: Likewise.
431 * include/profile/multimap.h: Likewise.
432 * include/bits/hashtable.h: Likewise.
433 * include/bits/stl_list.h: Likewise.
434 * include/bits/stl_map.h: Likewise.
435 * include/bits/hashtable_policy.h: Likewise.
436 * include/bits/stl_set.h: Likewise.
437 * include/bits/forward_list.h: Likewise.
438 * include/bits/stl_multimap.h: Likewise.
439 * include/bits/stl_vector.h: Likewise.
440 * include/bits/stl_deque.h: Likewise.
441 * include/bits/stl_multiset.h: Likewise.
442 * include/bits/stl_bvector.h: Likewise.
443 * include/bits/stl_tree.h: Likewise.
445 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
447 * include/bits/stl_queue.h: Use noexcept per the FDIS.
448 * include/bits/stl_stack.h: Likewise.
450 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
452 * config/abi/pre/gnu.ver: Correct last change, export instead
453 at the existing @3.4.16.
454 * configure.ac: Revert last change.
455 * testsuite/util/testsuite_abi.cc: Likewise.
456 * configure: Regenerate.
458 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
460 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
462 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
464 * include/std/mutex: Add doxygen comments.
466 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
468 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
469 and basic_stringbuf symbols @3.4.17.
470 * configure.ac: Update.
471 * testsuite/util/testsuite_abi.cc: Likewise.
472 * configure: Regenerate.
474 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
476 * libsupc++/guard.cc: Fix comments.
478 2011-05-25 Ian Lance Taylor <iant@google.com>
481 * include/backward/hashtable.h (hashtable::erase): Don't crash if
482 erasing first and another element with a reference to the other
484 * testsuite/backward/hash_set/49060.cc: New.
486 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
488 * include/bits/random.h (random_device::min, max): Specify constexpr.
490 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
492 * include/std/thread: Use noexcept throughout per the FDIS.
493 * include/std/mutex: Likewise.
495 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
497 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
499 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
502 * include/std/chrono (operator+, operator-, operator*, operator/,
503 operator&): Implement LWG 2020 [WP]; specify constexpr.
504 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
506 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
509 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
510 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
511 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
513 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
515 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
516 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
519 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
523 Interface changes for ext/pb_ds.
524 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
525 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
526 (basic_hash_table, basic_branch, list_update): Derive from
527 container_base_dispatch.
528 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
529 (move_to_front_lu_policy): To lu_move_to_front_policy.
530 (counter_lu_policy): To lu_counter_policy.
531 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
532 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
533 template parameters, declare here.
534 (null_mapped_type) Remove.
535 (null_type): Just use this for template tricks everywhere.
536 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
538 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
539 (string_trie_e_access_traits): To trie_string_access_traits.
540 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
543 * include/Makefile.am (pb_headers): Removed and changed file names.
544 * include/Makefile.in: Regenerated.
545 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
546 * include/ext/pb_ds/detail/bin_search_tree_/
547 cond_dtor_entry_dealtor.hpp: Remove.
548 * include/ext/pb_ds/detail/bin_search_tree_/
549 cond_key_dtor_entry_dealtor.hpp: Remove.
550 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
551 * include/ext/pb_ds/detail/binary_heap_/
552 point_const_iterator.hpp: ..here.
553 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
554 * include/ext/pb_ds/detail/branch_policy: This.
555 * include/ext/pb_ds/detail/branch_policy/
556 basic_tree_policy_base.hpp: Move...
557 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
558 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
559 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
560 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
561 null_metadata.hpp: Remove.
562 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
563 const_point_iterator.hpp: Move...
564 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
565 point_const_iterator.hpp: ...here.
566 * include/ext/pb_ds/detail/list_update_policy/
567 counter_lu_metadata.hpp: Move..
568 * include/ext/pb_ds/detail/list_update_policy/
569 lu_counter_metadata.hpp: ...here.
570 * include/ext/pb_ds/detail/list_update_policy/
571 counter_lu_policy_imp.hpp: Remove.
572 * include/ext/pb_ds/detail/list_update_policy/
573 mtf_lu_policy_imp.hpp: Remove.
574 * include/ext/pb_ds/detail/trie_policy/
575 string_trie_e_access_traits_imp.hpp: Move...
576 * include/ext/pb_ds/detail/trie_policy/
577 sample_trie_access_traits.hpp: ...here.
578 * include/ext/pb_ds/detail/trie_policy/
579 sample_trie_e_access_traits.hpp: Move...
580 * include/ext/pb_ds/detail/trie_policy/
581 trie_string_access_traits_imp.hpp: ...here.
582 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
583 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
584 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
585 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
586 types found in the following files into pat_trie_base.
587 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
588 * include/ext/pb_ds/detail/pat_trie_/
589 cond_dtor_entry_dealtor.hpp: Folded.
590 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
591 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
592 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
593 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
594 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
595 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
596 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
597 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
598 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
599 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
600 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
601 * include/ext/pb_ds/detail/unordered_iterator/
602 const_point_iterator.hpp: Move...
603 * include/ext/pb_ds/detail/unordered_iterator/
604 point_const_iterator.hpp: ...here.
607 Adjust for above changes.
608 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
609 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
610 * include/ext/pb_ds/detail/resize_policy/
611 sample_resize_trigger.hpp: Same.
612 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
613 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
614 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
615 * include/ext/pb_ds/detail/binomial_heap_base_/
616 binomial_heap_base_.hpp: Same.
617 * include/ext/pb_ds/detail/binomial_heap_base_/
618 constructors_destructor_fn_imps.hpp: Same.
619 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
620 * include/ext/pb_ds/detail/binomial_heap_base_/
621 split_join_fn_imps.hpp: Same.
622 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
623 for template parameter ordering change.
624 * include/ext/pb_ds/detail/cc_hash_table_map_/
625 erase_store_hash_fn_imps.hpp: Same.
626 * include/ext/pb_ds/detail/cc_hash_table_map_/
627 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
628 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
629 * include/ext/pb_ds/detail/cc_hash_table_map_/
630 insert_no_store_hash_fn_imps.hpp: Same.
631 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
632 * include/ext/pb_ds/detail/cc_hash_table_map_/
633 policy_access_fn_imps.hpp: Same.
634 * include/ext/pb_ds/detail/cc_hash_table_map_/
635 resize_store_hash_fn_imps.hpp: Same.
636 * include/ext/pb_ds/detail/cc_hash_table_map_/
637 constructor_destructor_store_hash_fn_imps.hpp: Same.
638 * include/ext/pb_ds/detail/cc_hash_table_map_/
639 insert_store_hash_fn_imps.hpp: Same.
640 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
641 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
642 * include/ext/pb_ds/detail/cc_hash_table_map_/
643 entry_list_fn_imps.hpp: Same.
644 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
645 * include/ext/pb_ds/detail/cc_hash_table_map_/
646 find_store_hash_fn_imps.hpp: Same.
647 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
648 * include/ext/pb_ds/detail/cc_hash_table_map_/
649 debug_no_store_hash_fn_imps.hpp: Same.
650 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
651 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
652 * include/ext/pb_ds/detail/cc_hash_table_map_/
653 constructor_destructor_fn_imps.hpp: Same.
654 * include/ext/pb_ds/detail/cc_hash_table_map_/
655 cond_key_dtor_entry_dealtor.hpp: Same.
656 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
657 * include/ext/pb_ds/detail/cc_hash_table_map_/
658 debug_store_hash_fn_imps.hpp: Same.
659 * include/ext/pb_ds/detail/cc_hash_table_map_/
660 erase_no_store_hash_fn_imps.hpp: Same.
661 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
662 * include/ext/pb_ds/detail/cc_hash_table_map_/
663 iterators_fn_imps.hpp: Same.
664 * include/ext/pb_ds/detail/cc_hash_table_map_/
665 resize_no_store_hash_fn_imps.hpp: Same.
666 * include/ext/pb_ds/detail/cc_hash_table_map_/
667 standard_policies.hpp: Same.
668 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
669 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
670 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
671 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
672 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
673 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
674 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
675 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
676 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
677 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
678 * include/ext/pb_ds/detail/pat_trie_/
679 constructors_destructor_fn_imps.hpp: Same.
680 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
681 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
682 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
683 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
684 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
685 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
686 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
687 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
688 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
689 * include/ext/pb_ds/detail/bin_search_tree_/
690 policy_access_fn_imps.hpp: Same.
691 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
692 * include/ext/pb_ds/detail/bin_search_tree_/
693 constructors_destructor_fn_imps.hpp: Same.
694 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
695 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
696 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
697 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
698 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
699 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
700 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
701 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
702 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
703 * include/ext/pb_ds/detail/bin_search_tree_/
704 split_join_fn_imps.hpp: Same.
705 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
706 * include/ext/pb_ds/detail/list_update_policy/
707 sample_update_policy.hpp: Same.
708 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
709 trace_fn_imps.hpp: Same.
710 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
711 erase_fn_imps.hpp: Same.
712 * include/ext/pb_ds/detail/gp_hash_table_map_/
713 erase_store_hash_fn_imps.hpp: Same.
714 * include/ext/pb_ds/detail/gp_hash_table_map_/
715 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
716 * include/ext/pb_ds/detail/gp_hash_table_map_/
717 insert_no_store_hash_fn_imps.hpp: Same.
718 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
719 * include/ext/pb_ds/detail/gp_hash_table_map_/
720 policy_access_fn_imps.hpp: Same.
721 * include/ext/pb_ds/detail/gp_hash_table_map_/
722 resize_store_hash_fn_imps.hpp: Same.
723 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
724 * include/ext/pb_ds/detail/gp_hash_table_map_/
725 constructor_destructor_store_hash_fn_imps.hpp: Same.
726 * include/ext/pb_ds/detail/gp_hash_table_map_/
727 insert_store_hash_fn_imps.hpp: Same.
728 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
729 * include/ext/pb_ds/detail/gp_hash_table_map_/
730 iterator_fn_imps.hpp: Same.
731 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
732 * include/ext/pb_ds/detail/gp_hash_table_map_/
733 find_no_store_hash_fn_imps.hpp: Same.
734 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
735 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
736 * include/ext/pb_ds/detail/gp_hash_table_map_/
737 find_store_hash_fn_imps.hpp: Same.
738 * include/ext/pb_ds/detail/gp_hash_table_map_/
739 debug_no_store_hash_fn_imps.hpp: Same.
740 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
741 * include/ext/pb_ds/detail/gp_hash_table_map_/
742 constructor_destructor_fn_imps.hpp: Same.
743 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
744 * include/ext/pb_ds/detail/gp_hash_table_map_/
745 debug_store_hash_fn_imps.hpp: Same.
746 * include/ext/pb_ds/detail/gp_hash_table_map_/
747 erase_no_store_hash_fn_imps.hpp: Same.
748 * include/ext/pb_ds/detail/gp_hash_table_map_/
749 resize_no_store_hash_fn_imps.hpp: Same.
750 * include/ext/pb_ds/detail/gp_hash_table_map_/
751 standard_policies.hpp: Same.
752 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
753 * include/ext/pb_ds/detail/types_traits.hpp: Same.
754 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
755 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
756 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
757 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
758 * include/ext/pb_ds/detail/binary_heap_/
759 constructors_destructor_fn_imps.hpp: Same.
760 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
761 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
762 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
763 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
764 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
765 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
766 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
767 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
768 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
769 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
770 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
771 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
772 * include/ext/pb_ds/detail/tree_policy/
773 sample_tree_node_update.hpp: Same.
774 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
775 * include/ext/pb_ds/detail/trie_policy/
776 sample_trie_node_update.hpp: Same.
777 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
778 * include/ext/pb_ds/detail/trie_policy/
779 prefix_search_node_update_imp.hpp: Same.
780 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
781 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
782 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
783 Adjust for template parameter change, fold into
784 container_base_dispatch.
785 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
786 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
787 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
788 * include/ext/pb_ds/detail/pairing_heap_/
789 constructors_destructor_fn_imps.hpp: Same.
790 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
791 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
792 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
793 * include/ext/pb_ds/detail/binomial_heap_/
794 constructors_destructor_fn_imps.hpp: Same.
795 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
796 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
797 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
798 * include/ext/pb_ds/detail/type_utils.hpp: Same.
799 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
800 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
801 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
802 policy_access_fn_imps.hpp: Same.
803 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
804 left_child_next_sibling_heap_.hpp: Same.
805 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
806 const_iterator.hpp: Same.
807 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
808 insert_fn_imps.hpp: Same.
809 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
810 constructors_destructor_fn_imps.hpp: Same.
811 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
812 debug_fn_imps.hpp: Same.
813 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
815 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
816 info_fn_imps.hpp: Same.
817 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
818 iterators_fn_imps.hpp: Same.
819 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
820 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
821 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
822 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
823 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
824 * include/ext/pb_ds/detail/thin_heap_/
825 constructors_destructor_fn_imps.hpp: Same.
826 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
827 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
828 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
829 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
830 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
831 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
832 * include/ext/pb_ds/detail/ov_tree_map_/
833 constructors_destructor_fn_imps.hpp: Same.
834 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
835 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
836 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
837 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
838 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
839 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
840 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
841 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
842 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
843 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
844 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
845 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
846 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
847 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
848 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
849 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
850 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
851 * include/ext/pb_ds/detail/splay_tree_/
852 constructors_destructor_fn_imps.hpp: Same.
853 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
854 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
855 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
856 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
857 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
858 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
859 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
860 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
861 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
862 * include/ext/pb_ds/detail/list_update_map_/
863 entry_metadata_base.hpp: Same.
864 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
865 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
866 * include/ext/pb_ds/detail/list_update_map_/
867 constructor_destructor_fn_imps.hpp: Same.
868 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
869 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
870 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
871 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
872 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
873 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
874 * include/ext/pb_ds/detail/rc_binomial_heap_/
875 rc_binomial_heap_.hpp: Same.
876 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
877 * include/ext/pb_ds/detail/rc_binomial_heap_/
878 constructors_destructor_fn_imps.hpp: Same.
879 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
880 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
881 * include/ext/pb_ds/detail/rc_binomial_heap_/
882 split_join_fn_imps.hpp: Same.
883 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
884 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
885 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
886 * include/ext/pb_ds/detail/rb_tree_map_/
887 constructors_destructor_fn_imps.hpp: Same.
888 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
889 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
890 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
891 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
892 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
893 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
896 Documentation changes.
897 * include/ext/pb_ds/*: Add doxygen markup.
898 * doc/doxygen/user.cfg.in: Add details for extracting comments
900 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
901 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
903 * doc/Makefile.am (stamp-html-copy): New rule.
904 (stamp-html): Use it to copy non-generated files into html docs.
905 * doc/Makefile.in: Regenerated.
907 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
908 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
909 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
910 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
912 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
913 hash_random_int_erase_mem_usage_test_local.png,
914 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
915 tree_text_insert_timing_test_pat_trie_local.png ,
916 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
917 priority_queue_text_modify_down_timing_test_local.png,
918 gp_hash_random_int_subscript_timing_test_find_local.png,
919 text_find_timing_test_hash_local.png,
920 multimap_text_insert_timing_test_small_s2p_hash_local.png,
921 multimap_text_insert_timing_test_small_s2p_tree_local.png,
922 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
923 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
924 multimap_text_insert_timing_test_large_s2p_hash_local.png,
925 hash_zlob_random_int_find_timing_test_local.png,
926 multimap_text_insert_timing_test_large_s2p_tree_local.png,
927 binary_priority_queue_random_int_push_timing_test_local.png,
928 priority_queue_text_pop_mem_usage_test_local.png,
929 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
930 tree_split_join_timing_test_local.png,
931 multimap_text_find_timing_test_small_s2p_hash_local.png,
932 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
933 priority_queue_random_int_push_pop_timing_test_local.png,
934 multimap_text_find_timing_test_small_s2p_tree_local.png,
935 gp_hash_random_int_subscript_timing_test_insert_local.png,
936 priority_queue_text_push_timing_test_local.png,
937 cc_hash_random_int_subscript_timing_test_find_local.png,
938 tree_text_insert_timing_test_vector_tree_local.png,
939 multimap_text_find_timing_test_large_s2p_hash_local.png,
940 pairing_priority_queue_text_push_timing_test_local.png,
941 tree_order_statistics_timing_test_local.png,
942 priority_queue_text_push_pop_timing_test_local.png,
943 text_find_timing_test_tree_like_local.png,
944 multimap_text_find_timing_test_large_s2p_tree_local.png,
945 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
946 cc_hash_random_int_subscript_timing_test_insert_local.png,
947 priority_queue_text_modify_up_timing_test_local.png,
948 random_int_find_find_timing_test_tree_local.png,
949 priority_queue_random_int_push_timing_test_local.png,
950 tree_text_insert_timing_test_node_tree_local.png,
951 pairing_priority_queue_text_push_pop_timing_test_local.png,
952 gp_hash_random_int_find_timing_test_local.png,
953 cc_hash_random_int_find_timing_test_local.png,
954 priority_queue_text_join_timing_test_local.png: Update local pngs.
958 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
959 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
960 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
961 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
962 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
963 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
965 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
967 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
968 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
970 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
972 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
973 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
974 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
975 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
976 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
977 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
978 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
979 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
981 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
982 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
983 * testsuite/data/make_graph_test_infos.xml: Same.
984 * testsuite/util/regression/common_type.hpp: Same.
985 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
986 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
987 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
988 * testsuite/util/regression/rand/priority_queue/
989 rand_regression_test.hpp: Same.
990 * testsuite/util/regression/rand/priority_queue/
991 container_rand_regression_test.tcc: Same.
992 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
993 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
994 * testsuite/util/regression/rand/assoc/
995 container_rand_regression_test.tcc: Same.
996 * testsuite/util/native_type/native_priority_queue.hpp: Same.
997 * testsuite/util/native_type/native_multimap.hpp: Same.
998 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
999 * testsuite/util/native_type/native_set.hpp: Same.
1000 * testsuite/util/native_type/native_map.hpp: Same.
1001 * testsuite/util/native_type/native_hash_set.hpp: Same.
1002 * testsuite/util/native_type/native_hash_map.hpp: Same.
1003 * testsuite/util/testsuite_containers.h
1004 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
1005 * testsuite/util/common_type/assoc/common_type.hpp: Same.
1006 * testsuite/util/common_type/assoc/string_form.hpp: Same.
1007 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
1008 * testsuite/util/common_type/assoc/detail/
1009 trigger_policy_string_form.hpp: Same.
1010 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
1011 * testsuite/util/common_type/assoc/detail/
1012 size_policy_string_form.hpp: Same.
1013 * testsuite/util/common_type/assoc/detail/
1014 probe_fn_string_form.hpp: Same.
1015 * testsuite/util/common_type/assoc/detail/
1016 tree_supports_order_statistics.hpp: Same.
1017 * testsuite/util/common_type/assoc/detail/
1018 trie_supports_prefix_search.hpp: Same.
1019 * testsuite/util/common_type/assoc/detail/
1020 list_update_policy_string_form.hpp: Same.
1021 * testsuite/util/common_type/assoc/detail/
1022 trie_supports_order_statistics.hpp: Same.
1023 * testsuite/util/common_type/assoc/native_set.hpp: Same.
1024 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
1025 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
1026 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
1028 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
1030 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
1031 (istreambuf_iterator<>::istreambuf_iterator(const
1032 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
1035 2011-05-23 Jason Merrill <jason@redhat.com>
1037 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
1039 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
1041 * testsuite/20_util/bind/cv_quals_2.cc: New.
1043 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
1046 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
1047 operator()(_Args&&...)): Don't cv qualify _Functor directly
1048 in the default template argument, SFINAE doesn't apply when
1049 the functor has no arguments.
1050 * testsuite/20_util/bind/49058_1.cc: New.
1051 * testsuite/20_util/bind/49058_2.cc: Likewise.
1053 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
1055 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
1057 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1059 * testsuite/21_strings/basic_string/requirements/exception/
1060 propagation_consistent.cc: Fix vs POD-ness of value_type.
1061 * testsuite/21_strings/basic_string/requirements/exception/
1063 * testsuite/ext/vstring/requirements/exception/
1064 propagation_consistent.cc: Likewise.
1065 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
1067 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
1069 * include/bits/char_traits.h: Use noexcept throughout.
1070 * include/std/typeindex: Likewise.
1072 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
1073 noexcept; adjust callers.
1074 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
1075 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
1076 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
1077 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
1078 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
1079 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1082 2011-05-20 Jason Merrill <jason@redhat.com>
1084 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
1085 functions from dependent bases.
1086 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
1087 * include/ext/pb_ds/detail/rb_tree_map_/
1088 split_join_fn_imps.hpp: Likewise.
1089 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
1090 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
1091 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
1092 * include/ext/pb_ds/detail/splay_tree_/
1093 split_join_fn_imps.hpp: Likewise.
1094 * include/ext/pb_ds/detail/tree_policy/
1095 order_statistics_imp.hpp: Likewise.
1096 * include/ext/pb_ds/detail/trie_policy/
1097 prefix_search_node_update_imp.hpp: Likewise.
1098 * include/ext/rc_string_base.h: Likewise.
1099 * include/ext/rope: Likewise.
1100 * include/ext/ropeimpl.h: Likewise.
1101 * testsuite/util/exception/safety.h: Likewise.
1102 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
1103 * testsuite/util/testsuite_io.h: Likewise.
1104 * include/std/functional: Declare mem_fn earlier.
1105 * include/tr1/functional: Likewise.
1106 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
1108 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1110 * include/std/tuple (tuple_element<__i, const _Tp>,
1111 tuple_element<__i, volatile _Tp>, tuple_element<__i,
1112 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
1113 tuple_size<const volatile _Tp>): Add.
1114 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
1115 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
1116 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
1117 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
1118 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
1121 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1123 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
1125 (__get_helper): Likewise.
1126 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
1127 * include/bits/move.h (swap): Likewise.
1128 * include/bits/algorithmfwd.h (swap): Adjust.
1129 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
1130 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
1131 mode, prefer delete to access control to make the type not copy
1133 * testsuite/util/testsuite_tr1.h: Add test classes.
1134 * testsuite/20_util/tuple/noexcept_swap.cc: New.
1135 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
1136 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
1137 delete to access control.
1138 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
1139 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
1142 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
1144 * testsuite/util/testsuite_tr1.h: Add test classes.
1145 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
1147 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
1149 * include/std/type_traits (is_assignable, is_copy_assignable,
1150 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
1151 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
1152 (has_nothrow_copy_assign): Remove.
1153 * testsuite/util/testsuite_tr1.h: Add test classes.
1154 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
1155 * testsuite/20_util/is_assignable/requirements/
1156 explicit_instantiation.cc: Likewise.
1157 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
1158 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
1160 * testsuite/20_util/is_nothrow_assignable/requirements/
1161 explicit_instantiation.cc: Likewise.
1162 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
1163 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
1165 * testsuite/20_util/is_move_assignable/requirements/
1166 explicit_instantiation.cc: Likewise.
1167 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
1168 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
1170 * testsuite/20_util/is_copy_assignable/requirements/
1171 explicit_instantiation.cc: Likewise.
1172 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
1173 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1174 typedefs.cc: Likewise.
1175 * testsuite/20_util/is_nothrow_move_assignable/requirements/
1176 explicit_instantiation.cc: Likewise.
1177 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
1178 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1179 typedefs.cc: Likewise.
1180 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
1181 explicit_instantiation.cc: Likewise.
1182 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1183 dg-error line numbers.
1184 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1186 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1188 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1190 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
1191 functions as defaulted/deleted.
1192 * include/bits/shared_ptr.h: Use noexcept.
1193 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
1194 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
1196 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
1198 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
1200 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
1202 * libsupc++/initializer_list: Use noexcept specifier.
1203 (initializer_list<>::size, begin, end): Qualify as const.
1204 * include/bits/move.h (__addressof, forward, move, addressof): Specify
1206 * include/std/bitset: Use noexcept specifier throughout.
1207 * include/debug/bitset: Update.
1208 * include/profile/bitset: Likewise.
1210 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
1212 * include/std/tuple: Use noexcept where appropriate.
1213 (tuple<>::swap): Rework implementation.
1214 (_Head_base<>::_M_swap_impl): Remove.
1215 (get(std::tuple<>&&)): Add.
1216 * testsuite/20_util/tuple/element_access/get2.cc: New.
1217 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1220 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1222 * include/std/utility: Simplify the last commit, the whole
1223 std::get code is C++0x only.
1225 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
1227 * include/std/utility (get(std::pair<>&&)): Add.
1228 * include/bits/stl_pair.h (pair::swap(pair&),
1229 swap(pair<>&, pair<>&)): Use noexcept.
1230 * include/bits/random.h (discard_block_engine<>::base,
1231 independent_bits_engine<>::base, shuffle_order_engine<>::base,
1232 random_device::entropy): Use noexcept.
1233 * include/std/array: Use noexcept where appropriate.
1234 (get(array<>&&)): Add.
1235 * testsuite/23_containers/array/requirements/get.cc: New.
1236 * testsuite/20_util/pair/get.cc: Likewise.
1237 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
1240 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
1242 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
1244 * include/std/limits: Use the latter everywhere.
1245 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
1246 macro usages, the specializations exist only in C++0x mode.
1247 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
1250 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
1252 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
1254 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1256 2011-05-11 François Dumont <francois.cppdevs@free.fr>
1258 * include/ext/pb_ds/detail/resize_policy/
1259 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
1260 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
1261 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1262 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1263 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
1264 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
1265 * include/ext/pb_ds/detail/debug_map_base.hpp,
1266 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
1267 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
1268 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
1269 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
1270 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
1271 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
1272 macro definitions move...
1273 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
1274 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
1275 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
1276 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
1277 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
1278 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
1279 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
1280 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
1281 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
1284 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
1287 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
1288 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
1289 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
1290 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
1291 scalbn, tgamma, trunc): Use __enable_if on the return type.
1292 * include/tr1/cmath: Likewise.
1293 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
1294 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
1296 2011-05-07 François Dumont <francois.cppdevs@free.fr>
1298 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
1299 (_GLICXX_DEBUG_VERIFY): Use latter.
1300 * include/ext/pb_ds/detail/resize_policy/
1301 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
1302 containing the original assert call.
1303 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
1304 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
1305 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1306 split_join_fn_imps.hpp: Likewise.
1307 * include/ext/pb_ds/detail/cc_hash_table_map_/
1308 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1309 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
1310 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
1311 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
1312 erase_no_store_hash_fn_imps.hpp: Likewise.
1313 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
1314 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
1315 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
1316 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
1318 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
1319 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1320 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
1321 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
1323 * include/ext/pb_ds/detail/gp_hash_table_map_/
1324 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
1325 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
1326 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
1327 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
1328 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
1330 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
1331 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1332 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
1333 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
1334 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
1335 find_fn_imps.hpp, insert_fn_imps.hpp,
1336 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1337 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
1338 * include/ext/pb_ds/detail/binomial_heap_/
1339 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1340 binomial_heap_.hpp: Likewise.
1341 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
1342 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
1343 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1344 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
1345 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
1346 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1347 split_join_fn_imps.hpp: Likewise.
1348 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
1349 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
1350 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
1351 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
1352 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
1353 find_fn_imps.hpp, insert_fn_imps.hpp,
1354 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
1355 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
1356 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
1357 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
1358 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
1359 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
1360 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
1361 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
1362 split_join_fn_imps.hpp: Likewise.
1363 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
1364 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1365 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
1366 * include/ext/pb_ds/hash_policy.hpp: Likewise.
1368 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
1370 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
1372 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
1374 PR libstdc++/47913 (again)
1375 * include/std/ratio (ratio_add, ratio_less): Rewrite.
1376 * testsuite/20_util/ratio/operations/47913.cc: Extend.
1377 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
1379 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1381 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1384 * include/std/valarray (valarray<>::valarray(valarray&&),
1385 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
1386 * doc/xml/manual/status_cxx200x.xml: Update.
1387 * testsuite/26_numerics/valarray/moveable.cc: New.
1388 * testsuite/26_numerics/valarray/swap.cc: Likewise.
1390 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1393 * include/parallel/multiway_merge.h: Run _ValueType destructors.
1394 * include/parallel/multiway_mergesort.h: Likewise.
1395 * include/parallel/quicksort.h: Likewise.
1396 * include/parallel/random_shuffle.h: Likewise.
1397 * include/parallel/partial_sum.h: Likewise.
1398 * include/parallel/losertree.h: Run destructors; minor tweaks.
1399 * include/parallel/par_loop.h: Run destructors, fix memory
1400 allocations and deallocations.
1401 * testsuite/26_numerics/accumulate/48750.cc: New.
1403 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
1404 parallel-mode to avoid spurious multiple errors.
1406 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1408 * include/std/functional (bind): Remove from overload set when first
1409 argument type might be a socket file descriptor.
1410 * testsuite/20_util/bind/socket.cc: New.
1412 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1415 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
1416 * doc/html/*: Regenerate.
1418 2011-05-02 Ollie Wild <aaw@google.com>
1420 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
1421 Fix unqualified lookup.
1422 (__sso_string_base<>::_M_assign): Likewise.
1423 (__sso_string_base<>::_M_reserve): Likewise.
1424 (__sso_string_base<>::_M_mutate): Likewise.
1425 (__sso_string_base<>::_M_erase): Likewise.
1426 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
1427 (__versa_string<>::compare): Likewise.
1428 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
1430 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1432 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
1434 * doc/xml/manual/documentation_hacking.xml: Fix typo.
1435 * doc/html/*: Regenerate.
1437 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
1439 * include/std/type_traits (__is_default_constructible_atom,
1440 __is_default_constructible_safe<, true>,
1441 __is_direct_constructible_new_safe,
1442 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
1443 __is_direct_constructible_ref_cast, __is_direct_constructible,
1444 __is_nary_constructible): Simplify; add comments throughout.
1446 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
1448 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1449 Adjust dg-error line numbers.
1450 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1452 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1454 2011-04-30 Doug Kwan <dougkwan@google.com>
1456 * include/Makefile.am (install-freestanding-headers): Also install
1458 * include/Makefile.in: Regenerate.
1460 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1463 * include/std/complex (complex<float>::complex(float, float),
1464 complex<double>::complex(double, double),
1465 complex<long double>::complex(long double, long double)): Use
1466 list-initialization in C++0x mode, initialize in the body in
1468 * testsuite/26_numerics/complex/cons/48760.cc: New.
1469 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1471 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1473 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
1474 tweak, remove redundant round braces.
1476 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
1478 * include/bits/move.h (move_if_noexcept): Add.
1479 * testsuite/20_util/move_if_noexcept/requirements/
1480 explicit_instantiation.cc: New.
1481 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
1483 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1485 * include/std/type_traits (struct underlying_type): Add.
1486 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1487 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1489 * testsuite/20_util/underlying_type/requirements/
1490 explicit_instantiation.cc: Likewise.
1491 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1494 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1496 * include/parallel/multiway_merge.h: Uglify equally_split
1497 and equally_split_point throughout.
1498 * include/parallel/par_loop.h: Likewise.
1499 * include/parallel/equally_split.h: Likewise.
1500 * include/parallel/set_operations.h: Likewise.
1501 * include/parallel/unique_copy.h: Likewise.
1502 * include/parallel/multiway_mergesort.h: Likewise.
1503 * include/parallel/search.h: Likewise.
1504 * include/parallel/partial_sum.h: Likewise.
1505 * include/parallel/find.h: Likewise.
1507 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1509 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
1510 documentation. Expand link text.
1512 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1514 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
1516 2011-04-22 François Dumont <francois.cppdevs@free.fr>
1518 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
1519 unused compilation result thanks to /dev/null.
1520 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
1521 check_v3_target_profile_mode, check_v3_target_normal_mode,
1522 check_v3_target_cstdint, check_v3_target_cmath,
1523 check_v3_target_atomic_builtins, check_v3_target_gthreads,
1524 check_v3_target_nanosleep, check_v3_target_sched_yield,
1525 check_v3_target_string_conversions, check_v3_target_swprintf,
1526 check_v3_target_binary_io): Use simple preprocessing rather than
1527 compilation. Discard unused preprocessing result thanks to /dev/null.
1529 2011-04-20 Jim Meyering <meyering@redhat.com>
1531 * libsupc++/del_opnt.cc (operator delete): Remove useless
1534 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1537 * include/std/type_traits (result_of): Handle pointer to member.
1538 * include/std/functional (__invoke): Likewise.
1539 (_Function_to_function_pointer): Remove.
1540 (_Reference_wrapper_base): Provide nested types independent of
1541 unary_function and binary_function.
1542 (reference_wrapper::operator()): DR 2017.
1543 (ref(const A&&), cref(const A&&): Define as deleted.
1544 * include/std/future (async): Simplify SFINAE and use result_of to
1545 support pointer to member.
1546 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
1548 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1549 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
1550 instead of derivation from unary_function and binary_function.
1551 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1552 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
1553 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
1554 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
1556 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
1559 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
1560 this part if SAMPLES < 100000.
1562 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
1564 * include/std/type_traits (is_nothrow_default_constructible,
1565 is_nothrow_copy_constructible, is_nothrow_move_constructible,
1566 is_copy_constructible, is_move_constructible): Add.
1567 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
1569 (is_nothrow_constructible): Adjust.
1571 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
1572 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
1573 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
1574 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
1576 * testsuite/20_util/has_nothrow_default_constructor: Remove.
1577 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
1579 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1580 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1581 typedefs.cc: Likewise.
1582 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1583 explicit_instantiation.cc: Likewise.
1584 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1585 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1586 typedefs.cc: Likewise.
1587 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1588 explicit_instantiation.cc: Likewise.
1589 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
1591 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1592 typedefs.cc: Likewise.
1593 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1594 explicit_instantiation.cc: Likewise.
1595 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1596 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
1598 * testsuite/20_util/is_move_constructible/requirements/
1599 explicit_instantiation.cc: Likewise.
1600 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1601 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
1603 * testsuite/20_util/is_copy_constructible/requirements/
1604 explicit_instantiation.cc: Likewise.
1606 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
1607 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
1609 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1610 Adjust dg-error line numbers.
1611 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1613 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1615 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
1617 * testsuite/25_algorithms/partition/moveable.cc: Actually run
1618 it in parallel-mode for check-parallel.
1620 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
1621 Paolo Carlini <paolo.carlini@oracle.com>
1623 PR libstdc++/48635 (again)
1624 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
1625 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
1626 unique_ptr<>::operator=(unique_ptr<>&&),
1627 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
1628 forward<_Dp>, to forward the deleter.
1629 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
1631 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1632 Paolo Carlini <paolo.carlini@oracle.com>
1635 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
1636 function call operator.
1637 * testsuite/20_util/default_delete/48631_neg.cc: New.
1638 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1641 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1642 Paolo Carlini <paolo.carlini@oracle.com>
1645 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
1646 unique_ptr<>::operator=(unique_ptr<>&&),
1647 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
1648 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
1649 instead of moving it.
1650 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
1652 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1654 * scripts/extract_symvers.pl: Handle NOTY.
1656 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
1658 * include/std/istream: Fix comments in the light of DR60 + N3168.
1660 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
1661 Paolo Carlini <paolo.carlini@oracle.com>
1664 * include/std/type_traits (struct is_constructible): Re-implement,
1666 (struct is_default_constructible): Add.
1667 (struct is_destructible): Likewise.
1668 (struct __and_, __or_, __not_): Add and use throughout; reorder some
1669 facilities, other minor tweaks.
1670 * testsuite/util/testsuite_tr1.h: Add test types.
1671 * testsuite/20_util/is_constructible/value-2.cc: New.
1672 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
1673 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
1675 * testsuite/20_util/is_default_constructible/requirements/
1676 explicit_instantiation.cc: Likewise.
1677 * testsuite/20_util/is_destructible/value.cc: Likewise.
1678 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
1680 * testsuite/20_util/is_destructible/requirements/
1681 explicit_instantiation.cc: Likewise.
1682 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1683 dg-error line numbers.
1684 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1686 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1687 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1689 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
1691 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
1693 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
1694 * testsuite/20_util/is_function/requirements/
1695 explicit_instantiation.cc: Likewise.
1696 * testsuite/20_util/is_function/24808.cc: Likewise.
1697 * testsuite/20_util/is_function/35637.cc: Likewise.
1698 * testsuite/20_util/is_object/value.cc: Likewise.
1699 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
1700 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
1702 * testsuite/20_util/is_object/24808.cc: Likewise.
1703 * testsuite/20_util/is_compound/value.cc: Likewise.
1704 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
1705 * testsuite/20_util/is_compound/requirements/
1706 explicit_instantiation.cc: Likewise.
1707 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
1708 * testsuite/20_util/is_member_object_pointer/requirements/
1709 typedefs.cc: Likewise.
1710 * testsuite/20_util/is_member_object_pointer/requirements/
1711 explicit_instantiation.cc: Likewise.
1712 * testsuite/20_util/is_fundamental/value.cc: Likewise.
1713 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
1714 * testsuite/20_util/is_fundamental/requirements/
1715 explicit_instantiation.cc: Likewise.
1716 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
1717 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
1719 * testsuite/20_util/is_member_pointer/requirements/
1720 explicit_instantiation.cc: Likewise.
1721 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
1722 * testsuite/20_util/is_member_function_pointer/
1723 requirements/typedefs.cc: Likewise.
1724 * testsuite/20_util/is_member_function_pointer/requirements/
1725 explicit_instantiation.cc: Likewise.
1727 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
1730 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
1733 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
1734 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
1735 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
1736 * testsuite/20_util/tuple/cons/48476.cc: New.
1737 * testsuite/20_util/tuple/48476.cc: Likewise.
1738 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
1740 2011-04-12 Allan McRae <allan@archlinux.org>
1743 * testsuite/tr1/6_containers/unordered_map/requirements/
1744 iterator_null_neg.cc: Include <cstddef>.
1745 * testsuite/tr1/6_containers/unordered_set/requirements/
1746 iterator_null_neg.cc: Likewise.
1747 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
1749 * testsuite/util/testsuite_common_types.h: Include <limits>.
1750 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
1751 Adjust dg-error line numbers.
1752 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1753 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1755 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
1757 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1759 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
1760 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1762 2011-04-11 Jason Merrill <jason@redhat.com>
1764 * testsuite/20_util/is_convertible/value.cc: Adjust.
1766 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
1768 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
1769 it in parallel-mode for check-parallel.
1770 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
1771 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
1772 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
1773 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1775 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1776 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
1777 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1779 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
1780 the tests based on std::lexicographical_compare for check-parallel.
1781 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1783 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1786 * include/std/functional (_Base_manager::_M_get_pointer): Use
1788 * testsuite/20_util/function/48541.cc: New.
1790 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1793 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
1794 * configure: Regenerate.
1795 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
1796 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1798 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
1800 * include/ext/algorithm (is_sorted): In C++0x mode import from
1802 * include/ext/numeric (iota): In C++0x mode import from
1804 * testsuite/ext/is_sorted/cxx0x.cc: New.
1805 * testsuite/ext/iota/cxx0x.cc: New.
1807 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
1810 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
1811 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
1812 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
1813 unused parameter name.
1815 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
1817 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
1818 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
1819 redundant default argument from std::__throw_with_nested.
1821 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
1824 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
1825 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
1826 * src/Makefile.in: Regenerate.
1827 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
1828 * include/Makefile.in: Regenerate.
1829 * doc/xml/manual/internals.xml: Update.
1830 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
1831 * config/os/newlib/ctype_configure_char.cc: ... this.
1832 * config/os/aix/ctype_noninline.h: Likewise.
1833 * config/os/aix/ctype_configure_char.cc: Likewise.
1834 * config/os/vxworks/ctype_noninline.h: Likewise.
1835 * config/os/vxworks/ctype_configure_char.cc
1836 * config/os/hpux/ctype_noninline.h: Likewise.
1837 * config/os/hpux/ctype_configure_char.cc: Likewise.
1838 * config/os/gnu-linux/ctype_noninline.h: Likewise.
1839 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
1840 * config/os/mingw32/ctype_noninline.h: Likewise.
1841 * config/os/mingw32/ctype_configure_char.cc: Likewise.
1842 * config/os/tpf/ctype_noninline.h: Likewise.
1843 * config/os/tpf/ctype_configure_char.cc: Likewise.
1844 * config/os/uclibc/ctype_noninline.h: Likewise.
1845 * config/os/uclibc/ctype_configure_char.cc: Likewise.
1846 * config/os/bionic/ctype_noninline.h: Likewise.
1847 * config/os/bionic/ctype_configure_char.cc: Likewise.
1848 * config/os/djgpp/ctype_noninline.h: Likewise.
1849 * config/os/djgpp/ctype_configure_char.cc: Likewise.
1850 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
1851 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
1852 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
1853 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
1854 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
1855 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
1856 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
1857 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
1858 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
1859 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
1860 * config/os/generic/ctype_noninline.h: Likewise.
1861 * config/os/generic/ctype_configure_char.cc: Likewise.
1862 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
1863 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
1865 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1867 * include/std/future (future::share): Add.
1868 (packaged_task::result_type): Remove as per LWG 2030.
1869 (packaged_task::packaged_task): Remove redundant constructors, as per
1871 * testsuite/30_threads/future/members/share.cc: New.
1872 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
1874 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1876 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
1877 members which require a fully established result state.
1878 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
1880 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
1882 * include/bits/random.h (negative_binomial_distribution<>::
1883 negative_binomial_distribution(_IntType, double),
1884 negative_binomial_distribution<>::
1885 negative_binomial_distribution(const param_type&)): Tweak
1886 construction of _M_gd.
1887 * include/bits/random.tcc (negative_binomial_distribution<>::
1888 operator()): Adjust.
1890 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
1892 * include/bits/random.h (negative_binomial_distribution<>::
1893 negative_binomial_distribution(_IntType, double),
1894 negative_binomial_distribution<>::
1895 negative_binomial_distribution(const param_type&)): Fix
1896 construction of _M_gd.
1897 * include/bits/random.tcc (negative_binomial_distribution<>::
1898 operator()): Fix computation, per Leger's algorithm.
1899 * testsuite/util/testsuite_random.h (discrete_pdf,
1900 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
1901 (binomial_pdf): Swap last two parameters.
1902 * testsuite/26_numerics/random/discrete_distribution/
1903 operators/values.cc: New.
1904 * testsuite/26_numerics/random/negative_binomial_distribution/
1905 operators/values.cc: Likewise.
1906 * testsuite/26_numerics/random/poisson_distribution/
1907 operators/values.cc: Likewise.
1908 * testsuite/26_numerics/random/uniform_int_distribution/
1909 operators/values.cc: Likewise.
1910 * testsuite/26_numerics/random/binomial_distribution/
1911 operators/values.cc: Adjust.
1913 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1915 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
1916 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1917 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1918 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1919 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1921 2011-03-23 Matthias Klose <doko@ubuntu.com>
1923 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
1925 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
1927 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
1929 2011-03-22 Joseph Myers <joseph@codesourcery.com>
1931 * configure.ac: Don't handle powerpc*-*-gnu*.
1932 * configure: Regenerate.
1934 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1936 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
1938 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
1941 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1943 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
1945 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
1946 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
1947 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
1948 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
1949 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
1950 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
1951 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
1953 2011-03-22 Jakub Jelinek <jakub@redhat.com>
1955 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
1956 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
1957 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
1958 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1959 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1960 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1961 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1962 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1963 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1964 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1966 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1967 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1968 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1969 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1970 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
1971 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1972 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
1973 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
1976 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
1978 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
1979 create compact unwind for" warnings.
1981 2011-03-21 Jakub Jelinek <jakub@redhat.com>
1983 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1984 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1985 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1987 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1988 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1989 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1990 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1991 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1992 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1993 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1994 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1995 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1997 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
1998 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
1999 CXXABI_LDBL_1.3 versions.
2001 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
2003 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
2005 2011-03-21 Jakub Jelinek <jakub@redhat.com>
2007 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
2008 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
2010 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2012 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
2013 sparc*-sun-solaris2.10 && lp64.
2015 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
2017 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
2018 to check_v3_target_cmath.
2019 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
2020 to dg-require-cmath.
2021 * testsuite/26_numerics/random/binomial_distribution/
2022 operators/values.cc: Adjust.
2024 2011-03-18 Diego Novillo <dnovillo@google.com>
2026 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
2028 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
2029 mixed-mode-arith_neg.cc
2031 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
2033 * testsuite/util/testsuite_random.h: New.
2034 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
2035 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
2036 * testsuite/26_numerics/random/bernoulli_distribution/
2037 operators/values.cc: New.
2038 * testsuite/26_numerics/random/binomial_distribution/
2039 operators/values.cc: Likewise.
2040 * testsuite/26_numerics/random/geometric_distribution/
2041 operators/values.cc: Likewise.
2043 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
2045 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
2046 * testsuite/19_diagnostics/stdexcept.cc: New.
2048 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2050 * include/std/thread: Revert.
2051 * src/thread.cc: Same.
2052 * config/abi/pre/gnu.ver: Same.
2054 2011-03-15 Doug Kwan <dougkwan@google.com>
2057 * include/Makefile.am (install-freestanding-headers): Install
2059 * include/Makefile.in: Regenerate.
2061 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
2063 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
2064 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
2066 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2069 * src/future.cc: Guard definitions.
2070 * libsupc++/nested_exception.cc: Same.
2072 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2074 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
2075 * src/Makefile.in: Regenerate.
2076 * libsupc++/Makefile.am: Add nested_exception.cc.
2077 * libsupc++/Makefile.in: Regenerate.
2078 * src/system_error.cc: Add ctor and dtor definitions for error_category.
2079 * src/functional.cc: New. Add dtor definition for bad_function_call.
2080 * src/stdexcept.cc: Add dtor definitions for domain_error,
2081 invalid_argument, length_error, out_of_range, range_error,
2082 overflow_error, underflow_error.
2083 * src/future.cc: Add dtor definition for __future_base::_Result_base.
2084 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
2085 * src/thread.cc: Add dtor for thread::_Impl_base.
2086 * include/std/system_error: Adjust.
2087 * include/std/stdexcept: Same.
2088 * include/std/future: Same.
2089 * include/std/functional: Same.
2090 * include/std/thread: Same.
2091 * include/bits/shared_ptr_base.h: Same.
2092 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
2093 * libsupc++/nested_exception.h: Adjust.
2094 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
2095 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2096 * config/abi/pre/gnu.ver: Add new exports.
2098 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
2100 * include/bits/regex_compiler.h: Nest namespace versioning.
2101 * include/bits/regex_grep_matcher.tcc: Same.
2102 * include/bits/regex_grep_matcher.h: Same.
2103 * include/bits/regex_cursor.h: Same.
2104 * include/bits/regex_nfa.h: Same.
2105 * include/bits/regex_nfa.tcc: Same.
2107 * include/bits/regex_grep_matcher.h: Version forward declarations.
2108 * include/bits/c++config: Add namespace association for __regex.
2109 * include/bits/regex.h: Make sub_match consistent.
2111 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2113 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
2115 * doc/html/manual/abi.html: Regenerate.
2117 2011-03-14 Tom Tromey <tromey@redhat.com>
2119 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
2120 Try to import `gdb.printing' module.
2121 (UniquePointerPrinter.__init__): Add 'typename' argument.
2122 (StdSlistPrinter.__init__): Likewise.
2123 (StdSlistIteratorPrinter.__init__): Likewise.
2124 (StdVectorIteratorPrinter.__init__): Likewise.
2125 (StdRbtreeIteratorPrinter.__init__): Likewise.
2126 (StdDebugIteratorPrinter.__init__): Likewise.
2127 (StdDequeIteratorPrinter.__init__): Likewise.
2128 (StdStringPrinter.__init__): Likewise.
2129 (RxPrinter, Printer): New class.
2130 (libstdcxx_printer): New global.
2131 (register_libstdcxx_printers): Rewrite.
2132 (build_libstdcxx_dictionary): Rewrite.
2133 (pretty_printers_dict): Remove.
2135 2011-03-14 Andrey Zholos <aaz@althenia.net>
2138 * include/bits/random.h (geometric_distribution): Correct formula
2139 in comment, per C++0x.
2140 (geometric_distribution<>::param_type::param_type(double)): Fix check.
2141 (geometric_distribution<>::param_type::_M_initialize):
2143 * include/bits/random.tcc (geometric_distribution<>::operator()):
2145 (binomial_distribution<>::operator()): Likewise.
2147 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
2149 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
2151 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
2152 Chris Jefferson <chris@bubblescope.net>
2153 Paolo Carlini <paolo.carlini@oracle.com>
2155 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
2157 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
2159 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
2161 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
2163 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
2165 2011-03-09 Chris Jefferson <chris@bubblescope.net>
2168 * include/bits/stl_algo.h (__merge_backward): Rename to
2169 __move_merge_backward and change to always move rather than copy.
2170 (__move_merge): New function similar to std::merge except values
2171 are moved instead of copied.
2172 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
2173 and __merge_backward to __move_merge and __move_merge_backward.
2175 2011-03-07 Jason Merrill <jason@redhat.com>
2177 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
2180 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
2181 Matthias Klose <doko@ubuntu.com>
2182 Jonathan Wakely <redi@gcc.gnu.org>
2185 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
2186 * configure.ac: Use it.
2187 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
2188 * configure: Regenerate.
2189 * doc/Makefile.in: Regenerate.
2191 2011-03-04 Benjamin Kosnik <bkoz@chula>
2193 * src/Makefile.am (inst_sources): Make source instantion files
2195 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
2196 * src/Makefile.in: Regenerate.
2197 * src/valarray-inst.cc: Move to..
2198 * src/valarray.cc: ...this.
2199 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
2200 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
2201 * configure: Regenerate.
2202 * include/Makefile.am (stamp-extern-template): Add.
2203 * include/Makefile.in: Regenerate.
2205 * doc/xml/manual/configure.xml: Document --enable-extern-template.
2207 * include/bits/locale_classes.tcc: Adjust comment.
2208 * include/bits/locale_facets.tcc: Same.
2209 * include/bits/basic_ios.tcc: Same.
2210 * include/bits/istream.tcc: Same.
2211 * include/bits/codecvt.h: Same.
2212 * include/bits/ostream.tcc: Same.
2213 * include/bits/sstream.tcc: Same.
2214 * include/bits/c++config: Same.
2215 * include/bits/basic_string.tcc: Same.
2216 * include/bits/ostream_insert.h: Same.
2217 * include/bits/locale_facets_nonio.tcc: Same.
2218 * include/bits/streambuf.tcc: Same.
2219 * include/bits/allocator.h: Same.
2220 * include/bits/fstream.tcc: Same.
2222 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2224 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
2226 * testsuite/Makefile.am: Make clean fixups.
2227 * testsuite/Makefile.in: Regenerate.
2229 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2231 * include/std/ratio (ratio_less): Add comments.
2233 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
2236 * include/std/ratio (ratio_add): Avoid denominator overflow.
2237 * testsuite/20_util/ratio/operations/47913.cc: New.
2239 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
2241 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
2242 * testsuite/20_util/hash/quality.cc: Same.
2244 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2247 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
2249 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
2250 xputn): Use the latter.
2251 * include/bits/streambuf_iterator.h: Likewise.
2252 * src/strstream.cc: Likewise.
2253 * src/streambuf.cc: Likewise.
2254 * src/compatibility.cc: Likewise.
2255 * src/istream.cc: Likewise.
2256 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
2258 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
2259 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
2260 seekpos, _M_sync): Use setg, setp, and _M_pbump.
2261 * config/abi/pre/gnu.ver: Tweak.
2263 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
2265 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
2267 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
2270 * include/std/ratio (ratio_less): Reimplement to never overflow.
2271 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
2273 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
2275 * testsuite/18_support/type_info/fundamental.cc: New.
2277 * testsuite/Makefile.am: Make clean fixups.
2278 * testsuite/Makefile.in: Regenerate.
2280 2011-02-19 François Dumont <francois.cppdevs@free.fr>
2282 * include/debug/string (basic_string::insert): Add iterator check and
2283 pass normal iterator to normal insert.
2284 * include/debug/macros.h (__glibcxx_check_heap,
2285 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
2288 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
2291 * testsuite/ext/vstring/hash/char/1.cc: Fix.
2292 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2294 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2296 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
2297 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
2298 (basic_regex::operator=(basic_regex&&)): Likewise.
2299 (basic_regex::assign(basic_regex&&)): Likewise.
2300 (operator==(sub_match,...)): Implement DR 1181.
2301 (match_results::match_results(match_results&&)): Define.
2302 (match_results::operator=(const match_results&)): Fix parameter type.
2303 (match_results::operator=(match_results&&)): Define.
2305 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
2308 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
2309 line anchors as metacharacters.
2310 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
2312 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
2315 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
2316 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
2317 hash<__gnu_cxx::__u32vstring>): Add.
2318 * testsuite/ext/vstring/hash/char/1.cc: New.
2319 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
2321 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
2323 * include/bits/regex.h (match_results::format): Use char_traits.
2325 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
2327 * include/std/atomic: Remove atomic_address, uplift to N3225.
2328 * include/bits/atomic_0.h: Same.
2329 * include/bits/atomic_2.h: Same.
2330 * include/bits/atomic_base.h: Same.
2331 * testsuite/29_atomics/atomic_address/*: Delete.
2333 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2335 * include/bits/regex.h (sub_match::sub_match): Add.
2336 (match_results::ready): Add.
2337 (match_results::empty): Adjust.
2338 (match_results::length): Add missing dereference.
2339 (match_results::operator[],prefix,suffix): Add debug mode checks.
2340 (match_results::cend): Re-use end().
2341 (match_results::format): Adjust signatures.
2342 (operator==(match_results,match_results)): Implement.
2343 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
2344 * include/bits/regex_constants.h (syntax_option_type): Likewise.
2345 * include/bits/regex_grep_matcher.h: Fix comment typo.
2346 (_SpecializedResults::_SpecializedResults): Simplify.
2347 * include/bits/regex_cursor.h: Fix comment typo.
2348 * include/bits/regex_nfa.h: Likewise.
2349 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
2350 Fix error code, remove xfail.
2351 * testsuite/28_regex/basic_regex/ctors/extended/
2352 string_range_01_02_03.cc: Likewise.
2354 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
2356 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
2357 * include/bits/regex_nfa.h: Remove unnecessary base classes.
2359 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2361 * configure: Regenerate.
2363 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2366 * include/ext/algorithm (is_heap): In C++0x mode import from
2368 * testsuite/ext/is_heap/47709.cc: New.
2370 2011-02-12 Jakub Jelinek <jakub@redhat.com>
2371 Jonathan Wakely <jwakely.gcc@gmail.com>
2374 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
2375 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
2377 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2379 * include/tr1/cmath (fabs): Define.
2380 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
2383 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
2385 * testsuite/tr1/headers/c++200x/complex.cc: New.
2387 2011-02-11 Johannes Singler <singler@kit.edu>
2390 * include/parallel/losertree.h
2391 (_LoserTreeUnguarded<>::__delete_min_insert):
2392 Add missing "using std::swap;", as for other variants.
2394 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
2396 * src/Makefile.am (sources): Add regex.cc.
2397 * src/Makefile.in: Regenerate.
2398 * src/regex.cc: New.
2399 * include/bits/regex_error.h (error_type): Use constexpr.
2400 (regex_error): Move ctor and dtor out of line.
2402 * testsuite/28_regex/03_requirements: To...
2403 * testsuite/28_regex/requirements: ... this.
2404 * testsuite/28_regex/04_header: To...
2405 * testsuite/28_regex/headers: ... this.
2406 * testsuite/28_regex/05_constants: To...
2407 * testsuite/28_regex/constants: ... this.
2408 * testsuite/28_regex/06_exception_type: To...
2409 * testsuite/28_regex/regex_error: ... this.
2410 * testsuite/28_regex/07_traits: To...
2411 * testsuite/28_regex/traits: ... this.
2412 * testsuite/28_regex/08_basic_regex: To...
2413 * testsuite/28_regex/basic_regex: ... this.
2414 * testsuite/28_regex/09_sub_match: To...
2415 * testsuite/28_regex/sub_match: ... this.
2416 * testsuite/28_regex/10_match_results: To...
2417 * testsuite/28_regex/match_results: ... this.
2418 * testsuite/28_regex/11_algorithms: To...
2419 * testsuite/28_regex/algorithms: ... this.
2420 * testsuite/28_regex/12_iterators: To...
2421 * testsuite/28_regex/iterators: ... this.
2423 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2426 * include/bits/c++config: Do not use alternative token.
2427 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
2429 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2431 * src/future.cc (future_error_category::message): Handle no_state.
2433 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
2435 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
2436 not test in C++0x mode.
2437 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
2438 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
2441 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2443 * doc/xml/manual/status_cxx200x.xml: Update.
2444 * doc/html/*: Regenerate.
2446 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2448 * doc/xml/manual/debug.xml: Improve data race docs.
2450 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2453 * include/debug/map.h (map): Remove unnecessary using-declaration.
2454 * include/debug/multimap.h (multimap): Likewise.
2455 * include/profile/map.h (map): Likewise.
2456 * include/profile/multimap.h (multimap): Likewise.
2458 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2461 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
2463 * libsupc++/guard_error.cc: ... new file.
2464 * libsupc++/Makefile.am: Update.
2465 * libsupc++/Makefile.in: Regenerate.
2467 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2469 * include/std/future (packaged_task::operator bool): Rename to...
2470 (packaged_task::valid): ...this.
2471 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
2472 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
2473 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
2474 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
2475 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
2476 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2477 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2478 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2479 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
2480 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
2481 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
2483 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2485 * doc/xml/manual/io.xml: Fix typo.
2486 * doc/html/manual/streambufs.html: Likewise.
2488 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2490 * config/abi/pre/gnu.ver: Fix.
2492 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
2494 * doc/xml/manual/appendix_porting.xml: Add doc section.
2495 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
2496 * doc/xml/manual/documentation_hacking.xml: ...here.
2498 * doc/xml/manual/debug_mode.xml: Adjust.
2499 * doc/xml/manual/prerequisites.xml: Adjust.
2500 * doc/Makefile.am (xml_sources): Add dot files,
2501 documentation_hacking.xml.
2502 * doc/Makefile.in: Regenerate.
2504 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
2505 * doc/xml/images/confdeps.pdf: Add.
2507 * doc/html/*: Regenerate.
2509 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2511 * doc/xml/gnu/fdl-1.2.xml: Remove.
2512 * doc/xml/gnu/gpl-2.0.xml: Remove.
2513 * doc/Makefile.am: Update.
2514 * doc/Makefile.in: Regenerate.
2516 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
2519 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
2520 iterator)): Add back in C++03 mode.
2521 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
2522 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
2524 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
2526 PR libstdc++/47560 try two
2527 * config/os/hpux/os_defines.h: Guard for C++.
2529 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
2531 * doc/xml/faq.xml: Adjust link to bug database.
2532 Remove old item on broken header files.
2534 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
2536 * include/bits/regex_error.h (__throw_regex_error): Not inline.
2537 * src/functexcept.cc: Add definition.
2538 * config/abi/pre/gnu.ver: Export.
2540 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
2542 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
2543 * configure: Regenerate.
2545 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
2548 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
2549 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
2550 avoid name conflicts.
2552 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2555 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
2557 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2559 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
2560 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
2561 (COMPACT_LATEX): Enable.
2563 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
2564 * include/profile/impl/profiler_hash_func.h: Same.
2565 * include/bits/hashtable.h: Same.
2566 * include/backward/auto_ptr.h: Same.
2567 * include/backward/strstream: Same.
2568 * include/backward/backward_warning.h: Same.
2569 * include/backward/binders.h: Same.
2571 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
2573 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
2574 Adjust link to GDB manual.
2576 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
2578 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
2579 _GLIBCXX_USE_DEPRECATED.
2580 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
2581 * doc/xml/manual/using.xml: Same.
2582 * include/std/memory: Same.
2583 * include/std/streambuf: Same.
2584 * include/bits/shared_ptr.h: Same.
2585 * include/bits/unique_ptr.h: Same.
2586 * include/bits/shared_ptr_base.h: Same.
2587 * include/bits/stl_function.h: Same.
2588 * include/tr1/shared_ptr.h: Same.
2589 * include/backward/auto_ptr.h: Same.
2590 * include/backward/binders.h: Same.
2592 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
2594 * doc/html/ext/lwg-active.html: Update to Revision D73.
2595 * doc/html/ext/lwg-closed.html: Likewise.
2596 * doc/html/ext/lwg-defects.html: Likewise.
2597 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
2599 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
2601 PR libstdc++/36104 part four
2602 * include/bits/c++config (_GLIBCXX_STD): Remove.
2603 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
2604 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
2605 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
2606 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
2607 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
2608 _GLIBCXX_INLINE_PROFILE): Remove.
2609 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
2610 (_GLIBCXX_END_NAMESPACE): Remove.
2611 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
2612 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
2613 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
2614 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
2615 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
2616 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
2617 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
2618 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
2619 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
2620 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
2621 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
2622 * include/*: Use new macros for namespace scope.
2626 * src/Makefile.am (sources): Remove debug_list.cc, add
2627 compatibility-debug_list-2.cc.
2628 (parallel_sources): Remove parallel_list.cc, add
2629 compatibility-parallel_list-2.cc.
2630 (compatibility-parallel_list-2.[o,lo]): New rule.
2631 * src/Makefile.in: Regenerate.
2632 * src/debug_list.cc: Remove.
2633 * src/parallel_list.cc: Remove.
2634 * src/compatibility-list-2.cc: New.
2635 * src/compatibility-debug_list-2.cc: New.
2636 * src/compatibility-parallel_list-2.cc: New.
2638 * doc/doxygen/user.cfg.in: Adjust macros.
2640 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
2641 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
2642 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
2643 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
2644 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
2645 * testsuite/20_util/forward/c_neg.cc: Same.
2646 * testsuite/20_util/forward/f_neg.cc: Same.
2647 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2648 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2649 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
2650 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
2651 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
2652 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2653 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2654 * testsuite/23_containers/deque/requirements/dr438/
2655 constructor_1_neg.cc: Same.
2656 * testsuite/23_containers/deque/requirements/dr438/
2657 constructor_2_neg.cc: Same.
2658 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2659 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
2660 * testsuite/23_containers/forward_list/requirements/dr438/
2661 assign_neg.cc: Same.
2662 * testsuite/23_containers/forward_list/requirements/dr438/
2663 constructor_1_neg.cc: Same.
2664 * testsuite/23_containers/forward_list/requirements/dr438/
2665 constructor_2_neg.cc: Same.
2666 * testsuite/23_containers/forward_list/requirements/dr438/
2667 insert_neg.cc: Same.
2668 * testsuite/23_containers/list/capacity/29134.cc: Same.
2669 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2670 * testsuite/23_containers/list/requirements/dr438/
2671 constructor_1_neg.cc: Same.
2672 * testsuite/23_containers/list/requirements/dr438/
2673 constructor_2_neg.cc: Same.
2674 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2675 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
2676 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
2677 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
2678 * testsuite/23_containers/vector/requirements/dr438/
2679 constructor_1_neg.cc: Same.
2680 * testsuite/23_containers/vector/requirements/dr438/
2681 constructor_2_neg.cc: Same.
2682 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2683 * testsuite/25_algorithms/sort/35588.cc: Same.
2684 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2685 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2686 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
2687 * testsuite/ext/profile/profiler_algos.cc: Same.
2688 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
2689 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
2690 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
2691 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
2692 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
2694 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2696 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
2697 Improve description of one such reference.
2699 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2701 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
2702 Standards Revision Group.
2703 * doc/xml/manual/locale.xml: Ditto.
2704 * doc/xml/manual/messages.xml: Ditto.
2705 * doc/xml/manual/using_exceptions.xml: Ditto.
2707 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
2709 * include/bits/atomic_base.h: Do not include <stddef.h>.
2710 (kill_dependency): Uglify ret.
2712 2011-01-26 Johannes Singler <singler@kit.edu>
2714 * include/parallel/numeric (inner_product, partial_sum):
2715 Qualify subsequent call with __gnu_parallel instead of
2716 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
2717 * include/parallel/algobase.h (equal): Likewise.
2718 * include/parallel/algo.h (find_first_of, search_n, merge,
2719 nth_element, partial_sort, max_element, min_element): Likewise.
2720 * testsuite/25_algorithms/headers/algorithm/
2721 parallel_algorithm_mixed1.cc (main): Add respective test cases.
2722 * testsuite/25_algorithms/headers/algorithm/
2723 parallel_algorithm_mixed2.cc (main): Likewise.
2724 * testsuite/26_numerics/headers/numeric/
2725 parallel_numeric_mixed1.cc (main): Likewise.
2726 * testsuite/26_numerics/headers/numeric/
2727 parallel_numeric_mixed2.cc (main): Likewise.
2729 2011-01-24 Graham Reed <greed@pobox.com>
2732 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
2735 2011-01-24 Johannes Singler <singler@kit.edu>
2738 * include/parallel/losertree.h
2739 (_LoserTree<>::__delete_min_insert):
2740 Do not qualify swap with std:: for value type,
2741 but include a using directive instead.
2742 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
2743 * include/parallel/balanced_quicksort.h (__qsb_divide):
2744 Use std::iter_swap instead of std::swap.
2745 (__qsb_local_sort_with_helping): Likewise.
2746 * include/parallel/partition.h (__parallel_partition):
2747 Likewise. (__parallel_nth_element): Likewise.
2749 2011-01-24 Johannes Singler <singler@kit.edu>
2752 * include/parallel/multiway_merge.h (_UnguardedIterator):
2753 Remove useless "mutable" from reference declaration.
2755 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
2757 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
2758 * include/debug/safe_sequence.h: Same.
2759 * include/debug/safe_iterator.h: Same.
2760 * include/std/forward_list: Same.
2761 * include/std/deque: Same.
2762 * include/std/list: Same.
2763 * include/std/random: Same.
2764 * include/std/streambuf: Same.
2765 * include/std/fstream: Same.
2766 * include/std/istream: Same.
2767 * include/std/string: Same.
2768 * include/std/ostream: Same.
2769 * include/std/sstream: Same.
2770 * include/ext/vstring.h: Same.
2771 * include/bits/basic_ios.h: Same.
2772 * include/bits/locale_classes.h: Same.
2773 * include/bits/locale_facets.h: Same.
2774 * include/bits/valarray_array.h: Same.
2775 * include/bits/locale_facets_nonio.h: Same.
2776 * include/tr1/random: Same.
2778 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2780 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
2782 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2784 PR libstdc++/36104 part three
2785 * src/hashtable_c++0x.cc: Adjust namespace macros.
2786 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
2787 * config/abi/pre/gnu-versioned-namespace.ver: Update.
2789 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2791 * include/ext/pb_ds/detail/resize_policy/
2792 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
2793 * include/ext/pb_ds/detail/pat_trie_/
2794 constructors_destructor_fn_imps.hpp: Same.
2795 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
2796 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2797 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
2799 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
2800 iterations downward when testing in debug mode.
2801 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2802 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2803 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2804 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2805 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2806 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
2807 reduce in debug mode.
2809 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
2811 PR libstdc++/36104 part two
2812 * include/bits/hashtable.h: Revert to non-nested macro usage.
2813 * include/bits/hashtable_policy.h: Same.
2815 2011-01-19 Graham Reed <greed@pobox.com>
2818 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
2820 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
2822 * doc/xml/images/confdeps.png: Regenerate.
2824 * include/std/chrono (duration): Mark copy constructor constexpr.
2825 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
2827 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
2829 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
2830 Declare defaulted per DR 1517.
2831 * testsuite/util/testsuite_common_types.h
2832 (constexpr_defaulted_default_constructible): Add.
2833 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
2835 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
2837 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
2839 * include/bits/stl_stack.h (stack<>::swap): Likewise.
2841 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2844 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
2845 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
2847 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2850 * testsuite/18_support/numeric_limits/lowest.cc:
2851 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
2853 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2856 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
2857 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
2859 2011-01-16 François Dumont <francois.cppdevs@free.fr>
2861 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
2862 to this. Use _neg suffix.
2863 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
2865 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
2867 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
2868 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
2870 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
2871 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
2873 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
2874 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
2876 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
2877 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
2879 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
2880 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
2882 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
2883 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
2885 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
2886 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
2888 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
2889 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
2891 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
2892 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
2894 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
2895 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
2897 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
2898 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
2900 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
2901 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
2903 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
2904 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
2906 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
2907 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
2909 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
2911 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
2914 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
2915 * include/Makefile.in: Regenerate.
2916 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
2917 (install-stdHEADERS, install-bitsHEADERS): New.
2918 * libsupc++/Makefile.in: Regenerate.
2920 * include/bits/c++config: Update for inline namespaces.
2921 * libsupc++/cxxabi-forced.h: To...
2922 * libsupc++/cxxabi_forced.h: ...this.
2923 * libsupc++/hash_bytes.h: Separate file.
2924 * libsupc++/typeinfo: Use it.
2925 * libsupc++/exception: Adjust for bits subdirectory.
2926 * libsupc++/eh_aux_runtime.cc: Same.
2927 * libsupc++/eh_ptr.cc: Same.
2928 * libsupc++/new_op.cc: Same.
2929 * libsupc++/exception_defines.h: Same.
2930 * libsupc++/nested_exception.h: Same.
2931 * libsupc++/eh_terminate.cc: Same.
2932 * libsupc++/vec.cc: Same.
2933 * libsupc++/vterminate.cc: Same.
2934 * libsupc++/exception_ptr.h: Same.
2935 * libsupc++/eh_personality.cc: Same.
2936 * libsupc++/eh_call.cc: Same.
2937 * libsupc++/new_opnt.cc: Same.
2938 * libsupc++/hash_bytes.cc: Same.
2939 * config/cpu/arm/cxxabi_tweaks.h: Same.
2940 * config/cpu/generic/cxxabi_tweaks.h: Same.
2941 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
2942 * include/std/bitset: Same.
2943 * include/ext/vstring.tcc: Same.
2944 * include/bits/hashtable.h: Same.
2945 * include/bits/functional_hash.h: Same.
2946 * include/bits/hashtable_policy.h: Same.
2947 * include/bits/basic_string.h: Same.
2948 * include/bits/istream.tcc: Same.
2949 * include/bits/ostream.tcc: Same.
2950 * include/bits/algorithmfwd.h: Same.
2951 * include/bits/basic_string.tcc: Same.
2952 * include/bits/ostream_insert.h: Same.
2953 * include/bits/fstream.tcc: Same.
2954 * include/bits/functexcept.h: Same.
2956 * doc/doxygen/user.cfg.in: Adjust names.
2958 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2960 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
2962 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
2964 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
2966 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
2968 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
2969 * testsuite/25_algorithms/is_permutation/requirements/
2970 explicit_instantiation/2.cc: Likewise.
2971 * testsuite/25_algorithms/is_permutation/requirements/
2972 explicit_instantiation/pod.cc: Likewise.
2973 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
2975 2011-01-13 John Lakos <jlakos@bloomberg.net>
2976 Pablo Halpern <phalpern@halpernwightsoftware.com>
2977 Paolo Carlini <paolo.carlini@oracle.com>
2979 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
2980 * include/bits/algorithmfwd.h: Add.
2982 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
2985 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
2987 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
2989 * aclocal.m4: Regenerate.
2991 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
2994 * src/placeholders.cc: New.
2995 * src/Makefile.am: Adjust.
2996 * src/Makefile.in: Regenerate.
2997 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
2999 * config/abi/pre/gnu.ver: Export.
3001 2011-01-05 François Dumont <francois.cppdevs@free.fr>
3003 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
3004 * include/src/debug.cc: Use latter
3005 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
3006 correctly handle before_begin iterators.
3007 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
3008 useless _GLIBCXX_DEBUG checks.
3010 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
3013 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
3014 * configure: Regenerated.
3016 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
3019 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
3022 Copyright (C) 2011 Free Software Foundation, Inc.
3024 Copying and distribution of this file, with or without modification,
3025 are permitted in any medium without royalty provided the copyright
3026 notice and this notice are preserved.