OSDN Git Service

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