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