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