hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace _GLIBCXX_DEBUG_ASSERT...
[gcc.git] / libstdc++-v3 / ChangeLog
1 2011-05-11 François Dumont <francois.cppdevs@free.fr>
2
3 * include/ext/pb_ds/detail/resize_policy/
4 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
5 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
6 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
7 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
8 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
9 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
10 * include/ext/pb_ds/detail/debug_map_base.hpp,
11 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
12 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
13 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
14 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
15 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
16 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
17 macro definitions move...
18 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
19 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
20 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
21 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
22 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
23 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
24 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
25 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
26 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
27 ...here.
28
29 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
30
31 PR libstdc++/48933
32 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
33 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
34 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
35 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
36 scalbn, tgamma, trunc): Use __enable_if on the return type.
37 * include/tr1/cmath: Likewise.
38 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
39 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
40
41 2011-05-07 François Dumont <francois.cppdevs@free.fr>
42
43 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
44 (_GLICXX_DEBUG_VERIFY): Use latter.
45 * include/ext/pb_ds/detail/resize_policy/
46 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
47 containing the original assert call.
48 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
49 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
50 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
51 split_join_fn_imps.hpp: Likewise.
52 * include/ext/pb_ds/detail/cc_hash_table_map_/
53 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
54 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
55 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
56 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
57 erase_no_store_hash_fn_imps.hpp: Likewise.
58 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
59 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
60 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
61 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
62 Likewise.
63 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
64 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
65 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
66 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
67 Likewise.
68 * include/ext/pb_ds/detail/gp_hash_table_map_/
69 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
70 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
71 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
72 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
73 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
74 Likewise.
75 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
76 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
77 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
78 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
79 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
80 find_fn_imps.hpp, insert_fn_imps.hpp,
81 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
82 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
83 * include/ext/pb_ds/detail/binomial_heap_/
84 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
85 binomial_heap_.hpp: Likewise.
86 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
87 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
88 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
89 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
90 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
91 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
92 split_join_fn_imps.hpp: Likewise.
93 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
94 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
95 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
96 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
97 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
98 find_fn_imps.hpp, insert_fn_imps.hpp,
99 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
100 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
101 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
102 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
103 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
104 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
105 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
106 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
107 split_join_fn_imps.hpp: Likewise.
108 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
109 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
110 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
111 * include/ext/pb_ds/hash_policy.hpp: Likewise.
112
113 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
114
115 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
116
117 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
118
119 PR libstdc++/47913 (again)
120 * include/std/ratio (ratio_add, ratio_less): Rewrite.
121 * testsuite/20_util/ratio/operations/47913.cc: Extend.
122 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
123 line numbers.
124 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
125
126 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
127
128 PR libstdc++/48848
129 * include/std/valarray (valarray<>::valarray(valarray&&),
130 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
131 * doc/xml/manual/status_cxx200x.xml: Update.
132 * testsuite/26_numerics/valarray/moveable.cc: New.
133 * testsuite/26_numerics/valarray/swap.cc: Likewise.
134
135 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
136
137 PR libstdc++/48750
138 * include/parallel/multiway_merge.h: Run _ValueType destructors.
139 * include/parallel/multiway_mergesort.h: Likewise.
140 * include/parallel/quicksort.h: Likewise.
141 * include/parallel/random_shuffle.h: Likewise.
142 * include/parallel/partial_sum.h: Likewise.
143 * include/parallel/losertree.h: Run destructors; minor tweaks.
144 * include/parallel/par_loop.h: Run destructors, fix memory
145 allocations and deallocations.
146 * testsuite/26_numerics/accumulate/48750.cc: New.
147
148 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
149 parallel-mode to avoid spurious multiple errors.
150
151 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
152
153 * include/std/functional (bind): Remove from overload set when first
154 argument type might be a socket file descriptor.
155 * testsuite/20_util/bind/socket.cc: New.
156
157 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
158
159 PR libstdc++/48848
160 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
161 * doc/html/*: Regenerate.
162
163 2011-05-02 Ollie Wild <aaw@google.com>
164
165 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
166 Fix unqualified lookup.
167 (__sso_string_base<>::_M_assign): Likewise.
168 (__sso_string_base<>::_M_reserve): Likewise.
169 (__sso_string_base<>::_M_mutate): Likewise.
170 (__sso_string_base<>::_M_erase): Likewise.
171 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
172 (__versa_string<>::compare): Likewise.
173 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
174
175 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
176
177 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
178 and FDIS content.
179 * doc/xml/manual/documentation_hacking.xml: Fix typo.
180 * doc/html/*: Regenerate.
181
182 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
183
184 * include/std/type_traits (__is_default_constructible_atom,
185 __is_default_constructible_safe<, true>,
186 __is_direct_constructible_new_safe,
187 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
188 __is_direct_constructible_ref_cast, __is_direct_constructible,
189 __is_nary_constructible): Simplify; add comments throughout.
190
191 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
192
193 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
194 Adjust dg-error line numbers.
195 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
196 Likewise.
197 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
198
199 2011-04-30 Doug Kwan <dougkwan@google.com>
200
201 * include/Makefile.am (install-freestanding-headers): Also install
202 cxxabi_tweaks.h.
203 * include/Makefile.in: Regenerate.
204
205 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
206
207 PR libstdc++/48760
208 * include/std/complex (complex<float>::complex(float, float),
209 complex<double>::complex(double, double),
210 complex<long double>::complex(long double, long double)): Use
211 list-initialization in C++0x mode, initialize in the body in
212 C++03 mode.
213 * testsuite/26_numerics/complex/cons/48760.cc: New.
214 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
215
216 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
217
218 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
219 tweak, remove redundant round braces.
220
221 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
222
223 * include/bits/move.h (move_if_noexcept): Add.
224 * testsuite/20_util/move_if_noexcept/requirements/
225 explicit_instantiation.cc: New.
226 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
227
228 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
229
230 * include/std/type_traits (struct underlying_type): Add.
231 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
232 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
233 Likewise.
234 * testsuite/20_util/underlying_type/requirements/
235 explicit_instantiation.cc: Likewise.
236 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
237 line number.
238
239 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
240
241 * include/parallel/multiway_merge.h: Uglify equally_split
242 and equally_split_point throughout.
243 * include/parallel/par_loop.h: Likewise.
244 * include/parallel/equally_split.h: Likewise.
245 * include/parallel/set_operations.h: Likewise.
246 * include/parallel/unique_copy.h: Likewise.
247 * include/parallel/multiway_mergesort.h: Likewise.
248 * include/parallel/search.h: Likewise.
249 * include/parallel/partial_sum.h: Likewise.
250 * include/parallel/find.h: Likewise.
251
252 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
253
254 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
255 documentation. Expand link text.
256
257 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
258
259 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
260
261 2011-04-22 François Dumont <francois.cppdevs@free.fr>
262
263 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
264 unused compilation result thanks to /dev/null.
265 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
266 check_v3_target_profile_mode, check_v3_target_normal_mode,
267 check_v3_target_cstdint, check_v3_target_cmath,
268 check_v3_target_atomic_builtins, check_v3_target_gthreads,
269 check_v3_target_nanosleep, check_v3_target_sched_yield,
270 check_v3_target_string_conversions, check_v3_target_swprintf,
271 check_v3_target_binary_io): Use simple preprocessing rather than
272 compilation. Discard unused preprocessing result thanks to /dev/null.
273
274 2011-04-20 Jim Meyering <meyering@redhat.com>
275
276 * libsupc++/del_opnt.cc (operator delete): Remove useless
277 if-before-free.
278
279 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
280
281 PR libstdc++/48521
282 * include/std/type_traits (result_of): Handle pointer to member.
283 * include/std/functional (__invoke): Likewise.
284 (_Function_to_function_pointer): Remove.
285 (_Reference_wrapper_base): Provide nested types independent of
286 unary_function and binary_function.
287 (reference_wrapper::operator()): DR 2017.
288 (ref(const A&&), cref(const A&&): Define as deleted.
289 * include/std/future (async): Simplify SFINAE and use result_of to
290 support pointer to member.
291 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
292 member.
293 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
294 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
295 instead of derivation from unary_function and binary_function.
296 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
297 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
298 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
299 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
300
301 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
302
303 PR testsuite/48675
304 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
305 this part if SAMPLES < 100000.
306
307 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
308
309 * include/std/type_traits (is_nothrow_default_constructible,
310 is_nothrow_copy_constructible, is_nothrow_move_constructible,
311 is_copy_constructible, is_move_constructible): Add.
312 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
313 Remove.
314 (is_nothrow_constructible): Adjust.
315
316 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
317 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
318 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
319 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
320
321 * testsuite/20_util/has_nothrow_default_constructor: Remove.
322 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
323
324 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
325 * testsuite/20_util/is_nothrow_move_constructible/requirements/
326 typedefs.cc: Likewise.
327 * testsuite/20_util/is_nothrow_move_constructible/requirements/
328 explicit_instantiation.cc: Likewise.
329 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
330 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
331 typedefs.cc: Likewise.
332 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
333 explicit_instantiation.cc: Likewise.
334 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
335 Likewise.
336 * testsuite/20_util/is_nothrow_default_constructible/requirements/
337 typedefs.cc: Likewise.
338 * testsuite/20_util/is_nothrow_default_constructible/requirements/
339 explicit_instantiation.cc: Likewise.
340 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
341 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
342 Likewise.
343 * testsuite/20_util/is_move_constructible/requirements/
344 explicit_instantiation.cc: Likewise.
345 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
346 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
347 Likewise.
348 * testsuite/20_util/is_copy_constructible/requirements/
349 explicit_instantiation.cc: Likewise.
350
351 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
352 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
353
354 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
355 Adjust dg-error line numbers.
356 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
357 Likewise.
358 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
359
360 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
361
362 * testsuite/25_algorithms/partition/moveable.cc: Actually run
363 it in parallel-mode for check-parallel.
364
365 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
366 Paolo Carlini <paolo.carlini@oracle.com>
367
368 PR libstdc++/48635 (again)
369 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
370 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
371 unique_ptr<>::operator=(unique_ptr<>&&),
372 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
373 forward<_Dp>, to forward the deleter.
374 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
375
376 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
377 Paolo Carlini <paolo.carlini@oracle.com>
378
379 PR libstdc++/48631
380 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
381 function call operator.
382 * testsuite/20_util/default_delete/48631_neg.cc: New.
383 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
384 line numbers.
385
386 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
387 Paolo Carlini <paolo.carlini@oracle.com>
388
389 PR libstdc++/48635
390 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
391 unique_ptr<>::operator=(unique_ptr<>&&),
392 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
393 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
394 instead of moving it.
395 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
396
397 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
398
399 * scripts/extract_symvers.pl: Handle NOTY.
400
401 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
402
403 * include/std/istream: Fix comments in the light of DR60 + N3168.
404
405 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
406 Paolo Carlini <paolo.carlini@oracle.com>
407
408 PR libstdc++/48526
409 * include/std/type_traits (struct is_constructible): Re-implement,
410 according to n3290.
411 (struct is_default_constructible): Add.
412 (struct is_destructible): Likewise.
413 (struct __and_, __or_, __not_): Add and use throughout; reorder some
414 facilities, other minor tweaks.
415 * testsuite/util/testsuite_tr1.h: Add test types.
416 * testsuite/20_util/is_constructible/value-2.cc: New.
417 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
418 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
419 Likewise.
420 * testsuite/20_util/is_default_constructible/requirements/
421 explicit_instantiation.cc: Likewise.
422 * testsuite/20_util/is_destructible/value.cc: Likewise.
423 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
424 Likewise.
425 * testsuite/20_util/is_destructible/requirements/
426 explicit_instantiation.cc: Likewise.
427 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
428 dg-error line numbers.
429 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
430 Likewise.
431 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
432 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
433
434 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
435
436 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
437 testsuite.
438 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
439 * testsuite/20_util/is_function/requirements/
440 explicit_instantiation.cc: Likewise.
441 * testsuite/20_util/is_function/24808.cc: Likewise.
442 * testsuite/20_util/is_function/35637.cc: Likewise.
443 * testsuite/20_util/is_object/value.cc: Likewise.
444 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
445 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
446 : Likewise.
447 * testsuite/20_util/is_object/24808.cc: Likewise.
448 * testsuite/20_util/is_compound/value.cc: Likewise.
449 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
450 * testsuite/20_util/is_compound/requirements/
451 explicit_instantiation.cc: Likewise.
452 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
453 * testsuite/20_util/is_member_object_pointer/requirements/
454 typedefs.cc: Likewise.
455 * testsuite/20_util/is_member_object_pointer/requirements/
456 explicit_instantiation.cc: Likewise.
457 * testsuite/20_util/is_fundamental/value.cc: Likewise.
458 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
459 * testsuite/20_util/is_fundamental/requirements/
460 explicit_instantiation.cc: Likewise.
461 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
462 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
463 Likewise.
464 * testsuite/20_util/is_member_pointer/requirements/
465 explicit_instantiation.cc: Likewise.
466 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
467 * testsuite/20_util/is_member_function_pointer/
468 requirements/typedefs.cc: Likewise.
469 * testsuite/20_util/is_member_function_pointer/requirements/
470 explicit_instantiation.cc: Likewise.
471
472 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
473 Copyright years.
474
475 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
476
477 PR libstdc++/48476
478 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
479 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
480 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
481 * testsuite/20_util/tuple/cons/48476.cc: New.
482 * testsuite/20_util/tuple/48476.cc: Likewise.
483 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
484
485 2011-04-12 Allan McRae <allan@archlinux.org>
486
487 PR libstdc++/48566
488 * testsuite/tr1/6_containers/unordered_map/requirements/
489 iterator_null_neg.cc: Include <cstddef>.
490 * testsuite/tr1/6_containers/unordered_set/requirements/
491 iterator_null_neg.cc: Likewise.
492 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
493 <cstring>.
494 * testsuite/util/testsuite_common_types.h: Include <limits>.
495 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
496 Adjust dg-error line numbers.
497 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
498 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
499 Likewise.
500 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
501 Likewise.
502 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
503 Likewise.
504 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
505 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
506
507 2011-04-11 Jason Merrill <jason@redhat.com>
508
509 * testsuite/20_util/is_convertible/value.cc: Adjust.
510
511 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
512
513 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
514 it in parallel-mode for check-parallel.
515 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
516 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
517 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
518 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
519 Likewise.
520 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
521 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
522 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
523
524 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
525 the tests based on std::lexicographical_compare for check-parallel.
526 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
527
528 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
529
530 PR libstdc++/48541
531 * include/std/functional (_Base_manager::_M_get_pointer): Use
532 addressof.
533 * testsuite/20_util/function/48541.cc: New.
534
535 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
536
537 PR libstdc++/48465
538 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
539 * configure: Regenerate.
540 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
541 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
542
543 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
544
545 * include/ext/algorithm (is_sorted): In C++0x mode import from
546 namespace std.
547 * include/ext/numeric (iota): In C++0x mode import from
548 namespace std.
549 * testsuite/ext/is_sorted/cxx0x.cc: New.
550 * testsuite/ext/iota/cxx0x.cc: New.
551
552 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
553
554 PR libstdc++/48398
555 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
556 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
557 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
558 unused parameter name.
559
560 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
561
562 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
563 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
564 redundant default argument from std::__throw_with_nested.
565
566 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
567
568 PR libstdc++/48382
569 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
570 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
571 * src/Makefile.in: Regenerate.
572 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
573 * include/Makefile.in: Regenerate.
574 * doc/xml/manual/internals.xml: Update.
575 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
576 * config/os/newlib/ctype_configure_char.cc: ... this.
577 * config/os/aix/ctype_noninline.h: Likewise.
578 * config/os/aix/ctype_configure_char.cc: Likewise.
579 * config/os/vxworks/ctype_noninline.h: Likewise.
580 * config/os/vxworks/ctype_configure_char.cc
581 * config/os/hpux/ctype_noninline.h: Likewise.
582 * config/os/hpux/ctype_configure_char.cc: Likewise.
583 * config/os/gnu-linux/ctype_noninline.h: Likewise.
584 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
585 * config/os/mingw32/ctype_noninline.h: Likewise.
586 * config/os/mingw32/ctype_configure_char.cc: Likewise.
587 * config/os/tpf/ctype_noninline.h: Likewise.
588 * config/os/tpf/ctype_configure_char.cc: Likewise.
589 * config/os/uclibc/ctype_noninline.h: Likewise.
590 * config/os/uclibc/ctype_configure_char.cc: Likewise.
591 * config/os/bionic/ctype_noninline.h: Likewise.
592 * config/os/bionic/ctype_configure_char.cc: Likewise.
593 * config/os/djgpp/ctype_noninline.h: Likewise.
594 * config/os/djgpp/ctype_configure_char.cc: Likewise.
595 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
596 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
597 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
598 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
599 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
600 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
601 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
602 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
603 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
604 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
605 * config/os/generic/ctype_noninline.h: Likewise.
606 * config/os/generic/ctype_configure_char.cc: Likewise.
607 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
608 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
609
610 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
611
612 * include/std/future (future::share): Add.
613 (packaged_task::result_type): Remove as per LWG 2030.
614 (packaged_task::packaged_task): Remove redundant constructors, as per
615 LWG 1514.
616 * testsuite/30_threads/future/members/share.cc: New.
617 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
618
619 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
620
621 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
622 members which require a fully established result state.
623 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
624
625 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
626
627 * include/bits/random.h (negative_binomial_distribution<>::
628 negative_binomial_distribution(_IntType, double),
629 negative_binomial_distribution<>::
630 negative_binomial_distribution(const param_type&)): Tweak
631 construction of _M_gd.
632 * include/bits/random.tcc (negative_binomial_distribution<>::
633 operator()): Adjust.
634
635 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
636
637 * include/bits/random.h (negative_binomial_distribution<>::
638 negative_binomial_distribution(_IntType, double),
639 negative_binomial_distribution<>::
640 negative_binomial_distribution(const param_type&)): Fix
641 construction of _M_gd.
642 * include/bits/random.tcc (negative_binomial_distribution<>::
643 operator()): Fix computation, per Leger's algorithm.
644 * testsuite/util/testsuite_random.h (discrete_pdf,
645 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
646 (binomial_pdf): Swap last two parameters.
647 * testsuite/26_numerics/random/discrete_distribution/
648 operators/values.cc: New.
649 * testsuite/26_numerics/random/negative_binomial_distribution/
650 operators/values.cc: Likewise.
651 * testsuite/26_numerics/random/poisson_distribution/
652 operators/values.cc: Likewise.
653 * testsuite/26_numerics/random/uniform_int_distribution/
654 operators/values.cc: Likewise.
655 * testsuite/26_numerics/random/binomial_distribution/
656 operators/values.cc: Adjust.
657
658 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
659
660 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
661 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
662 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
663 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
664 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
665
666 2011-03-23 Matthias Klose <doko@ubuntu.com>
667
668 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
669
670 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
671
672 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
673
674 2011-03-22 Joseph Myers <joseph@codesourcery.com>
675
676 * configure.ac: Don't handle powerpc*-*-gnu*.
677 * configure: Regenerate.
678
679 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
680
681 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
682 Copyright years.
683 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
684 Likewise.
685
686 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
687
688 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
689 per DR 1401.
690 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
691 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
692 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
693 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
694 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
695 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
696 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
697
698 2011-03-22 Jakub Jelinek <jakub@redhat.com>
699
700 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
701 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
702 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
703 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
704 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
705 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
706 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
707 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
708 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
709 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
710 Likewise.
711 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
712 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
713 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
714 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
715 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
716 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
717 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
718 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
719 test.
720
721 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
722
723 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
724 create compact unwind for" warnings.
725
726 2011-03-21 Jakub Jelinek <jakub@redhat.com>
727
728 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
729 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
730 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
731 Likewise.
732 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
733 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
734 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
735 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
736 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
737 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
738 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
739 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
740 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
741
742 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
743 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
744 CXXABI_LDBL_1.3 versions.
745
746 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
747
748 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
749
750 2011-03-21 Jakub Jelinek <jakub@redhat.com>
751
752 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
753 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
754
755 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
756
757 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
758 sparc*-sun-solaris2.10 && lp64.
759
760 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
761
762 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
763 to check_v3_target_cmath.
764 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
765 to dg-require-cmath.
766 * testsuite/26_numerics/random/binomial_distribution/
767 operators/values.cc: Adjust.
768
769 2011-03-18 Diego Novillo <dnovillo@google.com>
770
771 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
772 mixed-mode_neg.cc
773 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
774 mixed-mode-arith_neg.cc
775
776 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
777
778 * testsuite/util/testsuite_random.h: New.
779 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
780 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
781 * testsuite/26_numerics/random/bernoulli_distribution/
782 operators/values.cc: New.
783 * testsuite/26_numerics/random/binomial_distribution/
784 operators/values.cc: Likewise.
785 * testsuite/26_numerics/random/geometric_distribution/
786 operators/values.cc: Likewise.
787
788 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
789
790 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
791 * testsuite/19_diagnostics/stdexcept.cc: New.
792
793 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
794
795 * include/std/thread: Revert.
796 * src/thread.cc: Same.
797 * config/abi/pre/gnu.ver: Same.
798
799 2011-03-15 Doug Kwan <dougkwan@google.com>
800
801 PR libstdc++/48123
802 * include/Makefile.am (install-freestanding-headers): Install
803 cpu_defines.h
804 * include/Makefile.in: Regenerate.
805
806 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
807
808 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
809 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
810
811 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
812
813 PR libstdc++/48130
814 * src/future.cc: Guard definitions.
815 * libsupc++/nested_exception.cc: Same.
816
817 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
818
819 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
820 * src/Makefile.in: Regenerate.
821 * libsupc++/Makefile.am: Add nested_exception.cc.
822 * libsupc++/Makefile.in: Regenerate.
823 * src/system_error.cc: Add ctor and dtor definitions for error_category.
824 * src/functional.cc: New. Add dtor definition for bad_function_call.
825 * src/stdexcept.cc: Add dtor definitions for domain_error,
826 invalid_argument, length_error, out_of_range, range_error,
827 overflow_error, underflow_error.
828 * src/future.cc: Add dtor definition for __future_base::_Result_base.
829 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
830 * src/thread.cc: Add dtor for thread::_Impl_base.
831 * include/std/system_error: Adjust.
832 * include/std/stdexcept: Same.
833 * include/std/future: Same.
834 * include/std/functional: Same.
835 * include/std/thread: Same.
836 * include/bits/shared_ptr_base.h: Same.
837 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
838 * libsupc++/nested_exception.h: Adjust.
839 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
840 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
841 * config/abi/pre/gnu.ver: Add new exports.
842
843 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
844
845 * include/bits/regex_compiler.h: Nest namespace versioning.
846 * include/bits/regex_grep_matcher.tcc: Same.
847 * include/bits/regex_grep_matcher.h: Same.
848 * include/bits/regex_cursor.h: Same.
849 * include/bits/regex_nfa.h: Same.
850 * include/bits/regex_nfa.tcc: Same.
851
852 * include/bits/regex_grep_matcher.h: Version forward declarations.
853 * include/bits/c++config: Add namespace association for __regex.
854 * include/bits/regex.h: Make sub_match consistent.
855
856 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
857
858 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
859 equivalents.
860 * doc/html/manual/abi.html: Regenerate.
861
862 2011-03-14 Tom Tromey <tromey@redhat.com>
863
864 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
865 Try to import `gdb.printing' module.
866 (UniquePointerPrinter.__init__): Add 'typename' argument.
867 (StdSlistPrinter.__init__): Likewise.
868 (StdSlistIteratorPrinter.__init__): Likewise.
869 (StdVectorIteratorPrinter.__init__): Likewise.
870 (StdRbtreeIteratorPrinter.__init__): Likewise.
871 (StdDebugIteratorPrinter.__init__): Likewise.
872 (StdDequeIteratorPrinter.__init__): Likewise.
873 (StdStringPrinter.__init__): Likewise.
874 (RxPrinter, Printer): New class.
875 (libstdcxx_printer): New global.
876 (register_libstdcxx_printers): Rewrite.
877 (build_libstdcxx_dictionary): Rewrite.
878 (pretty_printers_dict): Remove.
879
880 2011-03-14 Andrey Zholos <aaz@althenia.net>
881
882 PR libstdc++/48114
883 * include/bits/random.h (geometric_distribution): Correct formula
884 in comment, per C++0x.
885 (geometric_distribution<>::param_type::param_type(double)): Fix check.
886 (geometric_distribution<>::param_type::_M_initialize):
887 Store log(1 - p).
888 * include/bits/random.tcc (geometric_distribution<>::operator()):
889 Fix computation.
890 (binomial_distribution<>::operator()): Likewise.
891
892 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
893
894 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
895
896 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
897 Chris Jefferson <chris@bubblescope.net>
898 Paolo Carlini <paolo.carlini@oracle.com>
899
900 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
901 New.
902 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
903 Likewise.
904 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
905 Likewise.
906 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
907 Likewise.
908 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
909
910 2011-03-09 Chris Jefferson <chris@bubblescope.net>
911
912 PR libstdc++/48038
913 * include/bits/stl_algo.h (__merge_backward): Rename to
914 __move_merge_backward and change to always move rather than copy.
915 (__move_merge): New function similar to std::merge except values
916 are moved instead of copied.
917 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
918 and __merge_backward to __move_merge and __move_merge_backward.
919
920 2011-03-07 Jason Merrill <jason@redhat.com>
921
922 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
923 expected errors.
924
925 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
926 Matthias Klose <doko@ubuntu.com>
927 Jonathan Wakely <redi@gcc.gnu.org>
928
929 PR libstdc++/47145
930 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
931 * configure.ac: Use it.
932 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
933 * configure: Regenerate.
934 * doc/Makefile.in: Regenerate.
935
936 2011-03-04 Benjamin Kosnik <bkoz@chula>
937
938 * src/Makefile.am (inst_sources): Make source instantion files
939 conditional.
940 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
941 * src/Makefile.in: Regenerate.
942 * src/valarray-inst.cc: Move to..
943 * src/valarray.cc: ...this.
944 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
945 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
946 * configure: Regenerate.
947 * include/Makefile.am (stamp-extern-template): Add.
948 * include/Makefile.in: Regenerate.
949
950 * doc/xml/manual/configure.xml: Document --enable-extern-template.
951
952 * include/bits/locale_classes.tcc: Adjust comment.
953 * include/bits/locale_facets.tcc: Same.
954 * include/bits/basic_ios.tcc: Same.
955 * include/bits/istream.tcc: Same.
956 * include/bits/codecvt.h: Same.
957 * include/bits/ostream.tcc: Same.
958 * include/bits/sstream.tcc: Same.
959 * include/bits/c++config: Same.
960 * include/bits/basic_string.tcc: Same.
961 * include/bits/ostream_insert.h: Same.
962 * include/bits/locale_facets_nonio.tcc: Same.
963 * include/bits/streambuf.tcc: Same.
964 * include/bits/allocator.h: Same.
965 * include/bits/fstream.tcc: Same.
966
967 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
968
969 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
970
971 * testsuite/Makefile.am: Make clean fixups.
972 * testsuite/Makefile.in: Regenerate.
973
974 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
975
976 * include/std/ratio (ratio_less): Add comments.
977
978 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
979
980 PR libstdc++/47913
981 * include/std/ratio (ratio_add): Avoid denominator overflow.
982 * testsuite/20_util/ratio/operations/47913.cc: New.
983
984 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
985
986 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
987 * testsuite/20_util/hash/quality.cc: Same.
988
989 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
990
991 PR libstdc++/47921
992 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
993 __safe_pbump): Add.
994 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
995 xputn): Use the latter.
996 * include/bits/streambuf_iterator.h: Likewise.
997 * src/strstream.cc: Likewise.
998 * src/streambuf.cc: Likewise.
999 * src/compatibility.cc: Likewise.
1000 * src/istream.cc: Likewise.
1001 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1002 instead of gbump.
1003 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1004 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1005 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1006 * config/abi/pre/gnu.ver: Tweak.
1007
1008 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1009
1010 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1011
1012 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1013
1014 PR libstdc++/42622
1015 * include/std/ratio (ratio_less): Reimplement to never overflow.
1016 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1017
1018 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1019
1020 * testsuite/18_support/type_info/fundamental.cc: New.
1021
1022 * testsuite/Makefile.am: Make clean fixups.
1023 * testsuite/Makefile.in: Regenerate.
1024
1025 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1026
1027 * include/debug/string (basic_string::insert): Add iterator check and
1028 pass normal iterator to normal insert.
1029 * include/debug/macros.h (__glibcxx_check_heap,
1030 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1031 already done.
1032
1033 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1034
1035 PR libstdc++/47776
1036 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1037 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1038
1039 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1040
1041 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1042 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1043 (basic_regex::operator=(basic_regex&&)): Likewise.
1044 (basic_regex::assign(basic_regex&&)): Likewise.
1045 (operator==(sub_match,...)): Implement DR 1181.
1046 (match_results::match_results(match_results&&)): Define.
1047 (match_results::operator=(const match_results&)): Fix parameter type.
1048 (match_results::operator=(match_results&&)): Define.
1049
1050 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1051
1052 PR libstdc++/47724
1053 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1054 line anchors as metacharacters.
1055 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1056
1057 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1058
1059 PR libstdc++/47773
1060 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1061 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1062 hash<__gnu_cxx::__u32vstring>): Add.
1063 * testsuite/ext/vstring/hash/char/1.cc: New.
1064 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1065
1066 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1067
1068 * include/bits/regex.h (match_results::format): Use char_traits.
1069
1070 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1071
1072 * include/std/atomic: Remove atomic_address, uplift to N3225.
1073 * include/bits/atomic_0.h: Same.
1074 * include/bits/atomic_2.h: Same.
1075 * include/bits/atomic_base.h: Same.
1076 * testsuite/29_atomics/atomic_address/*: Delete.
1077
1078 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1079
1080 * include/bits/regex.h (sub_match::sub_match): Add.
1081 (match_results::ready): Add.
1082 (match_results::empty): Adjust.
1083 (match_results::length): Add missing dereference.
1084 (match_results::operator[],prefix,suffix): Add debug mode checks.
1085 (match_results::cend): Re-use end().
1086 (match_results::format): Adjust signatures.
1087 (operator==(match_results,match_results)): Implement.
1088 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1089 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1090 * include/bits/regex_grep_matcher.h: Fix comment typo.
1091 (_SpecializedResults::_SpecializedResults): Simplify.
1092 * include/bits/regex_cursor.h: Fix comment typo.
1093 * include/bits/regex_nfa.h: Likewise.
1094 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1095 Fix error code, remove xfail.
1096 * testsuite/28_regex/basic_regex/ctors/extended/
1097 string_range_01_02_03.cc: Likewise.
1098
1099 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1100
1101 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1102 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1103
1104 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1105
1106 * configure: Regenerate.
1107
1108 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1109
1110 PR libstdc++/47709
1111 * include/ext/algorithm (is_heap): In C++0x mode import from
1112 namespace std.
1113 * testsuite/ext/is_heap/47709.cc: New.
1114
1115 2011-02-12 Jakub Jelinek <jakub@redhat.com>
1116 Jonathan Wakely <jwakely.gcc@gmail.com>
1117
1118 PR libstdc++/47662
1119 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
1120 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
1121
1122 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
1123
1124 * include/tr1/cmath (fabs): Define.
1125 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
1126 in C++0x mode.
1127
1128 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
1129
1130 * testsuite/tr1/headers/c++200x/complex.cc: New.
1131
1132 2011-02-11 Johannes Singler <singler@kit.edu>
1133
1134 PR libstdc++/47433
1135 * include/parallel/losertree.h
1136 (_LoserTreeUnguarded<>::__delete_min_insert):
1137 Add missing "using std::swap;", as for other variants.
1138
1139 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
1140
1141 * src/Makefile.am (sources): Add regex.cc.
1142 * src/Makefile.in: Regenerate.
1143 * src/regex.cc: New.
1144 * include/bits/regex_error.h (error_type): Use constexpr.
1145 (regex_error): Move ctor and dtor out of line.
1146
1147 * testsuite/28_regex/03_requirements: To...
1148 * testsuite/28_regex/requirements: ... this.
1149 * testsuite/28_regex/04_header: To...
1150 * testsuite/28_regex/headers: ... this.
1151 * testsuite/28_regex/05_constants: To...
1152 * testsuite/28_regex/constants: ... this.
1153 * testsuite/28_regex/06_exception_type: To...
1154 * testsuite/28_regex/regex_error: ... this.
1155 * testsuite/28_regex/07_traits: To...
1156 * testsuite/28_regex/traits: ... this.
1157 * testsuite/28_regex/08_basic_regex: To...
1158 * testsuite/28_regex/basic_regex: ... this.
1159 * testsuite/28_regex/09_sub_match: To...
1160 * testsuite/28_regex/sub_match: ... this.
1161 * testsuite/28_regex/10_match_results: To...
1162 * testsuite/28_regex/match_results: ... this.
1163 * testsuite/28_regex/11_algorithms: To...
1164 * testsuite/28_regex/algorithms: ... this.
1165 * testsuite/28_regex/12_iterators: To...
1166 * testsuite/28_regex/iterators: ... this.
1167
1168 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1169
1170 PR libstdc++/47662
1171 * include/bits/c++config: Do not use alternative token.
1172 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
1173
1174 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1175
1176 * src/future.cc (future_error_category::message): Handle no_state.
1177
1178 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
1179
1180 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
1181 not test in C++0x mode.
1182 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
1183 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
1184 in C++0x mode too.
1185
1186 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1187
1188 * doc/xml/manual/status_cxx200x.xml: Update.
1189 * doc/html/*: Regenerate.
1190
1191 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1192
1193 * doc/xml/manual/debug.xml: Improve data race docs.
1194
1195 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1196
1197 PR libstdc++/47668
1198 * include/debug/map.h (map): Remove unnecessary using-declaration.
1199 * include/debug/multimap.h (multimap): Likewise.
1200 * include/profile/map.h (map): Likewise.
1201 * include/profile/multimap.h (multimap): Likewise.
1202
1203 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1204
1205 PR libstdc++/43863
1206 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
1207 Move to ...
1208 * libsupc++/guard_error.cc: ... new file.
1209 * libsupc++/Makefile.am: Update.
1210 * libsupc++/Makefile.in: Regenerate.
1211
1212 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
1213
1214 * include/std/future (packaged_task::operator bool): Rename to...
1215 (packaged_task::valid): ...this.
1216 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
1217 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
1218 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
1219 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
1220 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
1221 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
1222 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
1223 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
1224 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
1225 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
1226 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
1227
1228 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1229
1230 * doc/xml/manual/io.xml: Fix typo.
1231 * doc/html/manual/streambufs.html: Likewise.
1232
1233 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
1234
1235 * config/abi/pre/gnu.ver: Fix.
1236
1237 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
1238
1239 * doc/xml/manual/appendix_porting.xml: Add doc section.
1240 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
1241 * doc/xml/manual/documentation_hacking.xml: ...here.
1242
1243 * doc/xml/manual/debug_mode.xml: Adjust.
1244 * doc/xml/manual/prerequisites.xml: Adjust.
1245 * doc/Makefile.am (xml_sources): Add dot files,
1246 documentation_hacking.xml.
1247 * doc/Makefile.in: Regenerate.
1248
1249 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
1250 * doc/xml/images/confdeps.pdf: Add.
1251
1252 * doc/html/*: Regenerate.
1253
1254 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
1255
1256 * doc/xml/gnu/fdl-1.2.xml: Remove.
1257 * doc/xml/gnu/gpl-2.0.xml: Remove.
1258 * doc/Makefile.am: Update.
1259 * doc/Makefile.in: Regenerate.
1260
1261 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
1262
1263 PR libstdc++/47628
1264 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
1265 iterator)): Add back in C++03 mode.
1266 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
1267 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
1268
1269 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
1270
1271 PR libstdc++/47560 try two
1272 * config/os/hpux/os_defines.h: Guard for C++.
1273
1274 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
1275
1276 * doc/xml/faq.xml: Adjust link to bug database.
1277 Remove old item on broken header files.
1278
1279 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
1280
1281 * include/bits/regex_error.h (__throw_regex_error): Not inline.
1282 * src/functexcept.cc: Add definition.
1283 * config/abi/pre/gnu.ver: Export.
1284
1285 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
1286
1287 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
1288 * configure: Regenerate.
1289
1290 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
1291
1292 PR libstdc++/46914
1293 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
1294 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
1295 avoid name conflicts.
1296
1297 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1298
1299 PR libstdc++/47560
1300 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
1301
1302 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
1303
1304 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
1305 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
1306 (COMPACT_LATEX): Enable.
1307
1308 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
1309 * include/profile/impl/profiler_hash_func.h: Same.
1310 * include/bits/hashtable.h: Same.
1311 * include/backward/auto_ptr.h: Same.
1312 * include/backward/strstream: Same.
1313 * include/backward/backward_warning.h: Same.
1314 * include/backward/binders.h: Same.
1315
1316 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
1317
1318 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
1319 Adjust link to GDB manual.
1320
1321 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
1322
1323 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
1324 _GLIBCXX_USE_DEPRECATED.
1325 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
1326 * doc/xml/manual/using.xml: Same.
1327 * include/std/memory: Same.
1328 * include/std/streambuf: Same.
1329 * include/bits/shared_ptr.h: Same.
1330 * include/bits/unique_ptr.h: Same.
1331 * include/bits/shared_ptr_base.h: Same.
1332 * include/bits/stl_function.h: Same.
1333 * include/tr1/shared_ptr.h: Same.
1334 * include/backward/auto_ptr.h: Same.
1335 * include/backward/binders.h: Same.
1336
1337 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
1338
1339 * doc/html/ext/lwg-active.html: Update to Revision D73.
1340 * doc/html/ext/lwg-closed.html: Likewise.
1341 * doc/html/ext/lwg-defects.html: Likewise.
1342 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
1343
1344 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
1345
1346 PR libstdc++/36104 part four
1347 * include/bits/c++config (_GLIBCXX_STD): Remove.
1348 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
1349 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
1350 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
1351 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
1352 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
1353 _GLIBCXX_INLINE_PROFILE): Remove.
1354 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
1355 (_GLIBCXX_END_NAMESPACE): Remove.
1356 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
1357 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
1358 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
1359 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
1360 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
1361 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
1362 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
1363 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
1364 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
1365 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
1366 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
1367 * include/*: Use new macros for namespace scope.
1368 * config/*: Same.
1369 * src/*: Same.
1370
1371 * src/Makefile.am (sources): Remove debug_list.cc, add
1372 compatibility-debug_list-2.cc.
1373 (parallel_sources): Remove parallel_list.cc, add
1374 compatibility-parallel_list-2.cc.
1375 (compatibility-parallel_list-2.[o,lo]): New rule.
1376 * src/Makefile.in: Regenerate.
1377 * src/debug_list.cc: Remove.
1378 * src/parallel_list.cc: Remove.
1379 * src/compatibility-list-2.cc: New.
1380 * src/compatibility-debug_list-2.cc: New.
1381 * src/compatibility-parallel_list-2.cc: New.
1382
1383 * doc/doxygen/user.cfg.in: Adjust macros.
1384
1385 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
1386 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
1387 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
1388 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
1389 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
1390 * testsuite/20_util/forward/c_neg.cc: Same.
1391 * testsuite/20_util/forward/f_neg.cc: Same.
1392 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
1393 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
1394 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
1395 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
1396 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
1397 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1398 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
1399 * testsuite/23_containers/deque/requirements/dr438/
1400 constructor_1_neg.cc: Same.
1401 * testsuite/23_containers/deque/requirements/dr438/
1402 constructor_2_neg.cc: Same.
1403 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
1404 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
1405 * testsuite/23_containers/forward_list/requirements/dr438/
1406 assign_neg.cc: Same.
1407 * testsuite/23_containers/forward_list/requirements/dr438/
1408 constructor_1_neg.cc: Same.
1409 * testsuite/23_containers/forward_list/requirements/dr438/
1410 constructor_2_neg.cc: Same.
1411 * testsuite/23_containers/forward_list/requirements/dr438/
1412 insert_neg.cc: Same.
1413 * testsuite/23_containers/list/capacity/29134.cc: Same.
1414 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
1415 * testsuite/23_containers/list/requirements/dr438/
1416 constructor_1_neg.cc: Same.
1417 * testsuite/23_containers/list/requirements/dr438/
1418 constructor_2_neg.cc: Same.
1419 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
1420 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
1421 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
1422 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
1423 * testsuite/23_containers/vector/requirements/dr438/
1424 constructor_1_neg.cc: Same.
1425 * testsuite/23_containers/vector/requirements/dr438/
1426 constructor_2_neg.cc: Same.
1427 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
1428 * testsuite/25_algorithms/sort/35588.cc: Same.
1429 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
1430 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1431 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
1432 * testsuite/ext/profile/profiler_algos.cc: Same.
1433 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
1434 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
1435 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
1436 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
1437 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
1438
1439 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1440
1441 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
1442 Improve description of one such reference.
1443
1444 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
1445
1446 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
1447 Standards Revision Group.
1448 * doc/xml/manual/locale.xml: Ditto.
1449 * doc/xml/manual/messages.xml: Ditto.
1450 * doc/xml/manual/using_exceptions.xml: Ditto.
1451
1452 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
1453
1454 * include/bits/atomic_base.h: Do not include <stddef.h>.
1455 (kill_dependency): Uglify ret.
1456
1457 2011-01-26 Johannes Singler <singler@kit.edu>
1458
1459 * include/parallel/numeric (inner_product, partial_sum):
1460 Qualify subsequent call with __gnu_parallel instead of
1461 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
1462 * include/parallel/algobase.h (equal): Likewise.
1463 * include/parallel/algo.h (find_first_of, search_n, merge,
1464 nth_element, partial_sort, max_element, min_element): Likewise.
1465 * testsuite/25_algorithms/headers/algorithm/
1466 parallel_algorithm_mixed1.cc (main): Add respective test cases.
1467 * testsuite/25_algorithms/headers/algorithm/
1468 parallel_algorithm_mixed2.cc (main): Likewise.
1469 * testsuite/26_numerics/headers/numeric/
1470 parallel_numeric_mixed1.cc (main): Likewise.
1471 * testsuite/26_numerics/headers/numeric/
1472 parallel_numeric_mixed2.cc (main): Likewise.
1473
1474 2011-01-24 Graham Reed <greed@pobox.com>
1475
1476 PR libstdc++/47387
1477 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
1478 provided.
1479
1480 2011-01-24 Johannes Singler <singler@kit.edu>
1481
1482 PR libstdc++/47433
1483 * include/parallel/losertree.h
1484 (_LoserTree<>::__delete_min_insert):
1485 Do not qualify swap with std:: for value type,
1486 but include a using directive instead.
1487 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
1488 * include/parallel/balanced_quicksort.h (__qsb_divide):
1489 Use std::iter_swap instead of std::swap.
1490 (__qsb_local_sort_with_helping): Likewise.
1491 * include/parallel/partition.h (__parallel_partition):
1492 Likewise. (__parallel_nth_element): Likewise.
1493
1494 2011-01-24 Johannes Singler <singler@kit.edu>
1495
1496 PR libstdc++/47437
1497 * include/parallel/multiway_merge.h (_UnguardedIterator):
1498 Remove useless "mutable" from reference declaration.
1499
1500 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
1501
1502 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
1503 * include/debug/safe_sequence.h: Same.
1504 * include/debug/safe_iterator.h: Same.
1505 * include/std/forward_list: Same.
1506 * include/std/deque: Same.
1507 * include/std/list: Same.
1508 * include/std/random: Same.
1509 * include/std/streambuf: Same.
1510 * include/std/fstream: Same.
1511 * include/std/istream: Same.
1512 * include/std/string: Same.
1513 * include/std/ostream: Same.
1514 * include/std/sstream: Same.
1515 * include/ext/vstring.h: Same.
1516 * include/bits/basic_ios.h: Same.
1517 * include/bits/locale_classes.h: Same.
1518 * include/bits/locale_facets.h: Same.
1519 * include/bits/valarray_array.h: Same.
1520 * include/bits/locale_facets_nonio.h: Same.
1521 * include/tr1/random: Same.
1522
1523 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1524
1525 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
1526
1527 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1528
1529 PR libstdc++/36104 part three
1530 * src/hashtable_c++0x.cc: Adjust namespace macros.
1531 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
1532 * config/abi/pre/gnu-versioned-namespace.ver: Update.
1533
1534 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
1535
1536 * include/ext/pb_ds/detail/resize_policy/
1537 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
1538 * include/ext/pb_ds/detail/pat_trie_/
1539 constructors_destructor_fn_imps.hpp: Same.
1540 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
1541 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
1542 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
1543
1544 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
1545 iterations downward when testing in debug mode.
1546 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
1547 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
1548 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
1549 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
1550 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
1551 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
1552 reduce in debug mode.
1553
1554 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
1555
1556 PR libstdc++/36104 part two
1557 * include/bits/hashtable.h: Revert to non-nested macro usage.
1558 * include/bits/hashtable_policy.h: Same.
1559
1560 2011-01-19 Graham Reed <greed@pobox.com>
1561
1562 PR libstdc++/47354
1563 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
1564
1565 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
1566
1567 * doc/xml/images/confdeps.png: Regenerate.
1568
1569 * include/std/chrono (duration): Mark copy constructor constexpr.
1570 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
1571
1572 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
1573
1574 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
1575 Declare defaulted per DR 1517.
1576 * testsuite/util/testsuite_common_types.h
1577 (constexpr_defaulted_default_constructible): Add.
1578 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
1579
1580 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1581
1582 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
1583 Implement DR 1198.
1584 * include/bits/stl_stack.h (stack<>::swap): Likewise.
1585
1586 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1587
1588 PR libstdc++/47323
1589 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
1590 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
1591
1592 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1593
1594 PR libstdc++/47320
1595 * testsuite/18_support/numeric_limits/lowest.cc:
1596 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
1597
1598 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
1599
1600 PR libstdc++/47321
1601 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
1602 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
1603
1604 2011-01-16 François Dumont <francois.cppdevs@free.fr>
1605
1606 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
1607 to this. Use _neg suffix.
1608 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
1609 this.
1610 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
1611 Same.
1612 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
1613 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
1614 Same.
1615 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
1616 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
1617 Same.
1618 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
1619 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
1620 Same.
1621 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
1622 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
1623 Same.
1624 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
1625 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
1626 Same.
1627 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
1628 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
1629 Same.
1630 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
1631 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
1632 Same.
1633 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
1634 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
1635 Same.
1636 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
1637 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
1638 Same.
1639 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
1640 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
1641 Same.
1642 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
1643 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
1644 Same.
1645 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
1646 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
1647 Same.
1648 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
1649 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
1650 Same.
1651 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
1652 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
1653 Same.
1654 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
1655
1656 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
1657
1658 PR libstdc++/36104
1659 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
1660 * include/Makefile.in: Regenerate.
1661 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
1662 (install-stdHEADERS, install-bitsHEADERS): New.
1663 * libsupc++/Makefile.in: Regenerate.
1664
1665 * include/bits/c++config: Update for inline namespaces.
1666 * libsupc++/cxxabi-forced.h: To...
1667 * libsupc++/cxxabi_forced.h: ...this.
1668 * libsupc++/hash_bytes.h: Separate file.
1669 * libsupc++/typeinfo: Use it.
1670 * libsupc++/exception: Adjust for bits subdirectory.
1671 * libsupc++/eh_aux_runtime.cc: Same.
1672 * libsupc++/eh_ptr.cc: Same.
1673 * libsupc++/new_op.cc: Same.
1674 * libsupc++/exception_defines.h: Same.
1675 * libsupc++/nested_exception.h: Same.
1676 * libsupc++/eh_terminate.cc: Same.
1677 * libsupc++/vec.cc: Same.
1678 * libsupc++/vterminate.cc: Same.
1679 * libsupc++/exception_ptr.h: Same.
1680 * libsupc++/eh_personality.cc: Same.
1681 * libsupc++/eh_call.cc: Same.
1682 * libsupc++/new_opnt.cc: Same.
1683 * libsupc++/hash_bytes.cc: Same.
1684 * config/cpu/arm/cxxabi_tweaks.h: Same.
1685 * config/cpu/generic/cxxabi_tweaks.h: Same.
1686 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
1687 * include/std/bitset: Same.
1688 * include/ext/vstring.tcc: Same.
1689 * include/bits/hashtable.h: Same.
1690 * include/bits/functional_hash.h: Same.
1691 * include/bits/hashtable_policy.h: Same.
1692 * include/bits/basic_string.h: Same.
1693 * include/bits/istream.tcc: Same.
1694 * include/bits/ostream.tcc: Same.
1695 * include/bits/algorithmfwd.h: Same.
1696 * include/bits/basic_string.tcc: Same.
1697 * include/bits/ostream_insert.h: Same.
1698 * include/bits/fstream.tcc: Same.
1699 * include/bits/functexcept.h: Same.
1700
1701 * doc/doxygen/user.cfg.in: Adjust names.
1702
1703 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1704
1705 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
1706
1707 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
1708 tweaks.
1709 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
1710
1711 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
1712
1713 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
1714 * testsuite/25_algorithms/is_permutation/requirements/
1715 explicit_instantiation/2.cc: Likewise.
1716 * testsuite/25_algorithms/is_permutation/requirements/
1717 explicit_instantiation/pod.cc: Likewise.
1718 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
1719
1720 2011-01-13 John Lakos <jlakos@bloomberg.net>
1721 Pablo Halpern <phalpern@halpernwightsoftware.com>
1722 Paolo Carlini <paolo.carlini@oracle.com>
1723
1724 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
1725 * include/bits/algorithmfwd.h: Add.
1726
1727 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
1728
1729 PR libstdc++/47045
1730 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
1731
1732 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
1733
1734 * aclocal.m4: Regenerate.
1735
1736 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
1737
1738 PR libstdc++/47185
1739 * src/placeholders.cc: New.
1740 * src/Makefile.am: Adjust.
1741 * src/Makefile.in: Regenerate.
1742 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
1743 extern.
1744 * config/abi/pre/gnu.ver: Export.
1745
1746 2011-01-05 François Dumont <francois.cppdevs@free.fr>
1747
1748 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
1749 * include/src/debug.cc: Use latter
1750 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
1751 correctly handle before_begin iterators.
1752 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
1753 useless _GLIBCXX_DEBUG checks.
1754
1755 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
1756
1757 PR libstdc++/47145
1758 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
1759 * configure: Regenerated.
1760
1761 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
1762
1763 PR libstdc++/46922
1764 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
1765
1766 \f
1767 Copyright (C) 2011 Free Software Foundation, Inc.
1768
1769 Copying and distribution of this file, with or without modification,
1770 are permitted in any medium without royalty provided the copyright
1771 notice and this notice are preserved.