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