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