1 2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.com>
3 * include/std/future: Use noexcept.
4 * src/future.cc: Likewise.
6 2011-05-27 Jonathan Wakely <jwakely.gcc@gmail.com>
8 * include/std/thread (this_thread::sleep_until): Move after sleep_for.
10 2011-05-27 Paolo Carlini <paolo.carlini@oracle.com>
13 * include/parallel/losertree.h: Add missing using declarations
15 * include/parallel/algobase.h: Include <parallel/algorithmfwd.h>.
16 * include/parallel/multiway_merge.h: Include <parallel/
17 multiseq_selection.h>, forward declare __merge_advance.
18 * include/parallel/multiseq_selection.h: Don't include <parallel/
20 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Fix
21 qualification of upper_bound.
23 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc:
24 Use dg-require-debug-mode.
25 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc:
27 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc:
29 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc:
31 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc:
33 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
35 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
37 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc:
39 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc:
42 * include/parallel/algo.h: Minor uglification fixes.
44 2011-05-26 Paolo Carlini <paolo.carlini@oracle.com>
46 * src/list.cc: Use noexcept per the FDIS.
47 * src/compatibility-list-2.cc: Likewise.
48 * include/debug/set.h: Likewise.
49 * include/debug/unordered_map: Likewise.
50 * include/debug/multiset.h: Likewise.
51 * include/debug/forward_list: Likewise.
52 * include/debug/unordered_set: Likewise.
53 * include/debug/vector: Likewise.
54 * include/debug/map.h: Likewise.
55 * include/debug/deque: Likewise.
56 * include/debug/list: Likewise.
57 * include/debug/multimap.h: Likewise.
58 * include/profile/set.h: Likewise.
59 * include/profile/unordered_map: Likewise.
60 * include/profile/multiset.h: Likewise.
61 * include/profile/forward_list: Likewise.
62 * include/profile/vector: Likewise.
63 * include/profile/unordered_set: Likewise.
64 * include/profile/map.h: Likewise.
65 * include/profile/deque: Likewise.
66 * include/profile/list: Likewise.
67 * include/profile/multimap.h: Likewise.
68 * include/bits/hashtable.h: Likewise.
69 * include/bits/stl_list.h: Likewise.
70 * include/bits/stl_map.h: Likewise.
71 * include/bits/hashtable_policy.h: Likewise.
72 * include/bits/stl_set.h: Likewise.
73 * include/bits/forward_list.h: Likewise.
74 * include/bits/stl_multimap.h: Likewise.
75 * include/bits/stl_vector.h: Likewise.
76 * include/bits/stl_deque.h: Likewise.
77 * include/bits/stl_multiset.h: Likewise.
78 * include/bits/stl_bvector.h: Likewise.
79 * include/bits/stl_tree.h: Likewise.
81 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
83 * include/bits/stl_queue.h: Use noexcept per the FDIS.
84 * include/bits/stl_stack.h: Likewise.
86 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
88 * config/abi/pre/gnu.ver: Correct last change, export instead
89 at the existing @3.4.16.
90 * configure.ac: Revert last change.
91 * testsuite/util/testsuite_abi.cc: Likewise.
92 * configure: Regenerate.
94 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
96 * doc/xml/manual/documentation_hacking.xml: Minor corrections.
98 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
100 * include/std/mutex: Add doxygen comments.
102 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
104 * config/abi/pre/gnu.ver: Export recently added basic_streambuf
105 and basic_stringbuf symbols @3.4.17.
106 * configure.ac: Update.
107 * testsuite/util/testsuite_abi.cc: Likewise.
108 * configure: Regenerate.
110 2011-05-26 Jonathan Wakely <jwakely.gcc@gmail.com>
112 * libsupc++/guard.cc: Fix comments.
114 2011-05-25 Ian Lance Taylor <iant@google.com>
117 * include/backward/hashtable.h (hashtable::erase): Don't crash if
118 erasing first and another element with a reference to the other
120 * testsuite/backward/hash_set/49060.cc: New.
122 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
124 * include/bits/random.h (random_device::min, max): Specify constexpr.
126 2011-05-25 Paolo Carlini <paolo.carlini@oracle.com>
128 * include/std/thread: Use noexcept throughout per the FDIS.
129 * include/std/mutex: Likewise.
131 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
133 * testsuite/20_util/duration/arithmetic/dr2020.cc: Fix typo.
135 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
138 * include/std/chrono (operator+, operator-, operator*, operator/,
139 operator&): Implement LWG 2020 [WP]; specify constexpr.
140 * testsuite/20_util/duration/arithmetic/dr2020.cc: New.
142 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
145 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std.
146 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
147 * testsuite/26_numerics/headers/cmath/19322.cc: Likewise.
149 2011-05-24 Paolo Carlini <paolo.carlini@oracle.com>
151 * include/bits/c++config (_GLIBCXX_NOTHROW): Update for noexcept.
152 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
155 2011-05-23 Benjamin Kosnik <bkoz@redhat.com>
159 Interface changes for ext/pb_ds.
160 PB_DS_BASE_C_DEC to unique PB_DS_*_BASE macros.
161 * include/ext/pb_ds/assoc_container.hpp (container_base): Remove.
162 (basic_hash_table, basic_branch, list_update): Derive from
163 container_base_dispatch.
164 * include/ext/pb_ds/list_update_policy.hpp (null_lu_metadata): Remove.
165 (move_to_front_lu_policy): To lu_move_to_front_policy.
166 (counter_lu_policy): To lu_counter_policy.
167 * include/ext/pb_ds/tree_policy.hpp (null_tree_node_update): Remove.
168 * include/ext/pb_ds/tag_and_trait.hpp (container_base_dispatch): Adjust
169 template parameters, declare here.
170 (null_mapped_type) Remove.
171 (null_type): Just use this for template tricks everywhere.
172 * include/ext/pb_ds/hash_policy.hpp (null_hash_fn, null_probe_fn):
174 * include/ext/pb_ds/trie_policy.hpp (null_trie_node_update): Remove.
175 (string_trie_e_access_traits): To trie_string_access_traits.
176 * include/ext/pb_ds/priority_queue.hpp: Use container_base_dispatch.
179 * include/Makefile.am (pb_headers): Removed and changed file names.
180 * include/Makefile.in: Regenerated.
181 * include/ext/pb_ds/detail/basic_types.hpp: Remove.
182 * include/ext/pb_ds/detail/bin_search_tree_/
183 cond_dtor_entry_dealtor.hpp: Remove.
184 * include/ext/pb_ds/detail/bin_search_tree_/
185 cond_key_dtor_entry_dealtor.hpp: Remove.
186 * include/ext/pb_ds/detail/binary_heap_/const_point_iterator.hpp: Move..
187 * include/ext/pb_ds/detail/binary_heap_/
188 point_const_iterator.hpp: ..here.
189 * include/ext/pb_ds/detail/basic_tree_policy: Move to...
190 * include/ext/pb_ds/detail/branch_policy: This.
191 * include/ext/pb_ds/detail/branch_policy/
192 basic_tree_policy_base.hpp: Move...
193 * include/ext/pb_ds/detail/branch_policy/branch_policy.hpp: ...here.
194 * include/ext/pb_ds/detail/branch_policy/null_node_metadata.hpp: Add.
195 * include/ext/pb_ds/detail/branch_policy/traits.hpp: Add.
196 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
197 null_metadata.hpp: Remove.
198 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
199 const_point_iterator.hpp: Move...
200 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
201 point_const_iterator.hpp: ...here.
202 * include/ext/pb_ds/detail/list_update_policy/
203 counter_lu_metadata.hpp: Move..
204 * include/ext/pb_ds/detail/list_update_policy/
205 lu_counter_metadata.hpp: ...here.
206 * include/ext/pb_ds/detail/list_update_policy/
207 counter_lu_policy_imp.hpp: Remove.
208 * include/ext/pb_ds/detail/list_update_policy/
209 mtf_lu_policy_imp.hpp: Remove.
210 * include/ext/pb_ds/detail/trie_policy/
211 string_trie_e_access_traits_imp.hpp: Move...
212 * include/ext/pb_ds/detail/trie_policy/
213 sample_trie_access_traits.hpp: ...here.
214 * include/ext/pb_ds/detail/trie_policy/
215 sample_trie_e_access_traits.hpp: Move...
216 * include/ext/pb_ds/detail/trie_policy/
217 trie_string_access_traits_imp.hpp: ...here.
218 * include/ext/pb_ds/detail/trie_policy/null_node_update_imp.hpp: Remove.
219 * include/ext/pb_ds/detail/tree_policy/null_node_update_imp.hpp: Remove.
220 * include/ext/pb_ds/detail/ov_tree_map_/cond_dtor.hpp: Remove.
221 * include/ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp: New, fold all
222 types found in the following files into pat_trie_base.
223 * include/ext/pb_ds/detail/pat_trie_/const_child_iterator.hpp: Folded.
224 * include/ext/pb_ds/detail/pat_trie_/
225 cond_dtor_entry_dealtor.hpp: Folded.
226 * include/ext/pb_ds/detail/pat_trie_/child_iterator.hpp: Folded.
227 * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp: Folded.
228 * include/ext/pb_ds/detail/pat_trie_/head.hpp: Folded.
229 * include/ext/pb_ds/detail/pat_trie_/leaf.hpp: Folded.
230 * include/ext/pb_ds/detail/pat_trie_/node_base.hpp: Folded.
231 * include/ext/pb_ds/detail/pat_trie_/node_metadata_base.hpp: Folded.
232 * include/ext/pb_ds/detail/pat_trie_/internal_node.hpp: Folded.
233 * include/ext/pb_ds/detail/pat_trie_/node_iterators.hpp: Folded.
234 * include/ext/pb_ds/detail/pat_trie_/point_iterators.hpp: Folded.
235 * include/ext/pb_ds/detail/pat_trie_/synth_e_access_traits.hpp: Move...
236 * include/ext/pb_ds/detail/pat_trie_/synth_access_traits.hpp: ...here.
237 * include/ext/pb_ds/detail/unordered_iterator/
238 const_point_iterator.hpp: Move...
239 * include/ext/pb_ds/detail/unordered_iterator/
240 point_const_iterator.hpp: ...here.
243 Adjust for above changes.
244 * include/ext/pb_ds/detail/resize_policy/sample_size_policy.hpp: Same.
245 * include/ext/pb_ds/detail/resize_policy/sample_resize_policy.hpp: Same.
246 * include/ext/pb_ds/detail/resize_policy/
247 sample_resize_trigger.hpp: Same.
248 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp: Same.
249 * include/ext/pb_ds/detail/binomial_heap_base_/find_fn_imps.hpp: Same.
250 * include/ext/pb_ds/detail/binomial_heap_base_/insert_fn_imps.hpp: Same.
251 * include/ext/pb_ds/detail/binomial_heap_base_/
252 binomial_heap_base_.hpp: Same.
253 * include/ext/pb_ds/detail/binomial_heap_base_/
254 constructors_destructor_fn_imps.hpp: Same.
255 * include/ext/pb_ds/detail/binomial_heap_base_/debug_fn_imps.hpp: Same.
256 * include/ext/pb_ds/detail/binomial_heap_base_/
257 split_join_fn_imps.hpp: Same.
258 * include/ext/pb_ds/detail/container_base_dispatch.hpp: Same. Adjust
259 for template parameter ordering change.
260 * include/ext/pb_ds/detail/cc_hash_table_map_/
261 erase_store_hash_fn_imps.hpp: Same.
262 * include/ext/pb_ds/detail/cc_hash_table_map_/
263 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
264 * include/ext/pb_ds/detail/cc_hash_table_map_/cmp_fn_imps.hpp: Same.
265 * include/ext/pb_ds/detail/cc_hash_table_map_/
266 insert_no_store_hash_fn_imps.hpp: Same.
267 * include/ext/pb_ds/detail/cc_hash_table_map_/find_fn_imps.hpp: Same.
268 * include/ext/pb_ds/detail/cc_hash_table_map_/
269 policy_access_fn_imps.hpp: Same.
270 * include/ext/pb_ds/detail/cc_hash_table_map_/
271 resize_store_hash_fn_imps.hpp: Same.
272 * include/ext/pb_ds/detail/cc_hash_table_map_/
273 constructor_destructor_store_hash_fn_imps.hpp: Same.
274 * include/ext/pb_ds/detail/cc_hash_table_map_/
275 insert_store_hash_fn_imps.hpp: Same.
276 * include/ext/pb_ds/detail/cc_hash_table_map_/debug_fn_imps.hpp: Same.
277 * include/ext/pb_ds/detail/cc_hash_table_map_/info_fn_imps.hpp: Same.
278 * include/ext/pb_ds/detail/cc_hash_table_map_/
279 entry_list_fn_imps.hpp: Same.
280 * include/ext/pb_ds/detail/cc_hash_table_map_/trace_fn_imps.hpp: Same.
281 * include/ext/pb_ds/detail/cc_hash_table_map_/
282 find_store_hash_fn_imps.hpp: Same.
283 * include/ext/pb_ds/detail/cc_hash_table_map_/erase_fn_imps.hpp: Same.
284 * include/ext/pb_ds/detail/cc_hash_table_map_/
285 debug_no_store_hash_fn_imps.hpp: Same.
286 * include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp: Same.
287 * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp: Same.
288 * include/ext/pb_ds/detail/cc_hash_table_map_/
289 constructor_destructor_fn_imps.hpp: Same.
290 * include/ext/pb_ds/detail/cc_hash_table_map_/
291 cond_key_dtor_entry_dealtor.hpp: Same.
292 * include/ext/pb_ds/detail/cc_hash_table_map_/insert_fn_imps.hpp: Same.
293 * include/ext/pb_ds/detail/cc_hash_table_map_/
294 debug_store_hash_fn_imps.hpp: Same.
295 * include/ext/pb_ds/detail/cc_hash_table_map_/
296 erase_no_store_hash_fn_imps.hpp: Same.
297 * include/ext/pb_ds/detail/cc_hash_table_map_/size_fn_imps.hpp: Same.
298 * include/ext/pb_ds/detail/cc_hash_table_map_/
299 iterators_fn_imps.hpp: Same.
300 * include/ext/pb_ds/detail/cc_hash_table_map_/
301 resize_no_store_hash_fn_imps.hpp: Same.
302 * include/ext/pb_ds/detail/cc_hash_table_map_/
303 standard_policies.hpp: Same.
304 * include/ext/pb_ds/detail/tree_trace_base.hpp: Same.
305 * include/ext/pb_ds/detail/unordered_iterator/iterator.hpp: Same.
306 * include/ext/pb_ds/detail/unordered_iterator/const_iterator.hpp: Same.
307 * include/ext/pb_ds/detail/unordered_iterator/point_iterator.hpp: Same.
308 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp: Same.
309 * include/ext/pb_ds/detail/pat_trie_/policy_access_fn_imps.hpp: Same.
310 * include/ext/pb_ds/detail/pat_trie_/r_erase_fn_imps.hpp: Same.
311 * include/ext/pb_ds/detail/pat_trie_/update_fn_imps.hpp: Same.
312 * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp: Same.
313 * include/ext/pb_ds/detail/pat_trie_/debug_fn_imps.hpp: Same.
314 * include/ext/pb_ds/detail/pat_trie_/
315 constructors_destructor_fn_imps.hpp: Same.
316 * include/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp: Same.
317 * include/ext/pb_ds/detail/pat_trie_/split_fn_imps.hpp: Same.
318 * include/ext/pb_ds/detail/pat_trie_/traits.hpp: Same.
319 * include/ext/pb_ds/detail/pat_trie_/info_fn_imps.hpp: Same.
320 * include/ext/pb_ds/detail/pat_trie_/rotate_fn_imps.hpp: Same.
321 * include/ext/pb_ds/detail/pat_trie_/trace_fn_imps.hpp: Same.
322 * include/ext/pb_ds/detail/pat_trie_/erase_fn_imps.hpp: Same.
323 * include/ext/pb_ds/detail/pat_trie_/iterators_fn_imps.hpp: Same.
324 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp: Same.
325 * include/ext/pb_ds/detail/bin_search_tree_/
326 policy_access_fn_imps.hpp: Same.
327 * include/ext/pb_ds/detail/bin_search_tree_/r_erase_fn_imps.hpp: Same.
328 * include/ext/pb_ds/detail/bin_search_tree_/
329 constructors_destructor_fn_imps.hpp: Same.
330 * include/ext/pb_ds/detail/bin_search_tree_/debug_fn_imps.hpp: Same.
331 * include/ext/pb_ds/detail/bin_search_tree_/traits.hpp: Same.
332 * include/ext/pb_ds/detail/bin_search_tree_/info_fn_imps.hpp: Same.
333 * include/ext/pb_ds/detail/bin_search_tree_/rotate_fn_imps.hpp: Same.
334 * include/ext/pb_ds/detail/bin_search_tree_/erase_fn_imps.hpp: Same.
335 * include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp: Same.
336 * include/ext/pb_ds/detail/bin_search_tree_/insert_fn_imps.hpp: Same.
337 * include/ext/pb_ds/detail/bin_search_tree_/node_iterators.hpp: Same.
338 * include/ext/pb_ds/detail/bin_search_tree_/point_iterators.hpp: Same.
339 * include/ext/pb_ds/detail/bin_search_tree_/
340 split_join_fn_imps.hpp: Same.
341 * include/ext/pb_ds/detail/bin_search_tree_/iterators_fn_imps.hpp: Same.
342 * include/ext/pb_ds/detail/list_update_policy/
343 sample_update_policy.hpp: Same.
344 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
345 trace_fn_imps.hpp: Same.
346 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
347 erase_fn_imps.hpp: Same.
348 * include/ext/pb_ds/detail/gp_hash_table_map_/
349 erase_store_hash_fn_imps.hpp: Same.
350 * include/ext/pb_ds/detail/gp_hash_table_map_/
351 constructor_destructor_no_store_hash_fn_imps.hpp: Same.
352 * include/ext/pb_ds/detail/gp_hash_table_map_/
353 insert_no_store_hash_fn_imps.hpp: Same.
354 * include/ext/pb_ds/detail/gp_hash_table_map_/find_fn_imps.hpp: Same.
355 * include/ext/pb_ds/detail/gp_hash_table_map_/
356 policy_access_fn_imps.hpp: Same.
357 * include/ext/pb_ds/detail/gp_hash_table_map_/
358 resize_store_hash_fn_imps.hpp: Same.
359 * include/ext/pb_ds/detail/gp_hash_table_map_/gp_ht_map_.hpp: Same.
360 * include/ext/pb_ds/detail/gp_hash_table_map_/
361 constructor_destructor_store_hash_fn_imps.hpp: Same.
362 * include/ext/pb_ds/detail/gp_hash_table_map_/
363 insert_store_hash_fn_imps.hpp: Same.
364 * include/ext/pb_ds/detail/gp_hash_table_map_/debug_fn_imps.hpp: Same.
365 * include/ext/pb_ds/detail/gp_hash_table_map_/
366 iterator_fn_imps.hpp: Same.
367 * include/ext/pb_ds/detail/gp_hash_table_map_/info_fn_imps.hpp: Same.
368 * include/ext/pb_ds/detail/gp_hash_table_map_/
369 find_no_store_hash_fn_imps.hpp: Same.
370 * include/ext/pb_ds/detail/gp_hash_table_map_/trace_fn_imps.hpp: Same.
371 * include/ext/pb_ds/detail/gp_hash_table_map_/erase_fn_imps.hpp: Same.
372 * include/ext/pb_ds/detail/gp_hash_table_map_/
373 find_store_hash_fn_imps.hpp: Same.
374 * include/ext/pb_ds/detail/gp_hash_table_map_/
375 debug_no_store_hash_fn_imps.hpp: Same.
376 * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
377 * include/ext/pb_ds/detail/gp_hash_table_map_/
378 constructor_destructor_fn_imps.hpp: Same.
379 * include/ext/pb_ds/detail/gp_hash_table_map_/insert_fn_imps.hpp: Same.
380 * include/ext/pb_ds/detail/gp_hash_table_map_/
381 debug_store_hash_fn_imps.hpp: Same.
382 * include/ext/pb_ds/detail/gp_hash_table_map_/
383 erase_no_store_hash_fn_imps.hpp: Same.
384 * include/ext/pb_ds/detail/gp_hash_table_map_/
385 resize_no_store_hash_fn_imps.hpp: Same.
386 * include/ext/pb_ds/detail/gp_hash_table_map_/
387 standard_policies.hpp: Same.
388 * include/ext/pb_ds/detail/standard_policies.hpp: Same.
389 * include/ext/pb_ds/detail/types_traits.hpp: Same.
390 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp: Same.
391 * include/ext/pb_ds/detail/binary_heap_/policy_access_fn_imps.hpp: Same.
392 * include/ext/pb_ds/detail/binary_heap_/const_iterator.hpp: Same.
393 * include/ext/pb_ds/detail/binary_heap_/entry_cmp.hpp: Same.
394 * include/ext/pb_ds/detail/binary_heap_/
395 constructors_destructor_fn_imps.hpp: Same.
396 * include/ext/pb_ds/detail/binary_heap_/debug_fn_imps.hpp: Same.
397 * include/ext/pb_ds/detail/binary_heap_/info_fn_imps.hpp: Same.
398 * include/ext/pb_ds/detail/binary_heap_/trace_fn_imps.hpp: Same.
399 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Same.
400 * include/ext/pb_ds/detail/binary_heap_/entry_pred.hpp: Same.
401 * include/ext/pb_ds/detail/binary_heap_/insert_fn_imps.hpp: Same.
402 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp: Same.
403 * include/ext/pb_ds/detail/binary_heap_/resize_policy.hpp: Same.
404 * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
405 * include/ext/pb_ds/detail/binary_heap_/iterators_fn_imps.hpp: Same.
406 * include/ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp: Same.
407 * include/ext/pb_ds/detail/tree_policy/node_metadata_selector.hpp: Same.
408 * include/ext/pb_ds/detail/tree_policy/
409 sample_tree_node_update.hpp: Same.
410 * include/ext/pb_ds/detail/trie_policy/order_statistics_imp.hpp: Same.
411 * include/ext/pb_ds/detail/trie_policy/
412 sample_trie_node_update.hpp: Same.
413 * include/ext/pb_ds/detail/trie_policy/trie_policy_base.hpp: Same.
414 * include/ext/pb_ds/detail/trie_policy/
415 prefix_search_node_update_imp.hpp: Same.
416 * include/ext/pb_ds/detail/trie_policy/node_metadata_selector.hpp: Same.
417 * include/ext/pb_ds/detail/cond_dealtor.hpp: Same.
418 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp: Same.
419 Adjust for template parameter change, fold into
420 container_base_dispatch.
421 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp: Same.
422 * include/ext/pb_ds/detail/pairing_heap_/find_fn_imps.hpp: Same.
423 * include/ext/pb_ds/detail/pairing_heap_/insert_fn_imps.hpp: Same.
424 * include/ext/pb_ds/detail/pairing_heap_/
425 constructors_destructor_fn_imps.hpp: Same.
426 * include/ext/pb_ds/detail/pairing_heap_/debug_fn_imps.hpp: Same.
427 * include/ext/pb_ds/detail/pairing_heap_/pairing_heap_.hpp: Same.
428 * include/ext/pb_ds/detail/pairing_heap_/split_join_fn_imps.hpp: Same.
429 * include/ext/pb_ds/detail/binomial_heap_/
430 constructors_destructor_fn_imps.hpp: Same.
431 * include/ext/pb_ds/detail/binomial_heap_/debug_fn_imps.hpp: Same.
432 * include/ext/pb_ds/detail/binomial_heap_/binomial_heap_.hpp: Same.
433 * include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: Same.
434 * include/ext/pb_ds/detail/type_utils.hpp: Same.
435 * include/ext/pb_ds/detail/eq_fn/hash_eq_fn.hpp: Same.
436 * include/ext/pb_ds/detail/eq_fn/eq_by_less.hpp: Same.
437 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
438 policy_access_fn_imps.hpp: Same.
439 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
440 left_child_next_sibling_heap_.hpp: Same.
441 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
442 const_iterator.hpp: Same.
443 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
444 insert_fn_imps.hpp: Same.
445 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
446 constructors_destructor_fn_imps.hpp: Same.
447 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
448 debug_fn_imps.hpp: Same.
449 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
451 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
452 info_fn_imps.hpp: Same.
453 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
454 iterators_fn_imps.hpp: Same.
455 * include/ext/pb_ds/detail/thin_heap_/trace_fn_imps.hpp: Same.
456 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp: Same.
457 * include/ext/pb_ds/detail/thin_heap_/find_fn_imps.hpp: Same.
458 * include/ext/pb_ds/detail/thin_heap_/thin_heap_.hpp: Same.
459 * include/ext/pb_ds/detail/thin_heap_/insert_fn_imps.hpp: Same.
460 * include/ext/pb_ds/detail/thin_heap_/
461 constructors_destructor_fn_imps.hpp: Same.
462 * include/ext/pb_ds/detail/thin_heap_/debug_fn_imps.hpp: Same.
463 * include/ext/pb_ds/detail/thin_heap_/split_join_fn_imps.hpp: Same.
464 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp: Same.
465 * include/ext/pb_ds/detail/ov_tree_map_/policy_access_fn_imps.hpp: Same.
466 * include/ext/pb_ds/detail/ov_tree_map_/insert_fn_imps.hpp: Same.
467 * include/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp: Same.
468 * include/ext/pb_ds/detail/ov_tree_map_/
469 constructors_destructor_fn_imps.hpp: Same.
470 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
471 * include/ext/pb_ds/detail/ov_tree_map_/node_iterators.hpp: Same.
472 * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
473 * include/ext/pb_ds/detail/ov_tree_map_/info_fn_imps.hpp: Same.
474 * include/ext/pb_ds/detail/ov_tree_map_/traits.hpp: Same.
475 * include/ext/pb_ds/detail/ov_tree_map_/iterators_fn_imps.hpp: Same.
476 * include/ext/pb_ds/detail/debug_map_base.hpp: Same.
477 * include/ext/pb_ds/detail/hash_fn/ranged_probe_fn.hpp: Same.
478 * include/ext/pb_ds/detail/hash_fn/sample_probe_fn.hpp: Same.
479 * include/ext/pb_ds/detail/hash_fn/sample_ranged_probe_fn.hpp: Same.
480 * include/ext/pb_ds/detail/hash_fn/sample_range_hashing.hpp: Same.
481 * include/ext/pb_ds/detail/hash_fn/probe_fn_base.hpp: Same.
482 * include/ext/pb_ds/detail/hash_fn/ranged_hash_fn.hpp: Same.
483 * include/ext/pb_ds/detail/hash_fn/sample_ranged_hash_fn.hpp: Same.
484 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Same.
485 * include/ext/pb_ds/detail/splay_tree_/find_fn_imps.hpp: Same.
486 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Same.
487 * include/ext/pb_ds/detail/splay_tree_/
488 constructors_destructor_fn_imps.hpp: Same.
489 * include/ext/pb_ds/detail/splay_tree_/debug_fn_imps.hpp: Same.
490 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Same.
491 * include/ext/pb_ds/detail/splay_tree_/node.hpp: Same.
492 * include/ext/pb_ds/detail/splay_tree_/split_join_fn_imps.hpp: Same.
493 * include/ext/pb_ds/detail/splay_tree_/info_fn_imps.hpp: Same.
494 * include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same.
495 * include/ext/pb_ds/detail/splay_tree_/traits.hpp: Same.
496 * include/ext/pb_ds/detail/list_update_map_/trace_fn_imps.hpp: Same.
497 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp: Same.
498 * include/ext/pb_ds/detail/list_update_map_/
499 entry_metadata_base.hpp: Same.
500 * include/ext/pb_ds/detail/list_update_map_/find_fn_imps.hpp: Same.
501 * include/ext/pb_ds/detail/list_update_map_/lu_map_.hpp: Same.
502 * include/ext/pb_ds/detail/list_update_map_/
503 constructor_destructor_fn_imps.hpp: Same.
504 * include/ext/pb_ds/detail/list_update_map_/insert_fn_imps.hpp: Same.
505 * include/ext/pb_ds/detail/list_update_map_/debug_fn_imps.hpp: Same.
506 * include/ext/pb_ds/detail/list_update_map_/info_fn_imps.hpp: Same.
507 * include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp: Same.
508 * include/ext/pb_ds/detail/rc_binomial_heap_/trace_fn_imps.hpp: Same.
509 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp: Same.
510 * include/ext/pb_ds/detail/rc_binomial_heap_/
511 rc_binomial_heap_.hpp: Same.
512 * include/ext/pb_ds/detail/rc_binomial_heap_/insert_fn_imps.hpp: Same.
513 * include/ext/pb_ds/detail/rc_binomial_heap_/
514 constructors_destructor_fn_imps.hpp: Same.
515 * include/ext/pb_ds/detail/rc_binomial_heap_/debug_fn_imps.hpp: Same.
516 * include/ext/pb_ds/detail/rc_binomial_heap_/rc.hpp: Same.
517 * include/ext/pb_ds/detail/rc_binomial_heap_/
518 split_join_fn_imps.hpp: Same.
519 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Same.
520 * include/ext/pb_ds/detail/rb_tree_map_/find_fn_imps.hpp: Same.
521 * include/ext/pb_ds/detail/rb_tree_map_/insert_fn_imps.hpp: Same.
522 * include/ext/pb_ds/detail/rb_tree_map_/
523 constructors_destructor_fn_imps.hpp: Same.
524 * include/ext/pb_ds/detail/rb_tree_map_/debug_fn_imps.hpp: Same.
525 * include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
526 * include/ext/pb_ds/detail/rb_tree_map_/node.hpp: Same.
527 * include/ext/pb_ds/detail/rb_tree_map_/split_join_fn_imps.hpp: Same.
528 * include/ext/pb_ds/detail/rb_tree_map_/info_fn_imps.hpp: Same.
529 * include/ext/pb_ds/detail/rb_tree_map_/traits.hpp: Same.
532 Documentation changes.
533 * include/ext/pb_ds/*: Add doxygen markup.
534 * doc/doxygen/user.cfg.in: Add details for extracting comments
536 * scripts/run_doxygen: Fixup __gnu_pb_ds::detail.
537 * scripts/make_graph.py: Move to svg output. Re-format generated tables.
539 * doc/Makefile.am (stamp-html-copy): New rule.
540 (stamp-html): Use it to copy non-generated files into html docs.
541 * doc/Makefile.in: Regenerated.
543 * doc/html/ext/pb_ds/sample_trie_e_access_traits.html: Move...
544 * doc/html/ext/pb_ds/trie_string_access_traits.html: ...here.
545 * doc/html/ext/pb_ds/string_trie_e_access_traits.html: Move..
546 * doc/html/ext/pb_ds/sample_trie_access_traits.html: ...here.
548 * doc/html/ext/pb_ds/tree_text_lor_find_timing_test_local.png,
549 hash_random_int_erase_mem_usage_test_local.png,
550 multimap_text_insert_mem_usage_test_small_s2p_hash_local.png,
551 tree_text_insert_timing_test_pat_trie_local.png ,
552 multimap_text_insert_mem_usage_test_small_s2p_tree_local.png ,
553 priority_queue_text_modify_down_timing_test_local.png,
554 gp_hash_random_int_subscript_timing_test_find_local.png,
555 text_find_timing_test_hash_local.png,
556 multimap_text_insert_timing_test_small_s2p_hash_local.png,
557 multimap_text_insert_timing_test_small_s2p_tree_local.png,
558 multimap_text_insert_mem_usage_test_large_s2p_hash_local.png,
559 multimap_text_insert_mem_usage_test_large_s2p_tree_local.png,
560 multimap_text_insert_timing_test_large_s2p_hash_local.png,
561 hash_zlob_random_int_find_timing_test_local.png,
562 multimap_text_insert_timing_test_large_s2p_tree_local.png,
563 binary_priority_queue_random_int_push_timing_test_local.png,
564 priority_queue_text_pop_mem_usage_test_local.png,
565 priority_queue_text_modify_down_timing_test_pairing_thin_local.png,
566 tree_split_join_timing_test_local.png,
567 multimap_text_find_timing_test_small_s2p_hash_local.png,
568 ccgp_hash_random_int_subscript_timing_test_insert_local.png,
569 priority_queue_random_int_push_pop_timing_test_local.png,
570 multimap_text_find_timing_test_small_s2p_tree_local.png,
571 gp_hash_random_int_subscript_timing_test_insert_local.png,
572 priority_queue_text_push_timing_test_local.png,
573 cc_hash_random_int_subscript_timing_test_find_local.png,
574 tree_text_insert_timing_test_vector_tree_local.png,
575 multimap_text_find_timing_test_large_s2p_hash_local.png,
576 pairing_priority_queue_text_push_timing_test_local.png,
577 tree_order_statistics_timing_test_local.png,
578 priority_queue_text_push_pop_timing_test_local.png,
579 text_find_timing_test_tree_like_local.png,
580 multimap_text_find_timing_test_large_s2p_tree_local.png,
581 priority_queue_text_modify_up_timing_test_pairing_thin_local.png,
582 cc_hash_random_int_subscript_timing_test_insert_local.png,
583 priority_queue_text_modify_up_timing_test_local.png,
584 random_int_find_find_timing_test_tree_local.png,
585 priority_queue_random_int_push_timing_test_local.png,
586 tree_text_insert_timing_test_node_tree_local.png,
587 pairing_priority_queue_text_push_pop_timing_test_local.png,
588 gp_hash_random_int_find_timing_test_local.png,
589 cc_hash_random_int_find_timing_test_local.png,
590 priority_queue_text_join_timing_test_local.png: Update local pngs.
594 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand_debug.cc: New.
595 * testsuite/ext/pb_ds/regression/tree_data_map_rand_debug.cc: New.
596 * testsuite/ext/pb_ds/regression/priority_queue_rand_debug.cc: New.
597 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand_debug.cc: New.
598 * testsuite/ext/pb_ds/regression/trie_data_map_rand_debug.cc: New.
599 * testsuite/ext/pb_ds/regression/list_update_no_data_map_rand_debug.cc:
601 * testsuite/ext/pb_ds/regression/list_update_data_map_rand_debug.cc:
603 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand_debug.cc: New.
604 * testsuite/ext/pb_ds/regression/hash_data_map_rand_debug.cc: New.
606 * testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Fix typo.
608 * testsuite/ext/pb_ds/example/basic_set.cc: Update.
609 * testsuite/ext/pb_ds/example/ranged_hash.cc: Same.
610 * testsuite/ext/pb_ds/example/tree_order_statistics.cc: Same.
611 * testsuite/ext/pb_ds/example/trie_prefix_search.cc: Same.
612 * testsuite/ext/pb_ds/example/trie_dna.cc: Same.
613 * testsuite/ext/pb_ds/example/tree_intervals.cc: Same.
614 * testsuite/ext/pb_ds/example/basic_multimap.cc: Same.
615 * testsuite/performance/ext/pb_ds/hash_random_int_erase_mem_usage.cc:
617 * testsuite/performance/ext/pb_ds/tree_split_join_timing.cc: Same.
618 * testsuite/performance/ext/pb_ds/tree_order_statistics_timing.cc: Same.
619 * testsuite/data/make_graph_test_infos.xml: Same.
620 * testsuite/util/regression/common_type.hpp: Same.
621 * testsuite/util/regression/trait/assoc/native_type_trait.hpp: Same.
622 * testsuite/util/regression/trait/assoc/trait.hpp: Same.
623 * testsuite/util/regression/trait/assoc/type_trait.hpp: Same.
624 * testsuite/util/regression/rand/priority_queue/
625 rand_regression_test.hpp: Same.
626 * testsuite/util/regression/rand/priority_queue/
627 container_rand_regression_test.tcc: Same.
628 * testsuite/util/regression/rand/assoc/rand_regression_test.hpp: Same.
629 * testsuite/util/regression/rand/assoc/container_rand_regression_test.h
630 * testsuite/util/regression/rand/assoc/
631 container_rand_regression_test.tcc: Same.
632 * testsuite/util/native_type/native_priority_queue.hpp: Same.
633 * testsuite/util/native_type/native_multimap.hpp: Same.
634 * testsuite/util/native_type/native_hash_multimap.hpp: Same.
635 * testsuite/util/native_type/native_set.hpp: Same.
636 * testsuite/util/native_type/native_map.hpp: Same.
637 * testsuite/util/native_type/native_hash_set.hpp: Same.
638 * testsuite/util/native_type/native_hash_map.hpp: Same.
639 * testsuite/util/testsuite_containers.h
640 * testsuite/util/common_type/priority_queue/common_type.hpp: Same.
641 * testsuite/util/common_type/assoc/common_type.hpp: Same.
642 * testsuite/util/common_type/assoc/string_form.hpp: Same.
643 * testsuite/util/common_type/assoc/template_policy.hpp: Same.
644 * testsuite/util/common_type/assoc/detail/
645 trigger_policy_string_form.hpp: Same.
646 * testsuite/util/common_type/assoc/detail/ds_string_form.hpp: Same.
647 * testsuite/util/common_type/assoc/detail/
648 size_policy_string_form.hpp: Same.
649 * testsuite/util/common_type/assoc/detail/
650 probe_fn_string_form.hpp: Same.
651 * testsuite/util/common_type/assoc/detail/
652 tree_supports_order_statistics.hpp: Same.
653 * testsuite/util/common_type/assoc/detail/
654 trie_supports_prefix_search.hpp: Same.
655 * testsuite/util/common_type/assoc/detail/
656 list_update_policy_string_form.hpp: Same.
657 * testsuite/util/common_type/assoc/detail/
658 trie_supports_order_statistics.hpp: Same.
659 * testsuite/util/common_type/assoc/native_set.hpp: Same.
660 * testsuite/util/performance/assoc/timing/common_type.hpp: Same.
661 * testsuite/util/performance/assoc/timing/multimap_find_test.hpp: Same.
662 * testsuite/util/performance/assoc/multimap_common_type.hpp: Same.
664 2011-05-23 Paolo Carlini <paolo.carlini@oracle.com>
666 * include/bits/streambuf_iterator.h: Use noexcept per the FDIS.
667 (istreambuf_iterator<>::istreambuf_iterator(const
668 istreambuf_iterator&), ~istreambuf_iterator()): Add defaulted
671 2011-05-23 Jason Merrill <jason@redhat.com>
673 * libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
675 2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
677 * testsuite/20_util/bind/cv_quals_2.cc: New.
679 2011-05-22 Paolo Carlini <paolo.carlini@oracle.com>
682 * include/std/functional (_Bind<_Functor(_Bound_args...)>::
683 operator()(_Args&&...)): Don't cv qualify _Functor directly
684 in the default template argument, SFINAE doesn't apply when
685 the functor has no arguments.
686 * testsuite/20_util/bind/49058_1.cc: New.
687 * testsuite/20_util/bind/49058_2.cc: Likewise.
689 2011-05-21 Paolo Carlini <paolo.carlini@oracle.com>
691 * include/bits/unique_ptr.h: Use noexcept per the FDIS.
693 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
695 * testsuite/21_strings/basic_string/requirements/exception/
696 propagation_consistent.cc: Fix vs POD-ness of value_type.
697 * testsuite/21_strings/basic_string/requirements/exception/
699 * testsuite/ext/vstring/requirements/exception/
700 propagation_consistent.cc: Likewise.
701 * testsuite/ext/vstring/requirements/exception/basic.cc: Likewise.
703 2011-05-20 Paolo Carlini <paolo.carlini@oracle.com>
705 * include/bits/char_traits.h: Use noexcept throughout.
706 * include/std/typeindex: Likewise.
708 * include/std/tuple (_Tuple_impl<>_Tuple_impl(_Tuple_impl&&)): Use
709 noexcept; adjust callers.
710 * include/bits/stl_pair.h (pair<>::pair(pair<>&&)): Use noexcept.
711 * testsuite/20_util/tuple/cons/noexcept_move_construct.cc: New.
712 * testsuite/20_util/pair/cons/noexcept_move_construct.cc: Likewise.
713 * testsuite/20_util/pair/noexcept_swap.cc: Likewise.
714 * testsuite/20_util/pair/noexcept_move_assign.cc: Likewise.
715 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
718 2011-05-20 Jason Merrill <jason@redhat.com>
720 * include/ext/pb_ds/assoc_container.hpp: Explicitly qualify calls to
721 functions from dependent bases.
722 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp: Likewise.
723 * include/ext/pb_ds/detail/rb_tree_map_/
724 split_join_fn_imps.hpp: Likewise.
725 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp: Likewise.
726 * include/ext/pb_ds/detail/splay_tree_/insert_fn_imps.hpp: Likewise.
727 * include/ext/pb_ds/detail/splay_tree_/splay_fn_imps.hpp: Likewise.
728 * include/ext/pb_ds/detail/splay_tree_/
729 split_join_fn_imps.hpp: Likewise.
730 * include/ext/pb_ds/detail/tree_policy/
731 order_statistics_imp.hpp: Likewise.
732 * include/ext/pb_ds/detail/trie_policy/
733 prefix_search_node_update_imp.hpp: Likewise.
734 * include/ext/rc_string_base.h: Likewise.
735 * include/ext/rope: Likewise.
736 * include/ext/ropeimpl.h: Likewise.
737 * testsuite/util/exception/safety.h: Likewise.
738 * testsuite/util/native_type/native_priority_queue.hpp: Likewise.
739 * testsuite/util/testsuite_io.h: Likewise.
740 * include/std/functional: Declare mem_fn earlier.
741 * include/tr1/functional: Likewise.
742 * include/tr1/exp_integral.tcc: Declare __expint_E1 earlier.
744 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
746 * include/std/tuple (tuple_element<__i, const _Tp>,
747 tuple_element<__i, volatile _Tp>, tuple_element<__i,
748 const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
749 tuple_size<const volatile _Tp>): Add.
750 * include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
751 * include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
752 * testsuite/20_util/tuple/cv_tuple_size.cc: New.
753 * testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
754 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
757 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
759 * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
761 (__get_helper): Likewise.
762 (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
763 * include/bits/move.h (swap): Likewise.
764 * include/bits/algorithmfwd.h (swap): Adjust.
765 * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
766 * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
767 mode, prefer delete to access control to make the type not copy
769 * testsuite/util/testsuite_tr1.h: Add test classes.
770 * testsuite/20_util/tuple/noexcept_swap.cc: New.
771 * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
772 * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
773 delete to access control.
774 * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
775 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
778 2011-05-19 Daniel Krugler <daniel.kruegler@googlemail.com>
780 * testsuite/util/testsuite_tr1.h: Add test classes.
781 * testsuite/20_util/is_nothrow_assignable/value.cc: Add.
783 2011-05-19 Paolo Carlini <paolo.carlini@oracle.com>
785 * include/std/type_traits (is_assignable, is_copy_assignable,
786 is_move_assignable, is_nothrow_assignable, is_nothrow_copy_assignable,
787 is_nothrow_move_assignable): Add; minor tweaks elsewhere.
788 (has_nothrow_copy_assign): Remove.
789 * testsuite/util/testsuite_tr1.h: Add test classes.
790 * testsuite/20_util/is_assignable/requirements/typedefs.cc: Add.
791 * testsuite/20_util/is_assignable/requirements/
792 explicit_instantiation.cc: Likewise.
793 * testsuite/20_util/is_nothrow_assignable/value.cc: Likewise.
794 * testsuite/20_util/is_nothrow_assignable/requirements/typedefs.cc:
796 * testsuite/20_util/is_nothrow_assignable/requirements/
797 explicit_instantiation.cc: Likewise.
798 * testsuite/20_util/is_move_assignable/value.cc: Likewise.
799 * testsuite/20_util/is_move_assignable/requirements/typedefs.cc:
801 * testsuite/20_util/is_move_assignable/requirements/
802 explicit_instantiation.cc: Likewise.
803 * testsuite/20_util/is_copy_assignable/value.cc: Likewise.
804 * testsuite/20_util/is_copy_assignable/requirements/typedefs.cc:
806 * testsuite/20_util/is_copy_assignable/requirements/
807 explicit_instantiation.cc: Likewise.
808 * testsuite/20_util/is_nothrow_move_assignable/value.cc: Likewise.
809 * testsuite/20_util/is_nothrow_move_assignable/requirements/
810 typedefs.cc: Likewise.
811 * testsuite/20_util/is_nothrow_move_assignable/requirements/
812 explicit_instantiation.cc: Likewise.
813 * testsuite/20_util/is_nothrow_copy_assignable/value.cc: Likewise.
814 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
815 typedefs.cc: Likewise.
816 * testsuite/20_util/is_nothrow_copy_assignable/requirements/
817 explicit_instantiation.cc: Likewise.
818 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
819 dg-error line numbers.
820 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
822 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
824 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
826 * include/bits/shared_ptr_base.h: Use noexcept. Define special member
827 functions as defaulted/deleted.
828 * include/bits/shared_ptr.h: Use noexcept.
829 * 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
830 * 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.
832 2011-05-18 Jonathan Wakely <jwakely.gcc@gmail.com>
834 * doc/xml/manual/bitmap_allocator.xml: Fix typos.
836 2011-05-18 Paolo Carlini <paolo.carlini@oracle.com>
838 * libsupc++/initializer_list: Use noexcept specifier.
839 (initializer_list<>::size, begin, end): Qualify as const.
840 * include/bits/move.h (__addressof, forward, move, addressof): Specify
842 * include/std/bitset: Use noexcept specifier throughout.
843 * include/debug/bitset: Update.
844 * include/profile/bitset: Likewise.
846 2011-05-17 Paolo Carlini <paolo.carlini@oracle.com>
848 * include/std/tuple: Use noexcept where appropriate.
849 (tuple<>::swap): Rework implementation.
850 (_Head_base<>::_M_swap_impl): Remove.
851 (get(std::tuple<>&&)): Add.
852 * testsuite/20_util/tuple/element_access/get2.cc: New.
853 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
856 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
858 * include/std/utility: Simplify the last commit, the whole
859 std::get code is C++0x only.
861 2011-05-16 Paolo Carlini <paolo.carlini@oracle.com>
863 * include/std/utility (get(std::pair<>&&)): Add.
864 * include/bits/stl_pair.h (pair::swap(pair&),
865 swap(pair<>&, pair<>&)): Use noexcept.
866 * include/bits/random.h (discard_block_engine<>::base,
867 independent_bits_engine<>::base, shuffle_order_engine<>::base,
868 random_device::entropy): Use noexcept.
869 * include/std/array: Use noexcept where appropriate.
870 (get(array<>&&)): Add.
871 * testsuite/23_containers/array/requirements/get.cc: New.
872 * testsuite/20_util/pair/get.cc: Likewise.
873 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error
876 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
878 * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT):
880 * include/std/limits: Use the latter everywhere.
881 (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify
882 macro usages, the specializations exist only in C++0x mode.
883 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error
886 2011-05-11 Paolo Carlini <paolo.carlini@oracle.com>
888 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: Use
890 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
892 2011-05-11 François Dumont <francois.cppdevs@free.fr>
894 * include/ext/pb_ds/detail/resize_policy/
895 hash_load_check_resize_trigger_imp.hpp (assert_valid): Replace
896 _GLIBCXX_DEBUG_ASSERT calls with PB_DS_DEBUG_VERIFY.
897 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
898 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
899 constructors_destructor_fn_imps.hpp, split_join_fn_imps.hpp
900 (PB_DS_ASSERT_VALID): Rename in PB_DS_ASSERT_VALID_COND.
901 * include/ext/pb_ds/detail/debug_map_base.hpp,
902 splay_tree_/splay_tree_.hpp, ov_tree_map_/ov_tree_map_.hpp,
903 cc_hash_table_map_/cc_ht_map_.hpp, pat_trie_/pat_trie_.hpp,
904 leaf.hpp, internal_node.hpp, gp_hash_table_map_/gp_ht_map_.hpp,
905 bin_search_tree_/bin_search_tree_.hpp, list_update_map_/lu_map_.hpp,
906 rb_tree_map_/rb_tree_.hpp (PB_DS_ASSERT_VALID, PB_DS_DEBUG_VERIFY,
907 PB_DS_CHECK_KEY_EXISTS, PB_DS_CHECK_KEY_DOES_NOT_EXIST): Duplicate
908 macro definitions move...
909 * include/ext/pb_ds/detail/container_base_dispatch.hpp: ... here...
910 * include/ext/pb_ds/detail/basic_tree_policy/traits.hpp: ... and here.
911 * include/ext/pb_ds/detail/binary_heap_/binary_heap_.hpp,
912 resize_policy.hpp, pairing_heap_/pairing_heap_.hpp,
913 left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp,
914 binomial_heap_/binomial_heap_.hpp, thin_heap_/thin_heap_.hpp,
915 rc_binomial_heap_/rc_binomial_heap_.hpp, rc.hpp (PB_DS_ASSERT_VALID,
916 PB_DS_DEBUG_VERIFY): Duplicate macro definitions move...
917 * include/ext/pb_ds/detail/priority_queue_base_dispatch.hpp:
920 2011-05-09 Paolo Carlini <paolo.carlini@oracle.com>
923 * include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
924 erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
925 llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
926 nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
927 scalbn, tgamma, trunc): Use __enable_if on the return type.
928 * include/tr1/cmath: Likewise.
929 * testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
930 * testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.
932 2011-05-07 François Dumont <francois.cppdevs@free.fr>
934 * include/debug/macro.h (_GLIBCXX_DEBUG_VERIFY_AT): New.
935 (_GLICXX_DEBUG_VERIFY): Use latter.
936 * include/ext/pb_ds/detail/resize_policy/
937 hash_load_check_resize_trigger_imp.hpp: Emit assertion on the line
938 containing the original assert call.
939 * include/ext/pb_ds/detail/binomial_heap_base_/erase_fn_imps.hpp,
940 find_fn_imps.hpp, insert_fn_imps.hpp, binomial_heap_base_.hpp,
941 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
942 split_join_fn_imps.hpp: Likewise.
943 * include/ext/pb_ds/detail/cc_hash_table_map_/
944 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
945 find_fn_imps.hpp, insert_store_hash_fn_imps.hpp, debug_fn_imps.hpp,
946 debug_no_store_hash_fn_imps.hpp, cc_ht_map_.hpp, resize_fn_imps.hpp,
947 constructor_destructor_fn_imps.hpp, debug_store_hash_fn_imps.hpp,
948 erase_no_store_hash_fn_imps.hpp: Likewise.
949 * include/ext/pb_ds/detail/pat_trie_/find_fn_imps.hpp,
950 insert_join_fn_imps.hpp, pat_trie_/head.hpp, debug_fn_imps.hpp,
951 constructors_destructor_fn_imps.hpp, pat_trie_.hpp, split_fn_imps.hpp,
952 leaf.hpp, erase_fn_imps.hpp, node_base.hpp, internal_node.hpp:
954 * include/ext/pb_ds/detail/bin_search_tree_/find_fn_imps.hpp,
955 r_erase_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
956 debug_fn_imps.hpp, rotate_fn_imps.hpp, erase_fn_imps.hpp,
957 bin_search_tree_.hpp, insert_fn_imps.hpp, split_join_fn_imps.hpp:
959 * include/ext/pb_ds/detail/gp_hash_table_map_/
960 erase_store_hash_fn_imps.hpp, insert_no_store_hash_fn_imps.hpp,
961 find_fn_imps.hpp, gp_ht_map_.hpp, insert_store_hash_fn_imps.hpp,
962 debug_fn_imps.hpp, erase_fn_imps.hpp, debug_no_store_hash_fn_imps.hpp,
963 resize_fn_imps.hpp, constructor_destructor_fn_imps.hpp,
964 debug_store_hash_fn_imps.hpp, erase_no_store_hash_fn_imps.hpp:
966 * include/ext/pb_ds/detail/binary_heap_/find_fn_imps.hpp,
967 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
968 erase_fn_imps.hpp, insert_fn_imps.hpp, binary_heap_.hpp,
969 resize_policy.hpp, split_join_fn_imps.hpp: Likewise.
970 * include/ext/pb_ds/detail/pairing_heap_/erase_fn_imps.hpp,
971 find_fn_imps.hpp, insert_fn_imps.hpp,
972 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
973 pairing_heap_.hpp, split_join_fn_imps.hpp: Likewise.
974 * include/ext/pb_ds/detail/binomial_heap_/
975 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
976 binomial_heap_.hpp: Likewise.
977 * include/ext/pb_ds/detail/left_child_next_sibling_heap_/
978 erase_fn_imps.hpp, left_child_next_sibling_heap_.hpp,
979 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
980 * include/ext/pb_ds/detail/thin_heap_/erase_fn_imps.hpp,
981 find_fn_imps.hpp, thin_heap_.hpp, insert_fn_imps.hpp,
982 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
983 split_join_fn_imps.hpp: Likewise.
984 * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp,
985 ov_tree_map_.hpp, constructors_destructor_fn_imps.hpp,
986 debug_fn_imps.hpp, split_join_fn_imps.hpp, info_fn_imps.hpp: Likewise.
987 * include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
988 * include/ext/pb_ds/detail/splay_tree_/erase_fn_imps.hpp,
989 find_fn_imps.hpp, insert_fn_imps.hpp,
990 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp,
991 splay_fn_imps.hpp, split_join_fn_imps.hpp, splay_tree_.hpp: Likewise.
992 * include/ext/pb_ds/detail/list_update_map_/erase_fn_imps.hpp,
993 find_fn_imps.hpp, lu_map_.hpp, constructor_destructor_fn_imps.hpp,
994 insert_fn_imps.hpp, debug_fn_imps.hpp: Likewise.
995 * include/ext/pb_ds/detail/rc_binomial_heap_/erase_fn_imps.hpp,
996 rc_binomial_heap_.hpp, insert_fn_imps.hpp,
997 constructors_destructor_fn_imps.hpp, debug_fn_imps.hpp, rc.hpp,
998 split_join_fn_imps.hpp: Likewise.
999 * include/ext/pb_ds/detail/rb_tree_map_/erase_fn_imps.hpp,
1000 insert_fn_imps.hpp, constructors_destructor_fn_imps.hpp,
1001 debug_fn_imps.hpp, rb_tree_.hpp, split_join_fn_imps.hpp: Likewise.
1002 * include/ext/pb_ds/hash_policy.hpp: Likewise.
1004 2011-05-06 Paolo Carlini <paolo.carlini@oracle.com>
1006 * testsuite/22_locale/messages_byname/named_equivalence.cc: Fix.
1008 2011-05-04 Marc Glisse <marc.glisse@normalesup.org>
1010 PR libstdc++/47913 (again)
1011 * include/std/ratio (ratio_add, ratio_less): Rewrite.
1012 * testsuite/20_util/ratio/operations/47913.cc: Extend.
1013 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust dg-error
1015 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Likewise.
1017 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1020 * include/std/valarray (valarray<>::valarray(valarray&&),
1021 valarray<>::operator=(valarray&&), valarray<>::swap): Add.
1022 * doc/xml/manual/status_cxx200x.xml: Update.
1023 * testsuite/26_numerics/valarray/moveable.cc: New.
1024 * testsuite/26_numerics/valarray/swap.cc: Likewise.
1026 2011-05-03 Paolo Carlini <paolo.carlini@oracle.com>
1029 * include/parallel/multiway_merge.h: Run _ValueType destructors.
1030 * include/parallel/multiway_mergesort.h: Likewise.
1031 * include/parallel/quicksort.h: Likewise.
1032 * include/parallel/random_shuffle.h: Likewise.
1033 * include/parallel/partial_sum.h: Likewise.
1034 * include/parallel/losertree.h: Run destructors; minor tweaks.
1035 * include/parallel/par_loop.h: Run destructors, fix memory
1036 allocations and deallocations.
1037 * testsuite/26_numerics/accumulate/48750.cc: New.
1039 * testsuite/ext/profile/mutex_extensions_neg.cc: Do not run in
1040 parallel-mode to avoid spurious multiple errors.
1042 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1044 * include/std/functional (bind): Remove from overload set when first
1045 argument type might be a socket file descriptor.
1046 * testsuite/20_util/bind/socket.cc: New.
1048 2011-05-03 Jonathan Wakely <jwakely.gcc@gmail.com>
1051 * doc/xml/manual/status_cxx200x.xml: Update valarray status.
1052 * doc/html/*: Regenerate.
1054 2011-05-02 Ollie Wild <aaw@google.com>
1056 * include/ext/sso_string_base.h (__sso_string_base<>::_M_construct):
1057 Fix unqualified lookup.
1058 (__sso_string_base<>::_M_assign): Likewise.
1059 (__sso_string_base<>::_M_reserve): Likewise.
1060 (__sso_string_base<>::_M_mutate): Likewise.
1061 (__sso_string_base<>::_M_erase): Likewise.
1062 * include/ext/vstring.h (__versa_string<>::replace): Likewise.
1063 (__versa_string<>::compare): Likewise.
1064 * include/ext/vstring.tcc (__versa_string<>::compare): Likewise.
1066 2011-05-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1068 * doc/xml/manual/status_cxx200x.xml: Update to reflect current status
1070 * doc/xml/manual/documentation_hacking.xml: Fix typo.
1071 * doc/html/*: Regenerate.
1073 2011-04-30 Daniel Krugler <daniel.kruegler@googlemail.com>
1075 * include/std/type_traits (__is_default_constructible_atom,
1076 __is_default_constructible_safe<, true>,
1077 __is_direct_constructible_new_safe,
1078 __is_base_to_derived_ref<,, true>, __is_lvalue_to_rvalue_ref<,, true>,
1079 __is_direct_constructible_ref_cast, __is_direct_constructible,
1080 __is_nary_constructible): Simplify; add comments throughout.
1082 2011-04-30 Paolo Carlini <paolo.carlini@oracle.com>
1084 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1085 Adjust dg-error line numbers.
1086 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1088 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1090 2011-04-30 Doug Kwan <dougkwan@google.com>
1092 * include/Makefile.am (install-freestanding-headers): Also install
1094 * include/Makefile.in: Regenerate.
1096 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1099 * include/std/complex (complex<float>::complex(float, float),
1100 complex<double>::complex(double, double),
1101 complex<long double>::complex(long double, long double)): Use
1102 list-initialization in C++0x mode, initialize in the body in
1104 * testsuite/26_numerics/complex/cons/48760.cc: New.
1105 * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise.
1107 2011-04-28 Paolo Carlini <paolo.carlini@oracle.com>
1109 * include/std/bitset (_Base_bitset(unsigned long long)): Minor
1110 tweak, remove redundant round braces.
1112 2011-04-27 Paolo Carlini <paolo.carlini@oracle.com>
1114 * include/bits/move.h (move_if_noexcept): Add.
1115 * testsuite/20_util/move_if_noexcept/requirements/
1116 explicit_instantiation.cc: New.
1117 * testsuite/20_util/move_if_noexcept/1.cc: Likewise.
1119 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1121 * include/std/type_traits (struct underlying_type): Add.
1122 * testsuite/20_util/underlying_type/requirements/typedefs-1.cc: New.
1123 * testsuite/20_util/underlying_type/requirements/typedefs-2.cc:
1125 * testsuite/20_util/underlying_type/requirements/
1126 explicit_instantiation.cc: Likewise.
1127 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
1130 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1132 * include/parallel/multiway_merge.h: Uglify equally_split
1133 and equally_split_point throughout.
1134 * include/parallel/par_loop.h: Likewise.
1135 * include/parallel/equally_split.h: Likewise.
1136 * include/parallel/set_operations.h: Likewise.
1137 * include/parallel/unique_copy.h: Likewise.
1138 * include/parallel/multiway_mergesort.h: Likewise.
1139 * include/parallel/search.h: Likewise.
1140 * include/parallel/partial_sum.h: Likewise.
1141 * include/parallel/find.h: Likewise.
1143 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1145 * doc/xml/manual/parallel_mode.xml: Fix link to libgomp online
1146 documentation. Expand link text.
1148 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com>
1150 * libsupc++/cxxabi.h: Adjust link to FAQ entry.
1152 2011-04-22 François Dumont <francois.cppdevs@free.fr>
1154 * testsuite/lib/libstdc++.exp (check_v3_target_time): Discard
1155 unused compilation result thanks to /dev/null.
1156 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode,
1157 check_v3_target_profile_mode, check_v3_target_normal_mode,
1158 check_v3_target_cstdint, check_v3_target_cmath,
1159 check_v3_target_atomic_builtins, check_v3_target_gthreads,
1160 check_v3_target_nanosleep, check_v3_target_sched_yield,
1161 check_v3_target_string_conversions, check_v3_target_swprintf,
1162 check_v3_target_binary_io): Use simple preprocessing rather than
1163 compilation. Discard unused preprocessing result thanks to /dev/null.
1165 2011-04-20 Jim Meyering <meyering@redhat.com>
1167 * libsupc++/del_opnt.cc (operator delete): Remove useless
1170 2011-04-19 Jonathan Wakely <jwakely.gcc@gmail.com>
1173 * include/std/type_traits (result_of): Handle pointer to member.
1174 * include/std/functional (__invoke): Likewise.
1175 (_Function_to_function_pointer): Remove.
1176 (_Reference_wrapper_base): Provide nested types independent of
1177 unary_function and binary_function.
1178 (reference_wrapper::operator()): DR 2017.
1179 (ref(const A&&), cref(const A&&): Define as deleted.
1180 * include/std/future (async): Simplify SFINAE and use result_of to
1181 support pointer to member.
1182 * testsuite/20_util/reference_wrapper/invoke.cc: Test pointer to
1184 * testsuite/20_util/reference_wrapper/24803.cc: Likewise.
1185 * testsuite/20_util/reference_wrapper/typedefs.cc: Test for types
1186 instead of derivation from unary_function and binary_function.
1187 * testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
1188 * testsuite/20_util/reference_wrapper/invoke-2.cc: New.
1189 * testsuite/20_util/reference_wrapper/ref_neg.c: New.
1190 * testsuite/20_util/reference_wrapper/typedefs-3.c: New.
1192 2011-04-19 Hans-Peter Nilsson <hp@axis.com>
1195 * testsuite/20_util/hash/chi2_quality.cc (test_document_words): Stub
1196 this part if SAMPLES < 100000.
1198 2011-04-18 Paolo Carlini <paolo.carlini@oracle.com>
1200 * include/std/type_traits (is_nothrow_default_constructible,
1201 is_nothrow_copy_constructible, is_nothrow_move_constructible,
1202 is_copy_constructible, is_move_constructible): Add.
1203 (has_nothrow_default_constructor, has_nothrow_copy_constructor):
1205 (is_nothrow_constructible): Adjust.
1207 * testsuite/util/testsuite_tr1.h (ThrowDefaultClass,
1208 ThrowCopyConsClass, ThrowMoveConsClass, NoexceptDefaultClass,
1209 ExceptDefaultClass, NoexceptCopyConsClass, ExceptCopyConsClass,
1210 NoexceptMoveConsClass, ExceptMoveConsClass): Add in C++0x mode.
1212 * testsuite/20_util/has_nothrow_default_constructor: Remove.
1213 * testsuite/20_util/has_nothrow_copy_constructor: Likewise.
1215 * testsuite/20_util/is_nothrow_move_constructible/value.cc: Likewise.
1216 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1217 typedefs.cc: Likewise.
1218 * testsuite/20_util/is_nothrow_move_constructible/requirements/
1219 explicit_instantiation.cc: Likewise.
1220 * testsuite/20_util/is_nothrow_copy_constructible/value.cc: Likewise.
1221 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1222 typedefs.cc: Likewise.
1223 * testsuite/20_util/is_nothrow_copy_constructible/requirements/
1224 explicit_instantiation.cc: Likewise.
1225 * testsuite/20_util/is_nothrow_default_constructible/value.cc:
1227 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1228 typedefs.cc: Likewise.
1229 * testsuite/20_util/is_nothrow_default_constructible/requirements/
1230 explicit_instantiation.cc: Likewise.
1231 * testsuite/20_util/is_move_constructible/value.cc: Likewise.
1232 * testsuite/20_util/is_move_constructible/requirements/typedefs.cc:
1234 * testsuite/20_util/is_move_constructible/requirements/
1235 explicit_instantiation.cc: Likewise.
1236 * testsuite/20_util/is_copy_constructible/value.cc: Likewise.
1237 * testsuite/20_util/is_copy_constructible/requirements/typedefs.cc:
1239 * testsuite/20_util/is_copy_constructible/requirements/
1240 explicit_instantiation.cc: Likewise.
1242 * testsuite/20_util/is_default_constructible/value.cc: Add tests.
1243 * testsuite/20_util/is_nothrow_constructible/value.cc: Likewise.
1245 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
1246 Adjust dg-error line numbers.
1247 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1249 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1251 2011-04-17 Paolo Carlini <paolo.carlini@oracle.com>
1253 * testsuite/25_algorithms/partition/moveable.cc: Actually run
1254 it in parallel-mode for check-parallel.
1256 2011-04-17 Daniel Krugler <daniel.kruegler@googlemail.com>
1257 Paolo Carlini <paolo.carlini@oracle.com>
1259 PR libstdc++/48635 (again)
1260 * include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(unique_ptr<>&&),
1261 unique_ptr<_Tp[]>::unique_ptr(unique_ptr<>&&),
1262 unique_ptr<>::operator=(unique_ptr<>&&),
1263 unique_ptr<_Tp[]>::operator=(unique_ptr<>&&)): Use forward<_Ep>, not
1264 forward<_Dp>, to forward the deleter.
1265 * testsuite/20_util/unique_ptr/assign/48635_neg.cc: New.
1267 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1268 Paolo Carlini <paolo.carlini@oracle.com>
1271 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
1272 function call operator.
1273 * testsuite/20_util/default_delete/48631_neg.cc: New.
1274 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
1277 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
1278 Paolo Carlini <paolo.carlini@oracle.com>
1281 * include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
1282 unique_ptr<>::operator=(unique_ptr<>&&),
1283 unique_ptr<_Tp[],>::operator=(unique_ptr&&),
1284 unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
1285 instead of moving it.
1286 * testsuite/20_util/unique_ptr/assign/48635.cc: New.
1288 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1290 * scripts/extract_symvers.pl: Handle NOTY.
1292 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
1294 * include/std/istream: Fix comments in the light of DR60 + N3168.
1296 2011-04-13 Daniel Krugler <daniel.kruegler@googlemail.com>
1297 Paolo Carlini <paolo.carlini@oracle.com>
1300 * include/std/type_traits (struct is_constructible): Re-implement,
1302 (struct is_default_constructible): Add.
1303 (struct is_destructible): Likewise.
1304 (struct __and_, __or_, __not_): Add and use throughout; reorder some
1305 facilities, other minor tweaks.
1306 * testsuite/util/testsuite_tr1.h: Add test types.
1307 * testsuite/20_util/is_constructible/value-2.cc: New.
1308 * testsuite/20_util/is_default_constructible/value.cc: Likewise.
1309 * testsuite/20_util/is_default_constructible/requirements/typedefs.cc:
1311 * testsuite/20_util/is_default_constructible/requirements/
1312 explicit_instantiation.cc: Likewise.
1313 * testsuite/20_util/is_destructible/value.cc: Likewise.
1314 * testsuite/20_util/is_destructible/requirements/typedefs.cc:
1316 * testsuite/20_util/is_destructible/requirements/
1317 explicit_instantiation.cc: Likewise.
1318 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust
1319 dg-error line numbers.
1320 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
1322 * testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
1323 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Likewise.
1325 2011-04-13 Paolo Carlini <paolo.carlini@oracle.com>
1327 * testsuite/20_util/is_function/value.cc: Add, adapted from the tr
1329 * testsuite/20_util/is_function/requirements/typedefs.cc: Likewise.
1330 * testsuite/20_util/is_function/requirements/
1331 explicit_instantiation.cc: Likewise.
1332 * testsuite/20_util/is_function/24808.cc: Likewise.
1333 * testsuite/20_util/is_function/35637.cc: Likewise.
1334 * testsuite/20_util/is_object/value.cc: Likewise.
1335 * testsuite/20_util/is_object/requirements/typedefs.cc: Likewise.
1336 * testsuite/20_util/is_object/requirements/explicit_instantiation.cc:
1338 * testsuite/20_util/is_object/24808.cc: Likewise.
1339 * testsuite/20_util/is_compound/value.cc: Likewise.
1340 * testsuite/20_util/is_compound/requirements/typedefs.cc: Likewise.
1341 * testsuite/20_util/is_compound/requirements/
1342 explicit_instantiation.cc: Likewise.
1343 * testsuite/20_util/is_member_object_pointer/value.cc: Likewise.
1344 * testsuite/20_util/is_member_object_pointer/requirements/
1345 typedefs.cc: Likewise.
1346 * testsuite/20_util/is_member_object_pointer/requirements/
1347 explicit_instantiation.cc: Likewise.
1348 * testsuite/20_util/is_fundamental/value.cc: Likewise.
1349 * testsuite/20_util/is_fundamental/requirements/typedefs.cc: Likewise.
1350 * testsuite/20_util/is_fundamental/requirements/
1351 explicit_instantiation.cc: Likewise.
1352 * testsuite/20_util/is_member_pointer/value.cc: Likewise.
1353 * testsuite/20_util/is_member_pointer/requirements/typedefs.cc:
1355 * testsuite/20_util/is_member_pointer/requirements/
1356 explicit_instantiation.cc: Likewise.
1357 * testsuite/20_util/is_member_function_pointer/value.cc: Likewise.
1358 * testsuite/20_util/is_member_function_pointer/
1359 requirements/typedefs.cc: Likewise.
1360 * testsuite/20_util/is_member_function_pointer/requirements/
1361 explicit_instantiation.cc: Likewise.
1363 * testsuite/20_util/is_convertible/value.cc: Minor tweak, adjust
1366 2011-04-12 Takaya Saito <gintensubaru@gmail.com>
1369 * include/std/tuple (_Tuple_impl<>::_Tuple_impl(_Tuple_impl<>&&),
1370 _Tuple_impl<>::operator=(_Tuple_impl&&), _Tuple_impl<>::operator=
1371 (_Tuple_impl<>&&), tuple_cat): Use std::forward where appropriate.
1372 * testsuite/20_util/tuple/cons/48476.cc: New.
1373 * testsuite/20_util/tuple/48476.cc: Likewise.
1374 * testsuite/20_util/tuple/creation_functions/48476.cc: Likewise.
1376 2011-04-12 Allan McRae <allan@archlinux.org>
1379 * testsuite/tr1/6_containers/unordered_map/requirements/
1380 iterator_null_neg.cc: Include <cstddef>.
1381 * testsuite/tr1/6_containers/unordered_set/requirements/
1382 iterator_null_neg.cc: Likewise.
1383 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Include
1385 * testsuite/util/testsuite_common_types.h: Include <limits>.
1386 * testsuite/29_atomics/atomic_integral/cons/assign_neg.cc:
1387 Adjust dg-error line numbers.
1388 * testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Likewise.
1389 * testsuite/29_atomics/atomic_integral/operators/increment_neg.cc:
1391 * testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc:
1393 * testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc:
1395 * testsuite/29_atomics/atomic/cons/assign_neg.cc: Likewise.
1396 * testsuite/29_atomics/atomic/cons/copy_neg.cc: Likewise.
1398 2011-04-11 Jason Merrill <jason@redhat.com>
1400 * testsuite/20_util/is_convertible/value.cc: Adjust.
1402 2011-04-11 Paolo Carlini <paolo.carlini@oracle.com>
1404 * testsuite/25_algorithms/inplace_merge/moveable.cc: Actually run
1405 it in parallel-mode for check-parallel.
1406 * testsuite/25_algorithms/rotate/moveable.cc: Likewise.
1407 * testsuite/25_algorithms/stable_partition/moveable.cc: Likewise.
1408 * testsuite/25_algorithms/remove/moveable.cc: Likewise.
1409 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1411 * testsuite/25_algorithms/unique/moveable.cc: Likewise.
1412 * testsuite/25_algorithms/remove_if/moveable.cc: Likewise.
1413 * testsuite/25_algorithms/heap/moveable.cc: Likewise.
1415 * testsuite/25_algorithms/next_permutation/moveable.cc: Only skip
1416 the tests based on std::lexicographical_compare for check-parallel.
1417 * testsuite/25_algorithms/prev_permutation/moveable.cc: Likewise.
1419 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1422 * include/std/functional (_Base_manager::_M_get_pointer): Use
1424 * testsuite/20_util/function/48541.cc: New.
1426 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
1429 * configure.ac (libtool_VERSION): Bump library version to 6:16:0.
1430 * configure: Regenerate.
1431 * config/abi/pre/gnu.ver (GLIBCXX_3.4.16): Export missing symbols.
1432 * testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.16.
1434 2011-04-06 Jeffrey Yasskin <jyasskin@google.com>
1436 * include/ext/algorithm (is_sorted): In C++0x mode import from
1438 * include/ext/numeric (iota): In C++0x mode import from
1440 * testsuite/ext/is_sorted/cxx0x.cc: New.
1441 * testsuite/ext/iota/cxx0x.cc: New.
1443 2011-04-02 Jonathan Wakely <redi@gcc.gnu.org>
1446 * include/bits/unique_ptr.h (__tuple_type): Store pointer type.
1447 * testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
1448 * testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
1449 unused parameter name.
1451 2011-03-31 Jeffrey Yasskin <jyasskin@google.com>
1453 * libsupc++/exception_ptr.h: Forward-declare std::type_info.
1454 * libsupc++/nested_exception.h (__throw_with_nested): Remove a
1455 redundant default argument from std::__throw_with_nested.
1457 2011-03-31 Paolo Carlini <paolo.carlini@oracle.com>
1460 * src/ctype.cc: Do not include <bits/ctype_noninline.h>.
1461 * src/Makefile.am: Add ctype_configure_char.cc to host_sources.
1462 * src/Makefile.in: Regenerate.
1463 * include/Makefile.am: Remove ctype_noninline.h from host_headers.
1464 * include/Makefile.in: Regenerate.
1465 * doc/xml/manual/internals.xml: Update.
1466 * config/os/newlib/ctype_noninline.h: Fixup and rename to...
1467 * config/os/newlib/ctype_configure_char.cc: ... this.
1468 * config/os/aix/ctype_noninline.h: Likewise.
1469 * config/os/aix/ctype_configure_char.cc: Likewise.
1470 * config/os/vxworks/ctype_noninline.h: Likewise.
1471 * config/os/vxworks/ctype_configure_char.cc
1472 * config/os/hpux/ctype_noninline.h: Likewise.
1473 * config/os/hpux/ctype_configure_char.cc: Likewise.
1474 * config/os/gnu-linux/ctype_noninline.h: Likewise.
1475 * config/os/gnu-linux/ctype_configure_char.cc: Likewise.
1476 * config/os/mingw32/ctype_noninline.h: Likewise.
1477 * config/os/mingw32/ctype_configure_char.cc: Likewise.
1478 * config/os/tpf/ctype_noninline.h: Likewise.
1479 * config/os/tpf/ctype_configure_char.cc: Likewise.
1480 * config/os/uclibc/ctype_noninline.h: Likewise.
1481 * config/os/uclibc/ctype_configure_char.cc: Likewise.
1482 * config/os/bionic/ctype_noninline.h: Likewise.
1483 * config/os/bionic/ctype_configure_char.cc: Likewise.
1484 * config/os/djgpp/ctype_noninline.h: Likewise.
1485 * config/os/djgpp/ctype_configure_char.cc: Likewise.
1486 * config/os/qnx/qnx6.1/ctype_noninline.h: Likewise.
1487 * config/os/qnx/qnx6.1/ctype_configure_char.cc: Likewise.
1488 * config/os/bsd/netbsd/ctype_noninline.h: Likewise.
1489 * config/os/bsd/netbsd/ctype_configure_char.cc: Likewise.
1490 * config/os/bsd/darwin/ctype_noninline.h: Likewise.
1491 * config/os/bsd/darwin/ctype_configure_char.cc: Likewise.
1492 * config/os/bsd/freebsd/ctype_noninline.h: Likewise.
1493 * config/os/bsd/freebsd/ctype_configure_char.cc: Likewise.
1494 * config/os/irix/irix6.5/ctype_noninline.h: Likewise.
1495 * config/os/irix/irix6.5/ctype_configure_char.cc: Likewise.
1496 * config/os/generic/ctype_noninline.h: Likewise.
1497 * config/os/generic/ctype_configure_char.cc: Likewise.
1498 * config/os/solaris/solaris2.7/ctype_noninline.h: Likewise.
1499 * config/os/solaris/solaris2.7/ctype_configure_char.cc: Likewise.
1501 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1503 * include/std/future (future::share): Add.
1504 (packaged_task::result_type): Remove as per LWG 2030.
1505 (packaged_task::packaged_task): Remove redundant constructors, as per
1507 * testsuite/30_threads/future/members/share.cc: New.
1508 * testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.
1510 2011-03-25 Jonathan Wakely <jwakely.gcc@gmail.com>
1512 * testsuite/28_regex/match_results/ctors/char/default.cc: Do not call
1513 members which require a fully established result state.
1514 * testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.
1516 2011-03-25 Paolo Carlini <paolo.carlini@oracle.com>
1518 * include/bits/random.h (negative_binomial_distribution<>::
1519 negative_binomial_distribution(_IntType, double),
1520 negative_binomial_distribution<>::
1521 negative_binomial_distribution(const param_type&)): Tweak
1522 construction of _M_gd.
1523 * include/bits/random.tcc (negative_binomial_distribution<>::
1524 operator()): Adjust.
1526 2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
1528 * include/bits/random.h (negative_binomial_distribution<>::
1529 negative_binomial_distribution(_IntType, double),
1530 negative_binomial_distribution<>::
1531 negative_binomial_distribution(const param_type&)): Fix
1532 construction of _M_gd.
1533 * include/bits/random.tcc (negative_binomial_distribution<>::
1534 operator()): Fix computation, per Leger's algorithm.
1535 * testsuite/util/testsuite_random.h (discrete_pdf,
1536 negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
1537 (binomial_pdf): Swap last two parameters.
1538 * testsuite/26_numerics/random/discrete_distribution/
1539 operators/values.cc: New.
1540 * testsuite/26_numerics/random/negative_binomial_distribution/
1541 operators/values.cc: Likewise.
1542 * testsuite/26_numerics/random/poisson_distribution/
1543 operators/values.cc: Likewise.
1544 * testsuite/26_numerics/random/uniform_int_distribution/
1545 operators/values.cc: Likewise.
1546 * testsuite/26_numerics/random/binomial_distribution/
1547 operators/values.cc: Adjust.
1549 2011-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1551 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
1552 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1553 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1554 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1555 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1557 2011-03-23 Matthias Klose <doko@ubuntu.com>
1559 * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
1561 2011-03-23 Uros Bizjak <ubizjak@gmail.com>
1563 * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.
1565 2011-03-22 Joseph Myers <joseph@codesourcery.com>
1567 * configure.ac: Don't handle powerpc*-*-gnu*.
1568 * configure: Regenerate.
1570 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1572 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
1574 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
1577 2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
1579 * include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
1581 (operator==, operator!=, operator<): Fix per the letter of DR 1401.
1582 * include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
1583 * include/bits/unique_ptr.h (operator==, operator!=, operator<,
1584 operator<=, operator>, operator>=): Fix per the letter of DR 1401.
1585 * testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
1586 * testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
1587 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
1589 2011-03-22 Jakub Jelinek <jakub@redhat.com>
1591 * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
1592 and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
1593 * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
1594 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1595 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1596 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1597 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1598 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1599 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1600 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1602 * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
1603 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1604 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1605 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1606 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
1607 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1608 * testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
1609 * testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
1612 2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
1614 * testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
1615 create compact unwind for" warnings.
1617 2011-03-21 Jakub Jelinek <jakub@redhat.com>
1619 * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
1620 * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
1621 * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
1623 * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
1624 * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
1625 * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
1626 * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
1627 * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
1628 * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
1629 * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
1630 * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
1631 * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
1633 * testsuite/util/testsuite_abi.cc (check_version): Set incompatible
1634 even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
1635 CXXABI_LDBL_1.3 versions.
1637 2011-03-21 Benjamin Kosnik <bkoz@redhat.com>
1639 * config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
1641 2011-03-21 Jakub Jelinek <jakub@redhat.com>
1643 * config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
1644 (CXXABI_1.3.5): Export _ZTI[PK]*[no].
1646 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1648 * testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
1649 sparc*-sun-solaris2.10 && lp64.
1651 2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
1653 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
1654 to check_v3_target_cmath.
1655 * testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
1656 to dg-require-cmath.
1657 * testsuite/26_numerics/random/binomial_distribution/
1658 operators/values.cc: Adjust.
1660 2011-03-18 Diego Novillo <dnovillo@google.com>
1662 * testsuite/decimal/mixed-mode-arith_neg.cc: Rename from
1664 * testsuite/decimal/mixed-mode-cmp_neg.cc: Factor out of
1665 mixed-mode-arith_neg.cc
1667 2011-03-18 Paolo Carlini <paolo.carlini@oracle.com>
1669 * testsuite/util/testsuite_random.h: New.
1670 * testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Add.
1671 * testsuite/lib/dg-options.exp (dg-require-c99_math): Likewise.
1672 * testsuite/26_numerics/random/bernoulli_distribution/
1673 operators/values.cc: New.
1674 * testsuite/26_numerics/random/binomial_distribution/
1675 operators/values.cc: Likewise.
1676 * testsuite/26_numerics/random/geometric_distribution/
1677 operators/values.cc: Likewise.
1679 2011-03-16 Benjamin Kosnik <bkoz@redhat.com>
1681 * config/abi/pre/gnu.ver: Add base destructors for stdexcept classes.
1682 * testsuite/19_diagnostics/stdexcept.cc: New.
1684 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
1686 * include/std/thread: Revert.
1687 * src/thread.cc: Same.
1688 * config/abi/pre/gnu.ver: Same.
1690 2011-03-15 Doug Kwan <dougkwan@google.com>
1693 * include/Makefile.am (install-freestanding-headers): Install
1695 * include/Makefile.in: Regenerate.
1697 2011-03-15 Benjamin Kosnik <bkoz@redhat.com>
1699 * config/abi/pre/gnu.ver: Make nested_exception exports super clear.
1700 Move bad_function_call exports from CXXABI_1.3.5 to GLIBCXX_3.4.15.
1702 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
1705 * src/future.cc: Guard definitions.
1706 * libsupc++/nested_exception.cc: Same.
1708 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
1710 * src/Makefile.am: Add functional.cc, shared_ptr.cc.
1711 * src/Makefile.in: Regenerate.
1712 * libsupc++/Makefile.am: Add nested_exception.cc.
1713 * libsupc++/Makefile.in: Regenerate.
1714 * src/system_error.cc: Add ctor and dtor definitions for error_category.
1715 * src/functional.cc: New. Add dtor definition for bad_function_call.
1716 * src/stdexcept.cc: Add dtor definitions for domain_error,
1717 invalid_argument, length_error, out_of_range, range_error,
1718 overflow_error, underflow_error.
1719 * src/future.cc: Add dtor definition for __future_base::_Result_base.
1720 * src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
1721 * src/thread.cc: Add dtor for thread::_Impl_base.
1722 * include/std/system_error: Adjust.
1723 * include/std/stdexcept: Same.
1724 * include/std/future: Same.
1725 * include/std/functional: Same.
1726 * include/std/thread: Same.
1727 * include/bits/shared_ptr_base.h: Same.
1728 * libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
1729 * libsupc++/nested_exception.h: Adjust.
1730 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
1731 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
1732 * config/abi/pre/gnu.ver: Add new exports.
1734 2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
1736 * include/bits/regex_compiler.h: Nest namespace versioning.
1737 * include/bits/regex_grep_matcher.tcc: Same.
1738 * include/bits/regex_grep_matcher.h: Same.
1739 * include/bits/regex_cursor.h: Same.
1740 * include/bits/regex_nfa.h: Same.
1741 * include/bits/regex_nfa.tcc: Same.
1743 * include/bits/regex_grep_matcher.h: Version forward declarations.
1744 * include/bits/c++config: Add namespace association for __regex.
1745 * include/bits/regex.h: Make sub_match consistent.
1747 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1749 * doc/xml/manual/abi.xml: Replace docs.sun.com URLs by their OTN
1751 * doc/html/manual/abi.html: Regenerate.
1753 2011-03-14 Tom Tromey <tromey@redhat.com>
1755 * python/libstdcxx/v6/printers.py (_use_gdb_pp): New global.
1756 Try to import `gdb.printing' module.
1757 (UniquePointerPrinter.__init__): Add 'typename' argument.
1758 (StdSlistPrinter.__init__): Likewise.
1759 (StdSlistIteratorPrinter.__init__): Likewise.
1760 (StdVectorIteratorPrinter.__init__): Likewise.
1761 (StdRbtreeIteratorPrinter.__init__): Likewise.
1762 (StdDebugIteratorPrinter.__init__): Likewise.
1763 (StdDequeIteratorPrinter.__init__): Likewise.
1764 (StdStringPrinter.__init__): Likewise.
1765 (RxPrinter, Printer): New class.
1766 (libstdcxx_printer): New global.
1767 (register_libstdcxx_printers): Rewrite.
1768 (build_libstdcxx_dictionary): Rewrite.
1769 (pretty_printers_dict): Remove.
1771 2011-03-14 Andrey Zholos <aaz@althenia.net>
1774 * include/bits/random.h (geometric_distribution): Correct formula
1775 in comment, per C++0x.
1776 (geometric_distribution<>::param_type::param_type(double)): Fix check.
1777 (geometric_distribution<>::param_type::_M_initialize):
1779 * include/bits/random.tcc (geometric_distribution<>::operator()):
1781 (binomial_distribution<>::operator()): Likewise.
1783 2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
1785 * testsuite/util/testsuite_rvalref.h: Minor tweaks.
1787 2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
1788 Chris Jefferson <chris@bubblescope.net>
1789 Paolo Carlini <paolo.carlini@oracle.com>
1791 * testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
1793 * testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
1795 * testsuite/25_algorithms/partial_sort/check_compare_by_value:
1797 * testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
1799 * testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
1801 2011-03-09 Chris Jefferson <chris@bubblescope.net>
1804 * include/bits/stl_algo.h (__merge_backward): Rename to
1805 __move_merge_backward and change to always move rather than copy.
1806 (__move_merge): New function similar to std::merge except values
1807 are moved instead of copied.
1808 (__merge_adaptive, __merge_sort_loop): Change from using std::merge
1809 and __merge_backward to __move_merge and __move_merge_backward.
1811 2011-03-07 Jason Merrill <jason@redhat.com>
1813 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Adjust
1816 2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
1817 Matthias Klose <doko@ubuntu.com>
1818 Jonathan Wakely <redi@gcc.gnu.org>
1821 * acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
1822 * configure.ac: Use it.
1823 * doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
1824 * configure: Regenerate.
1825 * doc/Makefile.in: Regenerate.
1827 2011-03-04 Benjamin Kosnik <bkoz@chula>
1829 * src/Makefile.am (inst_sources): Make source instantion files
1831 (XTEMPLATE_FLAGS): Make -fno-implicit-templates conditional.
1832 * src/Makefile.in: Regenerate.
1833 * src/valarray-inst.cc: Move to..
1834 * src/valarray.cc: ...this.
1835 * acinclude.m4 (GLIBCXX_ENABLE_EXTERN_TEMPLATE]): Define.
1836 * configure.ac (GLIBCXX_ENABLE_EXTERN_TEMPLATE): Use it.
1837 * configure: Regenerate.
1838 * include/Makefile.am (stamp-extern-template): Add.
1839 * include/Makefile.in: Regenerate.
1841 * doc/xml/manual/configure.xml: Document --enable-extern-template.
1843 * include/bits/locale_classes.tcc: Adjust comment.
1844 * include/bits/locale_facets.tcc: Same.
1845 * include/bits/basic_ios.tcc: Same.
1846 * include/bits/istream.tcc: Same.
1847 * include/bits/codecvt.h: Same.
1848 * include/bits/ostream.tcc: Same.
1849 * include/bits/sstream.tcc: Same.
1850 * include/bits/c++config: Same.
1851 * include/bits/basic_string.tcc: Same.
1852 * include/bits/ostream_insert.h: Same.
1853 * include/bits/locale_facets_nonio.tcc: Same.
1854 * include/bits/streambuf.tcc: Same.
1855 * include/bits/allocator.h: Same.
1856 * include/bits/fstream.tcc: Same.
1858 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
1860 2011-03-02 Benjamin Kosnik <bkoz@redhat.com>
1862 * testsuite/Makefile.am: Make clean fixups.
1863 * testsuite/Makefile.in: Regenerate.
1865 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1867 * include/std/ratio (ratio_less): Add comments.
1869 2011-03-02 Marc Glisse <marc.glisse@normalesup.org>
1872 * include/std/ratio (ratio_add): Avoid denominator overflow.
1873 * testsuite/20_util/ratio/operations/47913.cc: New.
1875 2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
1877 * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
1878 * testsuite/20_util/hash/quality.cc: Same.
1880 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1883 * include/std/streambuf (basic_streambuf<>::__safe_gbump,
1885 * include/bits/streambuf.tcc (basic_streambuf<>::xgetn,
1886 xputn): Use the latter.
1887 * include/bits/streambuf_iterator.h: Likewise.
1888 * src/strstream.cc: Likewise.
1889 * src/streambuf.cc: Likewise.
1890 * src/compatibility.cc: Likewise.
1891 * src/istream.cc: Likewise.
1892 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn): Use setg
1894 * include/std/sstream (basic_stringbuf<>::_M_pbump): Add.
1895 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff,
1896 seekpos, _M_sync): Use setg, setp, and _M_pbump.
1897 * config/abi/pre/gnu.ver: Tweak.
1899 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
1901 * testsuite/20_util/ratio/comparisons/comp3.cc: New.
1903 2011-02-28 Marc Glisse <marc.glisse@normalesup.org>
1906 * include/std/ratio (ratio_less): Reimplement to never overflow.
1907 * testsuite/20_util/ratio/comparisons/comp2.cc: Extend.
1909 2011-02-24 Benjamin Kosnik <bkoz@redhat.com>
1911 * testsuite/18_support/type_info/fundamental.cc: New.
1913 * testsuite/Makefile.am: Make clean fixups.
1914 * testsuite/Makefile.in: Regenerate.
1916 2011-02-19 François Dumont <francois.cppdevs@free.fr>
1918 * include/debug/string (basic_string::insert): Add iterator check and
1919 pass normal iterator to normal insert.
1920 * include/debug/macros.h (__glibcxx_check_heap,
1921 __glibcxx_check_heap_pred): Remove __glibcxx_check_valid_range,
1924 2011-02-17 Paolo Carlini <paolo.carlini@oracle.com>
1927 * testsuite/ext/vstring/hash/char/1.cc: Fix.
1928 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1930 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1932 * include/bits/regex.h (basic_regex::traits_type): Add typedef.
1933 (basic_regex::basic_regex(basic_regex&&)): Add noexcept.
1934 (basic_regex::operator=(basic_regex&&)): Likewise.
1935 (basic_regex::assign(basic_regex&&)): Likewise.
1936 (operator==(sub_match,...)): Implement DR 1181.
1937 (match_results::match_results(match_results&&)): Define.
1938 (match_results::operator=(const match_results&)): Fix parameter type.
1939 (match_results::operator=(match_results&&)): Define.
1941 2011-02-17 Jonathan Wakely <jwakely.gcc@gmail.com>
1944 * include/bits/regex_compiler.h (_Scanner::_M_advance): Do not treat
1945 line anchors as metacharacters.
1946 * testsuite/28_regex/basic_regex/ctors/47724.cc: New.
1948 2011-02-16 Paolo Carlini <paolo.carlini@oracle.com>
1951 * include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
1952 hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
1953 hash<__gnu_cxx::__u32vstring>): Add.
1954 * testsuite/ext/vstring/hash/char/1.cc: New.
1955 * testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.
1957 2011-02-16 Jonathan Wakely <jwakely.gcc@gmail.com>
1959 * include/bits/regex.h (match_results::format): Use char_traits.
1961 2011-02-16 Benjamin Kosnik <bkoz@redhat.com>
1963 * include/std/atomic: Remove atomic_address, uplift to N3225.
1964 * include/bits/atomic_0.h: Same.
1965 * include/bits/atomic_2.h: Same.
1966 * include/bits/atomic_base.h: Same.
1967 * testsuite/29_atomics/atomic_address/*: Delete.
1969 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1971 * include/bits/regex.h (sub_match::sub_match): Add.
1972 (match_results::ready): Add.
1973 (match_results::empty): Adjust.
1974 (match_results::length): Add missing dereference.
1975 (match_results::operator[],prefix,suffix): Add debug mode checks.
1976 (match_results::cend): Re-use end().
1977 (match_results::format): Adjust signatures.
1978 (operator==(match_results,match_results)): Implement.
1979 * include/bits/regex_compiler.h (_Scanner_base): Use constexpr.
1980 * include/bits/regex_constants.h (syntax_option_type): Likewise.
1981 * include/bits/regex_grep_matcher.h: Fix comment typo.
1982 (_SpecializedResults::_SpecializedResults): Simplify.
1983 * include/bits/regex_cursor.h: Fix comment typo.
1984 * include/bits/regex_nfa.h: Likewise.
1985 * testsuite/28_regex/basic_regex/ctors/basic/string_range_01_02_03.cc:
1986 Fix error code, remove xfail.
1987 * testsuite/28_regex/basic_regex/ctors/extended/
1988 string_range_01_02_03.cc: Likewise.
1990 2011-02-14 Jonathan Wakely <jwakely.gcc@gmail.com>
1992 * include/bits/regex_compiler.h: Remove unnecessary bind() calls.
1993 * include/bits/regex_nfa.h: Remove unnecessary base classes.
1995 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1997 * configure: Regenerate.
1999 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2002 * include/ext/algorithm (is_heap): In C++0x mode import from
2004 * testsuite/ext/is_heap/47709.cc: New.
2006 2011-02-12 Jakub Jelinek <jakub@redhat.com>
2007 Jonathan Wakely <jwakely.gcc@gmail.com>
2010 * testsuite/17_intro/headers/c++200x/operator_names.cc: New.
2011 * testsuite/17_intro/headers/c++1998/operator_names.cc: Add comment.
2013 2011-02-12 Paolo Carlini <paolo.carlini@oracle.com>
2015 * include/tr1/cmath (fabs): Define.
2016 * include/tr1/complex (acos, asin, atan): Avoid duplicate definitions
2019 2011-02-12 Jonathan Wakely <jwakely.gcc@gmail.com>
2021 * testsuite/tr1/headers/c++200x/complex.cc: New.
2023 2011-02-11 Johannes Singler <singler@kit.edu>
2026 * include/parallel/losertree.h
2027 (_LoserTreeUnguarded<>::__delete_min_insert):
2028 Add missing "using std::swap;", as for other variants.
2030 2011-02-10 Benjamin Kosnik <bkoz@redhat.com>
2032 * src/Makefile.am (sources): Add regex.cc.
2033 * src/Makefile.in: Regenerate.
2034 * src/regex.cc: New.
2035 * include/bits/regex_error.h (error_type): Use constexpr.
2036 (regex_error): Move ctor and dtor out of line.
2038 * testsuite/28_regex/03_requirements: To...
2039 * testsuite/28_regex/requirements: ... this.
2040 * testsuite/28_regex/04_header: To...
2041 * testsuite/28_regex/headers: ... this.
2042 * testsuite/28_regex/05_constants: To...
2043 * testsuite/28_regex/constants: ... this.
2044 * testsuite/28_regex/06_exception_type: To...
2045 * testsuite/28_regex/regex_error: ... this.
2046 * testsuite/28_regex/07_traits: To...
2047 * testsuite/28_regex/traits: ... this.
2048 * testsuite/28_regex/08_basic_regex: To...
2049 * testsuite/28_regex/basic_regex: ... this.
2050 * testsuite/28_regex/09_sub_match: To...
2051 * testsuite/28_regex/sub_match: ... this.
2052 * testsuite/28_regex/10_match_results: To...
2053 * testsuite/28_regex/match_results: ... this.
2054 * testsuite/28_regex/11_algorithms: To...
2055 * testsuite/28_regex/algorithms: ... this.
2056 * testsuite/28_regex/12_iterators: To...
2057 * testsuite/28_regex/iterators: ... this.
2059 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2062 * include/bits/c++config: Do not use alternative token.
2063 * testsuite/17_intro/headers/c++1998/operator_names.cc: New.
2065 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2067 * src/future.cc (future_error_category::message): Handle no_state.
2069 2011-02-10 Paolo Carlini <paolo.carlini@oracle.com>
2071 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Do
2072 not test in C++0x mode.
2073 * testsuite/23_containers/map/modifiers/erase/47628.cc: Likewise.
2074 * testsuite/20_util/headers/utility/synopsis.cc: Tweak to work
2077 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2079 * doc/xml/manual/status_cxx200x.xml: Update.
2080 * doc/html/*: Regenerate.
2082 2011-02-10 Jonathan Wakely <jwakely.gcc@gmail.com>
2084 * doc/xml/manual/debug.xml: Improve data race docs.
2086 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2089 * include/debug/map.h (map): Remove unnecessary using-declaration.
2090 * include/debug/multimap.h (multimap): Likewise.
2091 * include/profile/map.h (map): Likewise.
2092 * include/profile/multimap.h (multimap): Likewise.
2094 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2097 * libsupc++/guard.cc (recursive_init_error::~recursive_init_error):
2099 * libsupc++/guard_error.cc: ... new file.
2100 * libsupc++/Makefile.am: Update.
2101 * libsupc++/Makefile.in: Regenerate.
2103 2011-02-09 Jonathan Wakely <jwakely.gcc@gmail.com>
2105 * include/std/future (packaged_task::operator bool): Rename to...
2106 (packaged_task::valid): ...this.
2107 * testsuite/30_threads/packaged_task/cons/1.cc: Adjust.
2108 * testsuite/30_threads/packaged_task/cons/2.cc: Adjust.
2109 * testsuite/30_threads/packaged_task/cons/move.cc: Adjust.
2110 * testsuite/30_threads/packaged_task/cons/move_assign.cc: Adjust.
2111 * testsuite/30_threads/packaged_task/cons/alloc.cc: Adjust.
2112 * testsuite/30_threads/packaged_task/members/invoke.cc: Adjust.
2113 * testsuite/30_threads/packaged_task/members/reset.cc: Adjust.
2114 * testsuite/30_threads/packaged_task/members/reset2.cc: Adjust.
2115 * testsuite/30_threads/packaged_task/members/swap.cc: Adjust.
2116 * testsuite/30_threads/packaged_task/members/boolconv.cc: Remove.
2117 * testsuite/30_threads/packaged_task/members/valid.cc: Add.
2119 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2121 * doc/xml/manual/io.xml: Fix typo.
2122 * doc/html/manual/streambufs.html: Likewise.
2124 2011-02-09 Paolo Carlini <paolo.carlini@oracle.com>
2126 * config/abi/pre/gnu.ver: Fix.
2128 2011-02-08 Benjamin Kosnik <bkoz@redhat.com>
2130 * doc/xml/manual/appendix_porting.xml: Add doc section.
2131 * doc/xml/manual/appendix_contributing.xml: Split out doc bits to...
2132 * doc/xml/manual/documentation_hacking.xml: ...here.
2134 * doc/xml/manual/debug_mode.xml: Adjust.
2135 * doc/xml/manual/prerequisites.xml: Adjust.
2136 * doc/Makefile.am (xml_sources): Add dot files,
2137 documentation_hacking.xml.
2138 * doc/Makefile.in: Regenerate.
2140 * doc/xml/manual/build_hacking.xml: Use absolute paths for images.
2141 * doc/xml/images/confdeps.pdf: Add.
2143 * doc/html/*: Regenerate.
2145 2011-02-08 Jonathan Wakely <jwakely.gcc@gmail.com>
2147 * doc/xml/gnu/fdl-1.2.xml: Remove.
2148 * doc/xml/gnu/gpl-2.0.xml: Remove.
2149 * doc/Makefile.am: Update.
2150 * doc/Makefile.in: Regenerate.
2152 2011-02-07 Paolo Carlini <paolo.carlini@oracle.com>
2155 * include/bits/stl_tree.h (_Rb_tree::erase(iterator), erase(iterator,
2156 iterator)): Add back in C++03 mode.
2157 * testsuite/23_containers/map/modifiers/erase/47628.cc: New.
2158 * testsuite/23_containers/multimap/modifiers/erase/47628.cc: Likewise.
2160 2011-02-07 Benjamin Kosnik <bkoz@redhat.com>
2162 PR libstdc++/47560 try two
2163 * config/os/hpux/os_defines.h: Guard for C++.
2165 2011-02-07 Gerald Pfeifer <gerald@pfeifer.com>
2167 * doc/xml/faq.xml: Adjust link to bug database.
2168 Remove old item on broken header files.
2170 2011-02-04 Benjamin Kosnik <bkoz@redhat.com>
2172 * include/bits/regex_error.h (__throw_regex_error): Not inline.
2173 * src/functexcept.cc: Add definition.
2174 * config/abi/pre/gnu.ver: Export.
2176 2011-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
2178 * crossconfig.m4 (GLIBCXX_CROSSCONFIG): Add *-rtems*.
2179 * configure: Regenerate.
2181 2011-02-01 Paolo Carlini <paolo.carlini@oracle.com>
2184 * include/bits/atomic_0.h (_ATOMIC_STORE_, _ATOMIC_MODIFY_,
2185 _ATOMIC_CMPEXCHNG_): Rename __v -> __w, and __m -> __n, to
2186 avoid name conflicts.
2188 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2191 * config/os/hpux/os_defines.h: Remove use of macros on namespace.
2193 2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
2195 * scripts/run_doxygen: Allow doxygen 1.7.0 again.
2196 * doc/doxygen/user.cfg.in (PDF_HYPERLINKS): Re-enable.
2197 (COMPACT_LATEX): Enable.
2199 * include/profile/impl/profiler_container_size.h: Adjust doxygen markup.
2200 * include/profile/impl/profiler_hash_func.h: Same.
2201 * include/bits/hashtable.h: Same.
2202 * include/backward/auto_ptr.h: Same.
2203 * include/backward/strstream: Same.
2204 * include/backward/backward_warning.h: Same.
2205 * include/backward/binders.h: Same.
2207 2011-02-01 Gerald Pfeifer <gerald@pfeifer.com>
2209 * doc/xml/manual/debug.xml: Use GDB instead of gdb.
2210 Adjust link to GDB manual.
2212 2011-01-31 Benjamin Kosnik <bkoz@redhat.com>
2214 * include/bits/c++config (_GLIBCXX_DEPRECATED): To
2215 _GLIBCXX_USE_DEPRECATED.
2216 (_GLIBCXX_DEPRECATED_ATTR): To _GLIBCXX_DEPRECATED.
2217 * doc/xml/manual/using.xml: Same.
2218 * include/std/memory: Same.
2219 * include/std/streambuf: Same.
2220 * include/bits/shared_ptr.h: Same.
2221 * include/bits/unique_ptr.h: Same.
2222 * include/bits/shared_ptr_base.h: Same.
2223 * include/bits/stl_function.h: Same.
2224 * include/tr1/shared_ptr.h: Same.
2225 * include/backward/auto_ptr.h: Same.
2226 * include/backward/binders.h: Same.
2228 2011-01-31 Paolo Carlini <paolo.carlini@oracle.com>
2230 * doc/html/ext/lwg-active.html: Update to Revision D73.
2231 * doc/html/ext/lwg-closed.html: Likewise.
2232 * doc/html/ext/lwg-defects.html: Likewise.
2233 * doc/xml/manual/intro.xml: Update status of issues 408, 539, 865.
2235 2011-01-30 Benjamin Kosnik <bkoz@redhat.com>
2237 PR libstdc++/36104 part four
2238 * include/bits/c++config (_GLIBCXX_STD): Remove.
2239 (_GLIBCXX_STD_D, _GLIBCXX_PR): Now _GLIBCXX_STD_C.
2240 (_GLIBCXX_P): Now _GLIBCXX_STD_A.
2241 (_GLIBCXX_NAMESPACE_DEBUG, _GLIBCXX_NAMESPACE_PARALLEL,
2242 _GLIBCXX_NAMESPACE_PROFILE, _GLIBCXX_NAMESPACE_VERSION): Remove.
2243 (_GLIBCXX_INLINE_DEBUG, _GLIBCXX_INLINE_PARALLEL,
2244 _GLIBCXX_INLINE_PROFILE): Remove.
2245 (_GLIBCXX_BEGIN_NAMESPACE(X)): Remove.
2246 (_GLIBCXX_END_NAMESPACE): Remove.
2247 (_GLIBCXX_BEGIN_NESTED_NAMESPACE(X, Y)): Remove.
2248 (_GLIBCXX_END_NESTED_NAMESPACE): Remove.
2249 (_GLIBCXX_BEGIN_NAMESPACE_ALGO): Add.
2250 (_GLIBCXX_END_NAMESPACE_ALGO): Add.
2251 (_GLIBCXX_BEGIN_NAMESPACE_CONTAINER): Add.
2252 (_GLIBCXX_END_NAMESPACE_CONTAINER): Add.
2253 (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Add.
2254 (_GLIBCXX_END_NAMESPACE_VERSION): Add.
2255 (_GLIBCXX_BEGIN_LDBL_NAMESPACE): To _GLIBCXX_BEGIN_NAMESPACE_LDBL.
2256 (_GLIBCXX_END_LDBL_NAMESPACE): To _GLIBCXX_END_NAMESPACE_LDBL.
2257 (_GLIBCXX_VISIBILITY_ATTR): Revert to _GLIBCXX_VISIBILITY.
2258 * include/*: Use new macros for namespace scope.
2262 * src/Makefile.am (sources): Remove debug_list.cc, add
2263 compatibility-debug_list-2.cc.
2264 (parallel_sources): Remove parallel_list.cc, add
2265 compatibility-parallel_list-2.cc.
2266 (compatibility-parallel_list-2.[o,lo]): New rule.
2267 * src/Makefile.in: Regenerate.
2268 * src/debug_list.cc: Remove.
2269 * src/parallel_list.cc: Remove.
2270 * src/compatibility-list-2.cc: New.
2271 * src/compatibility-debug_list-2.cc: New.
2272 * src/compatibility-parallel_list-2.cc: New.
2274 * doc/doxygen/user.cfg.in: Adjust macros.
2276 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust line numbers, macros.
2277 * testsuite/20_util/declval/requirements/1_neg.cc: Same.
2278 * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Same.
2279 * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Same.
2280 * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Same.
2281 * testsuite/20_util/forward/c_neg.cc: Same.
2282 * testsuite/20_util/forward/f_neg.cc: Same.
2283 * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same.
2284 * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same.
2285 * testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Same.
2286 * testsuite/20_util/ratio/operations/ops_overflow_neg.cc: Same.
2287 * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Same.
2288 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
2289 * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same.
2290 * testsuite/23_containers/deque/requirements/dr438/
2291 constructor_1_neg.cc: Same.
2292 * testsuite/23_containers/deque/requirements/dr438/
2293 constructor_2_neg.cc: Same.
2294 * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
2295 * testsuite/23_containers/forward_list/capacity/1.cc: Same.
2296 * testsuite/23_containers/forward_list/requirements/dr438/
2297 assign_neg.cc: Same.
2298 * testsuite/23_containers/forward_list/requirements/dr438/
2299 constructor_1_neg.cc: Same.
2300 * testsuite/23_containers/forward_list/requirements/dr438/
2301 constructor_2_neg.cc: Same.
2302 * testsuite/23_containers/forward_list/requirements/dr438/
2303 insert_neg.cc: Same.
2304 * testsuite/23_containers/list/capacity/29134.cc: Same.
2305 * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same.
2306 * testsuite/23_containers/list/requirements/dr438/
2307 constructor_1_neg.cc: Same.
2308 * testsuite/23_containers/list/requirements/dr438/
2309 constructor_2_neg.cc: Same.
2310 * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
2311 * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
2312 * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Same.
2313 * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Same.
2314 * testsuite/23_containers/vector/requirements/dr438/
2315 constructor_1_neg.cc: Same.
2316 * testsuite/23_containers/vector/requirements/dr438/
2317 constructor_2_neg.cc: Same.
2318 * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
2319 * testsuite/25_algorithms/sort/35588.cc: Same.
2320 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
2321 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2322 * testsuite/ext/profile/mutex_extensions_neg.cc: Same.
2323 * testsuite/ext/profile/profiler_algos.cc: Same.
2324 * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Same.
2325 * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Same.
2326 * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Same.
2327 * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Same.
2328 * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same.
2330 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2332 * doc/xml/manual/abi.xml: Adjust link to C++ ABI specification.
2333 Improve description of one such reference.
2335 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
2337 * doc/xml/manual/codecvt.xml: Fix link to The Austin Common
2338 Standards Revision Group.
2339 * doc/xml/manual/locale.xml: Ditto.
2340 * doc/xml/manual/messages.xml: Ditto.
2341 * doc/xml/manual/using_exceptions.xml: Ditto.
2343 2011-01-28 Paolo Carlini <paolo.carlini@oracle.com>
2345 * include/bits/atomic_base.h: Do not include <stddef.h>.
2346 (kill_dependency): Uglify ret.
2348 2011-01-26 Johannes Singler <singler@kit.edu>
2350 * include/parallel/numeric (inner_product, partial_sum):
2351 Qualify subsequent call with __gnu_parallel instead of
2352 _GLIBCXX_STD_P to reenable parallel execution without ambiguity.
2353 * include/parallel/algobase.h (equal): Likewise.
2354 * include/parallel/algo.h (find_first_of, search_n, merge,
2355 nth_element, partial_sort, max_element, min_element): Likewise.
2356 * testsuite/25_algorithms/headers/algorithm/
2357 parallel_algorithm_mixed1.cc (main): Add respective test cases.
2358 * testsuite/25_algorithms/headers/algorithm/
2359 parallel_algorithm_mixed2.cc (main): Likewise.
2360 * testsuite/26_numerics/headers/numeric/
2361 parallel_numeric_mixed1.cc (main): Likewise.
2362 * testsuite/26_numerics/headers/numeric/
2363 parallel_numeric_mixed2.cc (main): Likewise.
2365 2011-01-24 Graham Reed <greed@pobox.com>
2368 * config/os/aix/ctype_inline.h (ctype<char>::is): Use _M_table if
2371 2011-01-24 Johannes Singler <singler@kit.edu>
2374 * include/parallel/losertree.h
2375 (_LoserTree<>::__delete_min_insert):
2376 Do not qualify swap with std:: for value type,
2377 but include a using directive instead.
2378 (_LoserTreeUnguarded<>::__delete_min_insert): Likewise.
2379 * include/parallel/balanced_quicksort.h (__qsb_divide):
2380 Use std::iter_swap instead of std::swap.
2381 (__qsb_local_sort_with_helping): Likewise.
2382 * include/parallel/partition.h (__parallel_partition):
2383 Likewise. (__parallel_nth_element): Likewise.
2385 2011-01-24 Johannes Singler <singler@kit.edu>
2388 * include/parallel/multiway_merge.h (_UnguardedIterator):
2389 Remove useless "mutable" from reference declaration.
2391 2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
2393 * include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
2394 * include/debug/safe_sequence.h: Same.
2395 * include/debug/safe_iterator.h: Same.
2396 * include/std/forward_list: Same.
2397 * include/std/deque: Same.
2398 * include/std/list: Same.
2399 * include/std/random: Same.
2400 * include/std/streambuf: Same.
2401 * include/std/fstream: Same.
2402 * include/std/istream: Same.
2403 * include/std/string: Same.
2404 * include/std/ostream: Same.
2405 * include/std/sstream: Same.
2406 * include/ext/vstring.h: Same.
2407 * include/bits/basic_ios.h: Same.
2408 * include/bits/locale_classes.h: Same.
2409 * include/bits/locale_facets.h: Same.
2410 * include/bits/valarray_array.h: Same.
2411 * include/bits/locale_facets_nonio.h: Same.
2412 * include/tr1/random: Same.
2414 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2416 * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
2418 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2420 PR libstdc++/36104 part three
2421 * src/hashtable_c++0x.cc: Adjust namespace macros.
2422 * testsuite/util/testsuite_rvalref.h: Don't forward declare hash.
2423 * config/abi/pre/gnu-versioned-namespace.ver: Update.
2425 2011-01-20 Benjamin Kosnik <bkoz@redhat.com>
2427 * include/ext/pb_ds/detail/resize_policy/
2428 hash_load_check_resize_trigger_imp.hpp: Adjust assert condition.
2429 * include/ext/pb_ds/detail/pat_trie_/
2430 constructors_destructor_fn_imps.hpp: Same.
2431 * include/ext/pb_ds/detail/binary_heap_/erase_fn_imps.hpp: Format.
2432 * include/ext/pb_ds/detail/ov_tree_map_/debug_fn_imps.hpp: Same.
2433 * include/ext/pb_ds/detail/debug_map_base.hpp: Use never_adjustor.
2435 * testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Adjust
2436 iterations downward when testing in debug mode.
2437 * testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.
2438 * testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
2439 * testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
2440 * testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
2441 * testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: Same.
2442 * testsuite/ext/pb_ds/example/hash_illegal_resize.cc: Use SIZE,
2443 reduce in debug mode.
2445 2011-01-19 Benjamin Kosnik <bkoz@redhat.com>
2447 PR libstdc++/36104 part two
2448 * include/bits/hashtable.h: Revert to non-nested macro usage.
2449 * include/bits/hashtable_policy.h: Same.
2451 2011-01-19 Graham Reed <greed@pobox.com>
2454 * src/bitmap_allocator.cc (free_list::_M_get): Lock mutex.
2456 2011-01-18 Benjamin Kosnik <bkoz@redhat.com>
2458 * doc/xml/images/confdeps.png: Regenerate.
2460 * include/std/chrono (duration): Mark copy constructor constexpr.
2461 * testsuite/20_util/duration/cons/constexpr.cc: Add test.
2463 2011-01-18 Paolo Carlini <paolo.carlini@oracle.com>
2465 * include/bits/unique_ptr.h (default_delete<>::default_delete()):
2466 Declare defaulted per DR 1517.
2467 * testsuite/util/testsuite_common_types.h
2468 (constexpr_defaulted_default_constructible): Add.
2469 * testsuite/20_util/default_delete/cons/constexpr.cc: Use it.
2471 2011-01-17 Paolo Carlini <paolo.carlini@oracle.com>
2473 * include/bits/stl_queue.h (queue<>::swap, priority_queue<>::swap):
2475 * include/bits/stl_stack.h (stack<>::swap): Likewise.
2477 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2480 * testsuite/28_regex/08_basic_regex/requirements/constexpr_data.cc:
2481 Only test wregex when _GLIBCXX_USE_WCHAR_T is defined.
2483 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2486 * testsuite/18_support/numeric_limits/lowest.cc:
2487 Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
2489 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
2492 * testsuite/21_strings/basic_string/requirements/typedefs.cc:
2493 Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
2495 2011-01-16 François Dumont <francois.cppdevs@free.fr>
2497 * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
2498 to this. Use _neg suffix.
2499 * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
2501 * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
2503 * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
2504 * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
2506 * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
2507 * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
2509 * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
2510 * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
2512 * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
2513 * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
2515 * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
2516 * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
2518 * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
2519 * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
2521 * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
2522 * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
2524 * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
2525 * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
2527 * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
2528 * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
2530 * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
2531 * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
2533 * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
2534 * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
2536 * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
2537 * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
2539 * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
2540 * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
2542 * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
2543 * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
2545 * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
2547 2011-01-14 Benjamin Kosnik <bkoz@redhat.com>
2550 * include/Makefile.am (bits_sup_headers, stamp-bits-sup): New.
2551 * include/Makefile.in: Regenerate.
2552 * libsupc++/Makefile.am (std_HEADERS, bits_HEADERS): New.
2553 (install-stdHEADERS, install-bitsHEADERS): New.
2554 * libsupc++/Makefile.in: Regenerate.
2556 * include/bits/c++config: Update for inline namespaces.
2557 * libsupc++/cxxabi-forced.h: To...
2558 * libsupc++/cxxabi_forced.h: ...this.
2559 * libsupc++/hash_bytes.h: Separate file.
2560 * libsupc++/typeinfo: Use it.
2561 * libsupc++/exception: Adjust for bits subdirectory.
2562 * libsupc++/eh_aux_runtime.cc: Same.
2563 * libsupc++/eh_ptr.cc: Same.
2564 * libsupc++/new_op.cc: Same.
2565 * libsupc++/exception_defines.h: Same.
2566 * libsupc++/nested_exception.h: Same.
2567 * libsupc++/eh_terminate.cc: Same.
2568 * libsupc++/vec.cc: Same.
2569 * libsupc++/vterminate.cc: Same.
2570 * libsupc++/exception_ptr.h: Same.
2571 * libsupc++/eh_personality.cc: Same.
2572 * libsupc++/eh_call.cc: Same.
2573 * libsupc++/new_opnt.cc: Same.
2574 * libsupc++/hash_bytes.cc: Same.
2575 * config/cpu/arm/cxxabi_tweaks.h: Same.
2576 * config/cpu/generic/cxxabi_tweaks.h: Same.
2577 * libsupc++/cxxabi.h: Same. Consolidate _GLIBCXX_NOTHROW defines.
2578 * include/std/bitset: Same.
2579 * include/ext/vstring.tcc: Same.
2580 * include/bits/hashtable.h: Same.
2581 * include/bits/functional_hash.h: Same.
2582 * include/bits/hashtable_policy.h: Same.
2583 * include/bits/basic_string.h: Same.
2584 * include/bits/istream.tcc: Same.
2585 * include/bits/ostream.tcc: Same.
2586 * include/bits/algorithmfwd.h: Same.
2587 * include/bits/basic_string.tcc: Same.
2588 * include/bits/ostream_insert.h: Same.
2589 * include/bits/fstream.tcc: Same.
2590 * include/bits/functexcept.h: Same.
2592 * doc/doxygen/user.cfg.in: Adjust names.
2594 * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2596 2011-01-14 Paolo Carlini <paolo.carlini@oracle.com>
2598 * testsuite/25_algorithms/is_permutation/check_type.cc: Minor
2600 * testsuite/25_algorithms/is_permutation/1.cc: Cosmetic changes.
2602 2011-01-13 Paolo Carlini <paolo.carlini@oracle.com>
2604 * testsuite/25_algorithms/is_permutation/check_type.cc: New.
2605 * testsuite/25_algorithms/is_permutation/requirements/
2606 explicit_instantiation/2.cc: Likewise.
2607 * testsuite/25_algorithms/is_permutation/requirements/
2608 explicit_instantiation/pod.cc: Likewise.
2609 * testsuite/25_algorithms/is_permutation/1.cc: Likewise.
2611 2011-01-13 John Lakos <jlakos@bloomberg.net>
2612 Pablo Halpern <phalpern@halpernwightsoftware.com>
2613 Paolo Carlini <paolo.carlini@oracle.com>
2615 * include/bits/stl_algo.h (is_permutation): Add, per N3068.
2616 * include/bits/algorithmfwd.h: Add.
2618 2011-01-13 Jonathan Wakely <jwakely.gcc@gmail.com>
2621 * config/os/bsd/netbsd/ctype_base.h: Use new macros based on version.
2623 2011-01-11 Paolo Carlini <paolo.carlini@oracle.com>
2625 * aclocal.m4: Regenerate.
2627 2011-01-06 Paolo Carlini <paolo.carlini@oracle.com>
2630 * src/placeholders.cc: New.
2631 * src/Makefile.am: Adjust.
2632 * src/Makefile.in: Regenerate.
2633 * include/std/functional (placeholders::_1, _2, ..., _29): Declare
2635 * config/abi/pre/gnu.ver: Export.
2637 2011-01-05 François Dumont <francois.cppdevs@free.fr>
2639 * include/debug/safe_base.h (_Safe_iterator_base::_M_unlink): New.
2640 * include/src/debug.cc: Use latter
2641 * include/debug/forward_list (forward_list<>::_M_swap): Fix to
2642 correctly handle before_begin iterators.
2643 * testsuite/23_containers/forward_list/debug/swap.cc: Remove now
2644 useless _GLIBCXX_DEBUG checks.
2646 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
2649 * configure.ac (AC_CHECK_FILE): Replaced by test -f.
2650 * configure: Regenerated.
2652 2011-01-03 Paolo Carlini <paolo.carlini@oracle.com>
2655 * config/abi/pre/gnu.ver: Export std::bad_function_call symbols.
2658 Copyright (C) 2011 Free Software Foundation, Inc.
2660 Copying and distribution of this file, with or without modification,
2661 are permitted in any medium without royalty provided the copyright
2662 notice and this notice are preserved.