]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/ChangeLog
testsuite_hooks.h (test_tm(unsigned)): Change to take all the tm members.
[thirdparty/gcc.git] / libstdc++-v3 / ChangeLog
1 2006-01-05 Paolo Carlini <pcarlini@suse.de>
2
3 * testsuite/testsuite_hooks.h (test_tm(unsigned)): Change to
4 take all the tm members.
5 * testsuite/testsuite_hooks.cc (test_tm): Adjust.
6 * testsuite/22_locale/time_put/put/wchar_t/10.cc: Update.
7 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
8 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
9 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
10 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
11 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
12 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
13 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
14 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
15 * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
16 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
17 * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
18 * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
19 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
20 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
21 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
22 * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
23 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
24 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
25 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
26 * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
27 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
28 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
29 * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
30 * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
31 * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
32 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
33 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
34 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
35 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
36 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
37 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
38 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
39 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
40 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
41 * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
42 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
43 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
44 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
45 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
46 * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
47 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
48 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
49 * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
50 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
51 * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
52 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
53 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
54 * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
55 * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
56 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
57 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
58 * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
59 * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
60
61 2006-01-05 Paolo Carlini <pcarlini@suse.de>
62
63 * testsuite/testsuite_hooks.h (test_tm(unsigned)): New.
64 * testsuite/testsuite_hooks.cc (test_tm(unsigned)): Define.
65 * testsuite/22_locale/time_put/put/wchar_t/10.cc: Use it.
66 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
67 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
68 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
69 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
70 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
71 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
72 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
73 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
74 * testsuite/22_locale/time_put/put/wchar_t/9.cc: Likewise.
75 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
76 * testsuite/22_locale/time_put/put/char/10.cc: Likewise.
77 * testsuite/22_locale/time_put/put/char/1.cc: Likewise.
78 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
79 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
80 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
81 * testsuite/22_locale/time_put/put/char/5.cc: Likewise.
82 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
83 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
84 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
85 * testsuite/22_locale/time_put/put/char/9.cc: Likewise.
86 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
87 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Likewise.
88 * testsuite/22_locale/time_get/get_year/wchar_t/3.cc: Likewise.
89 * testsuite/22_locale/time_get/get_year/char/1.cc: Likewise.
90 * testsuite/22_locale/time_get/get_year/char/3.cc: Likewise.
91 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
92 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
93 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Likewise.
94 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
95 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
96 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
97 * testsuite/22_locale/time_get/get_weekday/wchar_t/3.cc: Likewise.
98 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
99 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
100 * testsuite/22_locale/time_get/get_weekday/char/3.cc: Likewise.
101 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
102 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
103 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Likewise.
104 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
105 * testsuite/22_locale/time_get/get_date/wchar_t/3.cc: Likewise.
106 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
107 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
108 * testsuite/22_locale/time_get/get_date/char/1.cc: Likewise.
109 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
110 * testsuite/22_locale/time_get/get_date/char/3.cc: Likewise.
111 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
112 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
113 * testsuite/22_locale/time_get/get_time/wchar_t/3.cc: Likewise.
114 * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
115 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
116 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
117 * testsuite/22_locale/time_get/get_time/char/3.cc: Likewise.
118 * testsuite/22_locale/time_get/get_time/char/4.cc: Likewise.
119
120 2006-01-04 Paolo Carlini <pcarlini@suse.de>
121
122 * include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
123 Use _CharT_alloc_type as base class.
124 (_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
125 * include/ext/vstring.h (get_allocator): Tidy.
126
127 2006-01-04 Paolo Carlini <pcarlini@suse.de>
128
129 Implement Option 3 of DR 431 for all the containers.
130 * include/bits/allocator.h (struct __alloc_swap): Add, swaps
131 allocators, optimized to nothing in case they are empty.
132 * include/bits/stl_deque.h (deque<>::swap): Use it.
133 * include/bits/stl_list.h (list<>::swap): Likewise.
134 * include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
135 * include/bits/stl_vector.h (vector<>::swap): Likewise.
136 * include/tr1/hashtable (hashtable<>::swap): Likewise.
137 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
138 Likewise.
139 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
140 Likewise.
141 * include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
142 Clean-up (now vstring uses the generic __alloc_swap facility).
143 * include/tr1/unordered_map: Adjust includes.
144 * include/tr1/unordered_set: Likewise.
145 * docs/html/ext/howto.html: Add an entry for DR 431.
146 * testsuite/23_containers/deque/modifiers/swap.cc: Move to...
147 * testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.
148 * testsuite/23_containers/deque/modifiers/swap/2.cc: New.
149 * testsuite/23_containers/deque/modifiers/swap/3.cc: New.
150 * testsuite/23_containers/list/modifiers/swap.cc: Move to...
151 * testsuite/23_containers/list/modifiers/swap/1.cc: ... here.
152 * testsuite/23_containers/list/modifiers/swap/2.cc: New.
153 * testsuite/23_containers/list/modifiers/swap/3.cc: New.
154 * testsuite/23_containers/vector/modifiers/swap.cc: Move to...
155 * testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.
156 * testsuite/23_containers/vector/modifiers/swap/2.cc: New.
157 * testsuite/23_containers/vector/modifiers/swap/3.cc: New.
158 * testsuite/23_containers/set/modifiers/swap.cc: Move to...
159 * testsuite/23_containers/set/modifiers/swap/1.cc: ... here.
160 * testsuite/23_containers/set/modifiers/swap/2.cc: New.
161 * testsuite/23_containers/set/modifiers/swap/3.cc: New.
162 * testsuite/23_containers/map/modifiers/swap.cc: Move to...
163 * testsuite/23_containers/map/modifiers/swap/1.cc: ... here.
164 * testsuite/23_containers/map/modifiers/swap/2.cc: New.
165 * testsuite/23_containers/map/modifiers/swap/3.cc: New.
166 * testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
167 * testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.
168 * testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
169 * testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
170 * testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
171 * testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.
172 * testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
173 * testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
174 * testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.
175 * testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
176 * testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.
177 * testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
178 * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.
179 * testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
180 * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.
181 * testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.
182
183 2006-01-03 Paolo Carlini <pcarlini@suse.de>
184
185 * include/bits/stl_list.h (_List_base<>::_M_get_Node_allocator): Add.
186 (_M_get_Tp_allocator, get_allocator): Tidy.
187 (list<>::list(const list&), insert(iterator, size_type, const
188 value_type&), insert(iterator, _InputIterator, _InputIterator)):
189 Use _M_get_Node_allocator.
190 * include/bits/stl_tree.h (_Rb_tree<>::_M_get_Node_allocator()): Add.
191 (_Rb_tree(const _Rb_tree<>&): Use it.
192 * include/bits/stl_deque.h (_Deque_base<>::_M_get_map_allocator,
193 get_allocator): Tidy.
194 * include/bits/stl_vector.h (_Vector_base<>::get_allocator): Tidy.
195 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
196 line numbers.
197 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
198
199 * testsuite/testsuite_allocator.h (uneq_allocator<>::swap): Fix.
200
201 * testsuite/testsuite_allocator.h (class uneq_allocator): A simple
202 non-empty testing allocator which can be endowed of a "personality"
203 at construction time.
204
205 2006-01-03 Paolo Carlini <pcarlini@suse.de>
206
207 * testsuite/27_io/basic_stringstream/str/char/1.cc: Initialize vars.
208 * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
209 * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise, tidy.
210 * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
211
212 2006-01-02 Mark Mitchell <mark@codesourcery.com>
213
214 * src/Makefile.am (LTLDFLAGS): New variable.
215 (CXXLINK): Use LTLDFLAGS.
216 * src/Makefile.in: Regenerated.
217 * libsupc++/Makefile.am (LTLDFLAGS): New variable.
218 (CXXLINK): Use LTLDFLAGS.
219 * libsupc++/Makefile.in: Regenerated.
220
221 2006-01-02 Paolo Carlini <pcarlini@suse.de>
222
223 PR libstdc++/24645
224 * include/std/std_istream.h (basic_istream<>::_M_extract): New.
225 (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
226 operator>>(int&), operator>>(unsigned int&), operator>>(long&),
227 operator>>(unsigned long&), operator>>(long long&), operator>>
228 (unsigned long long&), operator>>(float&), operator>>(double&),
229 operator>>(long double&), operator>>(void*&)): Use it.
230 * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
231 * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
232 (operator<<(long), operator<<(unsigned long), operator<<(bool),
233 operator<<(short), operator<<(unsigned short), operator<<(int),
234 operator<<(unsigned int), operator<<(long long), operator<<
235 (unsigned long long), operator<<(double), operator<<(float),
236 operator<<(long double), operator<<(const void*): Use it.
237 * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
238 * src/istream-inst.cc: Add _M_extract instantiations.
239 * src/ostream-inst.cc: Add _M_insert instantiations.
240 * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
241 detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
242 money_put, etc., symbols to avoid exporting _M_insert symbols
243 @GLIBCXX_3.4.
244
245 2005-12-28 Paolo Carlini <pcarlini@suse.de>
246
247 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 40.
248
249 2005-12-28 Chris Jefferson <chris@bubblescope.net>
250
251 * testsuite/testsuite_allocator.h (check_deallocate_null): Return true.
252
253 2005-12-28 Paolo Carlini <pcarlini@suse.de>
254
255 * include/std/std_bitset.h (bitset<>::_M_copy_from_string,
256 bitset<>::_M_copy_to_string, bitset<>::operator>>): Reverse loop.
257
258 * testsuite/25_algorithms/heap/heap.cc (test01): Always enable
259 complexity checks.
260 * testsuite/18_support/numeric_limits/specialization.cc: Avoid
261 unused parameter warning.
262 * testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
263 warning.
264 * testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
265 string.
266 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
267 * testsuite/ext/array_allocator/2.cc: Remove unused variable.
268 * testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
269 warnings.
270 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
271 instantiate.
272 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
273 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
274 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
275 Likewise.
276 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
277 Likewise.
278 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
279 Avoid unused variable warnings.
280 * testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
281 Likewise.
282 * testsuite/thread/18185.cc: Likewise.
283 * testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
284 between signed and unsigned warning.
285 * testsuite/27_io/types/1.cc: Avoid unused variable warnings.
286 * testsuite/testsuite_allocator.h (check_new): Likewise.
287 (check_deallocate_null): Adjust return type.
288 * testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
289 variable warnings.
290 * testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
291 variable warning.
292
293 2005-12-28 Chris Jefferson <chris@bubblescope.net>
294
295 * include/std/std_bitset.h (bitset<0>::set, bitset<0>::reset,
296 bitset<0>::flip, bitset<0>::test): Add inline specializations for
297 bitset<0>.
298
299 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
300 (test01): Add static cast.
301 * testsuite/tr1/6_containers/unordered/insert/set_range.cc
302 (test01): Likewise.
303 * testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
304 NonDefaultConstructible), operator<(NonDefaultConstructible,
305 NonDefaultConstrictible)): Avoid unused parameter warning.
306
307 2005-12-26 Chris Jefferson <chris@bubblescope.net>
308
309 * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove
310 name of unused parameter.
311 * include/bits/stream_iterator.h (istream_iterator::istream_iterator):
312 Construct _M_value.
313 * include/debug/functions.h (__check_valid_range): Add
314 __attribute__((unused)).
315 * include/tr1/hashtable (hashtable::end): Remove name of unused
316 parameter.
317 * include/tr1/tuple_iterate.h (tuple::tuple): Likewise.
318 (tuple::operator=): Add __attribute__((unused)).
319 * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast.
320 (Fnv_hash<8>::hash): Likewise.
321
322 * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of
323 unused parameter.
324 * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2):
325 Likewise.
326 * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise.
327 * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is,
328 Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is,
329 Derived2::do_scan_is, Derived2::do_scan_not): Likewise.
330 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put):
331 Likewise.
332 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put):
333 Likewise.
334 * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put):
335 Likewise.
336 * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put):
337 Likewise.
338 * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put):
339 Likewise.
340 * testsuite/25_algorithms/find/17441.cc (find): Likewise.
341 * testsuite/23_containers/vector/cons/clear_allocator.cc
342 (clear_alloc::clear_alloc): Likewise.
343 * testsuite/23_containers/vector/bool/clear_allocator.cc
344 (clear_alloc::clear_alloc): Likewise.
345 * testsuite/23_containers/list/cons/clear_allocator.cc
346 (clear_alloc::clear_alloc): Likewise.
347 * testsuite/23_containers/set/modifiers/16728.cc (test_container):
348 Likewise.
349 * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type,
350 to_int_type): Likewise.
351 * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in,
352 do_unshift, do_length): Likewise.
353 * testsuite/21_strings/basic_string/capacity/1.cc
354 (operator==(A<T>,A<T>), operator<(A<T>,A<T>),
355 char_traits::to_char_type, char_traits::to_int_type): Likewise
356 * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is,
357 ctype::do_scan_not, do_toupper, do_tolower): Likewise.
358 * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=):
359 Add missing return statement.
360 * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=):
361 Likewise.
362 * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=,
363 random_access_iterator_wrapper::operator==): Likewise.
364 * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const,
365 s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise.
366 * testsuite/27_io/types/1.cc (test01): Likewise.
367 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise.
368 * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise.
369 * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise.
370 * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static
371 cast.
372 * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise.
373 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise.
374 * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise.
375 * testsuite/testsuite_allocator.h (check_new): Likewise.
376 (check_deallocate_null): Add missing return value.
377 * testsuite/ext/pool_allocator/allocate_chunk.cc (test01):
378 Make variable unsigned.
379 * testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4,
380 N5,test01): Likewise.
381 * testsuite/26_numerics/valarray/valarray_subset_assignment.cc
382 (check_array): Likewise.
383 (main): Removed unused variable.
384 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05):
385 Removed unused variable.
386 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise.
387 * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise.
388 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise.
389 * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise.
390 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise.
391 * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise.
392 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
393 assign/shared_ptr.cc (test01): Correct return type.
394 * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02):
395 Add default value to close_num.
396
397 2005-12-24 Paolo Carlini <pcarlini@suse.de>
398
399 * include/bits/stl_algobase.h (fill(const _Deque_iterator&,
400 const _Deque_iterator&, const _Tp&)): Deal, correctly, only
401 with iterators (leave const_iterators alone).
402
403 2005-12-24 Paolo Carlini <pcarlini@suse.de>
404
405 * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
406 const _Deque_iterator<>&, const _Tp&)): Add.
407
408 * testsuite/23_containers/deque/cons/assign/1.cc: New.
409
410 2005-12-19 Paolo Carlini <pcarlini@suse.de>
411
412 * include/bits/stl_deque.h (deque<>::resize, _M_fill_assign):
413 Avoid troubles with ADL, user defined operators and _Deque_iterator.
414 (operator-(const _Deque_iterator<>&, const _Deque_iterator<>&):
415 Add overload for left and right iterators of the same type.
416 * include/bits/deque.tcc (erase(iterator)): Avoid troubles with ADL,
417 user defined operators and _Deque_iterator.
418 * testsuite/23_containers/deque/types/1.cc: Add.
419
420 * include/bits/deque.tcc (_M_insert_aux(iterator, size_type,
421 const value_type&)): Qualify with std:: fill call.
422
423 2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
424
425 * include/bits/c++config: Add in revised namespace associations.
426 _GLIBCXX_BEGIN_NAMESPACE: New macro.
427 _GLIBCXX_END_NAMESPACE: Same.
428 _GLIBCXX_BEGIN_NESTED_NAMESPACE: Same.
429 _GLIBCXX_END_NESTED_NAMESPACE: Same.
430 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace.
431 * configure: Regenerated.
432 * config.h.in: Same.
433 * config/abi/pre/gnu-versioned-namespace.ver: New.
434 * config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested
435 debug mode items.
436 * include/Makefile.am (${host_builddir}/c++config.h): Fill in
437 values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION.
438 * include/Makefile.in: Regnerate.
439 * src/compatibility.cc: Alias new, nested definitions to exported
440 symbols from non-nested __gnu_debug.
441 * src/Makefile.am: Add in ENABLE_SYMVERS_GNU_NAMESPACE.
442 * src/Makefile.in: Regenerate.
443
444 * docs/html/debug_mode.html: Revise for nested design.
445 * docs/html/debug.html: Use debug qualifications instead of
446 __gnu_debug.
447 * docs/html/configopts.html: Revise documentation for
448 --enable-symvers.
449
450 * include/debug/formatter: Simplify namespace qualifications for
451 current, nested-only reality. Add top-level namespace alias,
452 namespace debug, for debug-mode containers.
453 * include/debug/safe_iterator.h: Same.
454 * include/debug/set.h: Same.
455 * include/debug/hash_multimap.h: Same.
456 * include/debug/hash_set.h: Same.
457 * include/debug/bitset
458 * include/debug/safe_sequence.h: Same.
459 * include/debug/multiset.h: Same.
460 * include/debug/safe_base.h: Same.
461 * include/debug/functions.h: Same.
462 * include/debug/safe_iterator.tcc
463 * include/debug/hash_multiset.h: Same.
464 * include/debug/vector
465 * include/debug/map.h: Same.
466 * include/debug/deque
467 * include/debug/hash_map.h: Same.
468 * include/debug/string
469 * include/debug/macros.h: Same.
470 * include/debug/list
471 * include/debug/debug.h: Same.
472 * include/debug/multimap.h: Same.
473 * src/debug.cc: Same.
474 * testsuite/23_containers/vector/invalidation/1.cc: Cleanups.
475 * testsuite/23_containers/vector/invalidation/2.cc: Same.
476 * testsuite/23_containers/vector/invalidation/3.cc: Same.
477 * testsuite/23_containers/vector/invalidation/4.cc: Same.
478 * testsuite/23_containers/deque/invalidation/1.cc: Same.
479 * testsuite/23_containers/deque/invalidation/2.cc: Same.
480 * testsuite/23_containers/deque/invalidation/3.cc: Same.
481 * testsuite/23_containers/deque/invalidation/4.cc: Same.
482 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
483 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
484 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
485 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
486 * testsuite/23_containers/bitset/invalidation/1.cc: Same.
487 * testsuite/23_containers/bitset/cons/16020.cc: Same.
488 * testsuite/23_containers/bitset/operations/13838.cc: Same.
489 * testsuite/23_containers/list/invalidation/1.cc: Same.
490 * testsuite/23_containers/list/invalidation/2.cc: Same.
491 * testsuite/23_containers/list/invalidation/3.cc: Same.
492 * testsuite/23_containers/list/invalidation/4.cc: Same.
493 * testsuite/23_containers/set/invalidation/1.cc: Same.
494 * testsuite/23_containers/set/invalidation/2.cc: Same.
495 * testsuite/23_containers/map/invalidation/1.cc: Same.
496 * testsuite/23_containers/map/invalidation/2.cc: Same.
497 * testsuite/23_containers/map/insert/16813.cc: Same.
498
499 * include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and
500 friends.
501 * include/bits/stl_list.h: Same.
502 * include/bits/stl_map.h: Same.
503 * include/bits/stl_algobase.h: Same.
504 * include/bits/localefwd.h: Same.
505 * include/bits/valarray_array.tcc: Same.
506 * include/bits/valarray_after.h: Same.
507 * include/bits/gslice_array.h: Same.
508 * include/bits/stl_queue.h: Same.
509 * include/bits/gslice.h: Same.
510 * include/bits/locale_facets.tcc: Same.
511 * include/bits/locale_classes.h: Same.
512 * include/bits/stl_set.h: Same.
513 * include/bits/locale_facets.h: Same.
514 * include/bits/stl_stack.h: Same.
515 * include/bits/stl_iterator_base_types.h: Same.
516 * include/bits/stl_heap.h: Same.
517 * include/bits/indirect_array.h: Same.
518 * include/bits/atomicity.h: Same.
519 * include/bits/stream_iterator.h: Same.
520 * include/bits/concurrence.h: Same.
521 * include/bits/basic_string.h: Same.
522 * include/bits/stl_multimap.h: Same.
523 * include/bits/stl_pair.h: Same.
524 * include/bits/basic_ios.tcc: Same.
525 * include/bits/stl_raw_storage_iter.h: Same.
526 * include/bits/stl_vector.h: Same.
527 * include/bits/stl_numeric.h: Same.
528 * include/bits/ios_base.h: Same.
529 * include/bits/stl_deque.h: Same.
530 * include/bits/istream.tcc: Same.
531 * include/bits/postypes.h: Same.
532 * include/bits/stl_multiset.h: Same.
533 * include/bits/mask_array.h: Same.
534 * include/bits/stl_uninitialized.h: Same.
535 * include/bits/ostream.tcc: Same.
536 * include/bits/slice_array.h: Same.
537 * include/bits/boost_concept_check.h: Same.
538 * include/bits/sstream.tcc: Same.
539 * include/bits/stl_iterator_base_funcs.h: Same.
540 * include/bits/char_traits.h: Same.
541 * include/bits/stl_algo.h: Same.
542 * include/bits/stringfwd.h: Same.
543 * include/bits/c++config
544 * include/bits/stl_iterator.h: Same.
545 * include/bits/valarray_array.h: Same.
546 * include/bits/stl_tempbuf.h: Same.
547 * include/bits/vector.tcc: Same.
548 * include/bits/deque.tcc: Same.
549 * include/bits/stl_bvector.h: Same.
550 * include/bits/basic_string.tcc: Same.
551 * include/bits/list.tcc: Same.
552 * include/bits/streambuf_iterator.h: Same.
553 * include/bits/valarray_before.h: Same.
554 * include/bits/stl_construct.h: Same.
555 * include/bits/stl_function.h: Same.
556 * include/bits/cpp_type_traits.h: Same.
557 * include/bits/streambuf.tcc: Same.
558 * include/bits/allocator.h: Same.
559 * include/bits/stl_tree.h: Same.
560 * include/bits/fstream.tcc: Same.
561 * include/bits/stl_relops.h: Same.
562 * include/bits/functexcept.h: Same.
563 * include/std/std_valarray.h: Same.
564 * include/std/std_iostream.h: Same.
565 * include/std/std_streambuf.h: Same.
566 * include/std/std_bitset.h: Same.
567 * include/std/std_iosfwd.h: Same.
568 * include/std/std_iomanip.h: Same.
569 * include/std/std_fstream.h: Same.
570 * include/std/std_limits.h: Same.
571 * include/std/std_stdexcept.h: Same.
572 * include/std/std_istream.h: Same.
573 * include/std/std_complex.h: Same.
574 * include/std/std_memory.h: Same.
575 * include/std/std_ostream.h: Same.
576 * include/std/std_sstream.h: Same.
577 * include/c_std/std_csignal.h: Same.
578 * include/c_std/std_cstdlib.h: Same.
579 * include/c_std/std_cstdio.h: Same.
580 * include/c_std/std_cstdarg.h: Same.
581 * include/c_std/std_cctype.h: Same.
582 * include/c_std/std_cmath.h: Same.
583 * include/c_std/std_ctime.h: Same.
584 * include/c_std/std_clocale.h: Same.
585 * include/c_std/std_csetjmp.h: Same.
586 * include/c_std/std_cwchar.h: Same.
587 * include/c_std/std_cstring.h: Same.
588 * include/c_std/std_cstddef.h: Same.
589 * include/c_std/std_cwctype.h: Same.
590 * include/backward/iterator.h: Same.
591 * include/backward/set.h: Same.
592 * include/backward/hashtable.h: Same.
593 * include/backward/fstream.h: Same.
594 * include/backward/tempbuf.h: Same.
595 * include/backward/istream.h: Same.
596 * include/backward/bvector.h: Same.
597 * include/backward/stack.h: Same.
598 * include/backward/rope.h: Same.
599 * include/backward/complex.h: Same.
600 * include/backward/ostream.h: Same.
601 * include/backward/heap.h: Same.
602 * include/backward/iostream.h: Same.
603 * include/backward/function.h: Same.
604 * include/backward/multimap.h: Same.
605 * include/backward/pair.h: Same.
606 * include/backward/stream.h: Same.
607 * include/backward/iomanip.h: Same.
608 * include/backward/strstream
609 * include/backward/slist.h: Same.
610 * include/backward/tree.h: Same.
611 * include/backward/vector.h: Same.
612 * include/backward/deque.h: Same.
613 * include/backward/multiset.h: Same.
614 * include/backward/list.h: Same.
615 * include/backward/map.h: Same.
616 * include/backward/algobase.h: Same.
617 * include/backward/hash_map.h: Same.
618 * include/backward/algo.h: Same.
619 * include/backward/queue.h: Same.
620 * include/backward/streambuf.h: Same.
621 * src/allocator-inst.cc: Same.
622 * src/complex_io.cc: Same.
623 * src/localename.cc: Same.
624 * src/limits.cc: Same.
625 * src/ios_failure.cc: Same.
626 * src/locale-misc-inst.cc: Same.
627 * src/streambuf-inst.cc: Same.
628 * src/misc-inst.cc: Same.
629 * src/concept-inst.cc: Same.
630 * src/ios_locale.cc: Same.
631 * src/pool_allocator.cc: Same.
632 * src/fstream-inst.cc: Same.
633 * src/istream-inst.cc: Same.
634 * src/string-inst.cc: Same.
635 * src/locale_init.cc: Same.
636 * src/ctype.cc: Same.
637 * src/strstream.cc: Same.
638 * src/ostream-inst.cc: Same.
639 * src/functexcept.cc: Same.
640 * src/streambuf.cc: Same.
641 * src/sstream-inst.cc: Same.
642 * src/ios.cc: Same.
643 * src/valarray-inst.cc: Same.
644 * src/locale.cc: Same.
645 * src/tree.cc: Same.
646 * src/stdexcept.cc: Same.
647 * src/istream.cc: Same.
648 * src/compatibility.cc: Same.
649 * src/locale-inst.cc: Same.
650 * src/globals_io.cc: Same.
651 * src/list.cc: Same.
652 * src/ios_init.cc: Same.
653 * src/locale_facets.cc: Same.
654 * src/codecvt.cc: Same.
655
656 * include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1).
657 * include/tr1/boost_shared_ptr.h: Same.
658 * include/tr1/tuple
659 * include/tr1/hashtable
660 * include/tr1/type_traits_fwd.h: Same.
661 * include/tr1/unordered_set
662 * include/tr1/functional
663 * include/tr1/ref_fwd.h: Same.
664 * include/tr1/utility
665 * include/tr1/type_traits
666 * include/tr1/array
667
668 * include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx).
669 * include/ext/typelist.h: Same.
670 * include/ext/hash_map: Same.
671 * include/ext/rc_string_base.h: Same.
672 * include/ext/pool_allocator.h: Same.
673 * include/ext/iterator: Same.
674 * include/ext/rb_tree: Same.
675 * include/ext/numeric: Same.
676 * include/ext/vstring.tcc: Same.
677 * include/ext/sso_string_base.h: Same.
678 * include/ext/stdio_filebuf.h: Same.
679 * include/ext/algorithm: Same.
680 * include/ext/codecvt_specializations.h: Same.
681 * include/ext/new_allocator.h: Same.
682 * include/ext/array_allocator.h: Same.
683 * include/ext/vstring_util.h: Same.
684 * include/ext/vstring_fwd.h: Same.
685 * include/ext/mt_allocator.h: Same.
686 * include/ext/debug_allocator.h: Same.
687 * include/ext/slist: Same.
688 * include/ext/stdio_sync_filebuf.h: Same.
689 * include/ext/hash_fun.h: Same.
690 * include/ext/malloc_allocator.h: Same.
691 * include/ext/functional: Same.
692 * include/ext/bitmap_allocator.h: Same.
693 * include/ext/pod_char_traits.h: Same.
694 * include/ext/vstring.h: Same.
695 * include/ext/ropeimpl.h: Same.
696 * include/ext/hash_set: Same.
697 * include/ext/memory: Same.
698 * include/ext/rope: Same.
699 * include/bits/boost_concept_check.h: Same.
700 * include/bits/stl_iterator.h: Same.
701 * include/bits/char_traits.h: Same.
702 * include/bits/cpp_type_traits.h: Same.
703 * include/bits/concurrence.h: Same.
704 * include/bits/atomicity.h: Same.
705 * config/locale/gnu/numeric_members.cc: Same.
706 * config/locale/gnu/collate_members.cc: Same.
707 * config/locale/gnu/ctype_members.cc: Same.
708 * config/locale/gnu/c_locale.cc: Same.
709 * config/locale/gnu/codecvt_members.cc: Same.
710 * config/locale/gnu/messages_members.cc: Same.
711 * config/locale/gnu/c_locale.h: Same.
712 * config/locale/gnu/monetary_members.cc: Same.
713 * config/locale/gnu/time_members.cc: Same.
714 * config/locale/ieee_1003.1-2001/c_locale.h: Same.
715 * config/locale/generic/numeric_members.cc: Same.
716 * config/locale/generic/collate_members.cc: Same.
717 * config/locale/generic/ctype_members.cc: Same.
718 * config/locale/generic/c_locale.cc: Same.
719 * config/locale/generic/codecvt_members.cc: Same.
720 * config/locale/generic/messages_members.cc: Same.
721 * config/locale/generic/c_locale.h: Same.
722 * config/locale/generic/monetary_members.cc: Same.
723 * config/locale/generic/time_members.cc: Same.
724 * config/os/aix/atomicity.h: Same.
725 * config/os/irix/atomicity.h: Same.
726 * config/cpu/powerpc/atomicity.h: Same.
727 * config/cpu/cris/atomicity.h: Same.
728 * config/cpu/ia64/atomicity.h: Same.
729 * config/cpu/alpha/atomicity.h: Same.
730 * config/cpu/m68k/atomicity.h: Same.
731 * config/cpu/hppa/atomicity.h: Same.
732 * config/cpu/mips/atomicity.h: Same.
733 * config/cpu/sparc/atomicity.h: Same.
734 * config/cpu/i386/atomicity.h: Same.
735 * config/cpu/i486/atomicity.h: Same.
736 * config/cpu/sh/atomicity.h: Same.
737 * config/cpu/generic/atomicity.h: Same.
738 * config/cpu/s390/atomicity.h: Same.
739 * config/io/c_io_stdio.h: Same.
740 * config/io/basic_file_stdio.cc: Same.
741 * config/io/basic_file_stdio.h: Same.
742 * src/misc-inst.cc: Same.
743 * src/concept-inst.cc: Same.
744 * src/ext-inst.cc: Same.
745 * src/string-inst.cc: Same.
746 * src/pool_allocator.cc: Same.
747 * src/bitmap_allocator.cc: Same.
748 * src/mt_allocator.cc: Same.
749 * libsupc++/exception: Same.
750 * libsupc++/vterminate.cc: Same.
751 * testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map.
752 * testsuite/ext/hash_map/14648.cc: Same.
753
754 * libsupc++/eh_alloc.cc: Correct comment line spacing.
755
756 2005-12-18 Paolo Carlini <pcarlini@suse.de>
757
758 * include/bits/stl_algobase.h (__copy_normal::copy_n): Uglify
759 to __copy_n.
760 (__copy_backward::copy_b): Likewise to __copy_b.
761 (__copy_backward_normal::copy_b_n): Likewise to __copy_b_n.
762 (copy, __copy_backward_aux, copy_backward): Adjust.
763
764 2005-12-18 Paolo Carlini <pcarlini@suse.de>
765
766 * include/bits/stl_algo.h (partial_sort_copy): Add
767 _BinaryPredicateConcept<_Compare, _InputValueType, _OutputValueType>
768 (merge, set_union, set_symmetric_difference): Add
769 _OutputIteratorConcept<_OutputIterator, _ValueType2>.
770 (binary_search): Remove redundant _BinaryPredicateConcept<_Compare,
771 _ValueType, _Tp>, taken care by lower_bound.
772 * include/bits/stl_algo.h: Cosmetic changes.
773
774 2005-12-18 Paolo Carlini <pcarlini@suse.de>
775 Howard Hinnant <hhinnant@apple.com>
776
777 * include/bits/stl_algo.h (merge, includes, set_union,
778 set_intersection, set_difference, set_symmetric_difference):
779 Fix concept checks.
780
781 2005-12-18 Paolo Carlini <pcarlini@suse.de>
782
783 * include/bits/stl_algo.h (partial_sort_copy, lower_bound,
784 upper_bound, equal_range, binary_search): Fix concept checks.
785
786 2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
787
788 * config/abi/post: New.
789 * config/abi/*-linux-gnu: Move to..
790 * config/abi/post/*-linux-gnu: ... here.
791 * config/abi/pre: New.
792 * config/linker-map.gnu: Move to ..
793 * config/abi/pre/gnu.ver: ... here.
794 * config/linker-map.dummy: Move to..
795 * config/abi/pre/none.ver: ... here.
796 * src/Makefile.am: Use ENABLE_SYMVERS_GNU,
797 ENABLE_SYMVERS_DARWIN, ENABLE_SYMVERS_GNU_NAMESPACE.
798 Use libstdc++-symbols.ver instead of libstdc++-symbol.ver.
799 * src/Makefile.in: Regnerate.
800 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Adjust paths for new
801 placement of abi baseline files.
802 (GLIBCXX_ENABLE_SYMVERS): Add ENABLE_SYMVERS, ENABLE_SYMVERS_GNU,
803 ENABLE_SYMVERS_DARWIN. SYMVER_MAP to SYMVER_FILE.
804 * configure: Regnerate.
805 * config.h.in: Regnerate.
806 * src/compatibility.cc: Adjust macro usage.
807
808 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
809
810 * src/io-inst.cc: Separate instantiations into...
811 * src/ios-inst.cc: .. this.
812 * src/iostream-inst.cc: ... and this.
813 * src/Makefile.am (sources): Update.
814 * src/Makefile.in: Regenerate.
815
816 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
817
818 PR libstdc++/25472
819 * include/c_std/std_cstdlib.h: Fix for freestanding.
820
821 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
822
823 * testsuite/libstdc++-dg/normal.exp: Rename to..
824 * testsuite/libstdc++-dg/conformance.exp: ... this.
825
826 2005-12-17 Paolo Carlini <pcarlini@suse.de>
827
828 * include/bits/stl_vector.h (vector(const vector&)): Use
829 _M_get_Tp_allocator.
830 * include/bits/stl_deque.h (deque(const deque&)): Likewise.
831 (_M_destroy_data): Adjust.
832
833 2005-12-17 Paolo Carlini <pcarlini@suse.de>
834
835 * include/bits/stl_deque.h (deque<>::_M_erase_at_end,
836 _M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch,
837 _M_destroy_data_aux): New, optimize erase at begin() / end() and
838 consistently use the "segmented iterator" optimization.
839 (deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign):
840 Use the above.
841 * include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same.
842 (erase(iterator, iterator)): Likewise, clean-up.
843 (erase(iterator)): Tweak, don't call copy unnecessarily.
844 (_M_destroy_data_aux): Define.
845 * testsuite/23_containers/deque/modifiers/erase/1.cc: New.
846 * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise.
847
848 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
849
850 * include/bits/valarray_after.h (_Expr<>::operator[](slice)):
851 Don't assume the closure implements general indexing, as a matter
852 of fact, most of them don't.
853 (_Expr<>::operator[](const gslice&)): Likewise.
854 (_Expr<>::operator[](const valarray<bool>&)): Likewise.
855 (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
856 (_Expr<>::shift): Fix thinko.
857 (_Expr<>::cshift): Likewise.
858 (_Expr<>::apply): Likewise.
859
860 2005-12-16 Paolo Carlini <pcarlini@suse.de>
861
862 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc:
863 Fix class NonEmptyClassTwo.
864
865 2005-12-15 Paolo Carlini <pcarlini@suse.de>
866
867 * include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
868 to return by ref and add non const version.
869 * include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.
870
871 2005-12-15 Paolo Carlini <pcarlini@suse.de>
872
873 PR libstdc++/25421
874 * config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
875 for null argument.
876 * testsuite/22_locale/facet/25421.cc: New.
877
878 2005-12-13 Carlos O'Donell <carlos@codesourcery.com>
879
880 * include/std/std_limits.h (struct numeric_limits):
881 Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.
882
883 2005-12-10 Paolo Carlini <pcarlini@suse.de>
884
885 * include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
886 Add, specialized for char and wchar_t to immediately return true
887 when a string is compared to itself.
888 * include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
889 Likewise, for the same _Rep.
890 * include/ext/vstring.h (compare(const string&)): Use it.
891
892 * include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
893 Deallocate passed size + 1.
894 (_M_dispose, _M_reserve): Adjust.
895
896 2005-12-09 Paolo Carlini <pcarlini@suse.de>
897 Howard Hinnant <hhinnant@apple.com>
898
899 PR libstdc++/25288
900 * include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
901 Remove.
902 (_M_initialize_dispatch, _M_fill_initialize): Add.
903 (list(size_type, const value_type&, const allocator_type&),
904 list(const list&), list(_InputIterator, _InputIterator,
905 const allocator_type&): Use the latter.
906 (insert(iterator, size_type, const value_type&), insert(iterator,
907 _InputIterator, _InputIterator)): Use construction & splice.
908 * testsuite/23_containers/list/modifiers/insert/25288.cc: New.
909 * testsuite/testsuite_allocator.h (class throw_allocator): Add.
910
911 * include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.
912
913 2005-12-08 Paolo Carlini <pcarlini@suse.de>
914
915 * include/bits/stl_vector.h (vector<>::size, resize, capacity,
916 operator[]): Avoid troubles with ADL, user defined operators
917 and __normal_iterator.
918 (_M_erase_at_end): Fix to take a pointer.
919 (clear): Adjust call.
920 * include/bits/vector.tcc (vector<>::insert(iterator, const
921 value_type&), erase(iterator, iterator), operator=(const
922 vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
923 _M_fill_insert, _M_range_insert): Likewise.
924 (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
925 _M_erase_at_end call.
926 * testsuite/23_containers/vector/types/1.cc: New.
927
928 2005-12-08 Paolo Carlini <pcarlini@suse.de>
929
930 PR libstdc++/24617
931 * include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
932 (vector<>::clear, resize): Use it.
933 * include/bits/vector.tcc (vector<>::erase(iterator, iterator),
934 _M_fill_assign, _M_assign_aux): Likewise.
935
936 * testsuite/23_containers/vector/modifiers/erase/1.cc: New.
937
938 2005-12-07 Paolo Carlini <pcarlini@suse.de>
939
940 * docs/html/configopts.html ([--enable-libstdcxx-allocator]):
941 Mention the SGI pooled allocator.
942
943 2005-12-06 Paolo Carlini <pcarlini@suse.de>
944
945 * include/bits/basic_string.h (insert(iterator, _CharT),
946 erase(iterator), erase(iterator, iterator)): Avoid troubles
947 with ADL, user defined operators and __normal_iterator.
948 * include/bits/stl_iterator.h (operator-(const __normal_iterator
949 <_Iterator, _Container>&, const __normal_iterator<_Iterator,
950 _Container>&)): Add overload for left and right iterators of
951 the same type.
952 * include/debug/safe_iterator.h (operator-(const _Safe_iterator
953 <_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
954 _Sequence>&)): Likewise.
955 * testsuite/21_strings/basic_string/types/1.cc: New.
956
957 2005-12-05 Paolo Carlini <pcarlini@suse.de>
958
959 * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
960 Simplify, avoid pointless reallocations.
961
962 2005-12-04 Paolo Carlini <pcarlini@suse.de>
963
964 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
965 Simplify.
966
967 2005-12-04 Paolo Carlini <pcarlini@suse.de>
968
969 * include/ext/vstring.h (__versa_string<>::operator+, all
970 versions): Move out of line...
971 * include/ext/vstring.tcc (__versa_string<>::operator+): ...
972 here; consistently use reserve for the benefit of sso_string_base;
973 prefer push_back to single-char append when appropriate.
974
975 * include/ext/vstring.h (__versa_string<>::push_back): Don't
976 call _M_reserve, _M_mutate instead.
977 (reserve): Just forward to _M_reserve.
978 * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
979 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
980 do the initial checks (first on length, in case __res == capacity).
981 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
982 Likewise; don't call _M_set_length unnecessarily.
983
984 2005-12-04 Paolo Carlini <pcarlini@suse.de>
985
986 * include/ext/vstring.h (__versa_string<>::_M_append): New.
987 (append(const __versa_string&), append(const __versa_string&,
988 size_type, size_type), append(const _CharT*, size_type),
989 append(const _CharT*)): Use it.
990 (append(size_type, _CharT)): Delegate to _M_replace_aux.
991 (assign(const __versa_string&, size_type, size_type),
992 assign(const _CharT*), replace(size_type, size_type,
993 const _CharT*, size_type)): Forward to _M_replace.
994 * include/ext/vstring.tcc (__versa_string<>::_M_append):
995 Define, core append functionality.
996 (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
997 (_M_replace_aux): Reorganize, don't call _M_replace.
998
999 2005-12-04 Paolo Carlini <pcarlini@suse.de>
1000
1001 * include/ext/vstring.tcc (__versa_string<>::_M_replace):
1002 Perform _M_check_length at the beginning and remove it from ...
1003 (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
1004 (assign): Now move inline.
1005 (resize): Don't call _M_check_length redundantly, append does.
1006
1007 2005-12-04 Paolo Carlini <pcarlini@suse.de>
1008
1009 * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
1010 Add non const version.
1011 * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
1012 Likewise.
1013
1014 * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
1015 * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
1016 (_M_leak_hard): Use it.
1017 * include/ext/vstring.h (__versa_string<>::clear, erase, all
1018 versions): Use it.
1019 * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
1020
1021 * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
1022 Remove.
1023 * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
1024 the in-place work or delegates to _M_mutate in case of reallocation.
1025 * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
1026 Remove.
1027 * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
1028 (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
1029 * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
1030 Change to manage only reallocations.
1031 * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
1032 Likewise.
1033
1034 * include/ext/vstring.h (__versa_string<>::insert(size_type,
1035 const __versa_string&), insert(size_type, const __versa_string&,
1036 size_type, size_type), insert(size_type, const _CharT*, size_type),
1037 insert(size_type, const _CharT*)): Delegate to replace.
1038
1039 * include/ext/vstring.h (__versa_string<>::reserve): Move out of
1040 line.
1041 * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
1042 checks and call _M_reserve.
1043 * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
1044 instead of reserve.
1045 * include/ext/vstring.tcc (__versa_string<>::append, all versions):
1046 Likewise.
1047 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
1048 Adjust.
1049 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
1050 Likewise.
1051
1052 2005-12-02 David Billinghurst (David.Billinghurst@riotinto.com)
1053
1054 PR testsuite/25193
1055 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
1056 error if file cannot be deleted.
1057
1058 2005-11-23 Paolo Carlini <pcarlini@suse.de>
1059
1060 PR libstdc++/24975 (basic_string)
1061 * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
1062 strict-aliasing warnings.
1063
1064 2005-11-22 Paolo Carlini <pcarlini@suse.de>
1065
1066 PR libstdc++/24975
1067 * include/bits/stl_set.h (insert(iterator, const value_type&),
1068 erase(iterator), erase(iterator, iterator)): Don't break aliasing
1069 rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
1070 * include/bits/stl_multiset.h (insert(iterator, const value_type&),
1071 erase(iterator), erase(iterator, iterator)): Likewise.
1072 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
1073 _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
1074 const value_type&), insert_equal(const_iterator, const value_type&),
1075 erase(const_iterator), erase(const_iterator, const_iterator)): New,
1076 _Rb_tree<>::const_iterator counterparts of existing facilities.
1077
1078 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
1079 Ulrich Drepper <drepper@redhat.com>
1080
1081 PR libstdc++/23591
1082 * scripts/create_testsuite_files: Support for "C" test files.
1083 * testsuite/lib/libstdc++.exp: Same.
1084 * testsuite/libstdc++-dg/normal.exp: Same.
1085 * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
1086 * testsuite/19_diagnostics/23591_thread-1.c: New.
1087 * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
1088 * libsupc++/eh_globals.cc: Make global thread local if possible.
1089 * configure.ac: Use GCC_CHECK_TLS.
1090 * acinclude.m4: Include tls.m4.
1091 * configure: Regenerate.
1092 * config.h.in: Same.
1093
1094 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
1095
1096 * libsupc++/del_op.cc: Include c++config.h first.
1097 * libsupc++/eh_alloc.cc: Same.
1098 * libsupc++/new_opv.cc: Same.
1099 * libsupc++/eh_throw.cc: Same.
1100 * libsupc++/new_op.cc: Same.
1101 * libsupc++/del_opv.cc: Same.
1102 * libsupc++/eh_catch.cc: Same.
1103 * libsupc++/guard.cc: Same.
1104 * libsupc++/del_opnt.cc: Same.
1105 * libsupc++/eh_exception.cc: Same.
1106 * libsupc++/new_opvnt.cc: Same.
1107 * libsupc++/eh_term_handler.cc: Same.
1108 * libsupc++/eh_personality.cc: Same.
1109 * libsupc++/eh_call.cc: Same.
1110 * libsupc++/new_opnt.cc: Same.
1111 * libsupc++/del_opvnt.cc: Same.
1112
1113 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
1114
1115 * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
1116 * libsupc++/Makefile.am: Same.
1117 * src/Makefile.in: Regenerate.
1118 * libsupc++/Makefile.in: Same.
1119
1120 2005-11-21 Paolo Carlini <pcarlini@suse.de>
1121
1122 * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
1123 (__sso_string_base<>::_M_get_allocator): Return by const ref.
1124 * include/ext/rc_string_base.h: Likewise.
1125 (__rc_string_base<>::_M_get_allocator): Return by const ref.
1126 (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
1127 (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
1128 (__rc_string_base<>::~__rc_string_base,
1129 __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
1130 _M_mutate): Adjust.
1131 * include/ext/vstring_util.h: Minor stylistic fixes.
1132
1133 2005-11-18 Paolo Carlini <pcarlini@suse.de>
1134
1135 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
1136 anonymous struct extension, adjust everywhere.
1137
1138 * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
1139 Just use a static member.
1140 (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
1141
1142 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
1143 anonymous union together with _CharT to fix alignment issues,
1144 rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.
1145 (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
1146
1147 * include/ext/vstring_util.h (__is_null_p): Move inside struct
1148 __vstring_utility as static _S_is_null_pointer.
1149 * include/ext/sso_string.h
1150 (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
1151 * include/ext/rc_string_base.h
1152 (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
1153
1154 Implement Option 3 of DR 431 for ext/vstring - both available bases.
1155 * include/bits/cpp_type_traits.h (struct __is_empty): Add.
1156 * include/ext/vstring.h (__versa_string<>::swap): Delegate to
1157 this->_M_swap.
1158 * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
1159 * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
1160 _Alloc_hider<>, augmented of allocator swapping facility, specialized
1161 to nop for empty allocators.
1162 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
1163 (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
1164 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1165 Likewise.
1166 (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
1167 * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
1168 Return void.
1169 * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
1170 Likewise.
1171
1172 2005-11-17 Geoffrey Keating <geoffk@apple.com>
1173
1174 * config/os/bsd/darwin/ppc-extra.ver: New.
1175 * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
1176 and make dependent on port symbol files.
1177 (libstdc++-symbol.explist): Use the generated .ver file, not
1178 the template.
1179 * src/compatibility.cc [APPLE] (__eprintf): New.
1180 * src/Makefile.in: Regenerate.
1181 * configure.host (powerpc*-*-darwin*): Define
1182 port_specific_symbol_files.
1183
1184 2005-11-16 Nathan Sidwell <nathan@codesourcery.com>
1185
1186 * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
1187 foreign exception too.
1188 (__gnu_end_cleanup): Recover a foreign exception too.
1189 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
1190 with forced unwinding.
1191 * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
1192 _Unwind_Resume_or_Rethrow for ARM EABI.
1193
1194 2005-11-14 Geoffrey Keating <geoffk@apple.com>
1195
1196 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
1197 shared libgcc for darwin exports.
1198 * configure: Regenerate.
1199
1200 2005-11-13 Jonathan Wakely <redi@gcc.gnu.org>
1201
1202 * include/tr1/boost_shared_ptr.h (get_deleter):
1203 Declare before shared_ptr.
1204 (shared_ptr<>): Declare get_deleter as friend.
1205 (shared_ptr<>:_M_get_deleter): Private.
1206
1207 2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
1208
1209 PR libstdc++/24818
1210 * include/tr1/ref_wrap_iterate.h
1211 (reference_wrapper::operator()()): Don't dereferene the result of
1212 get() before calling it; it's already a reference.
1213 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
1214 Test nullary calls to reference_wrappers.
1215
1216 2005-11-11 Paolo Carlini <pcarlini@suse.de>
1217
1218 PR libstdc++/24808
1219 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
1220 (with complemented logic).
1221 (is_function): Use it, don't use __conv_helper.
1222 (is_abstract): Adjust.
1223 (__conv_helper): Rename to __is_convertible_simple.
1224 (is_convertible): Adjust.
1225 * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
1226 * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
1227 24808.cc: New.
1228 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
1229 24808.cc: Likewise.
1230 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
1231 24808.cc: Likewise.
1232
1233 2005-11-11 Paolo Carlini <pcarlini@suse.de>
1234
1235 PR libstdc++/24799
1236 * include/tr1/functional (hash): Inherit from std::unary_function.
1237 * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
1238
1239 PR libstdc++/24805
1240 * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
1241 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
1242 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1243 24805.cc: New.
1244
1245 PR libstdc++/24809
1246 * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
1247 * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
1248 24809.cc: New.
1249
1250 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1251
1252 * testsuite/tr1/2_general_utilities/memory/
1253 enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
1254 * testsuite/tr1/2_general_utilities/memory/
1255 enable_shared_from_this/not_shared2.cc: Likewise.
1256 * testsuite/tr1/2_general_utilities/memory/
1257 enable_shared_from_this/not_shared3.cc: Likewise.
1258
1259 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1260
1261 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1262 weak_release): Protect barriers with __GTHREADS.
1263
1264 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1265 Peter Dimov <pdimov@mmltd.net>
1266
1267 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
1268 Optimize by manually inlining weak_release.
1269
1270 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1271 weak_release): Use explicit memory barriers.
1272
1273 2005-11-09 Benjamin Kosnik <bkoz@redhat.com>
1274 Paolo Carlini <pcarlini@suse.de>
1275 Gabriel Dos Reis <gdr@integrable-solutions.net>
1276
1277 PR libstdc++/22203
1278 * numeric_limits.cc: Split into...
1279 * numeric_limits/specialization.cc: ..this.
1280 * numeric_limits/is_iec559.cc: Same.
1281 * numeric_limits/sign.cc: Same.
1282 * numeric_limits/quiet_NaN.cc: Same.
1283 * numeric_limits/digits10.cc: Same.
1284 * numeric_limits/denorm_min.cc: Same.
1285 * numeric_limits/min_max.cc: Same.
1286 * numeric_limits/epsilon.cc: Same.
1287 * numeric_limits/infinity.cc: Same.
1288 * numeric_limits/traps.cc: New.
1289
1290 2005-11-09 Paolo Carlini <pcarlini@suse.de>
1291
1292 * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
1293
1294 2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
1295
1296 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
1297 exe as the executable extension.
1298
1299 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
1300 new.
1301 (GLIBCXX_ENABLE_PCH): Adjust message order.
1302 * configure: Regenerate.
1303
1304 * scripts/testsuite_flags.in (query): Correct print_usagex typo.
1305
1306 * include/bits/functexcept.h: Remove argument names.
1307
1308 * src/mt_allocator.cc: Adjust comment.
1309
1310 2005-11-06 Paolo Carlini <pcarlini@suse.de>
1311
1312 PR libstdc++/18174
1313 * include/bits/stl_queue.h (priority_queue): Tweak a bit the
1314 comment describing the container.
1315
1316 2005-11-05 Paolo Carlini <pcarlini@suse.de>
1317
1318 * configure.host: Add | rs6000 to the cpu_defines_dir switch,
1319 consistently with the try_cpu one.
1320
1321 2005-11-05 Paolo Carlini <pcarlini@suse.de>
1322
1323 PR libstdc++/22203
1324 * include/bits/c++config: Include cpu_defines.h.
1325 * include/Makefile.am: Add cpu_defines.h to host_headers.
1326 * configure.host: Add cpu_defines_dir.
1327 * configure.ac: Use it.
1328 * config/cpu/powerpc/cpu_defines.h: New.
1329 * config/cpu/generic/cpu_defines.h: Likewise.
1330 * configure: Regenerate.
1331 * Makefile.in: Likewise.
1332 * include/Makefile.in: Likewise.
1333 * libmath/Makefile.in: Likewise.
1334 * libsupc++/Makefile.in: Likewise.
1335 * po/Makefile.in: Likewise.
1336 * src/Makefile.in: Likewise.
1337 * testsuite/Makefile.in: Likewise.
1338
1339 2005-11-03 Paolo Carlini <pcarlini@suse.de>
1340
1341 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1342 Change the various traits_type::copy call to always copy the
1343 entire local buffer; return early and don't do a full swap on
1344 the lengths for two common cases; change two _S_copy to plain
1345 traits_type::copy.
1346
1347 2005-11-02 Thomas Kho <tkho@ucla.edu>
1348
1349 PR libstdc++/23425
1350 * include/bits/stl_vector.h (vector<>::clear): Open code
1351 in terms of _Destroy.
1352
1353 2005-11-02 Paolo Carlini <pcarlini@suse.de>
1354
1355 * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
1356
1357 2005-11-01 Paolo Carlini <pcarlini@suse.de>
1358
1359 PR libstdc++/24595
1360 * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
1361 Move out of shared_ptr.
1362 * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
1363 New.
1364
1365 2005-10-30 Paolo Carlini <pcarlini@suse.de>
1366
1367 PR libstdc++/20213
1368 * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
1369 * include/c_std/std_cstdlib.h: Likewise.
1370 * include/c_std/std_cstdio.h: Likewise.
1371 * include/c_std/std_cstdarg.h: Likewise.
1372 * include/c_std/std_cctype.h: Likewise.
1373 * include/c_std/std_cerrno.h: Likewise.
1374 * include/c_std/std_cmath.h: Likewise.
1375 * include/c_std/std_ciso646.h: Likewise.
1376 * include/c_std/std_ctime.h: Likewise.
1377 * include/c_std/std_clocale.h: Likewise.
1378 * include/c_std/std_climits.h: Likewise.
1379 * include/c_std/std_cassert.h: Likewise.
1380 * include/c_std/std_csetjmp.h: Likewise.
1381 * include/c_std/std_cwchar.h: Likewise.
1382 * include/c_std/std_cfloat.h: Likewise.
1383 * include/c_std/std_cstring.h: Likewise.
1384 * include/c_std/std_cstddef.h: Likewise.
1385 * include/c_std/std_cwctype.h: Likewise.
1386
1387 2005-10-29 Carey Evans <carey.evans@gmail.com>
1388
1389 PR libstdc++/22087
1390 * config/os/djgpp/ctype_inline.h: Fix.
1391 * config/os/djgpp/ctype_noninline.h: Likewise.
1392
1393 2005-10-28 Paolo Carlini <pcarlini@suse.de>
1394
1395 PR libstdc++/24559
1396 * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
1397 * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
1398
1399 2005-10-25 Paolo Carlini <pcarlini@suse.de>
1400
1401 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
1402 * docs/html/ext/howto.html: Adjust.
1403
1404 2005-10-21 Paolo Carlini <pcarlini@suse.de>
1405
1406 PR libstdc++/24450
1407 * config/locale/generic/time_members.h (__timepunct<>::
1408 __timepunct(__c_locale, const char*, size_t)): Avoid leaking
1409 memory if new throws inside _M_initialize_timepunct.
1410 * config/locale/gnu/time_members.h (__timepunct<>::
1411 __timepunct(__c_locale, const char*, size_t)): Likewise.
1412 * config/locale/gnu/message_members.h (messages<>::
1413 messages(__c_locale, const char*, size_t)): Rearrange to
1414 avoid memory leaks.
1415
1416 2005-10-19 Paolo Carlini <pcarlini@suse.de>
1417
1418 * include/ext/sso_string_base.h (_M_swap): Rewrite.
1419
1420 2005-10-19 Paolo Carlini <pcarlini@suse.de>
1421
1422 * include/ext/rc_string_base.h (_S_terminal): Remove.
1423 (_M_set_length): Adjust.
1424 (_S_max_size): Change to anonymous enum.
1425 (_M_max_size()): Add, returns the latter.
1426 * include/ext/sso_string_base.h: Likewise.
1427 * include/ext/vstring.h (max_size): Adjust.
1428
1429 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
1430
1431 PR libstdc++/24244
1432 * include/tr1/boost_shared_ptr.h
1433 (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
1434 is defined, initialize the mutex.
1435
1436 2005-10-15 Paolo Carlini <pcarlini@suse.de>
1437
1438 * include/tr1/functional: Add missing #pragma GCC system_header.
1439
1440 2005-10-14 Paolo Carlini <pcarlini@suse.de>
1441
1442 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
1443 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
1444
1445 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
1446
1447 PR libstdc++/23926
1448 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
1449 fixes.
1450 * configure: Regenerate.
1451
1452 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
1453
1454 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
1455 native testing before setting v3-sharedlib to 1.
1456
1457 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
1458
1459 * docs/html/27_io/howto.html: Use reference to ifstream when
1460 including iosfwd.
1461
1462 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
1463
1464 PR libstdc++/23926
1465 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
1466 for GNU LD.
1467 * configure: Regenerate.
1468
1469 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
1470
1471 * configure.ac (libtool_VERSION): To 6:7:0.
1472 * configure: Regenerate.
1473 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
1474 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
1475
1476 2005-10-10 Ian Lance Taylor <ian@airs.com>
1477
1478 PR libstdc++/13583
1479 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
1480 Move out of line.
1481 * src/locale.cc: Define here, add mutex.
1482
1483 2005-10-09 Paolo Carlini <pcarlini@suse.de>
1484
1485 PR libstdc++/24061 (issue 6.19)
1486 * include/tr1/hashtable (struct node_const_iterator, struct
1487 hashtable_const_iterator): New, add const variants to enable separate
1488 overloadings for iterator and const_iterator in unordered_set and
1489 unordered_multiset (as required by issue 6.19).
1490 (class hashtable): Change the mutable_iterators template parameter
1491 to constant_iterators and adjust throughout the logic.
1492 (hashtable::insert(iterator, const value_type&), erase(iterator)
1493 erase(iterator, iterator)): New, as per issue 6.19.
1494 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
1495 and erase(const_iterator).
1496 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
1497 const value_type&) and insert(const_iterator, const value_type&)
1498 to delegate the work to insert(const value_type&).
1499 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
1500 Adjust typedefs.
1501 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
1502 Likewise.
1503 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
1504 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
1505 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
1506 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
1507 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
1508 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
1509 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
1510 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
1511
1512 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
1513
1514 Merge from csl-arm-branch:
1515 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
1516 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
1517
1518 2005-10-07 Paolo Carlini <pcarlini@suse.de>
1519
1520 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
1521 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
1522 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
1523 _Rep class and remove code in macro.
1524 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
1525 (_M_dispose, _M_leak_hard): Remove code in macro.
1526 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
1527 (_M_grab): Adjust.
1528
1529 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
1530 mark throw().
1531
1532 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
1533
1534 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
1535
1536 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1537
1538 * include/ext/sso_string_base.h (struct __sso_string_local):
1539 Remove, actually POD types cannot have user defined constructors
1540 (being aggregates) and therefore can always be members of unions.
1541 (class __sso_string_base): Adjust consistently.
1542
1543 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1544
1545 PR libstdc++/24198
1546 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
1547 instead.
1548 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
1549 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
1550 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
1551 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
1552 * testsuite/27_io/basic_ios/3.cc: Likewise.
1553 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
1554 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
1555 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
1556 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
1557 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
1558 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
1559 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
1560 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
1561 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
1562
1563 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1564
1565 PR libstdc++/11729 (DR 280, [Ready])
1566 * include/bits/stl_iterator.h: Add reverse_iterator global
1567 functions with two template parameters (operator==, !=, <,
1568 >, <=, >=, -).
1569 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
1570 * docs/html/ext/howto.html: Add an entry for issue 280.
1571
1572 2005-10-03 Paolo Carlini <pcarlini@suse.de>
1573
1574 * include/tr1/hashtable
1575 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
1576 take a "false" (i.e., is_const == false) node_iterator.
1577 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
1578 true,>&)): Likewise for hashtable_iterator.
1579 (hashtable::const_local_iterator): Fix typedef (is_const == true).
1580 (hashtable::const_iterator): Likewise.
1581 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
1582 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
1583 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
1584 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
1585
1586 2005-10-02 Paolo Carlini <pcarlini@suse.de>
1587
1588 PR libstdc++/24054
1589 * include/tr1/hashtable (erase(const key_type&)): Return the
1590 number of elements erased.
1591 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
1592
1593 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
1594
1595 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
1596 Add missing return.
1597
1598 2005-09-30 Paolo Carlini <pcarlini@suse.de>
1599
1600 PR libstdc++/24064
1601 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
1602 (hashtable<>::insert(const value_type&)): Use it.
1603 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
1604
1605 2005-09-30 Paolo Carlini <pcarlini@suse.de>
1606
1607 PR libstdc++/23953
1608 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
1609 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
1610 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
1611 (__add_grouping<>): End recursion if *__gbeg <= 0.
1612 * testsuite/22_locale/num_get/get/char/23953.cc: New.
1613 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
1614 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
1615 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
1616
1617 2005-09-29 Chris Jefferson <chris@bubblescope.net>
1618
1619 PR libstdc++/23978
1620 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
1621 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
1622
1623 * include/tr1/functional (ref, cref): Make inline.
1624 * include/tr1/tuple_iterate.h (tie): Correct formatting.
1625 (make_tuple): Make inline.
1626
1627 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
1628 Eric Botcazou <ebotcazou@libertysurf.fr>
1629
1630 * include/ext/mt_allocator.h
1631 (__per_type_pool<...true>::_S_initialize_once): Always call
1632 _M_initialize_once.
1633 (__common_pool<...true>::_S_initialize_once): Same.
1634
1635 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
1636
1637 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
1638 * testsuite/ext/mt_allocator/tune-2.cc: Same.
1639 * testsuite/ext/mt_allocator/tune-3.cc: Same.
1640 * testsuite/ext/mt_allocator/tune-4.cc: Same.
1641
1642 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
1643
1644 PR libstdc++/23956
1645 * include/ext/mt_allocator.h: Remove excess
1646 policy_type::_S_get_pool calls in constructors.
1647
1648 2005-09-18 Paolo Carlini <pcarlini@suse.de>
1649
1650 PR libstdc++/23417 (cont)
1651 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
1652 initialization list for -Weffc++.
1653
1654 2005-09-16 Janis Johnson <janis187@us.ibm.com>
1655
1656 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
1657 New.
1658
1659 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
1660
1661 PR libstdc++/21674
1662 PR libstdc++/22205
1663 PR libstdc++/22222
1664 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
1665 Add in check for __NO_INLINE__ for warning.
1666 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
1667 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
1668 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1669 Use it.
1670 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1671 Use it.
1672
1673 2005-09-15 Paolo Carlini <pcarlini@suse.de>
1674
1675 PR libstdc++/23875
1676 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
1677 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1678 Don't call operator<<(long), operator<<(unsigned long), or
1679 operator<<(double), do the work mandated by the resolution of DR117...
1680 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
1681 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1682 ... here.
1683 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
1684
1685 2005-09-15 Mark Mitchell <mark@codesourcery.com>
1686
1687 * testsuite/testsuite_character.h: Specialize character<>
1688 templates in __gnu_cxx, not in __gnu_test.
1689
1690 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
1691 Benjamin Kosnik <bkoz@redhat.com>
1692
1693 PR libstdc++/21674
1694 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
1695 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1696 New.
1697
1698 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
1699
1700 PR libstdc++/22554
1701 PR libstdc++/23734
1702 * include/Makefile.am (stamp-assoc): Install each subgroup
1703 of headers separately.
1704 * include/Makefile.in: Regenerate.
1705
1706 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1707
1708 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
1709 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
1710 shared only for linux.
1711
1712 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1713 David Edelsohn <dje@gcc.gnu.org>
1714
1715 PR libstdc++/22554
1716 PR libstdc++/23734
1717 * include/Makefile.am (assoc_headers): Break into five sub values.
1718 (install-headers): Use them.
1719 (stamp-assoc): Same.
1720 * include/Makefile.in: Regenerate.
1721
1722 2005-09-12 Chris Jefferson <chris@bubblescope.net>
1723
1724 * include/bits/stl_algo.h (search_n): Delegate to specializations.
1725 (search_n(,,,,binary_predicate)): Likewise.
1726 (__search_n(forward_iterator_tag)): Original search_n, tweak to
1727 remove an unnecessary comparison.
1728 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
1729
1730 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
1731
1732 * include/bits/stl_algo.h
1733 (__search_n(std::random_access_iterator_tag)): Add specialization.
1734 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
1735 Likewise.
1736
1737 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1738
1739 PR libstdc++/23417
1740 * include/bits/stl_list.h (_List_impl): Use member initialization
1741 list for -Weffc++.
1742 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
1743
1744 2005-09-12 Paolo Carlini <pcarlini@suse.de>
1745
1746 PR libstdc++/23767
1747 * include/bits/stl_iterator.h (__normal_iterator::
1748 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
1749 Enable only when _Iter is equal to _Container::pointer.
1750 * testsuite/21_strings/basic_string/types/23767.cc: New.
1751 * testsuite/23_containers/vector/types/23767.cc: Likewise.
1752 * testsuite/ext/vstring/types/23767.cc: Likewise.
1753
1754 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
1755
1756 PR libstdc++/19265
1757 PR libstdc++/22309
1758 * include/ext/mt_allocator.h
1759 (__gnu_cxx::__create_handler): Remove.
1760 (__pool<true>::_M_destroy_thread_key): Compatibility only.
1761 (__pool<true>::_M_initialize(__destroy): Same.
1762 (__pool<true>::_M_initialize): New.
1763 (__pool<true>::_M_initialize_once): Nothing fancy.
1764 (__pool<true>::_M_once): Remove.
1765 (__common_pool): New.
1766 (__common_pool_base): New.
1767 (__per_type_pool): New.
1768 (__per_type_pool_base): New.
1769 * src/mt_allocator.cc: Same.
1770 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
1771
1772 2005-09-11 Jakub Jelinek <jakub@redhat.com>
1773
1774 PR libstdc++/19265
1775 PR libstdc++/22309
1776 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
1777 (__gnu_internal::__freelist): New type.
1778 (__gnu_internal::freelist): New variable.
1779 (__gnu_internal::_M_destroy_thread_key): New function.
1780 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
1781 _M_thread_freelist_initial.
1782 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
1783 Don't use _M_thread_freelist and _M_thread_freelist_initial
1784 __pool<true> fields, instead use __gnu_internal::freelist fields, call
1785 gthread_key_create just once. Use
1786 __gnu_internal::_M_destroy_thread_key as key destructor.
1787 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
1788 rather than _Thread_record* in the thread specific value. Don't
1789 use _M_thread_freelist __pool<true> field, instead use
1790 __gnu_internal::freelist fields.
1791 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
1792
1793 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
1794 Jakub Jelinek <jakub@redhat.com>
1795
1796 PR libstdc++/19265
1797 PR libstdc++/22309
1798 * testsuite/testsuite_shared.cc: New.
1799 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
1800 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
1801 library, and set v3-sharedlib based on this.
1802 (check_v3_target_sharedlib): New.
1803 (proc v3-build_support): Build shared objects.
1804 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
1805
1806 2005-09-11 Paolo Carlini <pcarlini@suse.de>
1807
1808 PR libstdc++/23781
1809 * include/bits/stl_list.h (_List_iterator<>::
1810 _List_iterator(_List_node_base*), _List_const_iterator<>::
1811 _List_const_iterator(const _List_node_base*)): Make explicit.
1812 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
1813 consistently.
1814 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
1815 consistently.
1816 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
1817 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
1818 _Rb_tree_const_iterator(_Link_type)): Make explicit.
1819 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
1820 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
1821 Make explicit.
1822 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
1823 Adjust consistently.
1824 * include/tr1/hashtable (hashtable_iterator<>::
1825 hashtable_iterator(hash_node<>**)): Make explicit.
1826 * testsuite/23_containers/list/23781.cc: New.
1827 * testsuite/23_containers/map/23781.cc: Likewise.
1828 * testsuite/23_containers/multimap/23781.cc: Likewise.
1829 * testsuite/23_containers/multiset/23781.cc: Likewise.
1830 * testsuite/23_containers/set/23781.cc: Likewise.
1831 * testsuite/ext/slist/23781.cc: Likewise.
1832 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
1833 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
1834 line numbers.
1835 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1836
1837 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
1838 stylistically for consistency with the other containers.
1839
1840 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
1841
1842 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1843 XFAIL on *-*-linux*, not *-*-linux-gnu.
1844
1845 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
1846 Jakub Jelinek <jakub@redhat.com>
1847
1848 * src/debug.cc (iterator_base_mutex): Make static for internal
1849 linkage.
1850 * src/locale_init.cc (locale_mutex): Same.
1851 * src/mt_allocator.cc (freelist_mutex): Same.
1852 * src/pool_allocator.cc (palloc_init_mutex): Same.
1853
1854 2005-09-02 Paolo Carlini <pcarlini@suse.de>
1855
1856 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
1857 Reduce maximum size and lf.
1858
1859 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1860
1861 * include/c_std/std_cmath.h: Declare C99 functions and helper
1862 functions as inline.
1863
1864 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1865 Paolo Carlini <pcarlini@suse.de>
1866
1867 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
1868 comment.
1869
1870 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1871
1872 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
1873 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
1874 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
1875 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
1876 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
1877 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
1878 * docs/html/ext/mt_allocator.html: Add link to examples.
1879 * testsuite/testsuite_allocator.h: Tweak.
1880 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
1881 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1882 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1883 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1884 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
1885 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1886 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1887 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1888 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
1889 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
1890
1891 2005-08-31 Paolo Carlini <pcarlini@suse.de>
1892 Kaspar Fischer <fischerk@inf.ethz.ch>
1893
1894 PR libstdc++/23632
1895 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
1896 _Bit_const_iterator::operator[]): Const-ify.
1897 * testsuite/23_containers/vector/bool/23632.cc: New.
1898
1899 2005-08-30 Paolo Carlini <pcarlini@suse.de>
1900
1901 PR libstdc++/23578 (cont)
1902 * include/bits/stl_bvector.h (class vector<bool>): Add
1903 a dummy data() to avoid problems in debug-mode.
1904
1905 2005-08-30 Paolo Carlini <pcarlini@suse.de>
1906
1907 * testsuite/ext/hash_map/23528.cc: New.
1908
1909 2005-08-29 Paolo Carlini <pcarlini@suse.de>
1910
1911 * include/bits/stl_map.h (class map): ... and a missing @a.
1912
1913 2005-08-29 Paolo Carlini <pcarlini@suse.de>
1914
1915 * include/bits/stl_map.h (class map): Add missing % in comment.
1916
1917 2005-08-29 Paolo Carlini <pcarlini@suse.de>
1918
1919 PR libstdc++/23578 (DR 464 [Ready])
1920 * include/bits/stl_map.h (class map): Add at(const key_type&)
1921 member functions.
1922 * include/bits/stl_vector.h (class vector): Add data() member
1923 functions.
1924 * include/debug/map.h (class map): Adjust consistently.
1925 * include/debug/vector (class vector): Likewise.
1926 * testsuite/23_containers/map/element_access/1.cc: New.
1927 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
1928 * docs/html/ext/howto.html: Add an entry for DR 464.
1929
1930 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
1931
1932 PR libstdc++/20534 (contd)
1933 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
1934 Remove cstdio and cstdlib includes.
1935 * include/debug/debug.h: Define inline here. Remove
1936 _GLIBCXX_DEBUG_ABORT.
1937 * include/debug/macros.h: Remove __fancy_abort declaration,
1938 _GLIBXX_DEBUG_ABORT definition.
1939 * config/linker-map.gnu: Remove export.
1940
1941 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
1942
1943 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
1944
1945 2005-08-26 Paolo Carlini <pcarlini@suse.de>
1946
1947 PR libstdc++/23081
1948 * include/tr1/array: Implement members back(), front(), data(),
1949 and the tuple interface; tidy.
1950 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
1951 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
1952 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
1953 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
1954 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
1955 Likewise.
1956 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
1957 Likewise.
1958
1959 2005-08-25 Paolo Carlini <pcarlini@suse.de>
1960
1961 * include/tr1/hashtable: Use __throw_exception_again,
1962 not naked throw, in the catch clauses.
1963
1964 2005-08-24 Lawrence Lim <llim@redhat.com>
1965 Jakub Jelinek <jakub@redhat.com>
1966 Benjamin Kosnik <bkoz@redhat.com>
1967
1968 PR libstdc++/23550
1969 * testsuite/21_strings/char_traits/requirements/char/1.cc
1970 (test01): Simplify counting.
1971 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
1972 (test02): Same.
1973
1974 2005-08-24 Paolo Carlini <pcarlini@suse.de>
1975 Chris Jefferson <chris@bubblescope.net>
1976
1977 PR libstdc++/23465
1978 * include/tr1/hashtable (hash_code_base::m_swap): Use
1979 std::swap.
1980 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
1981 fix m_allocate_node call.
1982 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
1983
1984 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
1985
1986 PR libstdc++/23462
1987 * testsuite/data/sgetn.txt: Revert to previous FSF address.
1988
1989 2005-08-23 Thomas Kho <tkho@ucla.edu>
1990
1991 PR libstdc++/23358
1992 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1993 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
1994
1995 2005-08-22 Geoffrey Keating <geoffk@apple.com>
1996
1997 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
1998 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1999
2000 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
2001
2002 * config/cpu/sh/atomicity.h: Replace broken generic code with current
2003 copy of generic/atomicity.h .
2004
2005 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
2006
2007 * All files: Update FSF address.
2008
2009 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
2010
2011 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
2012 xfail on *-*-darwin*.
2013
2014 2005-08-03 Geoffrey Keating <geoffk@apple.com>
2015
2016 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
2017 GLIBCXX_IS_NATIVE on Darwin crosses.
2018 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
2019 the testsuite just because there's no symbol versioning.
2020 * configure: Regenerate.
2021
2022 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
2023 status messages.
2024 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
2025 (GLIBCXX_CHECK_POLL): Likewise.
2026 (GLIBCXX_CHECK_WRITEV): Likewise.
2027 (GLIBCXX_CHECK_INT64_T): Likewise.
2028 (GLIBCXX_CHECK_LFS): Likewise.
2029 * configure: Regenerate.
2030
2031 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
2032
2033 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
2034
2035 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 PR libstdc++/22284
2038 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
2039 the change to info.ttype_base.
2040
2041 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2042
2043 * include/std/std_valarray.h: Fix grammar in comments.
2044
2045 2005-07-25 Geoffrey Keating <geoffk@apple.com>
2046
2047 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
2048 and make it the default for Darwin.
2049 * scripts/make-exports.pl: New.
2050 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
2051 Handle darwin-export.
2052 * configure: Regenerate.
2053 * include/Makefile.in: Regenerate.
2054 * libmath/Makefile.in: Regenerate.
2055 * libsupc++/Makefile.in: Regenerate.
2056 * po/Makefile.in: Regenerate.
2057 * src/Makefile.in: Regenerate.
2058 * testsuite/Makefile.in: Regenerate.
2059
2060 2005-07-25 Dave Odell <evilalias@hotmail.com>
2061
2062 PR libstdc++/23053
2063 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
2064 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
2065
2066 2005-07-25 Paolo Carlini <pcarlini@suse.de>
2067
2068 PR libstdc++/22515
2069 * include/bits/basic_string.h: Declare the specialization
2070 operator>>(basic_istream<char>&, basic_string<char>&).
2071 * include/std/std_istream.h: Declate the specialization
2072 operator>>(basic_istream<char>&, char*).
2073 * include/std/std_streambuf.h (basic_streambuf): Add friend
2074 declarations for the above.
2075 * src/istream.cc: Define the above.
2076 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
2077 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
2078 Likewise.
2079 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
2080
2081 2005-07-20 Paolo Carlini <pcarlini@suse.de>
2082
2083 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
2084 instead of size_t.
2085 * src/streambuf.cc (__copy_streambufs): Likewise.
2086
2087 2005-07-18 Paolo Carlini <pcarlini@suse.de>
2088
2089 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
2090 Speed-up for the common case of mask == ctype_base::space;
2091 otherwise, exit the loop earlier if the mask is one of the
2092 elementary ones.
2093
2094 2005-07-14 Paolo Carlini <pcarlini@suse.de>
2095
2096 PR libstdc++/21193 (float, double, long double)
2097 * include/tr1/functional (hash<float>, hash<double>):
2098 Reimplement exploiting the Fnv_hash<>::hash helper.
2099 (hash<long double>): Reimplement using frexp (in this
2100 case, due to random padding bits, the former approach
2101 is not generally viable).
2102
2103 2005-07-13 Paolo Carlini <pcarlini@suse.de>
2104
2105 PR libstdc++/21193 (string & wstring)
2106 * include/tr1/functional (hash<string>, hash<wstring>):
2107 Reimplement using the FNV hash.
2108
2109 * include/tr1/functional: Trivial formatting fixes.
2110
2111 2005-07-11 Paolo Carlini <pcarlini@suse.de>
2112
2113 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
2114 basic_ostream<>::operator<<(long long)): Don't deal with oct
2115 and hex and casts to unsigned here...
2116 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
2117 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
2118 long, const _CharT*, ios_base::fmtflags)): ... do that here,
2119 instead, as per Table 57.
2120 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
2121 sign.
2122 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
2123 Adjust logic, as per the letter of the resolution of DR117 [WP].
2124 * testsuite/22_locale/num_put/put/char/10.cc: New.
2125 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
2126 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
2127 Likewise.
2128 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
2129 Likewise.
2130
2131 2005-07-07 David Edelsohn <edelsohn@gnu.org>
2132
2133 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
2134 Change map_t to map_type.
2135
2136 2005-07-05 Paolo Carlini <pcarlini@suse.de>
2137
2138 Add class __versa_string, a versatile "basic_string-type" class:
2139 an additional, non-standard, template parameter allows to specify
2140 the preferred base class. Two are provided: __rc_string_base,
2141 which implements a behavior very similar to our standard string,
2142 and __sso_string_base, not reference-counted and optimized for
2143 short strings.
2144 * include/ext/rc_string_base.h: New.
2145 * include/ext/sso_string_base.h: Likewise.
2146 * include/ext/vstring.h: Likewise.
2147 * include/ext/vstring.tcc: Likewise.
2148 * include/ext/vstring_fwd.h: Likewise.
2149 * include/ext/vstring_util.h: Likewise.
2150 * include/Makefile.am: Add.
2151 * include/Makefile.in: Regenerate.
2152 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
2153 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
2154 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
2155 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
2156
2157 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
2158 officially used by v3).
2159 * aclocal.m4: Likewise.
2160 * libmath/Makefile.in: Likewise.
2161 * libsupc++/Makefile.in: Likewise.
2162 * po/Makefile.in: Likewise.
2163 * src/Makefile.in: Likewise.
2164 * testsuite/Makefile.in: Likewise.
2165
2166 2005-07-01 Paolo Carlini <pcarlini@suse.de>
2167
2168 Port from libstdcxx_so_7-branch:
2169 2004-10-28 Chris Jefferson <chris@bubblescope.net>
2170
2171 PR libstdc++/17441
2172 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
2173 find(,,,random_access_interator_tag),
2174 find_if(,,,input_iterator_tag),
2175 find_if(,,,random_access_iterator_tag)): Uglify function name.
2176 (find, find_if): Use new uglified specialisation names.
2177 * testsuite/25_algorithms/find/17441.cc: New.
2178
2179 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
2180
2181 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
2182 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
2183 type before shifting.
2184
2185 2005-06-29 Paolo Carlini <pcarlini@suse.de>
2186
2187 PR libstdc++/21244 (cont^2)
2188 * include/ext/bitmap_allocator.h: Convert everywhere
2189 bits_per_block to size_t.
2190
2191 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
2192
2193 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
2194 Doxygen comments that use wrong parameter and function names.
2195
2196 2005-06-29 Paolo Carlini <pcarlini@suse.de>
2197
2198 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
2199 * docs/html/ext/howto.html: Adjust.
2200
2201 2005-06-29 Paolo Carlini <pcarlini@suse.de>
2202
2203 PR libstdc++/22131
2204 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
2205 num_get<>::_M_extract_float, money_get<>::_M_extract):
2206 Adjust to assign the result also when digit grouping is
2207 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
2208 (NB: consistently for money_get too).
2209 * config/locale/generic/c_locale.cc (__convert_to_v): Do
2210 not check ios_base::failbit at the outset.
2211 * config/locale/gnu/c_locale.cc: Likewise.
2212 * testsuite/22_locale/money_get/get/char/22131.cc: New.
2213 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
2214 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2215 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2216 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
2217 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2218 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
2219 Likewise.
2220 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
2221 Likewise.
2222
2223 2005-06-28 Paul Brook <paul@codesourcery.com>
2224
2225 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
2226 __cxa_end_cleanup.
2227 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
2228 * libsupc++/eh_arm.cc: New file.
2229 * libsupc++/eh_call.cc: New file.
2230 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
2231 __gxx_caught_object.
2232 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
2233 _Unwind_Complete when using the ARM EABI.
2234 (__cxa_end_catch): Use __is_gxx_exception_class.
2235 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
2236 using the ARM EABI.
2237 (save_caught_exception, restore_caught_exception): New functions.
2238 (_throw_typet): New typedef.
2239 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
2240 EABI implementations.
2241 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
2242 unwinding libary.
2243 (__cxa_unexpected): Disable when using the ARM EABI.
2244 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
2245 (__cxa_rethrow): Use __is_gxx_exception_class. Call
2246 _Unwind_RaiseException when using the ARM EABI.
2247 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
2248 EABI semantics.
2249 (struct __cxa_eh_globals): Ditto.
2250 (__cxa_call_terminate): Add prototype.
2251 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
2252 prototypes.
2253 (__get_exception_header_from_obj, __get_exception_header_from_ue):
2254 Move earlier in file.
2255 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
2256 __gxx_caught_object): New functions.
2257 * aclocal.m4: Regenerate.
2258 * configure: Regenerate.
2259 * Makefile.in: Regenerate.
2260 * include/Makefile.in: Regenerate.
2261 * libmath/Makefile.in: Regenerate.
2262 * libsupc++/Makefile.in: Regenerate.
2263 * po/Makefile.in: Regenerate.
2264 * src/Makefie.in: Regenerate.
2265 * testsuite/makefile.in: Regenerate.
2266
2267 2005-06-27 Paolo Carlini <pcarlini@suse.de>
2268
2269 PR libstdc++/22102
2270 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
2271 insert_equal((iterator, const _Val&)): Reimplement to check both
2272 before and after, as per the algorithm "ignore hint if wrong" of
2273 ISO paper N1780.
2274
2275 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
2276 Ami Tavory <pbassoc@gmail.com>
2277
2278 * docs/html/documentation.html: Add link for policy based
2279 associative containers docs.
2280 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
2281 * docs/html/ext/pb_assoc/acks.html: New.
2282 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
2283 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
2284 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
2285 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
2286 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
2287 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
2288 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
2289 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
2290 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
2291 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
2292 * docs/html/ext/pb_assoc/
2293 basic_tree_assoc_cntnr_const_node_iterator.html: New.
2294 * docs/html/ext/pb_assoc/
2295 basic_tree_assoc_cntnr_node_iterator.html: New.
2296 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
2297 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
2298 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
2299 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
2300 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
2301 * docs/html/ext/pb_assoc/
2302 cc_hash_max_collision_check_resize_trigger.html: New.
2303 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
2304 * docs/html/ext/pb_assoc/cd.jpg: New.
2305 * docs/html/ext/pb_assoc/component_requirements.html: New.
2306 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
2307 * docs/html/ext/pb_assoc/compound_data_type.html: New.
2308 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
2309 * docs/html/ext/pb_assoc/concepts.html: New.
2310 * docs/html/ext/pb_assoc/contact.html: New.
2311 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
2312 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
2313 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
2314 * docs/html/ext/pb_assoc/design.html: New.
2315 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
2316 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
2317 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
2318 * docs/html/ext/pb_assoc/disclaimer.html: New.
2319 * docs/html/ext/pb_assoc/ds_gen.html: New.
2320 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
2321 * docs/html/ext/pb_assoc/ds_traits.html: New.
2322 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
2323 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
2324 * docs/html/ext/pb_assoc/examples.html: New.
2325 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
2326 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
2327 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
2328 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
2329 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
2330 * docs/html/ext/pb_assoc/generics.html: New.
2331 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
2332 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
2333 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
2334 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
2335 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
2336 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
2337 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
2338 * docs/html/ext/pb_assoc/hash_fn.html: New.
2339 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
2340 * docs/html/ext/pb_assoc/hash_policies.html: New.
2341 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
2342 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
2343 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
2344 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
2345 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
2346 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
2347 * docs/html/ext/pb_assoc/home.html: New.
2348 * docs/html/ext/pb_assoc/index.html: New.
2349 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
2350 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
2351 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
2352 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
2353 * docs/html/ext/pb_assoc/interface.html: New.
2354 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
2355 * docs/html/ext/pb_assoc/introduction.html: New.
2356 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
2357 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
2358 * docs/html/ext/pb_assoc/lib_download.html: New.
2359 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
2360 * docs/html/ext/pb_assoc/list_updates.html: New.
2361 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
2362 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
2363 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
2364 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
2365 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
2366 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
2367 * docs/html/ext/pb_assoc/motivation.html: New.
2368 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
2369 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
2370 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
2371 * docs/html/ext/pb_assoc/ms_gen.html: New.
2372 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
2373 * docs/html/ext/pb_assoc/ms_traits.html: New.
2374 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
2375 * docs/html/ext/pb_assoc/node_invariants.html: New.
2376 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
2377 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
2378 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
2379 * docs/html/ext/pb_assoc/null_data_type.html: New.
2380 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
2381 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
2382 * docs/html/ext/pb_assoc/order_by_key.html: New.
2383 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
2384 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
2385 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
2386 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
2387 * docs/html/ext/pb_assoc/overview.html: New.
2388 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
2389 * docs/html/ext/pb_assoc/portability.html: New.
2390 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
2391 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
2392 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
2393 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
2394 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
2395 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
2396 * docs/html/ext/pb_assoc/references.html: New.
2397 * docs/html/ext/pb_assoc/regression_tests.html: New.
2398 * docs/html/ext/pb_assoc/resize_general.html: New.
2399 * docs/html/ext/pb_assoc/resize_policies.html: New.
2400 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
2401 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
2402 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
2403 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
2404 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
2405 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
2406 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
2407 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
2408 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
2409 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
2410 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
2411 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
2412 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
2413 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
2414 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
2415 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
2416 * docs/html/ext/pb_assoc/size_policies_general.html: New.
2417 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
2418 * docs/html/ext/pb_assoc/timing_tests.html: New.
2419 * docs/html/ext/pb_assoc/toc.html: New.
2420 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
2421 * docs/html/ext/pb_assoc/
2422 tree_assoc_cntnr_const_node_iterator.html: New.
2423 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
2424 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
2425 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
2426 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
2427 * docs/html/ext/pb_assoc/tutorial.html: New.
2428 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
2429 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
2430 assoc_headers.
2431 * include/Makefile.in: Regenerate.
2432 * include/ext/typelist.h: New.
2433 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
2434 * include/ext/pb_assoc/data_type.hpp: New.
2435 * include/ext/pb_assoc/ds_trait.hpp: New.
2436 * include/ext/pb_assoc/exception.hpp: New.
2437 * include/ext/pb_assoc/hash_policy.hpp: New.
2438 * include/ext/pb_assoc/lu_policy.hpp: New.
2439 * include/ext/pb_assoc/ms_trait.hpp: New.
2440 * include/ext/pb_assoc/tree_policy.hpp: New.
2441 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
2442 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
2443 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
2444 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
2445 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
2446 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
2447 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
2448 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
2449 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
2450 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
2451 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
2452 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
2453 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
2454 * include/ext/pb_assoc/detail/type_utils.hpp: New.
2455 * include/ext/pb_assoc/detail/typelist.hpp: New.
2456 * include/ext/pb_assoc/detail/types_traits.hpp: New.
2457 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2458 constructor_destructor_fn_imps.hpp: New.
2459 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2460 constructors_destructor_fn_imps.hpp: New.
2461 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
2462 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2463 d_find_fn_imps.hpp: New.
2464 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2465 d_insert_fn_imps.hpp: New.
2466 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
2467 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
2468 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
2469 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2470 insert_fn_imps.hpp: New.
2471 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2472 iterators_fn_imps.hpp: New.
2473 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2474 constructor_destructor_fn_imps.hpp: New.
2475 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2476 constructors_destructor_fn_imps.hpp: New.
2477 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2478 resize_fn_imps.hpp: New.
2479 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2480 constructor_destructor_fn_imps.hpp: New.
2481 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2482 constructors_destructor_fn_imps.hpp: New.
2483 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2484 erase_fn_imps.hpp: New.
2485 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2486 node_iteration_fn_imps.hpp: New.
2487 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2488 policy_access_fn_imps.hpp: New.
2489 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2490 r_erase_fn_imps.hpp: New.
2491 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2492 r_range_iteration_fn_imps.hpp: New.
2493 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2494 range_iteration_fn_imps.hpp: New.
2495 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2496 split_join_fn_imps.hpp: New.
2497 * include/ext/pb_assoc/detail/bin_search_tree_/
2498 bin_search_tree_.hpp: New.
2499 * include/ext/pb_assoc/detail/bin_search_tree_/
2500 cond_dtor_entry_dealtor.hpp: New.
2501 * include/ext/pb_assoc/detail/bin_search_tree_/
2502 cond_key_dtor_entry_dealtor.hpp: New.
2503 * include/ext/pb_assoc/detail/bin_search_tree_/
2504 constructors_destructor_fn_imps.hpp: New.
2505 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
2506 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
2507 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
2508 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
2509 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
2510 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
2511 * include/ext/pb_assoc/detail/bin_search_tree_/
2512 iterators_fn_imps.hpp: New.
2513 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
2514 * include/ext/pb_assoc/detail/bin_search_tree_/
2515 r_erase_fn_imps.hpp: New.
2516 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
2517 * include/ext/pb_assoc/detail/bin_search_tree_/
2518 split_join_fn_imps.hpp: New.
2519 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
2520 constructor_destructor_fn_imps.hpp: New.
2521 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
2522 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
2523 * include/ext/pb_assoc/detail/cc_ht_map_/
2524 cond_key_dtor_entry_dealtor.hpp: New.
2525 * include/ext/pb_assoc/detail/cc_ht_map_/
2526 constructor_destructor_fn_imps.hpp: New.
2527 * include/ext/pb_assoc/detail/cc_ht_map_/
2528 constructor_destructor_no_store_hash_fn_imps.hpp: New.
2529 * include/ext/pb_assoc/detail/cc_ht_map_/
2530 constructor_destructor_store_hash_fn_imps.hpp: New.
2531 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
2532 * include/ext/pb_assoc/detail/cc_ht_map_/
2533 debug_no_store_hash_fn_imps.hpp: New.
2534 * include/ext/pb_assoc/detail/cc_ht_map_/
2535 debug_store_hash_fn_imps.hpp: New.
2536 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
2537 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
2538 * include/ext/pb_assoc/detail/cc_ht_map_/
2539 erase_no_store_hash_fn_imps.hpp: New.
2540 * include/ext/pb_assoc/detail/cc_ht_map_/
2541 erase_store_hash_fn_imps.hpp: New.
2542 * include/ext/pb_assoc/detail/cc_ht_map_/
2543 find_fn_imps.hpp: New.
2544 * include/ext/pb_assoc/detail/cc_ht_map_/
2545 find_no_store_hash_fn_imps.hpp: New.
2546 * include/ext/pb_assoc/detail/cc_ht_map_/
2547 find_store_hash_fn_imps.hpp: New.
2548 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
2549 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
2550 * include/ext/pb_assoc/detail/cc_ht_map_/
2551 insert_no_store_hash_fn_imps.hpp: New.
2552 * include/ext/pb_assoc/detail/cc_ht_map_/
2553 insert_store_hash_fn_imps.hpp: New.
2554 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
2555 * include/ext/pb_assoc/detail/cc_ht_map_/
2556 policy_access_fn_imps.hpp: New.
2557 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
2558 * include/ext/pb_assoc/detail/cc_ht_map_/
2559 resize_no_store_hash_fn_imps.hpp: New.
2560 * include/ext/pb_assoc/detail/cc_ht_map_/
2561 resize_store_hash_fn_imps.hpp: New.
2562 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
2563 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
2564 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
2565 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
2566 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
2567 constructor_destructor_fn_imps.hpp: New.
2568 * include/ext/pb_assoc/detail/gp_ht_map_/
2569 constructor_destructor_fn_imps.hpp: New.
2570 * include/ext/pb_assoc/detail/gp_ht_map_/
2571 constructor_destructor_no_store_hash_fn_imps.hpp: New.
2572 * include/ext/pb_assoc/detail/gp_ht_map_/
2573 constructor_destructor_store_hash_fn_imps.hpp: New.
2574 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
2575 * include/ext/pb_assoc/detail/gp_ht_map_/
2576 debug_no_store_hash_fn_imps.hpp: New.
2577 * include/ext/pb_assoc/detail/gp_ht_map_/
2578 debug_store_hash_fn_imps.hpp: New.
2579 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
2580 * include/ext/pb_assoc/detail/gp_ht_map_/
2581 erase_no_store_hash_fn_imps.hpp: New.
2582 * include/ext/pb_assoc/detail/gp_ht_map_/
2583 erase_store_hash_fn_imps.hpp: New.
2584 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
2585 * include/ext/pb_assoc/detail/gp_ht_map_/
2586 find_no_store_hash_fn_imps.hpp: New.
2587 * include/ext/pb_assoc/detail/gp_ht_map_/
2588 find_store_hash_fn_imps.hpp: New.
2589 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
2590 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
2591 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
2592 * include/ext/pb_assoc/detail/gp_ht_map_/
2593 insert_no_store_hash_fn_imps.hpp: New.
2594 * include/ext/pb_assoc/detail/gp_ht_map_/
2595 insert_store_hash_fn_imps.hpp: New.
2596 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
2597 * include/ext/pb_assoc/detail/gp_ht_map_/
2598 policy_access_fn_imps.hpp: New.
2599 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
2600 * include/ext/pb_assoc/detail/gp_ht_map_/
2601 resize_no_store_hash_fn_imps.hpp: New.
2602 * include/ext/pb_assoc/detail/gp_ht_map_/
2603 resize_store_hash_fn_imps.hpp: New.
2604 * include/ext/pb_assoc/detail/hash_fn/
2605 direct_mask_range_hashing_imp.hpp: New.
2606 * include/ext/pb_assoc/detail/hash_fn/
2607 direct_mod_range_hashing_imp.hpp: New.
2608 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
2609 * include/ext/pb_assoc/detail/hash_fn/
2610 mask_based_range_hashing.hpp: New.
2611 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
2612 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
2613 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
2614 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
2615 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
2616 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2617 constructor_destructor_fn_imps.hpp: New.
2618 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2619 policy_access_fn_imps.hpp: New.
2620 * include/ext/pb_assoc/detail/lu_map_/
2621 constructor_destructor_fn_imps.hpp: New.
2622 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
2623 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
2624 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
2625 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
2626 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
2627 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
2628 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
2629 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
2630 * include/ext/pb_assoc/detail/lu_policy/
2631 counter_lu_metadata_imp.hpp: New.
2632 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
2633 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
2634 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
2635 * include/ext/pb_assoc/detail/ov_tree_map_/
2636 constructors_destructor_fn_imps.hpp: New.
2637 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
2638 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
2639 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
2640 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
2641 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
2642 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
2643 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
2644 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
2645 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
2646 * include/ext/pb_assoc/detail/rb_tree_map_/
2647 constructors_destructor_fn_imps.hpp: New.
2648 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
2649 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
2650 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
2651 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
2652 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
2653 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
2654 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
2655 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
2656 * include/ext/pb_assoc/detail/resize_policy/
2657 cc_hash_max_collision_resize_trigger_imp.hpp: New.
2658 * include/ext/pb_assoc/detail/resize_policy/
2659 hash_exponential_size_policy_imp.hpp: New.
2660 * include/ext/pb_assoc/detail/resize_policy/
2661 hash_load_check_resize_trigger_imp.hpp: New.
2662 * include/ext/pb_assoc/detail/resize_policy/
2663 hash_prime_size_policy_imp.hpp: New.
2664 * include/ext/pb_assoc/detail/resize_policy/
2665 hash_standard_resize_policy_imp.hpp: New.
2666 * include/ext/pb_assoc/detail/resize_policy/
2667 ht_prime_size_policy_imp.hpp: New.
2668 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
2669 * include/ext/pb_assoc/detail/splay_tree_/
2670 constructors_destructor_fn_imps.hpp: New.
2671 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
2672 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
2673 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
2674 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
2675 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
2676 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
2677 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
2678 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
2679 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
2680 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
2681 constructor_destructor_fn_imps.hpp: New.
2682 * include/ext/pb_assoc/detail/tree_policy/
2683 null_node_updator_imp.hpp: New.
2684 * include/ext/pb_assoc/detail/tree_policy/
2685 order_statistics_imp.hpp: New.
2686 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
2687 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
2688 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
2689 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
2690 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
2691 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
2692 * include/ext/pb_assoc/detail/typelist/
2693 typelist_typelist_append.hpp: New.
2694 * include/ext/pb_assoc/detail/unordered_iterator/
2695 const_find_iterator.hpp: New.
2696 * include/ext/pb_assoc/detail/unordered_iterator/
2697 const_iterator.hpp: New.
2698 * include/ext/pb_assoc/detail/unordered_iterator/
2699 find_iterator.hpp: New.
2700 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
2701 * include/ext/pb_assoc/detail/value_type_adapter/
2702 constructor_destructor_and_related.hpp: New.
2703 * include/ext/pb_assoc/detail/value_type_adapter/
2704 erase_fn_imps.hpp: New.
2705 * include/ext/pb_assoc/detail/value_type_adapter/
2706 erase_if_pred.hpp: New.
2707 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
2708 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
2709 * include/ext/pb_assoc/detail/value_type_adapter/
2710 insert_fn_imps.hpp: New.
2711 * include/ext/pb_assoc/detail/value_type_adapter/
2712 invalidation_guarantee_selector.hpp: New.
2713 * include/ext/pb_assoc/detail/value_type_adapter/
2714 it_value_type_traits.hpp: New.
2715 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
2716 * include/ext/pb_assoc/detail/value_type_adapter/
2717 iterator_fn_imps.hpp: New.
2718 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
2719 * include/ext/pb_assoc/detail/value_type_adapter/
2720 value_type_adapter.hpp: New.
2721 * include/ext/pb_assoc/detail/value_type_adapter/
2722 value_type_traits.hpp: New.
2723 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
2724 * testsuite/Makefile.in: Regenerate.
2725 * testsuite/testsuite_common_types.h: New.
2726 * testsuite/testsuite_visualization.h: New.
2727 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
2728 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
2729 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
2730 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
2731 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
2732 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
2733 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
2734 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
2735 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
2736 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
2737 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
2738 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
2739 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
2740 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
2741 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
2742 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
2743 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
2744 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
2745 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
2746 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
2747 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
2748 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
2749 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
2750 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
2751 * testsuite/performance/20_util/allocator/(insert.cc,
2752 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
2753 producer_consumer.cc): Recast to use typelists and move to...
2754 * testsuite/performance/23_containers/find/map.cc: New.
2755 * testsuite/performance/23_containers/index/map.cc: New.
2756 * testsuite/performance/23_containers/insert/associative.cc: New.
2757 * testsuite/performance/23_containers/insert/sequence.cc: New.
2758 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
2759 * testsuite/performance/23_containers/producer_consumer/
2760 (associative.cc, sequence.cc): New.
2761 * testsuite/performance/23_containers/sort_search/list.cc: New.
2762 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
2763 * testsuite/performance/23_containers/map_create_fill.cc: Move...
2764 * testsuite/performance/23_containers/create/map.cc: ...here.
2765 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
2766 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
2767 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
2768 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
2769 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
2770 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
2771
2772 2005-06-23 Jakub Jelinek <jakub@redhat.com>
2773
2774 PR libstdc++/22109
2775 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
2776 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
2777 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
2778 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
2779 variants.
2780 (ignore (streamsize)): Remove _W prefixed aliases.
2781 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
2782 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
2783 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
2784 Use #XXname instead of #name as the alias argument.
2785 * config/abi/compatibility.h: Replace uses of
2786 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
2787 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
2788 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
2789 change.
2790 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
2791 * configure: Rebuilt.
2792
2793 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
2794
2795 PR libstdc++/22111
2796 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
2797 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
2798 Don't enable abi testing unless versioned.
2799 * configure: Regenerate.
2800 * testsuite/Makefile.am (check-abi): Remove conditional.
2801 * testsuite/Makefile.in: Regenerate.
2802 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
2803 v3-symver before proceeding.
2804 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
2805 if _GLIBCXX_SYMVER.
2806
2807 2005-06-17 Paolo Carlini <pcarlini@suse.de>
2808
2809 Port from libstdcxx_so_7-branch:
2810 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
2811
2812 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
2813 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
2814 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
2815 return type, just an old HP/SGI workaround.
2816 * testsuite/20_util/functional/binders.cc: Move to...
2817 * testsuite/20_util/functional/binders/3113.cc: ...here.
2818 * testsuite/20_util/functional/binders/1.cc: New.
2819
2820 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
2821
2822 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
2823
2824 2005-06-17 Jakub Jelinek <jakub@redhat.com>
2825 Benjamin Kosnik <bkoz@redhat.com>
2826
2827 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
2828 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
2829 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
2830 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
2831
2832 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
2833 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
2834 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
2835 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
2836
2837 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
2838 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
2839
2840 2005-06-17 Jakub Jelinek <jakub@redhat.com>
2841
2842 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
2843 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
2844 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
2845 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
2846 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2847 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
2848 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
2849 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
2850 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
2851 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
2852
2853 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2854
2855 * src/compatibility.cc: Include bits/c++config.h first.
2856 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
2857 and PIC are both defined.
2858 * include/bits/char_traits.h (char_traits::eq): Rename
2859 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
2860
2861 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2862
2863 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
2864 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
2865 * configure: Regenerate.
2866 * config.h.in: Regenerate.
2867 * src/compatibility.cc (istream:ignore(streamsize)): Use
2868 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
2869 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
2870 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
2871 instead for symbols with streamsize arguments.
2872
2873 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2874
2875 * config/linker-map.gnu: Also export
2876 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
2877
2878 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
2879
2880 * configure.ac (libtool_VERSION): To 6:6:0.
2881 * configure: Regenerate.
2882 * config/linker-map.gnu: Edit.
2883 * src/istream.cc: Move istream::ignore(streamsize) specializations...
2884 * src/compatibility.cc: ...here. New.
2885 * include/bits/char_traits.h (char_traits::eq): Rename when
2886 appropriate.
2887 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
2888 Bump glibcxx_min_gnu_ld_version to 21590.
2889 * configure: Regenerate.
2890 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
2891 * config.h.in: Regenerate.
2892 * src/Makefile.am (sources): Add compatibility.cc.
2893 * src/Makefile.in: Regenerate.
2894 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
2895 * include/Makefile.in: Regenerate.
2896 * testsuite/testsuite_abi.h (symbol): Add data members.
2897 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
2898 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
2899 version checking.
2900
2901 2005-06-15 Paolo Carlini <pcarlini@suse.de>
2902
2903 * include/tr1/hashtable: Trivial formatting fixes.
2904 * include/tr1/unordered_map: Likewise.
2905 * include/tr1/unordered_set: Likewise.
2906
2907 2005-06-14 Tom Tromey <tromey@redhat.com>
2908
2909 PR libgcj/19877:
2910 * configure, aclocal.m4: Rebuilt.
2911 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
2912 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2913 testsuite/Makefile.in: Likewise.
2914
2915 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
2916
2917 PR libstdc++/21955
2918 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
2919 Remove unnecessary this->_M_mode decoration.
2920 * include/bits/fstream.tcc: Adjust line spacing.
2921 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
2922 base class behavior.
2923 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
2924 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
2925 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
2926 filebuf behavior.
2927 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
2928 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
2929 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
2930 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
2931 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
2932
2933 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
2934
2935 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
2936 tests.
2937 * configure: Regenerated.
2938
2939 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
2940
2941 * config/cpu/s390/atomicity.h: (__exchange_and_add,
2942 __atomic_add): Use the builtins for atomic memory operations.
2943
2944 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2945
2946 PR libstdc++/21770 (cont: __gnu_debug::string)
2947 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
2948 reference, const_reference, size_type, difference_type.
2949 * testsuite/21_strings/basic_string/2.cc: New.
2950
2951 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2952
2953 PR libstdc++/21770 (cont: debug-mode)
2954 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
2955 reference, const_reference.
2956 * include/debug/list: Likewise.
2957 * include/debug/map.h: Likewise.
2958 * include/debug/multimap.h: Likewise.
2959 * include/debug/multiset.h: Likewise.
2960 * include/debug/set.h: Likewise.
2961 * include/debug/vector: Likewise.
2962
2963 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2964
2965 Port from libstdcxx_so_7-branch:
2966 2004-09-24 Paolo Carlini <pcarlini@suse.de>
2967 Jonathan Wakely <redi@gcc.gnu.org>
2968
2969 * include/bits/stl_list.h (list::list(size_type, value_type,
2970 const allocator_type&): Implement according to the letter of the
2971 standard, i.e., don't use two overloads, not equivalent in case
2972 of non default constructible T.
2973 (list::resize(size_type, const value_type&)): Fix the signature:
2974 according to the standard the second argument is by value; also,
2975 don't use two overloads.
2976 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
2977 Adjust consistently the signature.
2978 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
2979 const allocator_type&)): Likewise.
2980 (deque::resize(size_type, const value_type&)): Likewise.
2981 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
2982 const allocator_type&)): Likewise.
2983 (vector::resize(size_type, const value_type&)): Likewise.
2984 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
2985 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
2986 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
2987 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
2988 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
2989 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
2990 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
2991 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
2992
2993 * include/bits/deque.tcc: Minor formatting fix.
2994
2995 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
2996
2997 * include/bits/stl_function.h: ... and another one.
2998
2999 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
3000
3001 * include/bits/stl_function.h: Fix typo in comment.
3002
3003 2005-06-05 Paolo Carlini <pcarlini@suse.de>
3004
3005 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
3006 too for ac_c99_complex.
3007 * configure: Regenerate.
3008
3009 2005-06-03 Paolo Carlini <pcarlini@suse.de>
3010
3011 PR libstdc++/21770
3012 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
3013 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
3014 the latter and add _M_get_Tp_allocator() which returns it. Use
3015 everywhere _M_get_Tp_allocator() instead of get_allocator().
3016 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
3017 * include/bits/stl_list.h: Add concept-check. In class _List_base
3018 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
3019 returns the allocator (of type _Node_alloc_type) converted to
3020 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
3021 get_allocator().
3022 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
3023 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
3024 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
3025 the latter and add _M_get_Tp_allocator() which returns it. Use
3026 everywhere _M_get_Tp_allocator() instead of get_allocator().
3027 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
3028 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
3029 _Pair_alloc_type and use it for _Rb_tree.
3030 * include/bits/stl_multimap.h: Likewise.
3031 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
3032 _Key_alloc_type and use it for _Rb_tree.
3033 * include/bits/stl_set.h: Likewise.
3034 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
3035 use it for the allocator typedefs.
3036 * testsuite/21_strings/basic_string/1.cc: New.
3037 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
3038 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
3039 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
3040 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
3041 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
3042 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
3043 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
3044 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
3045 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
3046 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
3047 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
3048 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
3049 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
3050 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
3051 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
3052 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
3053 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
3054 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
3055 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
3056 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
3057 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
3058
3059 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
3060
3061 PR c++/21280
3062 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
3063 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
3064
3065 2005-05-31 Paolo Carlini <pcarlini@suse.de>
3066
3067 PR libstdc++/20534 (contd)
3068 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
3069 __gnu_debug::__fancy_abort.
3070 * src/debug.cc: Define the latter.
3071 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
3072 assert.
3073 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
3074
3075 2005-05-30 Paolo Carlini <pcarlini@suse.de>
3076
3077 * include/std/std_complex.h (log(const complex<_Tp>&)): When
3078 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
3079
3080 2005-05-28 Paolo Carlini <pcarlini@suse.de>
3081
3082 Revert:
3083 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3084 Nathan Myers <ncm@cantrip.org>
3085
3086 PR libstdc++/19495
3087 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3088 size_type instead of char and rename to _Raw_alloc.
3089 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3090 Use the above.
3091 * src/bitmap_allocator.cc: Add instantiation for size_type.
3092 * src/mt_allocator.cc: Likewise.
3093 * src/pool_allocator.cc: Likewise.
3094 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3095 the existence of an _Array::begin() and size() members.
3096 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3097 of size_type, instead of char, thus avoiding problems with
3098 rebinds, not treated correctly by array_allocator.
3099
3100 2005-05-27 Paolo Carlini <pcarlini@suse.de>
3101
3102 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
3103 a notice about the configure options.
3104
3105 2005-05-27 Mark Mitchell <mark@codesourcery.com>
3106
3107 * docs/html/test.html: Mention PCH_CXXFLAGS.
3108 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
3109 available stcd++.h PCH.
3110 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
3111
3112 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3113
3114 * src/misc-inst.cc: Remove unnecessary included files.
3115
3116 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
3117
3118 PR libstdc++/21674
3119 * include/bits/c++config: Remove extern template use when in debug
3120 mode, disable for non-weak systems.
3121
3122 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
3123
3124 PR libstdc++/20534
3125 * include/debug/debug.h: Forwarding header, that pulls in details
3126 only if in debug mode.
3127 * include/debug/macros.h: ...transfer all the internal macros here.
3128 * include/debug/functions.h: ...transfer all the functions here.
3129 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
3130 * include/debug/safe_sequence.h: Same.
3131 * include/debug/vector: Tweak.
3132 * include/Makefile.am (debug_headers): Add new includes.
3133 * include/Makefile.in: Regenerate.
3134 * testsuite/17_intro/no_assert_neg.cc: Add.
3135
3136 * include/ext/hash_set: Add debug mode include.
3137 * include/ext/hash_map: Same.
3138 * include/debug/hash_map: Fix included files to match actual files.
3139 * include/debug/hash_set: Same.
3140
3141 2005-05-26 Paolo Carlini <pcarlini@suse.de>
3142
3143 PR libstdc++/13943
3144 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
3145 available when _GLIBCXX_USE_C99 is defined.
3146 * testsuite/26_numerics/cstdlib/13943.cc: New.
3147
3148 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
3149 also strtoll and strtoull for ac_c99_stdlib.
3150 * configure: Regenerate.
3151
3152 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
3153
3154 * config/linker-map.gnu: Add linkage support for no extern templates.
3155 (std::ios_base::_M_call_callbacks): Add.
3156 (std::ios_base::_M_dispose_callbacks): Add.
3157 (std::locale::facet::_S_get_c_name): Add.
3158 (std::__copy_streambufs): Add.
3159 * configure.ac (libtool_VERSION): To 6:5:0.
3160 * configure: Regenerate.
3161 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
3162
3163 2005-05-25 Paolo Carlini <pcarlini@suse.de>
3164
3165 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
3166 Use, consistently, traits_type::assign.
3167
3168 2005-05-25 Paolo Carlini <pcarlini@suse.de>
3169
3170 * config/cpu/alpha/atomicity.h: Use the builtins for
3171 atomic memory operations.
3172 * config/cpu/powerpc/atomicity.h: Likewise.
3173 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
3174
3175 2005-05-24 Paolo Carlini <pcarlini@suse.de>
3176
3177 * testsuite/25_algorithms/equal.cc: Move to...
3178 * testsuite/25_algorithms/equal: ... here.
3179 * testsuite/25_algorithms/lower_bound.cc: Move to...
3180 * testsuite/25_algorithms/lower_bound: ... here.
3181
3182 2005-05-24 Paolo Carlini <pcarlini@suse.de>
3183
3184 Port from libstdcxx_so_7-branch:
3185 2005-20-05 Chris Jefferson <chris@bubblescope.net>
3186
3187 * testsuite/25_algorithms/heap.cc: Move to...
3188 * testsuite/25_algorithms/heap/heap.cc: ...here.
3189 * testsuite/25_algorithms/partition.cc: Move to...
3190 * testsuite/25_algorithms/partition/partition.cc: ...here.
3191
3192 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
3193
3194 * testsuite/25_algorithms/includes/1.cc: Add tests.
3195 * testsuite/25_algorithms/search/1.cc: Likewise.
3196 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
3197 * testsuite/25_algorithms/swap_ranges/1.cc: New.
3198 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
3199 * testsuite/25_algorithms/rotate.cc: Move to...
3200 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
3201 * testsuite/25_algorithms/rotate/1.cc: New.
3202 * testsuite/25_algorithms/rotate/check_type.cc: New.
3203 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
3204
3205 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
3206
3207 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
3208 Don't assume that __new_value and *__first are convertible to
3209 each other.
3210
3211 * testsuite/25_algorithms/find/1.cc: New.
3212 * testsuite/25_algorithms/find/check_type.cc: New.
3213 * testsuite/25_algorithms/find_if/1.cc: New.
3214 * testsuite/25_algorithms/find_if/check_type.cc: New.
3215 * testsuite/25_algorithms/replace/1.cc: New.
3216 * testsuite/25_algorithms/replace/check_type.cc: New.
3217 * testsuite/25_algorithms/replace_if/1.cc: New.
3218 * testsuite/25_algorithms/replace_if/check_type.cc: New.
3219 * testsuite/25_algorithms/replace_copy/1.cc: New.
3220 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
3221 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
3222 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
3223 * testsuite/25_algorithms/remove/1.cc: New.
3224 * testsuite/25_algorithms/remove/check_type.cc: New.
3225 * testsuite/25_algorithms/remove_if/1.cc: New.
3226 * testsuite/25_algorithms/remove_if/check_type.cc: New.
3227 * testsuite/25_algorithms/count/1.cc: New.
3228 * testsuite/25_algorithms/count/check_type.cc: New.
3229 * testsuite/25_algorithms/count_if/1.cc: New.
3230 * testsuite/25_algorithms/count_if/check_type.cc: New.
3231
3232 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
3233 Paolo Carlini <pcarlini@suse.de>
3234
3235 * testsuite/ext/is_heap/check_type.cc: New.
3236
3237 2005-02-27 Paolo Carlini <pcarlini@suse.de>
3238
3239 * testsuite/ext/is_heap/1.cc: New.
3240
3241 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
3242
3243 * testsuite/ext/median.cc: New.
3244 * testsuite/25_algorithms/adjacent_find/1.cc: New.
3245 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
3246 * testsuite/25_algorithms/search/1.cc: New.
3247 * testsuite/25_algorithms/search/check_type.cc: New.
3248 * testsuite/25_algorithms/unique_copy/1.cc: New.
3249 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
3250 * testsuite/25_algorithms/partial_sort/1.cc: New.
3251 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
3252 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
3253 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
3254 * testsuite/25_algorithms/lower_bound/1.cc: New.
3255 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
3256 * testsuite/25_algorithms/upper_bound/1.cc: New.
3257 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
3258 * testsuite/25_algorithms/merge/1.cc: New.
3259 * testsuite/25_algorithms/merge/check_type.cc: New.
3260 * testsuite/25_algorithms/inplace_merge/1.cc: New.
3261 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
3262 * testsuite/25_algorithms/stable_sort/1.cc: New.
3263 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
3264 * testsuite/25_algorithms/nth_element/1.cc: New.
3265 * testsuite/25_algorithms/nth_element/check_type.cc: New.
3266 * testsuite/25_algorithms/equal_range/1.cc: New.
3267 * testsuite/25_algorithms/equal_range/check_type.cc: New.
3268 * testsuite/25_algorithms/binary_search/1.cc: New.
3269 * testsuite/25_algorithms/binary_search/check_type.cc: New.
3270 * testsuite/25_algorithms/includes/1.cc: New.
3271 * testsuite/25_algorithms/includes/check_type.cc: New.
3272 * testsuite/25_algorithms/set_union/1.cc: New.
3273 * testsuite/25_algorithms/set_union/check_type.cc: New.
3274 * testsuite/25_algorithms/set_intersection/1.cc: New.
3275 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
3276 * testsuite/25_algorithms/set_difference/1.cc: New.
3277 * testsuite/25_algorithms/set_difference/check_type.cc: New.
3278 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
3279 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
3280 * testsuite/25_algorithms/min_element/1.cc: New.
3281 * testsuite/25_algorithms/min_element/check_type.cc: New.
3282 * testsuite/25_algorithms/max_element/1.cc: New.
3283 * testsuite/25_algorithms/max_element/check_type.cc: New.
3284 * testsuite/25_algorithms/prev_permutation/1.cc: New.
3285 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
3286 * testsuite/25_algorithms/next_permutation/1.cc: New.
3287 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
3288 * testsuite/25_algorithms/find_first_of/1.cc: New.
3289 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
3290 * testsuite/25_algorithms/find_end/1.cc: New.
3291 * testsuite/25_algorithms/find_end/check_type.cc: New.
3292 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
3293 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
3294 Likewise.
3295
3296 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
3297
3298 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
3299 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
3300 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
3301 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
3302 * testsuite/25_algorithms/equal/check_type.cc: New.
3303 * testsuite/25_algorithms/equal/1.cc: New.
3304
3305 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
3306
3307 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
3308 __glibcxx_base_allocator.
3309 * config/allocator/bitmap_allocator_base.h: Same.
3310 * config/allocator/malloc_allocator_base.h: Same.
3311 * config/allocator/mt_allocator_base.h: Same.
3312 * config/allocator/new_allocator_base.h: Same.
3313 * config/allocator/pool_allocator_base.h: Same.
3314
3315 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
3316
3317 * include/debug/string (class basic_string): Add missing
3318 default template arguments; provide typedefs for char
3319 and wchar_t.
3320 (operator[]): Allow s[s.size()] in debug mode, but not
3321 pedantic mode.
3322
3323 2005-05-24 Paolo Carlini <pcarlini@suse.de>
3324
3325 Port from libstdcxx_so_7-branch:
3326 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
3327
3328 * include/bits/stl_algo.h (count): Correct concept checks.
3329 (search_n) : Likewise.
3330 * testsuite/25_algorithms/search_n/check_type.cc: New.
3331
3332 * testsuite/testsuite_iterators.h
3333 (random_access_iterator_wrapper::operator+): Move out of
3334 class to external function, and add symmetric version.
3335
3336 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
3337
3338 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
3339 Add const.
3340
3341 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
3342
3343 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
3344 operator--): Fix typo.
3345 (OutputContainer::OutputContainer): Correct zeroing array.
3346 (WritableObject::operator==): Fix typo.
3347 (WritableObject::operator=): make operator= templated
3348 to allow differing types to be assigned.
3349 (WritableObject::operator++): Fix checking if iterator is
3350 written to multiple times.
3351 (random_access_iterator_wrapper::operator+): Add const.
3352 (random_access_iterator_wrapper::operator-): Likewise.
3353 (random_access_iterator_wrapper::operator[]): Add dereference.
3354
3355 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
3356
3357 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
3358 had to be defined for pedantic mode in 3.4 and 4.0.0.
3359
3360 2005-05-20 Jan Beulich <jbeulich@novell.com>
3361
3362 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
3363 system libraries.
3364
3365 2005-05-20 Paolo Carlini <pcarlini@suse.de>
3366
3367 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
3368 Don't qualify __tmp as const, _ValueType is not necessarily
3369 Assignable.
3370 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
3371 Likewise, as an harmless extension.
3372
3373 2005-05-19 Richard Henderson <rth@redhat.com>
3374
3375 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
3376
3377 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
3378
3379 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
3380 debug mode, but not pedantic mode.
3381
3382 2005-05-19 Jan Beulich <jbeulich@novell.com>
3383
3384 * libsupc++/unwind-cxx.h: Include cstdlib.
3385 (gcc_unreachable): #define.
3386 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
3387
3388 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3389 Nathan Myers <ncm@cantrip.org>
3390
3391 PR libstdc++/19495
3392 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3393 size_type instead of char and rename to _Raw_alloc.
3394 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3395 Use the above.
3396 * src/bitmap_allocator.cc: Add instantiation for size_type.
3397 * src/mt_allocator.cc: Likewise.
3398 * src/pool_allocator.cc: Likewise.
3399 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3400 the existence of an _Array::begin() and size() members.
3401 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3402 of size_type, instead of char, thus avoiding problems with
3403 rebinds, not treated correctly by array_allocator.
3404
3405 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3406
3407 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
3408 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3409 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
3410 missing dg-require-namedlocale.
3411 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
3412 Likewise.
3413 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
3414 Likewise.
3415 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
3416 Likewise.
3417
3418 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3419
3420 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
3421 * testsuite/testsuite_hooks.h: Remove try_named_locale.
3422 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
3423 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
3424 the above.
3425 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
3426 dg-require-namedlocale.
3427 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
3428 Likewise.
3429 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
3430 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
3431 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
3432 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
3433 Likewise.
3434 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
3435 Likewise.
3436 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
3437 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
3438 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
3439 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
3440 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
3441 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
3442 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
3443 Likewise.
3444 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
3445 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
3446 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
3447 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
3448 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
3449 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
3450 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
3451 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
3452 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
3453 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
3454 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
3455 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
3456 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
3457 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
3458 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
3459 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
3460 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
3461 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
3462 Likewise.
3463 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
3464 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
3465 Likewise.
3466 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
3467 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
3468 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
3469 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
3470 Likewise.
3471 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
3472 Likewise.
3473 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
3474 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
3475 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
3476 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
3477 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
3478 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
3479 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
3480 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
3481 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
3482 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
3483 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
3484 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
3485 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
3486 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
3487 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
3488 Likewise.
3489 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
3490 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
3491 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
3492 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
3493 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
3494 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
3495 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
3496 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
3497 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
3498 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
3499 Likewise.
3500 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
3501 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
3502 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
3503 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
3504 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
3505 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
3506 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
3507 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
3508 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
3509 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
3510 Likewise.
3511 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
3512 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
3513 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
3514 Likewise.
3515 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3516 Likewise.
3517 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
3518 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
3519 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
3520 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3521 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
3522 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
3523 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3524 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
3525 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
3526 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
3527 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
3528 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
3529 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
3530 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
3531 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
3532 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
3533 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
3534 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
3535 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
3536 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
3537 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
3538 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
3539 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
3540 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
3541 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
3542 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
3543 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
3544 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
3545 * testsuite/22_locale/facet/2.cc: Likewise.
3546 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
3547 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
3548 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
3549 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
3550 * testsuite/22_locale/locale/cons/2.cc: Likewise.
3551 * testsuite/22_locale/locale/cons/4.cc: Likewise.
3552 * testsuite/22_locale/locale/cons/5.cc: Likewise.
3553 * testsuite/22_locale/locale/cons/7.cc: Likewise.
3554 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
3555 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
3556 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
3557 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
3558 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
3559 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
3560 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
3561 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
3562 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
3563 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
3564 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
3565 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
3566 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
3567 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
3568 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
3569 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
3570 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
3571 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
3572 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
3573 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
3574 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
3575 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
3576 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
3577 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
3578 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
3579 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
3580 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
3581 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
3582 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
3583 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
3584 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
3585 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
3586 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
3587 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
3588 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
3589 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
3590 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
3591 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
3592 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
3593 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
3594 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
3595 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
3596 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
3597 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
3598 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
3599 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
3600 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
3601 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
3602 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
3603 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
3604 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
3605 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
3606 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
3607 Likewise.
3608 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
3609 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
3610 Likewise.
3611 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
3612 Likewise.
3613 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
3614 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
3615 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
3616 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
3617 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
3618 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
3619 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
3620 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
3621 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
3622 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
3623 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
3624 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
3625 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
3626 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
3627 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
3628 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
3629 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
3630 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
3631 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
3632 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
3633 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
3634 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
3635 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
3636 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
3637 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
3638 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
3639 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
3640 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
3641 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
3642 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
3643 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
3644 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
3645 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
3646 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
3647 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
3648 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
3649 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
3650 Likewise.
3651 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
3652 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
3653 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
3654 Likewise.
3655 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
3656 Likewise.
3657 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
3658 Likewise.
3659 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
3660 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
3661 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
3662 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
3663 Likewise.
3664 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
3665 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
3666 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
3667 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
3668 Likewise.
3669 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
3670 Likewise.
3671 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
3672 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
3673 Likewise.
3674 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
3675 Likewise.
3676 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
3677 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
3678 Likewise.
3679 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
3680 Likewise.
3681 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
3682 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
3683 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
3684 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
3685 Likewise.
3686 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
3687 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
3688 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
3689 Likewise.
3690 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
3691 Likewise.
3692 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
3693 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
3694 Likewise.
3695 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
3696 Likewise.
3697 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
3698 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
3699 Likewise.
3700 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
3701 Likewise.
3702 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
3703 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
3704 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
3705 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
3706 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
3707 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
3708 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
3709 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
3710 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
3711 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
3712 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
3713 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
3714 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
3715 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
3716 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
3717 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
3718 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
3719 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
3720 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
3721 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
3722 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
3723 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3724 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
3725 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3726 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
3727 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
3728 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
3729 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
3730 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
3731 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
3732 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
3733 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
3734 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
3735 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
3736 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
3737 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
3738 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
3739 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
3740 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
3741 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
3742 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
3743 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3744 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
3745 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
3746 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
3747 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
3748 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
3749 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
3750 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
3751 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
3752 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
3753 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
3754 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
3755 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
3756 Likewise.
3757 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
3758 Likewise.
3759 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
3760 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
3761 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
3762 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
3763 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
3764 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
3765 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
3766 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
3767 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
3768 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
3769 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
3770 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
3771 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
3772 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
3773
3774 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
3775
3776 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
3777
3778 2005-05-16 Paolo Carlini <pcarlini@suse.de>
3779
3780 * docs/html/install.html: Update list of required named
3781 locales, add "es_ES".
3782
3783 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
3784
3785 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
3786 initialization instead of copying as the string is used only once.
3787 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
3788 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
3789 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
3790
3791 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
3792
3793 * scripts/create_testsuite_files: Fix.
3794
3795 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
3796
3797 * testsuite/18_support/numeric_limits.cc (dg-options): Add
3798 -mieee to options on sh*-*-*.
3799
3800 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
3801
3802 * include/debug/debug.h: Fix typo in macro name.
3803
3804 2005-05-09 Paolo Carlini <pcarlini@suse.de>
3805 Giovanni Bajo <giovannibajo@gcc.gnu.org>
3806
3807 PR libstdc++/18604
3808 * include/bits/deque.tcc: Fully qualify names from namespace std.
3809 * include/bits/stl_bvector.h: Likewise.
3810 * include/bits/stl_deque.h: Likewise.
3811 * include/bits/stl_list.h: Likewise.
3812 * include/bits/stl_map.h: Likewise.
3813 * include/bits/stl_multimap.h: Likewise.
3814 * include/bits/stl_multiset.h: Likewise.
3815 * include/bits/stl_set.h: Likewise.
3816 * include/bits/stl_vector.h: Likewise.
3817 * include/bits/vector.tcc: Likewise.
3818 * include/std/std_bitset.h: Likewise.
3819 * testsuite/23_containers/bitset/18604.cc: New.
3820 * testsuite/23_containers/deque/18604.cc: Likewise.
3821 * testsuite/23_containers/list/18604.cc: Likewise.
3822 * testsuite/23_containers/map/18604.cc: Likewise.
3823 * testsuite/23_containers/set/18604.cc: Likewise.
3824 * testsuite/23_containers/vector/18604.cc: Likewise.
3825
3826 2005-05-09 Mike Stump <mrs@apple.com>
3827
3828 * configure: Regenerate.
3829
3830 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
3831
3832 DR 434. bitset::to_string() hard to use [Ready]
3833 * include/debug/bitset (to_string): Add three overloads, taking
3834 fewer template arguments.
3835
3836 2005-05-06 Mark Mitchell <mark@codesourcery.com>
3837
3838 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
3839 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
3840 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
3841 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
3842 mkfifo.
3843 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
3844 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
3845 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
3846 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
3847 Likewise.
3848 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
3849 Likewise.
3850 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
3851 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
3852 Likewise.
3853 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
3854 * testsuite/27_io/objects/char/7.cc: Likewise.
3855 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
3856 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
3857 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
3858
3859 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
3860
3861 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
3862 * testsuite/Makefile.am: Same.
3863 * scripts/create_testsuite_files: Same.
3864 * Makefile.in: Regenerate.
3865 * configure: Same.
3866 * include/Makefile.in: Same.
3867 * libmath/Makefile.in: Same.
3868 * libsupc++/Makefile.in: Same.
3869 * po/Makefile.in: Same.
3870 * src/Makefile.in: Same.
3871
3872 2005-05-04 Mark Mitchell <mark@codesourcery.com>
3873
3874 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
3875 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
3876 whether or not thread support is available.
3877
3878 * docs/html/test.html: Explain how to run the testsuite on an
3879 installed directory.
3880
3881 2005-05-01 Paolo Carlini <pcarlini@suse.de>
3882
3883 * config/os/aix/os_defines.h: Remove obsolete __off_t,
3884 __off64_t, __ssize_t defines.
3885 * config/os/djgpp/os_defines.h: Likewise.
3886 * config/os/hpux/os_defines.h: Likewise.
3887 * config/os/irix/irix5.2/os_defines.h: Likewise.
3888 * config/os/irix/irix6.5/os_defines.h: Likewise.
3889 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
3890 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
3891 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
3892 * docs/html/17_intro/porting.html: Don't discuss the defines.
3893 * docs/html/17_intro/porting.texi: Likewise.
3894
3895 2005-04-29 Paolo Carlini <pcarlini@suse.de>
3896 Nathan Myers <ncm@cantrip.org>
3897
3898 PR libstdc++/21286
3899 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
3900 Loop on short reads; remove the work-around for
3901 libstdc++/20806, not needed anymore.
3902
3903 2005-04-29 Paolo Carlini <pcarlini@suse.de>
3904
3905 PR libstdc++/21238
3906 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
3907 num_get::_M_extract_int, num_get::do_get(bool&),
3908 num_put::_M_insert_int, num_put::_M_insert_float,
3909 num_put::do_put(bool), money_get::_M_extract,
3910 money_put::_M_insert): Adjust the __cache_type typedef not to
3911 forward to a numpunct/moneypunct typedef.
3912 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
3913 and moneypunct specializations.
3914 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
3915 and moneypunct<pod_uint>::id.
3916 * testsuite/22_locale/num_get/3.cc: New.
3917 * testsuite/22_locale/num_put/3.cc: Likewise.
3918 * testsuite/22_locale/money_get/3.cc: Likewise.
3919 * testsuite/22_locale/money_put/3.cc: Likewise.
3920
3921 * include/bits/locale_facets.tcc (money_put::_M_insert,
3922 time_get::_M_extract_name): Prefer operator== to operator!=
3923 on char_types.
3924
3925 2005-04-29 Paolo Carlini <pcarlini@suse.de>
3926
3927 * include/tr1/type_traits (is_convertible): Adjust according
3928 to the resolution of TR1 issue 3.20.
3929 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3930 is_convertible/is_convertible.cc: Add tests.
3931
3932 2005-04-28 Paolo Carlini <pcarlini@suse.de>
3933 Gabriel Dos Reis <gdr@integrable-solutions.net>
3934
3935 PR libstdc++/21244 (cont)
3936 * include/bits/cpp_type_traits.h (struct __traitor): Convert
3937 to bool the values.
3938 * include/bits/stl_algo.h: Convert _S_threshold to int.
3939 * include/bits/stl_bvector.h: Revert previous change, convert
3940 _S_word_bit to int.
3941 * include/debug/formatter.h: Convert __max_parameters to
3942 size_t.
3943 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
3944 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
3945 _S_align.
3946 * include/ext/rope: Likewise for _S_alloc_granularity; convert
3947 _S_max_rope_depth to int.
3948 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
3949 _S_max_rope_depth to int; _S_copy_max to size_t.
3950
3951 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
3952
3953 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
3954 * docs/doxygen/doxygroups.cc: Update namespace comments.
3955
3956 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
3957 Paolo Carlini <pcarlini@suse.de>
3958
3959 PR libstdc++/21244
3960 * include/bits/stl_bvector.h: Change the anonymous enum
3961 at namespace scope to _S_word_bit_enum.
3962 * testsuite/23_containers/vector/bool/21244.cc: New.
3963
3964 2005-04-27 Paolo Carlini <pcarlini@suse.de>
3965
3966 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
3967 has_nothrow_copy, has_nothrow_assign): Adjust according to the
3968 resolution of TR1 issue 3.21.
3969 * testsuite/testsuite_tr1.h (test_copy_property,
3970 test_assign_property): Remove.
3971 * testsuite/tr1/4_metaprogramming/type_properties/
3972 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
3973 * testsuite/tr1/4_metaprogramming/type_properties/
3974 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
3975 * testsuite/tr1/4_metaprogramming/type_properties/
3976 has_trivial_assign/has_trivial_assign.cc: Likewise.
3977 * testsuite/tr1/4_metaprogramming/type_properties/
3978 has_trivial_copy/has_trivial_copy.cc: Likewise.
3979
3980 2005-04-26 Jones Desougi <jones@ingate.com>
3981
3982 PR libstdc++/21131
3983 * linkage.m4: Fix comments.
3984
3985 2005-04-26 Paolo Carlini <pcarlini@suse.de>
3986
3987 PR libstdc++/21209
3988 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
3989 integer overflow, always use a suited unsigned type in the main
3990 parsing loop.
3991 (struct __to_unsigned_type): New.
3992 * testsuite/22_locale/num_get/get/char/16.cc: New.
3993 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
3994
3995 2005-04-25 Paolo Carlini <pcarlini@suse.de>
3996
3997 PR libstdc++/21035
3998 * include/bits/basic_string.h (compare): Adjust the documentation
3999 to match the implementation and the standard.
4000
4001 2005-04-24 Paolo Carlini <pcarlini@suse.de>
4002
4003 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
4004
4005 2005-04-20 Mark Mitchell <mark@codesourcery.com>
4006
4007 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
4008 explicit instantiations for systems without weak symbols.
4009 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
4010 Likewise.
4011
4012 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
4013
4014 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
4015
4016 2005-04-17 Paolo Carlini <pcarlini@suse.de>
4017
4018 PR libstdc++/20914
4019 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
4020 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
4021 base or sign here, instead...
4022 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
4023 after adding the grouping. This fixes the bug and also allows to
4024 clean-up the code dealing with integer types.
4025 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
4026 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
4027 (__int_to_char(_CharT*, unsigned long, const _CharT*,
4028 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
4029 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
4030 libstdc++/15565.
4031 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
4032 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
4033 Simplify, don't pass the sign.
4034 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
4035 Deal with a sign at the beginning of __cs; robustify the grouping
4036 check.
4037 * testsuite/22_locale/num_put/put/char/20914.cc: New.
4038 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
4039
4040 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
4041
4042 * include/ext/bitmap_allocator.h
4043 (__gnu_cxx::free_list::_M_get_mutex): New.
4044 (__gnu_cxx::free_list::_M_get_free_list): New.
4045 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
4046 (__gnu_cxx::free_list::_S_free_list): Remove.
4047 * src/bitmap_allocator.cc: Same.
4048 * config/linker-map.gnu: Remove free_list and mutex export.
4049
4050 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
4051
4052 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
4053 (character::to): New.
4054 (character::from): New.
4055 (operator==): Add state parameter.
4056 (operator<): Same.
4057 (char_traits::copy): Use std::copy.
4058 (char_traits::assign): Use std::fill_n.
4059 (char_traits::to_char_type): Use character::from.
4060 (char_traits::to_int_type): Use character::to.
4061 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
4062 (__gnu_test::conversion_state): Remove.
4063 (__gnu_test::pod_char): Remove.
4064 (pod_char): New typedef.
4065 (pod_uchar): New typedef.
4066 (pod_ushort): New typedef.
4067 * testsuite/testsuite_character.cc: Fixups.
4068 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4069 10081-in.cc: Same.
4070 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4071 10081-out.cc: Same.
4072 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
4073 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
4074 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
4075 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
4076 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
4077 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
4078 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
4079 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
4080 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
4081 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
4082 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
4083 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
4084 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
4085 3983-1.cc: Same.
4086 * testsuite/27_io/basic_istream/extractors_character/pod/
4087 3983-2.cc: Same.
4088 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
4089 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
4090 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
4091
4092 2005-04-12 Mike Stump <mrs@apple.com>
4093
4094 * configure: Regenerate.
4095
4096 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
4097
4098 * testsuite/Makefile.am: Remove libv3test.a.
4099 * testsuite/Makefile.in: Regenerate.
4100 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
4101
4102 2005-04-08 Paolo Carlini <pcarlini@suse.de>
4103
4104 PR libstdc++/20909
4105 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
4106 Don't even try to group numbers like 2e20, i.e., no decimal
4107 point, scientific notation.
4108 * testsuite/22_locale/num_put/put/char/20909.cc: New.
4109 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
4110
4111 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4112
4113 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
4114 * acconfig.h: Delete file.
4115 * Makefile.in, acinclude.m4, configure: Regenerate.
4116
4117 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4118
4119 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
4120 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
4121 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
4122 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
4123 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
4124 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
4125 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
4126 * acconfig.h: Delete redundant macros.
4127 * config.h.in, configure: Regenerate.
4128
4129 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4130
4131 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
4132 a subshell and if test fails, test for same functions with
4133 leading underscore.
4134 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
4135 * configure: Regenerate.
4136
4137 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
4138 Paolo Carlini <pcarlini@suse.de>
4139
4140 PR libstdc++/20806
4141 * config/os/mingw32/os_defines.h: Define
4142 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
4143 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
4144 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
4145 Use it.
4146 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
4147
4148 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4149
4150 * acconfig.h: Sort the bottom section.
4151 * config.h.in: Regenerate.
4152
4153 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4154
4155 * acconfig.h: Remove redundant HAVE_FLOAT_H.
4156 * config.h.in: Regenerate.
4157
4158 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
4159
4160 * configure.ac: Create template for PACKAGE and VERSION.
4161 Update comment on how to regenerate file. Update minimum
4162 automake version to 1.9.3.
4163 * acconfig.h: Remove PACKAGE and VERSION.
4164 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
4165 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
4166 testsuite/Makefile.in, config.h.in: Regenerate.
4167
4168 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
4169
4170 * docs/html/test.html: Update.
4171 * testsuite/printnow.c: Remove.
4172 * scripts/check_survey.in: Remove.
4173
4174 * testsuite/abi_check.cc: To...
4175 * testuite/testsuite_abi_check.cc: ...here.
4176 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
4177 testsuite_abi_check.cc.
4178
4179 * testsuite/testsuite_hooks.h: Move character related bits to...
4180 * testsuite/testsuite_character.h: ...here.
4181 * testsuite/testsuite_character.cc: ... and here.
4182 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4183 10081-in.cc: Use testsuite_character.h.
4184 * testsuite/21_strings/basic_string/inserters_extractors/pod/
4185 10081-out.cc: Same.
4186 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
4187 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
4188 * testsuite/27_io/basic_filebuf/2.cc: Same.
4189 * testsuite/27_io/basic_fstream/2.cc: Same.
4190 * testsuite/27_io/basic_istream/2.cc: Same.
4191 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
4192 3983-1.cc: Same.
4193 * testsuite/27_io/basic_istream/extractors_character/char/
4194 9826.cc: Same.
4195 * testsuite/27_io/basic_istream/extractors_character/pod/
4196 3983-2.cc: Same.
4197 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
4198 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
4199 * testsuite/27_io/basic_ostream/2.cc: Same.
4200 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
4201 * testsuite/27_io/basic_streambuf/2.cc: Same.
4202 * testsuite/27_io/basic_stringbuf/2.cc: Same.
4203 * testsuite/27_io/basic_stringbuf/4.cc: Same.
4204 * testsuite/27_io/basic_stringstream/2.cc: Same.
4205 * testsuite/27_io/fpos/1.cc: Same.
4206 * testsuite/ext/mt_allocator/tune-1.cc: Same.
4207 * testsuite/ext/mt_allocator/tune-2.cc: Same.
4208 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
4209 * testsuite/lib/libstdc++.exp (v3-build_support): Add
4210 testsuite_character.cc.
4211 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
4212 testsuite_character.cc.
4213 * testsuite/Makefile.in: Regenerate.
4214
4215 * configure.ac: Remove use of check_survey.
4216 * configure: Regenerate.
4217 * testsuite/Makefile.am: Remove check-script and
4218 check-script-install rules.
4219 * testsuite/Makefile.in: Regenerate.
4220
4221 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
4222
4223 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
4224 clobber to inline assembly statement.
4225
4226 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
4227
4228 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
4229 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
4230 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
4231 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
4232 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
4233 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
4234 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
4235 * acconfig.h: ... to eliminate them from here.
4236 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
4237 * config.h.in, configure: Regenerate.
4238
4239 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4240
4241 * Makefile.am (ACLOCAL_AMFLAGS): Define.
4242 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
4243 * configure.ac: Use it.
4244 * acinclude.m4: Delete explicit m4_includes and sincludes.
4245 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
4246 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
4247 testsuite/Makefile.in: Regenerate.
4248
4249 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
4250
4251 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
4252 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
4253 to destroy resources by testing for equality, not inequality. Add
4254 empty critical sections to solve memory visibility issues.
4255 * testsuite/tr1/2_general_utilities/memory/
4256 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
4257 explicitly listing line numbers which need to be kept in sync.
4258 * testsuite/tr1/2_general_utilities/memory/
4259 shared_ptr/assign/auto_ptr_neg.cc: Same.
4260 * testsuite/tr1/2_general_utilities/memory/
4261 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
4262 * testsuite/tr1/2_general_utilities/memory/
4263 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
4264 -fno-exceptions.
4265 * testsuite/tr1/2_general_utilities/memory/
4266 enable_shared_from_this/not_shared.cc: Add explanatory comments.
4267 * testsuite/tr1/2_general_utilities/memory/
4268 enable_shared_from_this/not_shared2.cc: Same.
4269 * testsuite/tr1/2_general_utilities/memory/
4270 enable_shared_from_this/not_shared3.cc: Same.
4271
4272 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4273
4274 * acconfig.h: Delete macros already AC_DEFINED.
4275 * config.h.in: Regenerate.
4276
4277 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4278
4279 * acconfig.h (HAVE_MODF): Remove.
4280 * linkage.m4: Check for modf.
4281 * config.h.in, configure: Regenerate.
4282
4283 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4284
4285 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
4286 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
4287 * config.h.in: Regenerate.
4288
4289 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4290
4291 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
4292 to convert to uppercase instead of shelling out to tr.
4293 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
4294 * configure, config.h.in: Regenerate.
4295
4296 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
4297
4298 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
4299 * config.h.in: Regenerate.
4300
4301 2005-04-04 Mark Mitchell <mark@codesourcery.com>
4302
4303 * testsuite/Makefile.am (check-local): Remove.
4304 (curent_symbols.txt): Likewise.
4305 (check-abi): Do not depend on current_symbols.txt.
4306 * testsuite/Makefile.in: Regenerated.
4307 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
4308
4309 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
4310
4311 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
4312 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
4313 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
4314 each iteration.
4315 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
4316 each iteration.
4317
4318 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
4319
4320 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
4321 member pointers in _Mem_fn but let other function objects pass
4322 through unchanged.
4323 * include/tr1/functional_iterator (bind): Reduce number of bind()
4324 overloads to two to eliminate ambiguities. Use
4325 _Maybe_wrap_member_pointer to handle member pointers gracefully.
4326
4327 2005-04-01 Mark Mitchell <mark@codesourcery.com>
4328
4329 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
4330 (site.exp): Write out the path to the baseline file.
4331 (check-abi): Use DejaGNU.
4332 (check-abi-verbose): Remove.
4333 * testsuite/Makefile.in: Regenerated.
4334 * testsuite/abi_check.cc (main): Check the return value from
4335 compare_symbols.
4336 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
4337 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
4338 * testsuite/libstdc++-abi/abi.exp: New file.
4339
4340 2005-03-31 Chris Jefferson <chris@bubblescope.net>
4341
4342 * include/tr1/tuple: Support iteration via tuple_iterate.h.
4343 * include/tr1/tuple_iterate.h: Iteration file for tuple.
4344
4345 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
4346
4347 * include/Makefile.am (tr1_headers): Add bind and mu repetition
4348 headers and reference_wrapper<> forwarding header.
4349 * include/Makefile.in: Regenerate.
4350 * include/tr1/bind_iterate.h: Implementation of function call
4351 operators for the function object returned from tr1::bind().
4352 * include/tr1/bind_repeat.h: Bind-specific repetition header,
4353 akin to include/tr1/repeat.h.
4354 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
4355 template for use with result_of.
4356 (is_bind_expression): New.
4357 (is_placeholder): New.
4358 (_Placeholder): New. Placeholder type for bind.
4359 (_Mu): New. Implementation detail of bind.
4360 (_Bind, _Bind_result): New. Function objects returned by bind.
4361 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
4362 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
4363 New. Implementation of tr1::bind.
4364 * include/tr1/mu_iterate.h (_Mu): result template and operator()
4365 for the _Mu helper to bind.
4366 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
4367 used by tuple header.
4368 (ref): Ditto.
4369 (cref): Ditto.
4370 * include/tr1/repeat.h: Add bind-specific repetition macros.
4371 * include/tr1/tuple: Use reference_wrapper forwarding header for
4372 initial definitions, then include <tr1/functional> at the end, to
4373 make the circular dependencies work.
4374 (tie): Support zero-argument tie() function.
4375 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
4376 bind() functionality with parameters bound.
4377 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
4378 nested bind() expressions.
4379 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
4380 of bind() placeholders.
4381 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
4382 with arguments bound via reference_wrapper<>.
4383 * scripts/gen_includers.pl: Generate the repetitive part of
4384 include/tr1/repeat.h.
4385 * scripts/gen_bind_includers.pl: Generate the repetitive part of
4386 include/tr1/bind_repeat.h.
4387
4388 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
4389
4390 * testsuite/Makefile.am (CXX): Use ${SHELL}.
4391 (GLIBCXX_INCLUDES): Same.
4392 (AM_CXXFLAGS): Same.
4393 * testsuite/Makefile.in: Regenerate.
4394
4395 2005-03-25 Mark Mitchell <mark@codesourcery.com>
4396
4397 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
4398 when testing an installed compiler.
4399
4400 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
4401 compiling support objects.
4402
4403 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
4404
4405 * include/tr1/memory: Forward to...
4406 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
4407 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
4408 * include/Makefile.in: Regenerate.
4409 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4410 auto_ptr_neg.cc: Adjust line numbers.
4411
4412 2005-03-23 Mark Mitchell <mark@codesourcery.com>
4413
4414 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
4415 * testsuite/Makefile.in: Regenerated.
4416
4417 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
4418
4419 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
4420 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
4421 _GLIBCXX_USE_C99_WCHAR.
4422 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
4423 and GLIBCXX_ENABLE_WCHAR_T.
4424 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
4425 GLIBCXX_ENABLE_C99.
4426 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
4427 GLIBCXX_CHECK_ICONV_SUPPORT.
4428 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
4429 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
4430 * crossconfig.m4: Same.
4431 * acconfig.h: Same, adjust comments.
4432 * config.h.in: Regenerate.
4433 * configure: Regenerate.
4434 * docs/html/configopts.html: Change --enable-c-mbchar to
4435 --enable-wchar_t.
4436
4437 * config/locale/gnu/c++locale_internal.h: Guard wide functions
4438 with _GLIBCXX_USE_WCHAR_T.
4439 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
4440 * include/c_std/std_cstdio.h: Spacing.
4441
4442 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
4443 * src/debug.cc: Same.
4444
4445 2005-03-23 Mark Mitchell <mark@codesourcery.com>
4446
4447 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
4448 exists.
4449
4450 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
4451 (v3-wchar_t): ... this.
4452 (libstdc++_threads): Rename to ...
4453 (v3-threads): ... this.
4454 (libstdc++_test_objs): Rename to ...
4455 (v3-test_objs): ... this.
4456 (libstdc++_build_support): Rename to ...
4457 (v3-build_support): ... this.
4458 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
4459
4460 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
4461 of compilers not in the build directory.
4462 (libstdc++_wchar_t): New variable.
4463 (libstdc++_threads): Likewise.
4464 (libstdc++_test_objs): Likewise.
4465 (v3_target_compile): Use libstdc++_test_objs.
4466 (v3-list-tests): Remove.
4467 (listdc++_build_support): New function.
4468 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
4469 generate list of tests.
4470
4471 2005-03-21 Chris Jefferson <chris@bubblescope.net>
4472
4473 PR libstdc++/20577
4474 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
4475 to swap when the iterator's reference_type is a reference to its
4476 value_type.
4477 * testsuite/25_algorithms/iter_swap/20577.cc: New.
4478
4479 2005-03-21 Zack Weinberg <zack@codesourcery.com>
4480
4481 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
4482 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
4483 is expanded by the Makefiles, not by configure.
4484 * fragment.am: Set gcc_version.
4485 * libmath/Makefile.am: Likewise.
4486 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
4487 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
4488 * testsuite/Makefile.in: Regenerate.
4489
4490 2005-03-16 Paolo Carlini <pcarlini@suse.de>
4491
4492 * testsuite/20_util/functional/binders.cc: Remove explicit
4493 instantiations for non-weak systems.
4494 * testsuite/20_util/memory/allocator/1.cc: Likewise.
4495 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
4496 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
4497 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
4498 * testsuite/20_util/utility/rel_ops.cc: Likewise.
4499 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
4500 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
4501 * testsuite/23_containers/deque/cons/1.cc: Likewise.
4502 * testsuite/23_containers/deque/cons/2.cc: Likewise.
4503 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
4504 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
4505 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
4506 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
4507 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
4508 * testsuite/23_containers/deque/operators/1.cc: Likewise.
4509 * testsuite/23_containers/list/capacity/1.cc: Likewise.
4510 * testsuite/23_containers/list/cons/1.cc: Likewise.
4511 * testsuite/23_containers/list/cons/2.cc: Likewise.
4512 * testsuite/23_containers/list/cons/3.cc: Likewise.
4513 * testsuite/23_containers/list/cons/4.cc: Likewise.
4514 * testsuite/23_containers/list/cons/5.cc: Likewise.
4515 * testsuite/23_containers/list/cons/6.cc: Likewise.
4516 * testsuite/23_containers/list/cons/7.cc: Likewise.
4517 * testsuite/23_containers/list/cons/8.cc: Likewise.
4518 * testsuite/23_containers/list/cons/9.cc: Likewise.
4519 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
4520 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
4521 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
4522 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
4523 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
4524 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
4525 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
4526 * testsuite/23_containers/list/operators/1.cc: Likewise.
4527 * testsuite/23_containers/list/operators/2.cc: Likewise.
4528 * testsuite/23_containers/list/operators/3.cc: Likewise.
4529 * testsuite/23_containers/list/operators/4.cc: Likewise.
4530 * testsuite/23_containers/map/insert/1.cc: Likewise.
4531 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
4532 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
4533 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
4534 * testsuite/23_containers/map/operators/1.cc: Likewise.
4535 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
4536 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
4537 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
4538 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
4539 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
4540 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
4541 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
4542 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
4543 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
4544 * testsuite/23_containers/queue/members/7157.cc: Likewise.
4545 * testsuite/23_containers/set/insert/1.cc: Likewise.
4546 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
4547 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
4548 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
4549 * testsuite/23_containers/stack/members/7158.cc: Likewise.
4550 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
4551 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
4552 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
4553 * testsuite/23_containers/vector/cons/1.cc: Likewise.
4554 * testsuite/23_containers/vector/cons/2.cc: Likewise.
4555 * testsuite/23_containers/vector/cons/3.cc: Likewise.
4556 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
4557 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
4558 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
4559 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
4560 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
4561 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
4562 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
4563 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
4564 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
4565 * testsuite/23_containers/vector/resize/1.cc: Likewise.
4566 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
4567 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
4568 * testsuite/24_iterators/insert_iterator.cc: Likewise.
4569 * testsuite/24_iterators/iterator.cc: Likewise.
4570 * testsuite/25_algorithms/copy/1.cc: Likewise.
4571 * testsuite/25_algorithms/copy/2.cc: Likewise.
4572 * testsuite/25_algorithms/copy/3.cc: Likewise.
4573 * testsuite/25_algorithms/copy/4.cc: Likewise.
4574 * testsuite/25_algorithms/equal.cc: Likewise.
4575 * testsuite/25_algorithms/fill/1.cc: Likewise.
4576 * testsuite/25_algorithms/fill/2.cc: Likewise.
4577 * testsuite/25_algorithms/min_max.cc: Likewise.
4578 * testsuite/25_algorithms/rotate.cc: Likewise.
4579 * testsuite/25_algorithms/unique/1.cc: Likewise.
4580 * testsuite/25_algorithms/unique/2.cc: Likewise.
4581 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
4582 * testsuite/ext/concept_checks.cc: Likewise.
4583 * testsuite/ext/hash_map/1.cc: Likewise.
4584 * testsuite/ext/hash_set/1.cc: Likewise.
4585 * testsuite/ext/rope/1.cc: Likewise.
4586 * testsuite/ext/rope/2.cc: Likewise.
4587 * testsuite/ext/rope/3.cc: Likewise.
4588 * testsuite/thread/pthread1.cc: Likewise.
4589 * testsuite/thread/pthread4.cc: Likewise.
4590 * testsuite/thread/pthread5.cc: Likewise.
4591 * testsuite/thread/pthread6.cc: Likewise.
4592 * testsuite/thread/pthread7-rope.cc: Likewise.
4593
4594 2005-03-15 Zack Weinberg <zack@codesourcery.com>
4595
4596 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
4597 subdirectory. Generate #define of __GLIBCXX__ from contents of
4598 that file.
4599 * include/Makefile.in: Regenerate.
4600 * include/bits/c++config: Do not define __GLIBCXX__.
4601
4602 2005-03-15 Paolo Carlini <pcarlini@suse.de>
4603
4604 PR libstdc++/20352
4605 * include/std/std_complex.h (pow(const complex<_Tp>&,
4606 const _Tp&)): On non-c99 platforms, don't try to compute
4607 log of complex zero.
4608
4609 2005-03-10 Ben Elliston <bje@au.ibm.com>
4610
4611 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
4612 on GNU/Linux.
4613
4614 2005-03-07 Paolo Carlini <pcarlini@suse.de>
4615
4616 * include/tr1/type_traits (is_polymorphic): Don't forget
4617 the virtual destructor, thus avoiding warnings.
4618 * testsuite/testsuite_tr1.h (class AbstractClass,
4619 class PolymorphicClass): Likewise.
4620
4621 2005-03-07 Paolo Carlini <pcarlini@suse.de>
4622
4623 * include/std/std_complex.h (pow(const complex<_Tp>&,
4624 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
4625 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
4626 _GLIBCXX_USE_C99_COMPLEX.
4627
4628 2005-03-07 Paolo Carlini <pcarlini@suse.de>
4629
4630 * include/std/std_fstream.h (basic_fstream<>::open,
4631 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
4632 resolution of DR 409 [Ready], call clear() on success.
4633 * docs/html/ext/howto.html: Add an entry for DR 409.
4634 * docs/html/faq/index.html (4_4): Clarify the new behavior.
4635 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
4636 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
4637
4638 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
4639
4640 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
4641 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
4642 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
4643 testsuite/22_locale/collate/hash/wchar_t/2.cc,
4644 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
4645 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
4646 testsuite/22_locale/collate/transform/wchar_t/2.cc,
4647 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
4648 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
4649 XFAIL on *-*-hpux11.23.
4650
4651 2005-03-04 Paolo Carlini <pcarlini@suse.de>
4652
4653 * include/tr1/type_traits: Add is_base_of.
4654 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4655 is_base_of/is_base_of.cc: New.
4656 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4657 is_base_of/typedefs.cc: Likewise.
4658
4659 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
4660
4661 * include/tr1/functional: Convert relative path.
4662
4663 * docs/doxygen/user.cfg.in: Add tr1 includes.
4664
4665 2005-03-03 Paolo Carlini <pcarlini@suse.de>
4666
4667 * include/tr1/type_traits: Implemenet is_polymorphic.
4668 (is_empty): Minor tweaks.
4669 * testsuite/testsuite_tr1.h: Add test types.
4670 * testsuite/tr1/4_metaprogramming/type_properties/
4671 is_polymorphic/is_polymorphic.cc: New.
4672 * testsuite/tr1/4_metaprogramming/type_properties/
4673 is_polymorphic/typedefs.cc: Likewise.
4674 * testsuite/tr1/4_metaprogramming/composite_type_traits/
4675 is_union_or_class/is_union_or_class.cc: Add tests.
4676
4677 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
4678
4679 * include/tr1/functional (_Has_result_type): Cleanup.
4680 (_Result_of_impl): Handle member data pointers correctly.
4681 (reference_wrapper): Support invocation.
4682 Move repetition code into new file include/tr1/repeat.h.
4683 * include/tr1/functional_iterate.h (reference_wrapper): Support
4684 invocation. Cleanup long lines.
4685 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
4686 invocation operators.
4687 * include/tr1/repeat.h: Code repetition header.
4688 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
4689 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
4690 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
4691 New test of reference_wrapper invocation.
4692 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
4693 New test of reference_wrapper typedefs and base classes.
4694 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
4695 (e-mail address).
4696
4697 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
4698
4699 * include/tr1/function (result_of): New class template.
4700 * include/tr1/functional/iterator.h: Implementation of TR1
4701 result_of.
4702 * testsuite/tr1/3_function_objects/result_of.cc: New test
4703
4704 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
4705
4706 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
4707
4708 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
4709
4710 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
4711 cons/auto_ptr_neg.cc: Correct line numbers.
4712
4713 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
4714
4715 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
4716
4717 * include/tr1/memory: Replace checked_deleter with (unchecked)
4718 _Sp_deleter as GCC warns about delete on incomplete types anyway.
4719
4720 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
4721
4722 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
4723
4724 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
4725
4726 PR target/19065
4727 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
4728 'Q' constraint, not 'm'.
4729
4730 2005-02-26 Earl Chew <earl_chew@agilent.com>
4731 Christopher Jefferson <chris@bubblescope.net>
4732
4733 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
4734 memory if _M_key_compare throws.
4735
4736 2005-02-25 Paolo Carlini <pcarlini@suse.de>
4737
4738 * include/tr1/type_traits: Add the trivial is_union and is_class;
4739 add the __is_union_or_class extension.
4740 (is_enum, is_empty): Use the latter.
4741 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
4742 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
4743 fixes.
4744 * testsuite/tr1/4_metaprogramming/composite_type_traits/
4745 is_union_or_class/is_union_or_class.cc: New.
4746 * testsuite/tr1/4_metaprogramming/composite_type_traits/
4747 is_union_or_class/typedefs.cc: Likewise.
4748
4749 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
4750
4751 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
4752 wchar_t use with _GLIBCXX_USE_WCHAR_T.
4753
4754 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
4755
4756 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
4757 _GLIBCXX_USE_C99_COMPLEX.
4758 * acinclude.m4: Same.
4759 * acconfig.h: Same.
4760 * configure: Regenerate.
4761 * config.h.in: Same.
4762
4763 2005-02-24 Paolo Carlini <pcarlini@suse.de>
4764
4765 * include/tr1/functional (mem_fn): Avoid _T, badname on
4766 Darwin.
4767
4768 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
4769
4770 * include/tr1/functional (function): New class template.
4771 (mem_fn): New function template.
4772 Implementations of TR1 function and mem_fn facilities.
4773 * include/tr1/functional_iterate.h: Implementations of TR1
4774 function and mem_fn facilities.
4775 * testsuite/tr1/3_function_objects/function/1.cc: New
4776 test of std::tr1::function.
4777 * testsuite/tr1/3_function_objects/function/2.cc: New
4778 test of std::tr1::function.
4779 * testsuite/tr1/3_function_objects/function/3.cc: New
4780 test of std::tr1::function.
4781 * testsuite/tr1/3_function_objects/function/4.cc: New
4782 test of std::tr1::function.
4783 * testsuite/tr1/3_function_objects/function/5.cc: New
4784 test of std::tr1::function.
4785 * testsuite/tr1/3_function_objects/function/6.cc: New
4786 test of std::tr1::function.
4787 * testsuite/tr1/3_function_objects/function/7.cc: New
4788 test of std::tr1::function.
4789 * testsuite/tr1/3_function_objects/function/8.cc: New
4790 test of std::tr1::function.
4791 * testsuite/tr1/3_function_objects/function/9.cc: New
4792 test of std::tr1::function.
4793 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
4794 std::tr1::mem_fn.
4795
4796 2005-02-23 Paolo Carlini <pcarlini@suse.de>
4797
4798 * include/tr1/type_traits: Implement is_convertible.
4799 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4800 is_convertible/is_convertible.cc: New.
4801 * testsuite/tr1/4_metaprogramming/relationships_between_types/
4802 is_convertible/typedefs.cc: Likewise.
4803 * testsuite/testsuite_tr1.h: Add class DerivedType.
4804
4805 * include/tr1/type_traits (is_function): Don't mistake references
4806 to function types for function types.
4807 * testsuite/tr1/4_metaprogramming/primary_type_categories/
4808 is_function/is_function.cc: Add testcase.
4809
4810 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
4811
4812 * scripts/check_performance: Tweaks.
4813
4814 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
4815 output file with extension that clean rules can find.
4816
4817 2005-02-22 Richard Henderson <rth@redhat.com>
4818
4819 PR libstdc++/20091
4820 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
4821 decrement of uncaughtExceptions for rethrow.
4822
4823 2005-02-22 Paolo Carlini <pcarlini@suse.de>
4824
4825 * include/tr1/functional: Fix License to GPL with exception.
4826 * include/tr1/hashtable: Likewise.
4827 * include/tr1/tuple: Likewise.
4828 * include/tr1/type_traits: Likewise.
4829 * include/tr1/type_traits_fwd.h: Likewise.
4830 * include/tr1/unordered_map: Likewise.
4831 * include/tr1/unordered_set: Likewise.
4832 * include/tr1/utility: Likewise.
4833
4834 2005-02-22 Paolo Carlini <pcarlini@suse.de>
4835
4836 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4837 auto_ptr_neg.cc: Add missing dg-do compile directive.
4838 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4839 auto_ptr_rvalue_neg.cc: Likewise.
4840 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
4841 shared_ptr_neg.cc: Likewise.
4842 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
4843 auto_ptr_neg.cc: Likewise.
4844 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4845 reset_neg.cc: Likewise.
4846 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
4847 swap_neg.cc: Likewise.
4848
4849 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
4850
4851 * include/Makefile.am, include/Makefile.in: Fix accidental extra
4852 change from previous commit.
4853
4854 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
4855
4856 * include/tr1/memory: New file.
4857 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
4858 * testsuite/tr1/2_general_utilities/memory/
4859 enable_shared_from_this/not_shared.cc: New test.
4860 * testsuite/tr1/2_general_utilities/memory/
4861 enable_shared_from_this/not_shared2.cc: New test.
4862 * testsuite/tr1/2_general_utilities/memory/
4863 enable_shared_from_this/not_shared3.cc: New test.
4864 * testsuite/tr1/2_general_utilities/memory/
4865 enable_shared_from_this/shared.cc: New test.
4866 * testsuite/tr1/2_general_utilities/memory/
4867 enable_shared_from_this/still_shared.cc: New test.
4868 * testsuite/tr1/2_general_utilities/memory/
4869 shared_ptr/assign/assign.cc: New test.
4870 * testsuite/tr1/2_general_utilities/memory/
4871 shared_ptr/assign/auto_ptr.cc: New test.
4872 * testsuite/tr1/2_general_utilities/memory/
4873 shared_ptr/assign/auto_ptr_neg.cc: New test.
4874 * testsuite/tr1/2_general_utilities/memory/
4875 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
4876 * testsuite/tr1/2_general_utilities/memory/
4877 shared_ptr/assign/shared_ptr.cc: New test.
4878 * testsuite/tr1/2_general_utilities/memory/
4879 shared_ptr/assign/shared_ptr_neg.cc: New test.
4880 * testsuite/tr1/2_general_utilities/memory/
4881 shared_ptr/comparison/cmp.cc: New test.
4882 * testsuite/tr1/2_general_utilities/memory/
4883 shared_ptr/cons/auto_ptr.cc: New test.
4884 * testsuite/tr1/2_general_utilities/memory/
4885 shared_ptr/cons/auto_ptr_neg.cc: New test.
4886 * testsuite/tr1/2_general_utilities/memory/
4887 shared_ptr/cons/copy.cc: New test.
4888 * testsuite/tr1/2_general_utilities/memory/
4889 shared_ptr/cons/default.cc: New test.
4890 * testsuite/tr1/2_general_utilities/memory/
4891 shared_ptr/cons/pointer.cc: New test.
4892 * testsuite/tr1/2_general_utilities/memory/
4893 shared_ptr/cons/weak_ptr.cc: New test.
4894 * testsuite/tr1/2_general_utilities/memory/
4895 shared_ptr/cons/weak_ptr_expired.cc: New test.
4896 * testsuite/tr1/2_general_utilities/memory/
4897 shared_ptr/dest/dest.cc: New test.
4898 * testsuite/tr1/2_general_utilities/memory/
4899 shared_ptr/misc/io.cc: New test.
4900 * testsuite/tr1/2_general_utilities/memory/
4901 shared_ptr/misc/swap.cc: New test.
4902 * testsuite/tr1/2_general_utilities/memory/
4903 shared_ptr/modifiers/reset.cc: New test.
4904 * testsuite/tr1/2_general_utilities/memory/
4905 shared_ptr/modifiers/reset_neg.cc: New test.
4906 * testsuite/tr1/2_general_utilities/memory/
4907 shared_ptr/modifiers/swap.cc: New test.
4908 * testsuite/tr1/2_general_utilities/memory/
4909 shared_ptr/modifiers/swap_neg.cc: New test.
4910 * testsuite/tr1/2_general_utilities/memory/
4911 shared_ptr/observers/bool_conv.cc: New test.
4912 * testsuite/tr1/2_general_utilities/memory/
4913 shared_ptr/observers/get.cc: New test.
4914 * testsuite/tr1/2_general_utilities/memory/
4915 shared_ptr/observers/unique.cc: New test.
4916 * testsuite/tr1/2_general_utilities/memory/
4917 shared_ptr/observers/use_count.cc: New test.
4918
4919 2005-02-21 Paolo Carlini <pcarlini@suse.de>
4920
4921 * include/tr1/type_traits (is_member_function_pointer):
4922 Remove ugly workaround for c++/19076.
4923
4924 2005-02-21 Paolo Carlini <pcarlini@suse.de>
4925
4926 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
4927 check for this == &_S_empty_rep, it's always false, here.
4928
4929 2005-02-19 Matt Austern <austern@gmail.com>
4930
4931 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
4932 hash<T>::operator() a const member function for T a fundamental type
4933 * include/tr1/hashtable (extract1st::operator()): Declare const.
4934 (hash_code_base): Declare all member functions const
4935 (hashtable::find): fix call to this->bucket_count()
4936 (hashtable::count): Likewise.
4937 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
4938 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
4939 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
4940 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
4941 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
4942
4943 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
4944
4945 PR libstdc++/20071
4946 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
4947 _GLIBCXX_USE_WCHAR_T.
4948
4949 2005-02-18 Richard Henderson <rth@redhat.com>
4950
4951 PR libstdc++/10606
4952 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
4953 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
4954 uncaughtExceptions here instead of ...
4955 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
4956 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
4957 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
4958 (__cxa_get_exception_ptr): New.
4959 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
4960
4961 2005-02-18 Matt Austern <austern@apple.com>
4962
4963 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
4964 test case to use assignment instead of ==
4965 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
4966 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
4967 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
4968 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
4969
4970 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
4971
4972 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
4973 on Solaris 2.6 and below.
4974 * testsuite/thread/pthread2.cc: Likewise.
4975 * testsuite/thread/pthread3.cc: Likewise.
4976 * testsuite/thread/pthread4.cc: Likewise.
4977 * testsuite/thread/pthread5.cc: Likewise.
4978 * testsuite/thread/pthread6.cc: Likewise.
4979 * testsuite/thread/pthread7-rope.cc: Likewise.
4980
4981 2005-02-17 Matt Austern <austern@apple.com>
4982
4983 * include/tr1/functional (hash): New function object.
4984 * include/tr1/hashtable: New file.
4985 * include/tr1/unordered_set: New file.
4986 * include/tr1/unordered_map: New file.
4987 * include/Makefile.am: Add three new TR1 headers.
4988 * include/Makefile.in: Likewise.
4989 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
4990 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
4991 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
4992 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
4993 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
4994 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
4995 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
4996 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
4997 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
4998 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
4999
5000 2005-02-16 Paolo Carlini <pcarlini@suse.de>
5001
5002 * testsuite/23_containers/set/modifiers/16728.cc:
5003 Remove redundant include <testsuite_performance.h>.
5004
5005 2005-02-16 Paolo Carlini <pcarlini@suse.de>
5006
5007 PR libstdc++/19829
5008 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
5009 at line #66 to not access str_lit01 beyond its end.
5010 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
5011
5012 2005-02-15 Paolo Carlini <pcarlini@suse.de>
5013 Jon Grimm <jgrimm2@us.ibm.com>
5014
5015 PR libstdc++/19955
5016 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
5017 Fix the logic setting _M_narrow_ok: first check whether the
5018 transformation is trivial with a dflt == 0, then deal with the
5019 special case of zero.
5020 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
5021
5022 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
5023 Tweak consistently to use memcmp; minor formatting fixes.
5024
5025 2005-02-15 Jakub Jelinek <jakub@redhat.com>
5026
5027 PR libstdc++/19946
5028 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
5029 demangler change.
5030 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
5031
5032 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
5033 Paolo Carlini <pcarlini@suse.de>
5034
5035 PR libstdc++/11706
5036 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
5037 for integer overloads.
5038
5039 * testsuite/26_numerics/cmath/powi.cc: New.
5040
5041 2005-02-11 Janis Johnson <janis187@us.ibm.com>
5042
5043 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
5044 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
5045 * testsuite/26_numerics/complex/pow.cc: Ditto.
5046
5047 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
5048 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
5049 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
5050 * testsuite/26_numerics/complex/pow.cc: Ditto.
5051
5052 2005-02-09 Mike Stump <mrs@apple.com>
5053
5054 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
5055
5056 2005-02-09 Janis Johnson <janis187@us.ibm.com>
5057
5058 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
5059
5060 2005-02-08 Mark Mitchell <mark@codesourcery.com>
5061
5062 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
5063
5064 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
5065
5066 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
5067 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
5068 src static.
5069
5070 2005-02-02 Brad Spencer <spencer@infointeractive.com>
5071
5072 * debug.html: Fix broken tags.
5073 * documentation.html: Same.
5074
5075 2005-02-02 Andreas Jaeger <aj@suse.de>
5076
5077 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
5078 from 2005-01-28.
5079 * testsuite/Makefile.am: Likewise.
5080 * testsuite/Makefile.in: Likewise.
5081
5082 2005-02-01 Paolo Carlini <pcarlini@suse.de>
5083
5084 * include/bits/cpp_type_traits.h: Rename _M_type fields to
5085 __value, except for __enable_if, _M_type -> __type, consistently
5086 with the other traits.
5087 * include/bits/stl_algobase.h: Tweak consistently.
5088 * include/bits/stl_tree.h: Likewise.
5089 * include/bits/valarray_array.h: Likewise.
5090 * include/c_std/std_cmath.h: Likewise.
5091 * include/debug/safe_iterator.h: Likewise.
5092 * include/std/std_complex.h: Likewise.
5093
5094 2005-01-31 Brad Spencer <spencer@infointeractive.com>
5095
5096 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
5097 * configure: Regenerated.
5098
5099 2005-01-31 Mark Mitchell <mark@codesourcery.com>
5100
5101 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
5102 Add required cast.
5103 (numeric_limits<double>::has_denorm): Likewise.
5104 (numeric_limits<long double>::has_denorm): Likewise.
5105
5106 2005-01-31 Paolo Carlini <pcarlini@suse.de>
5107 Gabriel Dos Reis <gdr@integrable-solutions.net>
5108
5109 * include/bits/cpp_type_traits.h: Add types to the structs thus
5110 making type_traits.h redundant; exploit new __truth_type and
5111 __traitor helpers.
5112 * include/bits/type_traits.h: Remove.
5113 * include/Makefile.am: Update.
5114 * include/Makefile.in: Regenerate.
5115 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
5116 * include/bits/basic_string.h (replace(iterator, iterator,
5117 _InputIterator, _InputIterator), _S_construct(_InIterator,
5118 _InIterator, const _Alloc&)): Use __is_integer instead.
5119 * include/bits/stl_bvector.h (vector(_InputIterator,
5120 _InputIterator, const allocator_type&), assign(_InputIterator,
5121 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
5122 Likewise.
5123 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
5124 _ForwardIterator)): Use __is_scalar.
5125 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
5126 const allocator_type&), assign(_InputIterator, _InputIterator),
5127 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5128 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
5129 insert(iterator, _InputIterator, _InputIterator)): Likewise.
5130 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
5131 _ForwardIterator)): Use __is_scalar.
5132 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
5133 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
5134 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
5135 _Size, const _Tp&)): Likewise.
5136 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
5137 const allocator_type&), assign(_InputIterator, _InputIterator),
5138 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
5139 * include/debug/debug.h (__valid_range(const _InputIterator&,
5140 const _InputIterator&)): Use __is_integer.
5141 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
5142 * include/std/std_string.h: Include cpp_type_traits.h instead.
5143
5144 2005-01-30 Paolo Carlini <pcarlini@suse.de>
5145
5146 PR libstdc++/19642
5147 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
5148 LC_NUMERIC, and only when actually != "C".
5149
5150 2005-01-28 Paolo Carlini <pcarlini@suse.de>
5151
5152 * include/tr1/type_traits (is_function): Minor consistency tweaks.
5153
5154 2005-01-28 Geoffrey Keating <geoffk@apple.com>
5155
5156 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
5157 for the compiler. Don't set cxxflags.
5158 (v3_target_compile): Search for libv3test.a relative to $objdir.
5159 (lsearch_all_inline): New.
5160 (lsearch_all_inline_not): New.
5161 (v3-list-tests): Rewrite to not need generated files.
5162 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
5163 (IGNORE_THREAD): New.
5164 (TESTS_TO_IGNORE): New.
5165 (site.exp): Set tests_to_ignore, cxxflags.
5166 * aclocal.m4: Regenerate.
5167 * Makefile.in: Regenerate.
5168 * libmath/Makefile.in: Likewise.
5169 * libsupc++/Makefile.in: Likewise.
5170 * po/Makefile.in: Likewise.
5171 * src/Makefile.in: Likewise.
5172 * testsuite/Makefile.in: Likewise.
5173
5174 2005-01-28 Paolo Carlini <pcarlini@suse.de>
5175
5176 * include/tr1/type_traits: Implement is_empty.
5177 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5178 is_empty.cc: New.
5179 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
5180 typedefs.cc: Likewise.
5181
5182 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
5183
5184 2005-01-28 Paolo Carlini <pcarlini@suse.de>
5185
5186 * include/tr1/type_traits: Implement is_abstract, by exploiting the
5187 resolution of DR core/337.
5188 * testsuite/testsuite_tr1.h: Add AbstractClass.
5189 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5190 is_abstract.cc: New.
5191 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
5192 typedefs.cc: Likewise.
5193
5194 * include/tr1/type_traits (is_function): Rewrite, use the conversion
5195 F& -> F* instead, thus avoiding problems with abstract classes.
5196 * testsuite/tr1/4_metaprogramming/primary_type_categories/
5197 is_function/is_function.cc: Add a test for tricky AbstractClass.
5198
5199 2005-01-26 Paolo Carlini <pcarlini@suse.de>
5200
5201 * include/ext/mt_allocator.h
5202 (struct __per_type_pool_policy<,, false>::_S_get_pool,
5203 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
5204 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
5205 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
5206 reduce to 64 the multiplier for _M_max_bytes (safer wrt
5207 _Binmap_type being a short); trivial reformattings.
5208 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
5209
5210 2005-01-26 Paolo Carlini <pcarlini@suse.de>
5211
5212 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
5213 to the final test for enable_c99, thus robustifying it; remove
5214 duplicate final test on ac_99_math.
5215 * configure: Regenerate.
5216
5217 * include/std/std_complex.h: Remove usages of the dead
5218 _GLIBCXX_BUGGY_COMPLEX macro.
5219
5220 * testsuite/26_numerics/cmath/19322.cc: Protect with
5221 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
5222 since only C99 math facilities are involved.
5223 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5224 Likewise.
5225
5226 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
5227
5228 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
5229 instead of generic. Change autoconf report to "darwin or freebsd".
5230 * configure: Regenerate.
5231 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
5232 (ctype<wchar_t>::do_scan_is): Likewise.
5233 (ctype<wchar_t>::do_scan_not): Likewise.
5234
5235 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
5236
5237 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
5238 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
5239 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
5240 * config.h.in: Regenerate.
5241 * configure: Regenerate.
5242 * include/std/std_complex.h: Protect complex builtins with
5243 _GLIBCXX_USE_C99_COMPLEX_MATH.
5244
5245 2005-01-24 Paolo Carlini <pcarlini@suse.de>
5246
5247 * include/tr1/type_traits: Implement is_signed and is_unsigned.
5248 * testsuite/tr1/4_metaprogramming/type_properties/
5249 is_signed/is_signed.cc: New.
5250 * testsuite/tr1/4_metaprogramming/type_properties/
5251 is_signed/typedefs.cc: Likewise.
5252 * testsuite/tr1/4_metaprogramming/type_properties/
5253 is_unsigned/is_unsigned.cc: Likewise.
5254 * testsuite/tr1/4_metaprogramming/type_properties/
5255 is_unsigned/typedefs.cc: Likewise.
5256
5257 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5258
5259 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
5260
5261 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5262
5263 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
5264 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
5265 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
5266 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
5267 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
5268 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
5269 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
5270 * testsuite/27_io/basic_ostream/flush/wchar_t/
5271 exceptions_badbit_throw.cc: Likewise.
5272 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5273 wchar_t/2.cc: Likewise.
5274 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5275 wchar_t/3.cc: Likewise.
5276 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5277 wchar_t/4.cc: Likewise.
5278 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5279 wchar_t/4402.cc: Likewise.
5280 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5281 wchar_t/5.cc: Likewise.
5282 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5283 wchar_t/6.cc: Likewise.
5284 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5285 wchar_t/9555-oa.cc: Likewise.
5286 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5287 wchar_t/exceptions_badbit_throw.cc: Likewise.
5288 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5289 wchar_t/exceptions_failbit_throw.cc: Likewise.
5290 * testsuite/27_io/basic_ostream/inserters_character/
5291 wchar_t/1.cc: Likewise.
5292 * testsuite/27_io/basic_ostream/inserters_character/
5293 wchar_t/2.cc: Likewise.
5294 * testsuite/27_io/basic_ostream/inserters_character/
5295 wchar_t/3.cc: Likewise.
5296 * testsuite/27_io/basic_ostream/inserters_character/
5297 wchar_t/4.cc: Likewise.
5298 * testsuite/27_io/basic_ostream/inserters_character/
5299 wchar_t/5.cc: Likewise.
5300 * testsuite/27_io/basic_ostream/inserters_character/
5301 wchar_t/6.cc: Likewise.
5302 * testsuite/27_io/basic_ostream/inserters_character/
5303 wchar_t/9555-oc.cc: Likewise.
5304 * testsuite/27_io/basic_ostream/inserters_other/
5305 wchar_t/1.cc: Likewise.
5306 * testsuite/27_io/basic_ostream/inserters_other/
5307 wchar_t/2.cc: Likewise.
5308 * testsuite/27_io/basic_ostream/inserters_other/
5309 wchar_t/3.cc: Likewise.
5310 * testsuite/27_io/basic_ostream/inserters_other/
5311 wchar_t/4.cc: Likewise.
5312 * testsuite/27_io/basic_ostream/inserters_other/
5313 wchar_t/5.cc: Likewise.
5314 * testsuite/27_io/basic_ostream/inserters_other/
5315 wchar_t/9318-out.cc: Likewise.
5316 * testsuite/27_io/basic_ostream/inserters_other/
5317 wchar_t/9424-out.cc: Likewise.
5318 * testsuite/27_io/basic_ostream/inserters_other/
5319 wchar_t/9555-oo.cc: Likewise.
5320 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5321 error_failbit.cc: Likewise.
5322 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5323 exceptions_badbit_throw.cc: Likewise.
5324 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5325 exceptions_failbit_throw.cc: Likewise.
5326 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
5327 exceptions_null.cc: Likewise.
5328 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5329 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
5330 * testsuite/27_io/basic_ostream/seekp/char/
5331 exceptions_badbit_throw.cc: Likewise.
5332 * testsuite/27_io/basic_ostream/seekp/wchar_t/
5333 2346-fstream.cc: Likewise.
5334 * testsuite/27_io/basic_ostream/seekp/wchar_t/
5335 2346-sstream.cc: Likewise.
5336 * testsuite/27_io/basic_ostream/seekp/wchar_t/
5337 exceptions_badbit_throw.cc: Likewise.
5338 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
5339 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
5340 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
5341 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
5342 * testsuite/27_io/basic_ostream/tellp/wchar_t/
5343 exceptions_badbit_throw.cc: Likewise.
5344 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
5345
5346 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
5347 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
5348 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
5349 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
5350 * testsuite/data/wostream_seeks-1.tst: Likewise.
5351
5352 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
5353 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
5354 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
5355 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
5356 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
5357 * testsuite/27_io/basic_ostream/flush/char/
5358 exceptions_badbit_throw.cc: Likewise.
5359 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5360 char/2.cc: Likewise.
5361 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5362 char/3.cc: Likewise.
5363 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5364 char/4.cc: Likewise.
5365 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5366 char/4402.cc: Likewise.
5367 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5368 char/5.cc: Likewise.
5369 * testsuite/27_io/basic_ostream/inserters_arithmetic/
5370 char/6.cc: Likewise.
5371 * testsuite/27_io/basic_ostream/inserters_character/
5372 char/4.cc: Likewise.
5373 * testsuite/27_io/basic_ostream/inserters_other/char/
5374 2.cc: Likewise.
5375 * testsuite/27_io/basic_ostream/inserters_other/char/
5376 5.cc: Likewise.
5377 * testsuite/27_io/basic_ostream/inserters_other/char/
5378 error_failbit.cc: Likewise.
5379 * testsuite/27_io/basic_ostream/inserters_other/char/
5380 exceptions_badbit_throw.cc: Likewise.
5381 * testsuite/27_io/basic_ostream/inserters_other/char/
5382 exceptions_failbit_throw.cc: Likewise.
5383 * testsuite/27_io/basic_ostream/inserters_other/char/
5384 exceptions_null.cc: Likewise.
5385 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
5386 * testsuite/27_io/basic_ostream/seekp/char/
5387 exceptions_badbit_throw.cc: Likewise.
5388 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
5389 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
5390
5391 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5392
5393 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
5394 of aligned.
5395
5396 2005-01-23 Paolo Carlini <pcarlini@suse.de>
5397 Andreas Jaeger <aj@suse.de>
5398
5399 PR libstdc++/19343
5400 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
5401
5402 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
5403
5404 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
5405 lseek on fifo to succeed. Thus, check for consistent report.
5406
5407 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5408
5409 PR libstdc++/19510
5410 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
5411 in constructor.
5412 (_List_const_iterator): Likewise.
5413 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
5414 (_Rb_tree_const_iterator): Likewise.
5415
5416 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
5417 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
5418
5419 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
5420
5421 * testsuite/Makefile.am (check-compile): New.
5422 * testsuite/Makefile.in: Regenerate.
5423 * scripts/check_compile_time: New.
5424 * scripts/check_performance: Tweaks.
5425
5426 2005-01-19 Paolo Carlini <pcarlini@suse.de>
5427
5428 PR libstdc++/19535
5429 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
5430 Fix typo in the return type.
5431 * testsuite/tr1/6_containers/utility/19535.cc: New.
5432
5433 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
5434
5435 * include/ext/array_allocator.h (array_allocator<>::allocate):
5436 Avoid __used. Use __array_used instead.
5437 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
5438
5439 2005-01-18 David Edelsohn <edelsohn@gnu.org>
5440
5441 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
5442 (_XOPEN_SOURCE_EXTENDED): Delete.
5443
5444 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
5445
5446 * testsuite/testsuite_performance.h (time_counter::start):
5447 Clear. Tweaks.
5448 (clear_counters): Inline.
5449 (start_counters): Inline.
5450 (stop_counters): Inline.
5451 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
5452 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
5453 return, add return.
5454 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
5455
5456 2005-01-17 Paolo Carlini <pcarlini@suse.de>
5457
5458 PR libstdc++/19433
5459 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
5460 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
5461 Obtain amortized constant complexity if t is inserted right after
5462 p - not before p - as per Table 69.
5463 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
5464
5465 * testsuite/23_containers/multiset/insert/2.cc: New.
5466 * testsuite/23_containers/set/insert/1.cc: Likewise.
5467
5468 * testsuite/performance/23_containers/set_create_from_sorted.cc:
5469 Simplify.
5470
5471 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
5472
5473 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
5474
5475 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
5476 * testsuite/ext/rope/4.cc: Add.
5477
5478 2005-01-16 Lorenz Minder <lminder@gmx.net>
5479 Paolo Carlini <pcarlini@suse.de>
5480
5481 PR libstdc++/19322
5482 * include/c_std/std_cmath.h: Define the C99 classification facilities
5483 directly inside namespace std:.
5484 * testsuite/26_numerics/cmath/19322.cc: New.
5485
5486 2005-01-15 David Edelsohn <edelsohn@gnu.org>
5487
5488 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
5489
5490 2005-01-14 Paolo Carlini <pcarlini@suse.de>
5491
5492 PR libstdc++/19422
5493 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
5494 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
5495 respectively) with hint (end()).
5496 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
5497
5498 2005-01-13 Geoffrey Keating <geoffk@apple.com>
5499
5500 * configure.host (darwin): On darwin8 or later, no need to build
5501 libstdc++ with -flat_namespace.
5502
5503 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
5504
5505 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
5506
5507 2005-01-13 Paolo Carlini <pcarlini@suse.de>
5508
5509 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
5510 Re-enable commented-out test for double type.
5511
5512 2005-01-11 Paolo Carlini <pcarlini@suse.de>
5513 Benjamin Kosnik <bkoz@redhat.com>
5514
5515 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5516 basic_istream<char>::ignore(streamsize, int_type),
5517 basic_istream<wchar_t>::ignore(streamsize),
5518 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
5519 more than numeric_limits<streamsize>::max() chars are skipped,
5520 set _M_gcount = max().
5521 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5522 int_type)): Likewise; keep simple, don't forward.
5523
5524 2005-01-11 Paolo Carlini <pcarlini@suse.de>
5525
5526 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5527 basic_istream<char>::ignore(streamsize, int_type),
5528 basic_istream<wchar_t>::ignore(streamsize),
5529 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
5530 2005-01-05 change: actually, the previous behavior is conforming
5531 and consistent with that of get(char_type*, streamsize, char_type),
5532 albeit slightly different from that of 3.3/3.4 in a corner case
5533 due to the use of snextc.
5534 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5535 int_type)): Likewise.
5536 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
5537 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5538
5539 2005-01-11 Paolo Carlini <pcarlini@suse.de>
5540
5541 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
5542 * testsuite/tr1/4_metaprogramming/other_transformations/
5543 aligned_storage/aligned_storage.cc: New.
5544 * testsuite/tr1/4_metaprogramming/other_transformations/
5545 aligned_storage/typedefs.cc: Likewise.
5546 * testsuite/tr1/4_metaprogramming/type_properties/
5547 alignment_of/alignment_of.cc: Likewise.
5548 * testsuite/tr1/4_metaprogramming/type_properties/
5549 alignment_of/typedefs.cc: Likewise.
5550
5551 2005-01-10 Paolo Carlini <pcarlini@suse.de>
5552
5553 * Makefile.in: Regenerate.
5554 * libmath/Makefile.in: Likewise.
5555 * libsupc++/Makefile.in: Likewise.
5556 * po/Makefile.in: Likewise.
5557 * src/Makefile.in: Likewise.
5558 * testsuite/Makefile.in: Likewise.
5559
5560 2005-01-10 Paolo Carlini <pcarlini@suse.de>
5561
5562 * include/bits/stl_algobase.h (lexicographical_compare):
5563 Fix concept check.
5564
5565 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
5566
5567 * acinclude.m4: Remove CCODECVT_H.
5568 * configure: Regenerate.
5569 * include/Makefile.am (host_headers_extra): Move to...
5570 (ext_headers): ...here.
5571 * include/Makefile.in: Regenerate.
5572 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
5573 enc_traits to...
5574 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
5575 * include/ext/codecvt_specializations.h: ...here. Remove
5576 _GLIBCXX_USE___ENC_TRAITS.
5577 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
5578 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
5579 namespace.
5580 * config/locale/generic/codecvt_specializations.h: Remove.
5581 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
5582 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
5583
5584 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
5585
5586 * include/bits/fstream.tcc: Remove unnecessary qualifications for
5587 uglified data members of basic_filebuf, including _M_buf,
5588 _M_buf_size, _M_mode, _M_pback_init.
5589 * include/std/std_fstream.h: Same.
5590
5591 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
5592
5593 * testsuite/testsuite_hooks.h:
5594 (copy_constructor::mark_call): Use __throw_runtime_error.
5595 (assignment_operator::mark_call): Same.
5596 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
5597 (locale_data): Remove, just use runtime_error directly.
5598 (environment_variable): Same.
5599 (not_found): Same.
5600 (run_tests_wrapped_locale): Use __throw_runtime_error.
5601 (run_tests_wrapped_env): Same.
5602 (semaphore::semaphore): Same.
5603 (semaphore::signal): Same.
5604 (semaphore::wait): Same.
5605 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
5606 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
5607 (create_symbols): Use __throw_runtime_error.
5608 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
5609
5610 2005-01-05 Mark Mitchell <mark@codesourcery.com>
5611
5612 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
5613 process.
5614
5615 2005-01-05 Paolo Carlini <pcarlini@suse.de>
5616
5617 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5618 basic_istream<char>::ignore(streamsize, int_type),
5619 basic_istream<wchar_t>::ignore(streamsize),
5620 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
5621 first check _M_gcount vs __n.
5622 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5623 int_type)): Likewise.
5624 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
5625 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
5626
5627 2005-01-03 Mark Mitchell <mark@codesourcery.com>
5628
5629 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
5630 instead of just throw.
5631
5632 * testsuite/testsuite_hooks.cc: Update coypright and follow style
5633 guidelines.
5634 * testsuite/testsuite_hooks.h: Likewise.
5635 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5636 semaphores, not sleep.
5637 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5638 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5639 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5640 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5641 Likewise.
5642 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5643 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5644 * testsuite/27_io/objects/char/7.cc: Likewise.
5645 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5646 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5647 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5648
5649 * configure.ac: Check for sys/ipc.h and sys/sem.h.
5650 * config.h.in: Regenerated.
5651 * configure: Likewise.
5652 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
5653 define.
5654 (sys/types.h): Include.
5655 (sys/ipc.h): Likewise.
5656 (sys/sem.h): Likewise.
5657 (__gnu_test::semun): New type.
5658 (__gnu_test::semaphore::sempaphore): New function.
5659 (__gnu_test::semaphore::~semaphore): Likewise.
5660 (__gnu_test::semaphore::wait): Likewise.
5661 (__gnu_test::semaphore::signal): Likewise.
5662 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
5663 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
5664 semaphores, not sleep.
5665 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
5666 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
5667 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
5668 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
5669 Likewise.
5670 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
5671 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
5672 * testsuite/27_io/objects/char/7.cc: Likewise.
5673 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
5674 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
5675 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
5676
5677 2005-01-03 Paolo Carlini <pcarlini@suse.de>
5678
5679 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5680 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
5681 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
5682 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
5683 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5684 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
5685
5686 2005-01-02 Paolo Carlini <pcarlini@suse.de>
5687
5688 * src/istream.cc (basic_istream<char>::ignore(streamsize),
5689 basic_istream<char>::ignore(streamsize, int_type),
5690 basic_istream<wchar_t>::ignore(streamsize),
5691 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
5692 _M_gcount overflows.
5693 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
5694 int_type)): Likewise; use snextc in the main loop, consistently
5695 with the specializations above.
5696
5697 2005-01-02 Chris Jefferson <chris@bubblescope.net>
5698
5699 * include/bits/stl_algobase.h (mismatch): Correct concept check.
5700
5701 2005-01-01 Paolo Carlini <pcarlini@suse.de>
5702
5703 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
5704 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
5705 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
5706
5707 2005-01-01 Paolo Carlini <pcarlini@suse.de>
5708
5709 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
5710 null-terminate array1 at the outset.
5711 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
5712 Likewise.