1 2006-01-02 Mark Mitchell <mark@codesourcery.com>
3 * src/Makefile.am (LTLDFLAGS): New variable.
4 (CXXLINK): Use LTLDFLAGS.
5 * src/Makefile.in: Regenerated.
6 * libsupc++/Makefile.am (LTLDFLAGS): New variable.
7 (CXXLINK): Use LTLDFLAGS.
8 * libsupc++/Makefile.in: Regenerated.
10 2006-01-02 Paolo Carlini <pcarlini@suse.de>
13 * include/std/std_istream.h (basic_istream<>::_M_extract): New.
14 (operator>>(bool&), operator>>(short&), operator>>(unsigned short&),
15 operator>>(int&), operator>>(unsigned int&), operator>>(long&),
16 operator>>(unsigned long&), operator>>(long long&), operator>>
17 (unsigned long long&), operator>>(float&), operator>>(double&),
18 operator>>(long double&), operator>>(void*&)): Use it.
19 * include/bits/istream.tcc (basic_istream<>::_M_extract): Define.
20 * include/std/std_ostream.h (basic_ostream<>::_M_insert): New.
21 (operator<<(long), operator<<(unsigned long), operator<<(bool),
22 operator<<(short), operator<<(unsigned short), operator<<(int),
23 operator<<(unsigned int), operator<<(long long), operator<<
24 (unsigned long long), operator<<(double), operator<<(float),
25 operator<<(long double), operator<<(const void*): Use it.
26 * include/bits/ostream.tcc (basic_ostream<>::_M_insert): Define.
27 * src/istream-inst.cc: Add _M_insert instantiations.
28 * src/ostream-inst.cc: Add _M_extract instantiations.
29 * config/abi/pre/gnu.ver: Export the new symbols @GLIBCXX_3.4.7;
30 detail existing @GLIBCXX_3.4 exports of basic_ostream, num_put,
31 money_put, etc., symbols to avoid exporting _M_insert symbols
34 2005-12-28 Paolo Carlini <pcarlini@suse.de>
36 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 40.
38 2005-12-28 Chris Jefferson <chris@bubblescope.net>
40 * testsuite/testsuite_allocator.h (check_deallocate_null): Return true.
42 2005-12-28 Paolo Carlini <pcarlini@suse.de>
44 * include/std/std_bitset.h (bitset<>::_M_copy_from_string,
45 bitset<>::_M_copy_to_string, bitset<>::operator>>): Reverse loop.
47 * testsuite/25_algorithms/heap/heap.cc (test01): Always enable
49 * testsuite/18_support/numeric_limits/specialization.cc: Avoid
50 unused parameter warning.
51 * testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
53 * testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
55 * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
56 * testsuite/ext/array_allocator/2.cc: Remove unused variable.
57 * testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
59 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
61 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
62 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
63 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
65 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
67 * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
68 Avoid unused variable warnings.
69 * testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
71 * testsuite/thread/18185.cc: Likewise.
72 * testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
73 between signed and unsigned warning.
74 * testsuite/27_io/types/1.cc: Avoid unused variable warnings.
75 * testsuite/testsuite_allocator.h (check_new): Likewise.
76 (check_deallocate_null): Adjust return type.
77 * testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
79 * testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
82 2005-12-28 Chris Jefferson <chris@bubblescope.net>
84 * include/std/std_bitset.h (bitset<0>::set, bitset<0>::reset,
85 bitset<0>::flip, bitset<0>::test): Add inline specializations for
88 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
89 (test01): Add static cast.
90 * testsuite/tr1/6_containers/unordered/insert/set_range.cc
92 * testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
93 NonDefaultConstructible), operator<(NonDefaultConstructible,
94 NonDefaultConstrictible)): Avoid unused parameter warning.
96 2005-12-26 Chris Jefferson <chris@bubblescope.net>
98 * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove
99 name of unused parameter.
100 * include/bits/stream_iterator.h (istream_iterator::istream_iterator):
102 * include/debug/functions.h (__check_valid_range): Add
103 __attribute__((unused)).
104 * include/tr1/hashtable (hashtable::end): Remove name of unused
106 * include/tr1/tuple_iterate.h (tuple::tuple): Likewise.
107 (tuple::operator=): Add __attribute__((unused)).
108 * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast.
109 (Fnv_hash<8>::hash): Likewise.
111 * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of
113 * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2):
115 * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise.
116 * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is,
117 Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is,
118 Derived2::do_scan_is, Derived2::do_scan_not): Likewise.
119 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put):
121 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put):
123 * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put):
125 * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put):
127 * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put):
129 * testsuite/25_algorithms/find/17441.cc (find): Likewise.
130 * testsuite/23_containers/vector/cons/clear_allocator.cc
131 (clear_alloc::clear_alloc): Likewise.
132 * testsuite/23_containers/vector/bool/clear_allocator.cc
133 (clear_alloc::clear_alloc): Likewise.
134 * testsuite/23_containers/list/cons/clear_allocator.cc
135 (clear_alloc::clear_alloc): Likewise.
136 * testsuite/23_containers/set/modifiers/16728.cc (test_container):
138 * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type,
139 to_int_type): Likewise.
140 * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in,
141 do_unshift, do_length): Likewise.
142 * testsuite/21_strings/basic_string/capacity/1.cc
143 (operator==(A<T>,A<T>), operator<(A<T>,A<T>),
144 char_traits::to_char_type, char_traits::to_int_type): Likewise
145 * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is,
146 ctype::do_scan_not, do_toupper, do_tolower): Likewise.
147 * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=):
148 Add missing return statement.
149 * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=):
151 * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=,
152 random_access_iterator_wrapper::operator==): Likewise.
153 * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const,
154 s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise.
155 * testsuite/27_io/types/1.cc (test01): Likewise.
156 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise.
157 * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise.
158 * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise.
159 * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static
161 * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise.
162 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise.
163 * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise.
164 * testsuite/testsuite_allocator.h (check_new): Likewise.
165 (check_deallocate_null): Add missing return value.
166 * testsuite/ext/pool_allocator/allocate_chunk.cc (test01):
167 Make variable unsigned.
168 * testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4,
169 N5,test01): Likewise.
170 * testsuite/26_numerics/valarray/valarray_subset_assignment.cc
171 (check_array): Likewise.
172 (main): Removed unused variable.
173 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05):
174 Removed unused variable.
175 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise.
176 * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise.
177 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise.
178 * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise.
179 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise.
180 * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise.
181 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
182 assign/shared_ptr.cc (test01): Correct return type.
183 * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02):
184 Add default value to close_num.
186 2005-12-24 Paolo Carlini <pcarlini@suse.de>
188 * include/bits/stl_algobase.h (fill(const _Deque_iterator&,
189 const _Deque_iterator&, const _Tp&)): Deal, correctly, only
190 with iterators (leave const_iterators alone).
192 2005-12-24 Paolo Carlini <pcarlini@suse.de>
194 * include/bits/stl_algobase.h (fill(const _Deque_iterator<>&,
195 const _Deque_iterator<>&, const _Tp&)): Add.
197 * testsuite/23_containers/deque/cons/assign/1.cc: New.
199 2005-12-19 Paolo Carlini <pcarlini@suse.de>
201 * include/bits/stl_deque.h (deque<>::resize, _M_fill_assign):
202 Avoid troubles with ADL, user defined operators and _Deque_iterator.
203 (operator-(const _Deque_iterator<>&, const _Deque_iterator<>&):
204 Add overload for left and right iterators of the same type.
205 * include/bits/deque.tcc (erase(iterator)): Avoid troubles with ADL,
206 user defined operators and _Deque_iterator.
207 * testsuite/23_containers/deque/types/1.cc: Add.
209 * include/bits/deque.tcc (_M_insert_aux(iterator, size_type,
210 const value_type&)): Qualify with std:: fill call.
212 2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
214 * include/bits/c++config: Add in revised namespace associations.
215 _GLIBCXX_BEGIN_NAMESPACE: New macro.
216 _GLIBCXX_END_NAMESPACE: Same.
217 _GLIBCXX_BEGIN_NESTED_NAMESPACE: Same.
218 _GLIBCXX_END_NESTED_NAMESPACE: Same.
219 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace.
220 * configure: Regenerated.
222 * config/abi/pre/gnu-versioned-namespace.ver: New.
223 * config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested
225 * include/Makefile.am (${host_builddir}/c++config.h): Fill in
226 values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION.
227 * include/Makefile.in: Regnerate.
228 * src/compatibility.cc: Alias new, nested definitions to exported
229 symbols from non-nested __gnu_debug.
230 * src/Makefile.am: Add in ENABLE_SYMVERS_GNU_NAMESPACE.
231 * src/Makefile.in: Regenerate.
233 * docs/html/debug_mode.html: Revise for nested design.
234 * docs/html/debug.html: Use debug qualifications instead of
236 * docs/html/configopts.html: Revise documentation for
239 * include/debug/formatter: Simplify namespace qualifications for
240 current, nested-only reality. Add top-level namespace alias,
241 namespace debug, for debug-mode containers.
242 * include/debug/safe_iterator.h: Same.
243 * include/debug/set.h: Same.
244 * include/debug/hash_multimap.h: Same.
245 * include/debug/hash_set.h: Same.
246 * include/debug/bitset
247 * include/debug/safe_sequence.h: Same.
248 * include/debug/multiset.h: Same.
249 * include/debug/safe_base.h: Same.
250 * include/debug/functions.h: Same.
251 * include/debug/safe_iterator.tcc
252 * include/debug/hash_multiset.h: Same.
253 * include/debug/vector
254 * include/debug/map.h: Same.
255 * include/debug/deque
256 * include/debug/hash_map.h: Same.
257 * include/debug/string
258 * include/debug/macros.h: Same.
260 * include/debug/debug.h: Same.
261 * include/debug/multimap.h: Same.
262 * src/debug.cc: Same.
263 * testsuite/23_containers/vector/invalidation/1.cc: Cleanups.
264 * testsuite/23_containers/vector/invalidation/2.cc: Same.
265 * testsuite/23_containers/vector/invalidation/3.cc: Same.
266 * testsuite/23_containers/vector/invalidation/4.cc: Same.
267 * testsuite/23_containers/deque/invalidation/1.cc: Same.
268 * testsuite/23_containers/deque/invalidation/2.cc: Same.
269 * testsuite/23_containers/deque/invalidation/3.cc: Same.
270 * testsuite/23_containers/deque/invalidation/4.cc: Same.
271 * testsuite/23_containers/multiset/invalidation/1.cc: Same.
272 * testsuite/23_containers/multiset/invalidation/2.cc: Same.
273 * testsuite/23_containers/multimap/invalidation/1.cc: Same.
274 * testsuite/23_containers/multimap/invalidation/2.cc: Same.
275 * testsuite/23_containers/bitset/invalidation/1.cc: Same.
276 * testsuite/23_containers/bitset/cons/16020.cc: Same.
277 * testsuite/23_containers/bitset/operations/13838.cc: Same.
278 * testsuite/23_containers/list/invalidation/1.cc: Same.
279 * testsuite/23_containers/list/invalidation/2.cc: Same.
280 * testsuite/23_containers/list/invalidation/3.cc: Same.
281 * testsuite/23_containers/list/invalidation/4.cc: Same.
282 * testsuite/23_containers/set/invalidation/1.cc: Same.
283 * testsuite/23_containers/set/invalidation/2.cc: Same.
284 * testsuite/23_containers/map/invalidation/1.cc: Same.
285 * testsuite/23_containers/map/invalidation/2.cc: Same.
286 * testsuite/23_containers/map/insert/16813.cc: Same.
288 * include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and
290 * include/bits/stl_list.h: Same.
291 * include/bits/stl_map.h: Same.
292 * include/bits/stl_algobase.h: Same.
293 * include/bits/localefwd.h: Same.
294 * include/bits/valarray_array.tcc: Same.
295 * include/bits/valarray_after.h: Same.
296 * include/bits/gslice_array.h: Same.
297 * include/bits/stl_queue.h: Same.
298 * include/bits/gslice.h: Same.
299 * include/bits/locale_facets.tcc: Same.
300 * include/bits/locale_classes.h: Same.
301 * include/bits/stl_set.h: Same.
302 * include/bits/locale_facets.h: Same.
303 * include/bits/stl_stack.h: Same.
304 * include/bits/stl_iterator_base_types.h: Same.
305 * include/bits/stl_heap.h: Same.
306 * include/bits/indirect_array.h: Same.
307 * include/bits/atomicity.h: Same.
308 * include/bits/stream_iterator.h: Same.
309 * include/bits/concurrence.h: Same.
310 * include/bits/basic_string.h: Same.
311 * include/bits/stl_multimap.h: Same.
312 * include/bits/stl_pair.h: Same.
313 * include/bits/basic_ios.tcc: Same.
314 * include/bits/stl_raw_storage_iter.h: Same.
315 * include/bits/stl_vector.h: Same.
316 * include/bits/stl_numeric.h: Same.
317 * include/bits/ios_base.h: Same.
318 * include/bits/stl_deque.h: Same.
319 * include/bits/istream.tcc: Same.
320 * include/bits/postypes.h: Same.
321 * include/bits/stl_multiset.h: Same.
322 * include/bits/mask_array.h: Same.
323 * include/bits/stl_uninitialized.h: Same.
324 * include/bits/ostream.tcc: Same.
325 * include/bits/slice_array.h: Same.
326 * include/bits/boost_concept_check.h: Same.
327 * include/bits/sstream.tcc: Same.
328 * include/bits/stl_iterator_base_funcs.h: Same.
329 * include/bits/char_traits.h: Same.
330 * include/bits/stl_algo.h: Same.
331 * include/bits/stringfwd.h: Same.
332 * include/bits/c++config
333 * include/bits/stl_iterator.h: Same.
334 * include/bits/valarray_array.h: Same.
335 * include/bits/stl_tempbuf.h: Same.
336 * include/bits/vector.tcc: Same.
337 * include/bits/deque.tcc: Same.
338 * include/bits/stl_bvector.h: Same.
339 * include/bits/basic_string.tcc: Same.
340 * include/bits/list.tcc: Same.
341 * include/bits/streambuf_iterator.h: Same.
342 * include/bits/valarray_before.h: Same.
343 * include/bits/stl_construct.h: Same.
344 * include/bits/stl_function.h: Same.
345 * include/bits/cpp_type_traits.h: Same.
346 * include/bits/streambuf.tcc: Same.
347 * include/bits/allocator.h: Same.
348 * include/bits/stl_tree.h: Same.
349 * include/bits/fstream.tcc: Same.
350 * include/bits/stl_relops.h: Same.
351 * include/bits/functexcept.h: Same.
352 * include/std/std_valarray.h: Same.
353 * include/std/std_iostream.h: Same.
354 * include/std/std_streambuf.h: Same.
355 * include/std/std_bitset.h: Same.
356 * include/std/std_iosfwd.h: Same.
357 * include/std/std_iomanip.h: Same.
358 * include/std/std_fstream.h: Same.
359 * include/std/std_limits.h: Same.
360 * include/std/std_stdexcept.h: Same.
361 * include/std/std_istream.h: Same.
362 * include/std/std_complex.h: Same.
363 * include/std/std_memory.h: Same.
364 * include/std/std_ostream.h: Same.
365 * include/std/std_sstream.h: Same.
366 * include/c_std/std_csignal.h: Same.
367 * include/c_std/std_cstdlib.h: Same.
368 * include/c_std/std_cstdio.h: Same.
369 * include/c_std/std_cstdarg.h: Same.
370 * include/c_std/std_cctype.h: Same.
371 * include/c_std/std_cmath.h: Same.
372 * include/c_std/std_ctime.h: Same.
373 * include/c_std/std_clocale.h: Same.
374 * include/c_std/std_csetjmp.h: Same.
375 * include/c_std/std_cwchar.h: Same.
376 * include/c_std/std_cstring.h: Same.
377 * include/c_std/std_cstddef.h: Same.
378 * include/c_std/std_cwctype.h: Same.
379 * include/backward/iterator.h: Same.
380 * include/backward/set.h: Same.
381 * include/backward/hashtable.h: Same.
382 * include/backward/fstream.h: Same.
383 * include/backward/tempbuf.h: Same.
384 * include/backward/istream.h: Same.
385 * include/backward/bvector.h: Same.
386 * include/backward/stack.h: Same.
387 * include/backward/rope.h: Same.
388 * include/backward/complex.h: Same.
389 * include/backward/ostream.h: Same.
390 * include/backward/heap.h: Same.
391 * include/backward/iostream.h: Same.
392 * include/backward/function.h: Same.
393 * include/backward/multimap.h: Same.
394 * include/backward/pair.h: Same.
395 * include/backward/stream.h: Same.
396 * include/backward/iomanip.h: Same.
397 * include/backward/strstream
398 * include/backward/slist.h: Same.
399 * include/backward/tree.h: Same.
400 * include/backward/vector.h: Same.
401 * include/backward/deque.h: Same.
402 * include/backward/multiset.h: Same.
403 * include/backward/list.h: Same.
404 * include/backward/map.h: Same.
405 * include/backward/algobase.h: Same.
406 * include/backward/hash_map.h: Same.
407 * include/backward/algo.h: Same.
408 * include/backward/queue.h: Same.
409 * include/backward/streambuf.h: Same.
410 * src/allocator-inst.cc: Same.
411 * src/complex_io.cc: Same.
412 * src/localename.cc: Same.
413 * src/limits.cc: Same.
414 * src/ios_failure.cc: Same.
415 * src/locale-misc-inst.cc: Same.
416 * src/streambuf-inst.cc: Same.
417 * src/misc-inst.cc: Same.
418 * src/concept-inst.cc: Same.
419 * src/ios_locale.cc: Same.
420 * src/pool_allocator.cc: Same.
421 * src/fstream-inst.cc: Same.
422 * src/istream-inst.cc: Same.
423 * src/string-inst.cc: Same.
424 * src/locale_init.cc: Same.
425 * src/ctype.cc: Same.
426 * src/strstream.cc: Same.
427 * src/ostream-inst.cc: Same.
428 * src/functexcept.cc: Same.
429 * src/streambuf.cc: Same.
430 * src/sstream-inst.cc: Same.
432 * src/valarray-inst.cc: Same.
433 * src/locale.cc: Same.
435 * src/stdexcept.cc: Same.
436 * src/istream.cc: Same.
437 * src/compatibility.cc: Same.
438 * src/locale-inst.cc: Same.
439 * src/globals_io.cc: Same.
441 * src/ios_init.cc: Same.
442 * src/locale_facets.cc: Same.
443 * src/codecvt.cc: Same.
445 * include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1).
446 * include/tr1/boost_shared_ptr.h: Same.
448 * include/tr1/hashtable
449 * include/tr1/type_traits_fwd.h: Same.
450 * include/tr1/unordered_set
451 * include/tr1/functional
452 * include/tr1/ref_fwd.h: Same.
453 * include/tr1/utility
454 * include/tr1/type_traits
457 * include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx).
458 * include/ext/typelist.h: Same.
459 * include/ext/hash_map: Same.
460 * include/ext/rc_string_base.h: Same.
461 * include/ext/pool_allocator.h: Same.
462 * include/ext/iterator: Same.
463 * include/ext/rb_tree: Same.
464 * include/ext/numeric: Same.
465 * include/ext/vstring.tcc: Same.
466 * include/ext/sso_string_base.h: Same.
467 * include/ext/stdio_filebuf.h: Same.
468 * include/ext/algorithm: Same.
469 * include/ext/codecvt_specializations.h: Same.
470 * include/ext/new_allocator.h: Same.
471 * include/ext/array_allocator.h: Same.
472 * include/ext/vstring_util.h: Same.
473 * include/ext/vstring_fwd.h: Same.
474 * include/ext/mt_allocator.h: Same.
475 * include/ext/debug_allocator.h: Same.
476 * include/ext/slist: Same.
477 * include/ext/stdio_sync_filebuf.h: Same.
478 * include/ext/hash_fun.h: Same.
479 * include/ext/malloc_allocator.h: Same.
480 * include/ext/functional: Same.
481 * include/ext/bitmap_allocator.h: Same.
482 * include/ext/pod_char_traits.h: Same.
483 * include/ext/vstring.h: Same.
484 * include/ext/ropeimpl.h: Same.
485 * include/ext/hash_set: Same.
486 * include/ext/memory: Same.
487 * include/ext/rope: Same.
488 * include/bits/boost_concept_check.h: Same.
489 * include/bits/stl_iterator.h: Same.
490 * include/bits/char_traits.h: Same.
491 * include/bits/cpp_type_traits.h: Same.
492 * include/bits/concurrence.h: Same.
493 * include/bits/atomicity.h: Same.
494 * config/locale/gnu/numeric_members.cc: Same.
495 * config/locale/gnu/collate_members.cc: Same.
496 * config/locale/gnu/ctype_members.cc: Same.
497 * config/locale/gnu/c_locale.cc: Same.
498 * config/locale/gnu/codecvt_members.cc: Same.
499 * config/locale/gnu/messages_members.cc: Same.
500 * config/locale/gnu/c_locale.h: Same.
501 * config/locale/gnu/monetary_members.cc: Same.
502 * config/locale/gnu/time_members.cc: Same.
503 * config/locale/ieee_1003.1-2001/c_locale.h: Same.
504 * config/locale/generic/numeric_members.cc: Same.
505 * config/locale/generic/collate_members.cc: Same.
506 * config/locale/generic/ctype_members.cc: Same.
507 * config/locale/generic/c_locale.cc: Same.
508 * config/locale/generic/codecvt_members.cc: Same.
509 * config/locale/generic/messages_members.cc: Same.
510 * config/locale/generic/c_locale.h: Same.
511 * config/locale/generic/monetary_members.cc: Same.
512 * config/locale/generic/time_members.cc: Same.
513 * config/os/aix/atomicity.h: Same.
514 * config/os/irix/atomicity.h: Same.
515 * config/cpu/powerpc/atomicity.h: Same.
516 * config/cpu/cris/atomicity.h: Same.
517 * config/cpu/ia64/atomicity.h: Same.
518 * config/cpu/alpha/atomicity.h: Same.
519 * config/cpu/m68k/atomicity.h: Same.
520 * config/cpu/hppa/atomicity.h: Same.
521 * config/cpu/mips/atomicity.h: Same.
522 * config/cpu/sparc/atomicity.h: Same.
523 * config/cpu/i386/atomicity.h: Same.
524 * config/cpu/i486/atomicity.h: Same.
525 * config/cpu/sh/atomicity.h: Same.
526 * config/cpu/generic/atomicity.h: Same.
527 * config/cpu/s390/atomicity.h: Same.
528 * config/io/c_io_stdio.h: Same.
529 * config/io/basic_file_stdio.cc: Same.
530 * config/io/basic_file_stdio.h: Same.
531 * src/misc-inst.cc: Same.
532 * src/concept-inst.cc: Same.
533 * src/ext-inst.cc: Same.
534 * src/string-inst.cc: Same.
535 * src/pool_allocator.cc: Same.
536 * src/bitmap_allocator.cc: Same.
537 * src/mt_allocator.cc: Same.
538 * libsupc++/exception: Same.
539 * libsupc++/vterminate.cc: Same.
540 * testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map.
541 * testsuite/ext/hash_map/14648.cc: Same.
543 * libsupc++/eh_alloc.cc: Correct comment line spacing.
545 2005-12-18 Paolo Carlini <pcarlini@suse.de>
547 * include/bits/stl_algobase.h (__copy_normal::copy_n): Uglify
549 (__copy_backward::copy_b): Likewise to __copy_b.
550 (__copy_backward_normal::copy_b_n): Likewise to __copy_b_n.
551 (copy, __copy_backward_aux, copy_backward): Adjust.
553 2005-12-18 Paolo Carlini <pcarlini@suse.de>
555 * include/bits/stl_algo.h (partial_sort_copy): Add
556 _BinaryPredicateConcept<_Compare, _InputValueType, _OutputValueType>
557 (merge, set_union, set_symmetric_difference): Add
558 _OutputIteratorConcept<_OutputIterator, _ValueType2>.
559 (binary_search): Remove redundant _BinaryPredicateConcept<_Compare,
560 _ValueType, _Tp>, taken care by lower_bound.
561 * include/bits/stl_algo.h: Cosmetic changes.
563 2005-12-18 Paolo Carlini <pcarlini@suse.de>
564 Howard Hinnant <hhinnant@apple.com>
566 * include/bits/stl_algo.h (merge, includes, set_union,
567 set_intersection, set_difference, set_symmetric_difference):
570 2005-12-18 Paolo Carlini <pcarlini@suse.de>
572 * include/bits/stl_algo.h (partial_sort_copy, lower_bound,
573 upper_bound, equal_range, binary_search): Fix concept checks.
575 2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
577 * config/abi/post: New.
578 * config/abi/*-linux-gnu: Move to..
579 * config/abi/post/*-linux-gnu: ... here.
580 * config/abi/pre: New.
581 * config/linker-map.gnu: Move to ..
582 * config/abi/pre/gnu.ver: ... here.
583 * config/linker-map.dummy: Move to..
584 * config/abi/pre/none.ver: ... here.
585 * src/Makefile.am: Use ENABLE_SYMVERS_GNU,
586 ENABLE_SYMVERS_DARWIN, ENABLE_SYMVERS_GNU_NAMESPACE.
587 Use libstdc++-symbols.ver instead of libstdc++-symbol.ver.
588 * src/Makefile.in: Regnerate.
589 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Adjust paths for new
590 placement of abi baseline files.
591 (GLIBCXX_ENABLE_SYMVERS): Add ENABLE_SYMVERS, ENABLE_SYMVERS_GNU,
592 ENABLE_SYMVERS_DARWIN. SYMVER_MAP to SYMVER_FILE.
593 * configure: Regnerate.
594 * config.h.in: Regnerate.
595 * src/compatibility.cc: Adjust macro usage.
597 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
599 * src/io-inst.cc: Separate instantiations into...
600 * src/ios-inst.cc: .. this.
601 * src/iostream-inst.cc: ... and this.
602 * src/Makefile.am (sources): Update.
603 * src/Makefile.in: Regenerate.
605 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
608 * include/c_std/std_cstdlib.h: Fix for freestanding.
610 2005-12-17 Benjamin Kosnik <bkoz@redhat.com>
612 * testsuite/libstdc++-dg/normal.exp: Rename to..
613 * testsuite/libstdc++-dg/conformance.exp: ... this.
615 2005-12-17 Paolo Carlini <pcarlini@suse.de>
617 * include/bits/stl_vector.h (vector(const vector&)): Use
619 * include/bits/stl_deque.h (deque(const deque&)): Likewise.
620 (_M_destroy_data): Adjust.
622 2005-12-17 Paolo Carlini <pcarlini@suse.de>
624 * include/bits/stl_deque.h (deque<>::_M_erase_at_end,
625 _M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch,
626 _M_destroy_data_aux): New, optimize erase at begin() / end() and
627 consistently use the "segmented iterator" optimization.
628 (deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign):
630 * include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same.
631 (erase(iterator, iterator)): Likewise, clean-up.
632 (erase(iterator)): Tweak, don't call copy unnecessarily.
633 (_M_destroy_data_aux): Define.
634 * testsuite/23_containers/deque/modifiers/erase/1.cc: New.
635 * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise.
637 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
639 * include/bits/valarray_after.h (_Expr<>::operator[](slice)):
640 Don't assume the closure implements general indexing, as a matter
641 of fact, most of them don't.
642 (_Expr<>::operator[](const gslice&)): Likewise.
643 (_Expr<>::operator[](const valarray<bool>&)): Likewise.
644 (_Expr<>::operator[](const valarray<size_t>&)): Likewise.
645 (_Expr<>::shift): Fix thinko.
646 (_Expr<>::cshift): Likewise.
647 (_Expr<>::apply): Likewise.
649 2005-12-16 Paolo Carlini <pcarlini@suse.de>
651 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc:
652 Fix class NonEmptyClassTwo.
654 2005-12-15 Paolo Carlini <pcarlini@suse.de>
656 * include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
657 to return by ref and add non const version.
658 * include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.
660 2005-12-15 Paolo Carlini <pcarlini@suse.de>
663 * config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
665 * testsuite/22_locale/facet/25421.cc: New.
667 2005-12-13 Carlos O'Donell <carlos@codesourcery.com>
669 * include/std/std_limits.h (struct numeric_limits):
670 Use __DBL_HAS_DENORM__, __FLT_HAS_DENORM__, __LDBL_HAS_DENORM__.
672 2005-12-10 Paolo Carlini <pcarlini@suse.de>
674 * include/ext/sso_string_base.h (__sso_string_base<>::_M_compare):
675 Add, specialized for char and wchar_t to immediately return true
676 when a string is compared to itself.
677 * include/ext/rc_string_base.h (__rc_string_base<>::_M_compare):
678 Likewise, for the same _Rep.
679 * include/ext/vstring.h (compare(const string&)): Use it.
681 * include/ext/sso_string_base.h (__sso_string_base<>::_M_destroy):
682 Deallocate passed size + 1.
683 (_M_dispose, _M_reserve): Adjust.
685 2005-12-09 Paolo Carlini <pcarlini@suse.de>
686 Howard Hinnant <hhinnant@apple.com>
689 * include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
691 (_M_initialize_dispatch, _M_fill_initialize): Add.
692 (list(size_type, const value_type&, const allocator_type&),
693 list(const list&), list(_InputIterator, _InputIterator,
694 const allocator_type&): Use the latter.
695 (insert(iterator, size_type, const value_type&), insert(iterator,
696 _InputIterator, _InputIterator)): Use construction & splice.
697 * testsuite/23_containers/list/modifiers/insert/25288.cc: New.
698 * testsuite/testsuite_allocator.h (class throw_allocator): Add.
700 * include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.
702 2005-12-08 Paolo Carlini <pcarlini@suse.de>
704 * include/bits/stl_vector.h (vector<>::size, resize, capacity,
705 operator[]): Avoid troubles with ADL, user defined operators
706 and __normal_iterator.
707 (_M_erase_at_end): Fix to take a pointer.
708 (clear): Adjust call.
709 * include/bits/vector.tcc (vector<>::insert(iterator, const
710 value_type&), erase(iterator, iterator), operator=(const
711 vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
712 _M_fill_insert, _M_range_insert): Likewise.
713 (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
714 _M_erase_at_end call.
715 * testsuite/23_containers/vector/types/1.cc: New.
717 2005-12-08 Paolo Carlini <pcarlini@suse.de>
720 * include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
721 (vector<>::clear, resize): Use it.
722 * include/bits/vector.tcc (vector<>::erase(iterator, iterator),
723 _M_fill_assign, _M_assign_aux): Likewise.
725 * testsuite/23_containers/vector/modifiers/erase/1.cc: New.
727 2005-12-07 Paolo Carlini <pcarlini@suse.de>
729 * docs/html/configopts.html ([--enable-libstdcxx-allocator]):
730 Mention the SGI pooled allocator.
732 2005-12-06 Paolo Carlini <pcarlini@suse.de>
734 * include/bits/basic_string.h (insert(iterator, _CharT),
735 erase(iterator), erase(iterator, iterator)): Avoid troubles
736 with ADL, user defined operators and __normal_iterator.
737 * include/bits/stl_iterator.h (operator-(const __normal_iterator
738 <_Iterator, _Container>&, const __normal_iterator<_Iterator,
739 _Container>&)): Add overload for left and right iterators of
741 * include/debug/safe_iterator.h (operator-(const _Safe_iterator
742 <_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
743 _Sequence>&)): Likewise.
744 * testsuite/21_strings/basic_string/types/1.cc: New.
746 2005-12-05 Paolo Carlini <pcarlini@suse.de>
748 * include/ext/sso_string_base.h (__sso_string_base<>::_M_assign):
749 Simplify, avoid pointless reallocations.
751 2005-12-04 Paolo Carlini <pcarlini@suse.de>
753 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
756 2005-12-04 Paolo Carlini <pcarlini@suse.de>
758 * include/ext/vstring.h (__versa_string<>::operator+, all
759 versions): Move out of line...
760 * include/ext/vstring.tcc (__versa_string<>::operator+): ...
761 here; consistently use reserve for the benefit of sso_string_base;
762 prefer push_back to single-char append when appropriate.
764 * include/ext/vstring.h (__versa_string<>::push_back): Don't
765 call _M_reserve, _M_mutate instead.
766 (reserve): Just forward to _M_reserve.
767 * include/ext/vstring.tcc (__versa_string<>::_M_reserve): Remove.
768 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve): Also
769 do the initial checks (first on length, in case __res == capacity).
770 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve:
771 Likewise; don't call _M_set_length unnecessarily.
773 2005-12-04 Paolo Carlini <pcarlini@suse.de>
775 * include/ext/vstring.h (__versa_string<>::_M_append): New.
776 (append(const __versa_string&), append(const __versa_string&,
777 size_type, size_type), append(const _CharT*, size_type),
778 append(const _CharT*)): Use it.
779 (append(size_type, _CharT)): Delegate to _M_replace_aux.
780 (assign(const __versa_string&, size_type, size_type),
781 assign(const _CharT*), replace(size_type, size_type,
782 const _CharT*, size_type)): Forward to _M_replace.
783 * include/ext/vstring.tcc (__versa_string<>::_M_append):
784 Define, core append functionality.
785 (_M_replace): Simplify, move __s == 0 case to _M_replace_aux.
786 (_M_replace_aux): Reorganize, don't call _M_replace.
788 2005-12-04 Paolo Carlini <pcarlini@suse.de>
790 * include/ext/vstring.tcc (__versa_string<>::_M_replace):
791 Perform _M_check_length at the beginning and remove it from ...
792 (replace, _M_replace_dispatch, _M_replace_aux, assign): ... here.
793 (assign): Now move inline.
794 (resize): Don't call _M_check_length redundantly, append does.
796 2005-12-04 Paolo Carlini <pcarlini@suse.de>
798 * include/ext/sso_string_base.h (__sso_string_base<>::_M_get_allocator):
799 Add non const version.
800 * include/ext/rc_string_base.h (__rc_string_base<>::_M_get_allocator):
803 * include/ext/sso_string_base.h (__sso_string_base<>::_M_erase): Add.
804 * include/ext/rc_string_base.h (__rc_string_base<>::_M_erase): Likewise.
805 (_M_leak_hard): Use it.
806 * include/ext/vstring.h (__versa_string<>::clear, erase, all
808 * include/ext/vstring.tcc (__versa_string<>::resize): Likewise.
810 * include/ext/vstring.h (__versa_string<>::_M_replace_safe):
812 * include/ext/vstring.h (__versa_string<>::_M_replace): New, does
813 the in-place work or delegates to _M_mutate in case of reallocation.
814 * include/ext/vstring.tcc (__versa_string<>::_M_replace_safe):
816 * include/ext/vstring.tcc (__versa_string<>::_M_replace): Define.
817 (assign, replace, _M_replace_dispatch, _M_replace_aux): Use it.
818 * include/ext/sso_string_base.h (__sso_string_base<>::_M_mutate):
819 Change to manage only reallocations.
820 * include/ext/rc_string_base.h (__rc_string_base<>::_M_mutate):
823 * include/ext/vstring.h (__versa_string<>::insert(size_type,
824 const __versa_string&), insert(size_type, const __versa_string&,
825 size_type, size_type), insert(size_type, const _CharT*, size_type),
826 insert(size_type, const _CharT*)): Delegate to replace.
828 * include/ext/vstring.h (__versa_string<>::reserve): Move out of
830 * include/ext/vstring.tcc (__versa_string<>::reserve): Do the
831 checks and call _M_reserve.
832 * include/ext/vstring.h (__versa_string<>::append): Call _M_reserve
834 * include/ext/vstring.tcc (__versa_string<>::append, all versions):
836 * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
838 * include/ext/rc_string_base.h (__rc_string_base<>::_M_reserve):
841 2005-12-02 David Billinghurst (David.Billinghurst@riotinto.com)
844 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
845 error if file cannot be deleted.
847 2005-11-23 Paolo Carlini <pcarlini@suse.de>
849 PR libstdc++/24975 (basic_string)
850 * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
851 strict-aliasing warnings.
853 2005-11-22 Paolo Carlini <pcarlini@suse.de>
856 * include/bits/stl_set.h (insert(iterator, const value_type&),
857 erase(iterator), erase(iterator, iterator)): Don't break aliasing
858 rules casting to _Rep_iterator&, forward to _Rb_tree facilities.
859 * include/bits/stl_multiset.h (insert(iterator, const value_type&),
860 erase(iterator), erase(iterator, iterator)): Likewise.
861 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert(_Const_Base_ptr,
862 _Const_Base_ptr, const value_type&), insert_unique(const_iterator,
863 const value_type&), insert_equal(const_iterator, const value_type&),
864 erase(const_iterator), erase(const_iterator, const_iterator)): New,
865 _Rb_tree<>::const_iterator counterparts of existing facilities.
867 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
868 Ulrich Drepper <drepper@redhat.com>
871 * scripts/create_testsuite_files: Support for "C" test files.
872 * testsuite/lib/libstdc++.exp: Same.
873 * testsuite/libstdc++-dg/normal.exp: Same.
874 * testsuite/ext/mt_allocator/22309_thread.cc: Update names.
875 * testsuite/19_diagnostics/23591_thread-1.c: New.
876 * testsuite/testsuite_shared.cc: Add tests, rename existing functions.
877 * libsupc++/eh_globals.cc: Make global thread local if possible.
878 * configure.ac: Use GCC_CHECK_TLS.
879 * acinclude.m4: Include tls.m4.
880 * configure: Regenerate.
883 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
885 * libsupc++/del_op.cc: Include c++config.h first.
886 * libsupc++/eh_alloc.cc: Same.
887 * libsupc++/new_opv.cc: Same.
888 * libsupc++/eh_throw.cc: Same.
889 * libsupc++/new_op.cc: Same.
890 * libsupc++/del_opv.cc: Same.
891 * libsupc++/eh_catch.cc: Same.
892 * libsupc++/guard.cc: Same.
893 * libsupc++/del_opnt.cc: Same.
894 * libsupc++/eh_exception.cc: Same.
895 * libsupc++/new_opvnt.cc: Same.
896 * libsupc++/eh_term_handler.cc: Same.
897 * libsupc++/eh_personality.cc: Same.
898 * libsupc++/eh_call.cc: Same.
899 * libsupc++/new_opnt.cc: Same.
900 * libsupc++/del_opvnt.cc: Same.
902 2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
904 * src/Makefile.am (LTCXXCOMPILE): CXXFLAGS last.
905 * libsupc++/Makefile.am: Same.
906 * src/Makefile.in: Regenerate.
907 * libsupc++/Makefile.in: Same.
909 2005-11-21 Paolo Carlini <pcarlini@suse.de>
911 * include/ext/sso_string_base.h: Minor formatting and stylistic fixes.
912 (__sso_string_base<>::_M_get_allocator): Return by const ref.
913 * include/ext/rc_string_base.h: Likewise.
914 (__rc_string_base<>::_M_get_allocator): Return by const ref.
915 (__rc_string_base<>::_M_dispose): Take void, use _M_get_allocator.
916 (__rc_string_base<>::_M_grab): Take one alloc, use _M_get_allocator.
917 (__rc_string_base<>::~__rc_string_base,
918 __rc_string_base(const __rc_string_base&), _M_assign, _M_reserve,
920 * include/ext/vstring_util.h: Minor stylistic fixes.
922 2005-11-18 Paolo Carlini <pcarlini@suse.de>
924 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
925 anonymous struct extension, adjust everywhere.
927 * include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
928 Just use a static member.
929 (__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.
931 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
932 anonymous union together with _CharT to fix alignment issues,
933 rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.
934 (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
936 * include/ext/vstring_util.h (__is_null_p): Move inside struct
937 __vstring_utility as static _S_is_null_pointer.
938 * include/ext/sso_string.h
939 (__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
940 * include/ext/rc_string_base.h
941 (__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.
943 Implement Option 3 of DR 431 for ext/vstring - both available bases.
944 * include/bits/cpp_type_traits.h (struct __is_empty): Add.
945 * include/ext/vstring.h (__versa_string<>::swap): Delegate to
947 * include/ext/vstring.tcc (__versa_string<>::swap): Remove.
948 * include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
949 _Alloc_hider<>, augmented of allocator swapping facility, specialized
950 to nop for empty allocators.
951 * include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
952 (__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
953 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
955 (__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.
956 * include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
958 * include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
961 2005-11-17 Geoffrey Keating <geoffk@apple.com>
963 * config/os/bsd/darwin/ppc-extra.ver: New.
964 * src/Makefile.am (libstdc++-symbol.ver): Move outside conditionals,
965 and make dependent on port symbol files.
966 (libstdc++-symbol.explist): Use the generated .ver file, not
968 * src/compatibility.cc [APPLE] (__eprintf): New.
969 * src/Makefile.in: Regenerate.
970 * configure.host (powerpc*-*-darwin*): Define
971 port_specific_symbol_files.
973 2005-11-16 Nathan Sidwell <nathan@codesourcery.com>
975 * libsupc++/eh_arm.cc (__cxa_begin_cleanup): Remember a
976 foreign exception too.
977 (__gnu_end_cleanup): Recover a foreign exception too.
978 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Cope
979 with forced unwinding.
980 * libsupc++/eh_throw.cc (__cxxabiv1::__cxa_rethrow): Use
981 _Unwind_Resume_or_Rethrow for ARM EABI.
983 2005-11-14 Geoffrey Keating <geoffk@apple.com>
985 * acinclude.m4 (GLIBCXX_CHECK_LINKER_FEATURES): Don't check for
986 shared libgcc for darwin exports.
987 * configure: Regenerate.
989 2005-11-13 Jonathan Wakely <redi@gcc.gnu.org>
991 * include/tr1/boost_shared_ptr.h (get_deleter):
992 Declare before shared_ptr.
993 (shared_ptr<>): Declare get_deleter as friend.
994 (shared_ptr<>:_M_get_deleter): Private.
996 2005-11-13 Douglas Gregor <doug.gregor@gmail.com>
999 * include/tr1/ref_wrap_iterate.h
1000 (reference_wrapper::operator()()): Don't dereferene the result of
1001 get() before calling it; it's already a reference.
1002 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
1003 Test nullary calls to reference_wrappers.
1005 2005-11-11 Paolo Carlini <pcarlini@suse.de>
1008 * include/tr1/type_traits (__is_abstract_helper): Rename to __in_array
1009 (with complemented logic).
1010 (is_function): Use it, don't use __conv_helper.
1011 (is_abstract): Adjust.
1012 (__conv_helper): Rename to __is_convertible_simple.
1013 (is_convertible): Adjust.
1014 * testsuite/testsuite_tr1.h (class IncompleteClass): Add.
1015 * testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/
1017 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/
1019 * testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/
1022 2005-11-11 Paolo Carlini <pcarlini@suse.de>
1025 * include/tr1/functional (hash): Inherit from std::unary_function.
1026 * testsuite/tr1/6_containers/unordered/hash/24799.cc: New.
1029 * include/tr1/boost_shared_ptr.h (swap(shared_ptr<>&, shared_ptr<>&),
1030 swap(weak_ptr<>&, weak_ptr<>&)): Move inside namespace tr1.
1031 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
1035 * include/tr1/type_traits (__is_polymorhpic_helper): Adjust destructor.
1036 * testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/
1039 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1041 * testsuite/tr1/2_general_utilities/memory/
1042 enable_shared_from_this/not_shared.cc: Adjust, remove xfail.
1043 * testsuite/tr1/2_general_utilities/memory/
1044 enable_shared_from_this/not_shared2.cc: Likewise.
1045 * testsuite/tr1/2_general_utilities/memory/
1046 enable_shared_from_this/not_shared3.cc: Likewise.
1048 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1050 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1051 weak_release): Protect barriers with __GTHREADS.
1053 2005-11-10 Paolo Carlini <pcarlini@suse.de>
1054 Peter Dimov <pdimov@mmltd.net>
1056 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release):
1057 Optimize by manually inlining weak_release.
1059 * include/tr1/boost_shared_ptr.h (_Sp_counted_base::release,
1060 weak_release): Use explicit memory barriers.
1062 2005-11-09 Benjamin Kosnik <bkoz@redhat.com>
1063 Paolo Carlini <pcarlini@suse.de>
1064 Gabriel Dos Reis <gdr@integrable-solutions.net>
1067 * numeric_limits.cc: Split into...
1068 * numeric_limits/specialization.cc: ..this.
1069 * numeric_limits/is_iec559.cc: Same.
1070 * numeric_limits/sign.cc: Same.
1071 * numeric_limits/quiet_NaN.cc: Same.
1072 * numeric_limits/digits10.cc: Same.
1073 * numeric_limits/denorm_min.cc: Same.
1074 * numeric_limits/min_max.cc: Same.
1075 * numeric_limits/epsilon.cc: Same.
1076 * numeric_limits/infinity.cc: Same.
1077 * numeric_limits/traps.cc: New.
1079 2005-11-09 Paolo Carlini <pcarlini@suse.de>
1081 * include/tr1/boost_shared_ptr.h: Trivial formatting fixes.
1083 2005-11-08 Benjamin Kosnik <bkoz@redhat.com>
1085 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): Use
1086 exe as the executable extension.
1088 * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Change gnu defaults to
1090 (GLIBCXX_ENABLE_PCH): Adjust message order.
1091 * configure: Regenerate.
1093 * scripts/testsuite_flags.in (query): Correct print_usagex typo.
1095 * include/bits/functexcept.h: Remove argument names.
1097 * src/mt_allocator.cc: Adjust comment.
1099 2005-11-06 Paolo Carlini <pcarlini@suse.de>
1102 * include/bits/stl_queue.h (priority_queue): Tweak a bit the
1103 comment describing the container.
1105 2005-11-05 Paolo Carlini <pcarlini@suse.de>
1107 * configure.host: Add | rs6000 to the cpu_defines_dir switch,
1108 consistently with the try_cpu one.
1110 2005-11-05 Paolo Carlini <pcarlini@suse.de>
1113 * include/bits/c++config: Include cpu_defines.h.
1114 * include/Makefile.am: Add cpu_defines.h to host_headers.
1115 * configure.host: Add cpu_defines_dir.
1116 * configure.ac: Use it.
1117 * config/cpu/powerpc/cpu_defines.h: New.
1118 * config/cpu/generic/cpu_defines.h: Likewise.
1119 * configure: Regenerate.
1120 * Makefile.in: Likewise.
1121 * include/Makefile.in: Likewise.
1122 * libmath/Makefile.in: Likewise.
1123 * libsupc++/Makefile.in: Likewise.
1124 * po/Makefile.in: Likewise.
1125 * src/Makefile.in: Likewise.
1126 * testsuite/Makefile.in: Likewise.
1128 2005-11-03 Paolo Carlini <pcarlini@suse.de>
1130 * include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
1131 Change the various traits_type::copy call to always copy the
1132 entire local buffer; return early and don't do a full swap on
1133 the lengths for two common cases; change two _S_copy to plain
1136 2005-11-02 Thomas Kho <tkho@ucla.edu>
1139 * include/bits/stl_vector.h (vector<>::clear): Open code
1140 in terms of _Destroy.
1142 2005-11-02 Paolo Carlini <pcarlini@suse.de>
1144 * include/bits/vector.tcc (vector<>::_M_fill_assign): Qualify fill_n.
1146 2005-11-01 Paolo Carlini <pcarlini@suse.de>
1149 * include/tr1/boost_shared_ptr.h (shared_ptr<>::get_deleter):
1150 Move out of shared_ptr.
1151 * testsuite/tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc:
1154 2005-10-30 Paolo Carlini <pcarlini@suse.de>
1157 * include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
1158 * include/c_std/std_cstdlib.h: Likewise.
1159 * include/c_std/std_cstdio.h: Likewise.
1160 * include/c_std/std_cstdarg.h: Likewise.
1161 * include/c_std/std_cctype.h: Likewise.
1162 * include/c_std/std_cerrno.h: Likewise.
1163 * include/c_std/std_cmath.h: Likewise.
1164 * include/c_std/std_ciso646.h: Likewise.
1165 * include/c_std/std_ctime.h: Likewise.
1166 * include/c_std/std_clocale.h: Likewise.
1167 * include/c_std/std_climits.h: Likewise.
1168 * include/c_std/std_cassert.h: Likewise.
1169 * include/c_std/std_csetjmp.h: Likewise.
1170 * include/c_std/std_cwchar.h: Likewise.
1171 * include/c_std/std_cfloat.h: Likewise.
1172 * include/c_std/std_cstring.h: Likewise.
1173 * include/c_std/std_cstddef.h: Likewise.
1174 * include/c_std/std_cwctype.h: Likewise.
1176 2005-10-29 Carey Evans <carey.evans@gmail.com>
1179 * config/os/djgpp/ctype_inline.h: Fix.
1180 * config/os/djgpp/ctype_noninline.h: Likewise.
1182 2005-10-28 Paolo Carlini <pcarlini@suse.de>
1185 * include/c_std/std_cwchar.h (wcspbrk): Adjust signature.
1186 * testsuite/21_strings/c_strings/wchar_t/24559.cc: New.
1188 2005-10-25 Paolo Carlini <pcarlini@suse.de>
1190 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 39.
1191 * docs/html/ext/howto.html: Adjust.
1193 2005-10-21 Paolo Carlini <pcarlini@suse.de>
1196 * config/locale/generic/time_members.h (__timepunct<>::
1197 __timepunct(__c_locale, const char*, size_t)): Avoid leaking
1198 memory if new throws inside _M_initialize_timepunct.
1199 * config/locale/gnu/time_members.h (__timepunct<>::
1200 __timepunct(__c_locale, const char*, size_t)): Likewise.
1201 * config/locale/gnu/message_members.h (messages<>::
1202 messages(__c_locale, const char*, size_t)): Rearrange to
1205 2005-10-19 Paolo Carlini <pcarlini@suse.de>
1207 * include/ext/sso_string_base.h (_M_swap): Rewrite.
1209 2005-10-19 Paolo Carlini <pcarlini@suse.de>
1211 * include/ext/rc_string_base.h (_S_terminal): Remove.
1212 (_M_set_length): Adjust.
1213 (_S_max_size): Change to anonymous enum.
1214 (_M_max_size()): Add, returns the latter.
1215 * include/ext/sso_string_base.h: Likewise.
1216 * include/ext/vstring.h (max_size): Adjust.
1218 2005-10-17 Jonathan Wakely <redi@gcc.gnu.org>
1221 * include/tr1/boost_shared_ptr.h
1222 (_Sp_counted_base::_Sp_counted_base()): When __GTHREAD_MUTEX_INIT
1223 is defined, initialize the mutex.
1225 2005-10-15 Paolo Carlini <pcarlini@suse.de>
1227 * include/tr1/functional: Add missing #pragma GCC system_header.
1229 2005-10-14 Paolo Carlini <pcarlini@suse.de>
1231 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
1232 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
1234 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
1237 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
1239 * configure: Regenerate.
1241 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
1243 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
1244 native testing before setting v3-sharedlib to 1.
1246 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
1248 * docs/html/27_io/howto.html: Use reference to ifstream when
1251 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
1254 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
1256 * configure: Regenerate.
1258 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
1260 * configure.ac (libtool_VERSION): To 6:7:0.
1261 * configure: Regenerate.
1262 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
1263 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
1265 2005-10-10 Ian Lance Taylor <ian@airs.com>
1268 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
1270 * src/locale.cc: Define here, add mutex.
1272 2005-10-09 Paolo Carlini <pcarlini@suse.de>
1274 PR libstdc++/24061 (issue 6.19)
1275 * include/tr1/hashtable (struct node_const_iterator, struct
1276 hashtable_const_iterator): New, add const variants to enable separate
1277 overloadings for iterator and const_iterator in unordered_set and
1278 unordered_multiset (as required by issue 6.19).
1279 (class hashtable): Change the mutable_iterators template parameter
1280 to constant_iterators and adjust throughout the logic.
1281 (hashtable::insert(iterator, const value_type&), erase(iterator)
1282 erase(iterator, iterator)): New, as per issue 6.19.
1283 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
1284 and erase(const_iterator).
1285 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
1286 const value_type&) and insert(const_iterator, const value_type&)
1287 to delegate the work to insert(const value_type&).
1288 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
1290 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
1292 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
1293 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
1294 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
1295 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
1296 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
1297 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
1298 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
1299 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
1301 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
1303 Merge from csl-arm-branch:
1304 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
1305 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
1307 2005-10-07 Paolo Carlini <pcarlini@suse.de>
1309 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
1310 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
1311 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
1312 _Rep class and remove code in macro.
1313 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
1314 (_M_dispose, _M_leak_hard): Remove code in macro.
1315 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
1318 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
1321 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
1323 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
1325 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1327 * include/ext/sso_string_base.h (struct __sso_string_local):
1328 Remove, actually POD types cannot have user defined constructors
1329 (being aggregates) and therefore can always be members of unions.
1330 (class __sso_string_base): Adjust consistently.
1332 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1335 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
1337 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
1338 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
1339 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
1340 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
1341 * testsuite/27_io/basic_ios/3.cc: Likewise.
1342 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
1343 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
1344 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
1345 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
1346 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
1347 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
1348 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
1349 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
1350 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
1352 2005-10-05 Paolo Carlini <pcarlini@suse.de>
1354 PR libstdc++/11729 (DR 280, [Ready])
1355 * include/bits/stl_iterator.h: Add reverse_iterator global
1356 functions with two template parameters (operator==, !=, <,
1358 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
1359 * docs/html/ext/howto.html: Add an entry for issue 280.
1361 2005-10-03 Paolo Carlini <pcarlini@suse.de>
1363 * include/tr1/hashtable
1364 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
1365 take a "false" (i.e., is_const == false) node_iterator.
1366 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
1367 true,>&)): Likewise for hashtable_iterator.
1368 (hashtable::const_local_iterator): Fix typedef (is_const == true).
1369 (hashtable::const_iterator): Likewise.
1370 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
1371 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
1372 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
1373 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
1375 2005-10-02 Paolo Carlini <pcarlini@suse.de>
1378 * include/tr1/hashtable (erase(const key_type&)): Return the
1379 number of elements erased.
1380 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
1382 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
1384 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
1387 2005-09-30 Paolo Carlini <pcarlini@suse.de>
1390 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
1391 (hashtable<>::insert(const value_type&)): Use it.
1392 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
1394 2005-09-30 Paolo Carlini <pcarlini@suse.de>
1397 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
1398 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
1399 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
1400 (__add_grouping<>): End recursion if *__gbeg <= 0.
1401 * testsuite/22_locale/num_get/get/char/23953.cc: New.
1402 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
1403 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
1404 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
1406 2005-09-29 Chris Jefferson <chris@bubblescope.net>
1409 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
1410 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
1412 * include/tr1/functional (ref, cref): Make inline.
1413 * include/tr1/tuple_iterate.h (tie): Correct formatting.
1414 (make_tuple): Make inline.
1416 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
1417 Eric Botcazou <ebotcazou@libertysurf.fr>
1419 * include/ext/mt_allocator.h
1420 (__per_type_pool<...true>::_S_initialize_once): Always call
1422 (__common_pool<...true>::_S_initialize_once): Same.
1424 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
1426 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
1427 * testsuite/ext/mt_allocator/tune-2.cc: Same.
1428 * testsuite/ext/mt_allocator/tune-3.cc: Same.
1429 * testsuite/ext/mt_allocator/tune-4.cc: Same.
1431 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
1434 * include/ext/mt_allocator.h: Remove excess
1435 policy_type::_S_get_pool calls in constructors.
1437 2005-09-18 Paolo Carlini <pcarlini@suse.de>
1439 PR libstdc++/23417 (cont)
1440 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
1441 initialization list for -Weffc++.
1443 2005-09-16 Janis Johnson <janis187@us.ibm.com>
1445 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
1448 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
1453 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
1454 Add in check for __NO_INLINE__ for warning.
1455 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
1456 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
1457 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
1459 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1462 2005-09-15 Paolo Carlini <pcarlini@suse.de>
1465 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
1466 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1467 Don't call operator<<(long), operator<<(unsigned long), or
1468 operator<<(double), do the work mandated by the resolution of DR117...
1469 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
1470 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
1472 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
1474 2005-09-15 Mark Mitchell <mark@codesourcery.com>
1476 * testsuite/testsuite_character.h: Specialize character<>
1477 templates in __gnu_cxx, not in __gnu_test.
1479 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
1480 Benjamin Kosnik <bkoz@redhat.com>
1483 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
1484 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
1487 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
1491 * include/Makefile.am (stamp-assoc): Install each subgroup
1492 of headers separately.
1493 * include/Makefile.in: Regenerate.
1495 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1497 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
1498 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
1499 shared only for linux.
1501 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1502 David Edelsohn <dje@gcc.gnu.org>
1506 * include/Makefile.am (assoc_headers): Break into five sub values.
1507 (install-headers): Use them.
1508 (stamp-assoc): Same.
1509 * include/Makefile.in: Regenerate.
1511 2005-09-12 Chris Jefferson <chris@bubblescope.net>
1513 * include/bits/stl_algo.h (search_n): Delegate to specializations.
1514 (search_n(,,,,binary_predicate)): Likewise.
1515 (__search_n(forward_iterator_tag)): Original search_n, tweak to
1516 remove an unnecessary comparison.
1517 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
1519 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
1521 * include/bits/stl_algo.h
1522 (__search_n(std::random_access_iterator_tag)): Add specialization.
1523 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
1526 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
1529 * include/bits/stl_list.h (_List_impl): Use member initialization
1531 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
1533 2005-09-12 Paolo Carlini <pcarlini@suse.de>
1536 * include/bits/stl_iterator.h (__normal_iterator::
1537 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
1538 Enable only when _Iter is equal to _Container::pointer.
1539 * testsuite/21_strings/basic_string/types/23767.cc: New.
1540 * testsuite/23_containers/vector/types/23767.cc: Likewise.
1541 * testsuite/ext/vstring/types/23767.cc: Likewise.
1543 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
1547 * include/ext/mt_allocator.h
1548 (__gnu_cxx::__create_handler): Remove.
1549 (__pool<true>::_M_destroy_thread_key): Compatibility only.
1550 (__pool<true>::_M_initialize(__destroy): Same.
1551 (__pool<true>::_M_initialize): New.
1552 (__pool<true>::_M_initialize_once): Nothing fancy.
1553 (__pool<true>::_M_once): Remove.
1554 (__common_pool): New.
1555 (__common_pool_base): New.
1556 (__per_type_pool): New.
1557 (__per_type_pool_base): New.
1558 * src/mt_allocator.cc: Same.
1559 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
1561 2005-09-11 Jakub Jelinek <jakub@redhat.com>
1565 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
1566 (__gnu_internal::__freelist): New type.
1567 (__gnu_internal::freelist): New variable.
1568 (__gnu_internal::_M_destroy_thread_key): New function.
1569 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
1570 _M_thread_freelist_initial.
1571 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
1572 Don't use _M_thread_freelist and _M_thread_freelist_initial
1573 __pool<true> fields, instead use __gnu_internal::freelist fields, call
1574 gthread_key_create just once. Use
1575 __gnu_internal::_M_destroy_thread_key as key destructor.
1576 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
1577 rather than _Thread_record* in the thread specific value. Don't
1578 use _M_thread_freelist __pool<true> field, instead use
1579 __gnu_internal::freelist fields.
1580 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
1582 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
1583 Jakub Jelinek <jakub@redhat.com>
1587 * testsuite/testsuite_shared.cc: New.
1588 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
1589 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
1590 library, and set v3-sharedlib based on this.
1591 (check_v3_target_sharedlib): New.
1592 (proc v3-build_support): Build shared objects.
1593 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
1595 2005-09-11 Paolo Carlini <pcarlini@suse.de>
1598 * include/bits/stl_list.h (_List_iterator<>::
1599 _List_iterator(_List_node_base*), _List_const_iterator<>::
1600 _List_const_iterator(const _List_node_base*)): Make explicit.
1601 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
1603 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
1605 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
1606 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
1607 _Rb_tree_const_iterator(_Link_type)): Make explicit.
1608 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
1609 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
1611 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
1612 Adjust consistently.
1613 * include/tr1/hashtable (hashtable_iterator<>::
1614 hashtable_iterator(hash_node<>**)): Make explicit.
1615 * testsuite/23_containers/list/23781.cc: New.
1616 * testsuite/23_containers/map/23781.cc: Likewise.
1617 * testsuite/23_containers/multimap/23781.cc: Likewise.
1618 * testsuite/23_containers/multiset/23781.cc: Likewise.
1619 * testsuite/23_containers/set/23781.cc: Likewise.
1620 * testsuite/ext/slist/23781.cc: Likewise.
1621 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
1622 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
1624 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
1626 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
1627 stylistically for consistency with the other containers.
1629 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
1631 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1632 XFAIL on *-*-linux*, not *-*-linux-gnu.
1634 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
1635 Jakub Jelinek <jakub@redhat.com>
1637 * src/debug.cc (iterator_base_mutex): Make static for internal
1639 * src/locale_init.cc (locale_mutex): Same.
1640 * src/mt_allocator.cc (freelist_mutex): Same.
1641 * src/pool_allocator.cc (palloc_init_mutex): Same.
1643 2005-09-02 Paolo Carlini <pcarlini@suse.de>
1645 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
1646 Reduce maximum size and lf.
1648 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1650 * include/c_std/std_cmath.h: Declare C99 functions and helper
1651 functions as inline.
1653 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1654 Paolo Carlini <pcarlini@suse.de>
1656 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
1659 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
1661 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
1662 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
1663 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
1664 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
1665 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
1666 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
1667 * docs/html/ext/mt_allocator.html: Add link to examples.
1668 * testsuite/testsuite_allocator.h: Tweak.
1669 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
1670 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
1671 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
1672 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
1673 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
1674 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
1675 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
1676 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
1677 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
1678 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
1680 2005-08-31 Paolo Carlini <pcarlini@suse.de>
1681 Kaspar Fischer <fischerk@inf.ethz.ch>
1684 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
1685 _Bit_const_iterator::operator[]): Const-ify.
1686 * testsuite/23_containers/vector/bool/23632.cc: New.
1688 2005-08-30 Paolo Carlini <pcarlini@suse.de>
1690 PR libstdc++/23578 (cont)
1691 * include/bits/stl_bvector.h (class vector<bool>): Add
1692 a dummy data() to avoid problems in debug-mode.
1694 2005-08-30 Paolo Carlini <pcarlini@suse.de>
1696 * testsuite/ext/hash_map/23528.cc: New.
1698 2005-08-29 Paolo Carlini <pcarlini@suse.de>
1700 * include/bits/stl_map.h (class map): ... and a missing @a.
1702 2005-08-29 Paolo Carlini <pcarlini@suse.de>
1704 * include/bits/stl_map.h (class map): Add missing % in comment.
1706 2005-08-29 Paolo Carlini <pcarlini@suse.de>
1708 PR libstdc++/23578 (DR 464 [Ready])
1709 * include/bits/stl_map.h (class map): Add at(const key_type&)
1711 * include/bits/stl_vector.h (class vector): Add data() member
1713 * include/debug/map.h (class map): Adjust consistently.
1714 * include/debug/vector (class vector): Likewise.
1715 * testsuite/23_containers/map/element_access/1.cc: New.
1716 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
1717 * docs/html/ext/howto.html: Add an entry for DR 464.
1719 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
1721 PR libstdc++/20534 (contd)
1722 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
1723 Remove cstdio and cstdlib includes.
1724 * include/debug/debug.h: Define inline here. Remove
1725 _GLIBCXX_DEBUG_ABORT.
1726 * include/debug/macros.h: Remove __fancy_abort declaration,
1727 _GLIBXX_DEBUG_ABORT definition.
1728 * config/linker-map.gnu: Remove export.
1730 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
1732 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
1734 2005-08-26 Paolo Carlini <pcarlini@suse.de>
1737 * include/tr1/array: Implement members back(), front(), data(),
1738 and the tuple interface; tidy.
1739 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
1740 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
1741 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
1742 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
1743 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
1745 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
1748 2005-08-25 Paolo Carlini <pcarlini@suse.de>
1750 * include/tr1/hashtable: Use __throw_exception_again,
1751 not naked throw, in the catch clauses.
1753 2005-08-24 Lawrence Lim <llim@redhat.com>
1754 Jakub Jelinek <jakub@redhat.com>
1755 Benjamin Kosnik <bkoz@redhat.com>
1758 * testsuite/21_strings/char_traits/requirements/char/1.cc
1759 (test01): Simplify counting.
1760 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
1763 2005-08-24 Paolo Carlini <pcarlini@suse.de>
1764 Chris Jefferson <chris@bubblescope.net>
1767 * include/tr1/hashtable (hash_code_base::m_swap): Use
1769 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
1770 fix m_allocate_node call.
1771 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
1773 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
1776 * testsuite/data/sgetn.txt: Revert to previous FSF address.
1778 2005-08-23 Thomas Kho <tkho@ucla.edu>
1781 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
1782 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
1784 2005-08-22 Geoffrey Keating <geoffk@apple.com>
1786 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
1787 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
1789 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
1791 * config/cpu/sh/atomicity.h: Replace broken generic code with current
1792 copy of generic/atomicity.h .
1794 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1796 * All files: Update FSF address.
1798 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
1800 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
1801 xfail on *-*-darwin*.
1803 2005-08-03 Geoffrey Keating <geoffk@apple.com>
1805 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
1806 GLIBCXX_IS_NATIVE on Darwin crosses.
1807 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
1808 the testsuite just because there's no symbol versioning.
1809 * configure: Regenerate.
1811 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
1813 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
1814 (GLIBCXX_CHECK_POLL): Likewise.
1815 (GLIBCXX_CHECK_WRITEV): Likewise.
1816 (GLIBCXX_CHECK_INT64_T): Likewise.
1817 (GLIBCXX_CHECK_LFS): Likewise.
1818 * configure: Regenerate.
1820 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
1822 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
1824 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
1827 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
1828 the change to info.ttype_base.
1830 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
1832 * include/std/std_valarray.h: Fix grammar in comments.
1834 2005-07-25 Geoffrey Keating <geoffk@apple.com>
1836 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
1837 and make it the default for Darwin.
1838 * scripts/make-exports.pl: New.
1839 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
1840 Handle darwin-export.
1841 * configure: Regenerate.
1842 * include/Makefile.in: Regenerate.
1843 * libmath/Makefile.in: Regenerate.
1844 * libsupc++/Makefile.in: Regenerate.
1845 * po/Makefile.in: Regenerate.
1846 * src/Makefile.in: Regenerate.
1847 * testsuite/Makefile.in: Regenerate.
1849 2005-07-25 Dave Odell <evilalias@hotmail.com>
1852 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
1853 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
1855 2005-07-25 Paolo Carlini <pcarlini@suse.de>
1858 * include/bits/basic_string.h: Declare the specialization
1859 operator>>(basic_istream<char>&, basic_string<char>&).
1860 * include/std/std_istream.h: Declate the specialization
1861 operator>>(basic_istream<char>&, char*).
1862 * include/std/std_streambuf.h (basic_streambuf): Add friend
1863 declarations for the above.
1864 * src/istream.cc: Define the above.
1865 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
1866 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
1868 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
1870 2005-07-20 Paolo Carlini <pcarlini@suse.de>
1872 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
1874 * src/streambuf.cc (__copy_streambufs): Likewise.
1876 2005-07-18 Paolo Carlini <pcarlini@suse.de>
1878 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
1879 Speed-up for the common case of mask == ctype_base::space;
1880 otherwise, exit the loop earlier if the mask is one of the
1883 2005-07-14 Paolo Carlini <pcarlini@suse.de>
1885 PR libstdc++/21193 (float, double, long double)
1886 * include/tr1/functional (hash<float>, hash<double>):
1887 Reimplement exploiting the Fnv_hash<>::hash helper.
1888 (hash<long double>): Reimplement using frexp (in this
1889 case, due to random padding bits, the former approach
1890 is not generally viable).
1892 2005-07-13 Paolo Carlini <pcarlini@suse.de>
1894 PR libstdc++/21193 (string & wstring)
1895 * include/tr1/functional (hash<string>, hash<wstring>):
1896 Reimplement using the FNV hash.
1898 * include/tr1/functional: Trivial formatting fixes.
1900 2005-07-11 Paolo Carlini <pcarlini@suse.de>
1902 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
1903 basic_ostream<>::operator<<(long long)): Don't deal with oct
1904 and hex and casts to unsigned here...
1905 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
1906 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
1907 long, const _CharT*, ios_base::fmtflags)): ... do that here,
1908 instead, as per Table 57.
1909 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
1911 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
1912 Adjust logic, as per the letter of the resolution of DR117 [WP].
1913 * testsuite/22_locale/num_put/put/char/10.cc: New.
1914 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
1915 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
1917 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
1920 2005-07-07 David Edelsohn <edelsohn@gnu.org>
1922 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
1923 Change map_t to map_type.
1925 2005-07-05 Paolo Carlini <pcarlini@suse.de>
1927 Add class __versa_string, a versatile "basic_string-type" class:
1928 an additional, non-standard, template parameter allows to specify
1929 the preferred base class. Two are provided: __rc_string_base,
1930 which implements a behavior very similar to our standard string,
1931 and __sso_string_base, not reference-counted and optimized for
1933 * include/ext/rc_string_base.h: New.
1934 * include/ext/sso_string_base.h: Likewise.
1935 * include/ext/vstring.h: Likewise.
1936 * include/ext/vstring.tcc: Likewise.
1937 * include/ext/vstring_fwd.h: Likewise.
1938 * include/ext/vstring_util.h: Likewise.
1939 * include/Makefile.am: Add.
1940 * include/Makefile.in: Regenerate.
1941 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
1942 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
1943 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
1944 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
1946 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
1947 officially used by v3).
1948 * aclocal.m4: Likewise.
1949 * libmath/Makefile.in: Likewise.
1950 * libsupc++/Makefile.in: Likewise.
1951 * po/Makefile.in: Likewise.
1952 * src/Makefile.in: Likewise.
1953 * testsuite/Makefile.in: Likewise.
1955 2005-07-01 Paolo Carlini <pcarlini@suse.de>
1957 Port from libstdcxx_so_7-branch:
1958 2004-10-28 Chris Jefferson <chris@bubblescope.net>
1961 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
1962 find(,,,random_access_interator_tag),
1963 find_if(,,,input_iterator_tag),
1964 find_if(,,,random_access_iterator_tag)): Uglify function name.
1965 (find, find_if): Use new uglified specialisation names.
1966 * testsuite/25_algorithms/find/17441.cc: New.
1968 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
1970 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
1971 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
1972 type before shifting.
1974 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1976 PR libstdc++/21244 (cont^2)
1977 * include/ext/bitmap_allocator.h: Convert everywhere
1978 bits_per_block to size_t.
1980 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
1982 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
1983 Doxygen comments that use wrong parameter and function names.
1985 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1987 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
1988 * docs/html/ext/howto.html: Adjust.
1990 2005-06-29 Paolo Carlini <pcarlini@suse.de>
1993 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
1994 num_get<>::_M_extract_float, money_get<>::_M_extract):
1995 Adjust to assign the result also when digit grouping is
1996 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
1997 (NB: consistently for money_get too).
1998 * config/locale/generic/c_locale.cc (__convert_to_v): Do
1999 not check ios_base::failbit at the outset.
2000 * config/locale/gnu/c_locale.cc: Likewise.
2001 * testsuite/22_locale/money_get/get/char/22131.cc: New.
2002 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
2003 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
2004 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
2005 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
2006 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
2007 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
2009 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
2012 2005-06-28 Paul Brook <paul@codesourcery.com>
2014 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
2016 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
2017 * libsupc++/eh_arm.cc: New file.
2018 * libsupc++/eh_call.cc: New file.
2019 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
2020 __gxx_caught_object.
2021 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
2022 _Unwind_Complete when using the ARM EABI.
2023 (__cxa_end_catch): Use __is_gxx_exception_class.
2024 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
2026 (save_caught_exception, restore_caught_exception): New functions.
2027 (_throw_typet): New typedef.
2028 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
2029 EABI implementations.
2030 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
2032 (__cxa_unexpected): Disable when using the ARM EABI.
2033 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
2034 (__cxa_rethrow): Use __is_gxx_exception_class. Call
2035 _Unwind_RaiseException when using the ARM EABI.
2036 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
2038 (struct __cxa_eh_globals): Ditto.
2039 (__cxa_call_terminate): Add prototype.
2040 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
2042 (__get_exception_header_from_obj, __get_exception_header_from_ue):
2043 Move earlier in file.
2044 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
2045 __gxx_caught_object): New functions.
2046 * aclocal.m4: Regenerate.
2047 * configure: Regenerate.
2048 * Makefile.in: Regenerate.
2049 * include/Makefile.in: Regenerate.
2050 * libmath/Makefile.in: Regenerate.
2051 * libsupc++/Makefile.in: Regenerate.
2052 * po/Makefile.in: Regenerate.
2053 * src/Makefie.in: Regenerate.
2054 * testsuite/makefile.in: Regenerate.
2056 2005-06-27 Paolo Carlini <pcarlini@suse.de>
2059 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
2060 insert_equal((iterator, const _Val&)): Reimplement to check both
2061 before and after, as per the algorithm "ignore hint if wrong" of
2064 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
2065 Ami Tavory <pbassoc@gmail.com>
2067 * docs/html/documentation.html: Add link for policy based
2068 associative containers docs.
2069 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
2070 * docs/html/ext/pb_assoc/acks.html: New.
2071 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
2072 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
2073 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
2074 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
2075 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
2076 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
2077 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
2078 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
2079 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
2080 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
2081 * docs/html/ext/pb_assoc/
2082 basic_tree_assoc_cntnr_const_node_iterator.html: New.
2083 * docs/html/ext/pb_assoc/
2084 basic_tree_assoc_cntnr_node_iterator.html: New.
2085 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
2086 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
2087 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
2088 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
2089 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
2090 * docs/html/ext/pb_assoc/
2091 cc_hash_max_collision_check_resize_trigger.html: New.
2092 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
2093 * docs/html/ext/pb_assoc/cd.jpg: New.
2094 * docs/html/ext/pb_assoc/component_requirements.html: New.
2095 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
2096 * docs/html/ext/pb_assoc/compound_data_type.html: New.
2097 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
2098 * docs/html/ext/pb_assoc/concepts.html: New.
2099 * docs/html/ext/pb_assoc/contact.html: New.
2100 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
2101 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
2102 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
2103 * docs/html/ext/pb_assoc/design.html: New.
2104 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
2105 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
2106 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
2107 * docs/html/ext/pb_assoc/disclaimer.html: New.
2108 * docs/html/ext/pb_assoc/ds_gen.html: New.
2109 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
2110 * docs/html/ext/pb_assoc/ds_traits.html: New.
2111 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
2112 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
2113 * docs/html/ext/pb_assoc/examples.html: New.
2114 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
2115 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
2116 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
2117 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
2118 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
2119 * docs/html/ext/pb_assoc/generics.html: New.
2120 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
2121 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
2122 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
2123 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
2124 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
2125 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
2126 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
2127 * docs/html/ext/pb_assoc/hash_fn.html: New.
2128 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
2129 * docs/html/ext/pb_assoc/hash_policies.html: New.
2130 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
2131 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
2132 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
2133 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
2134 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
2135 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
2136 * docs/html/ext/pb_assoc/home.html: New.
2137 * docs/html/ext/pb_assoc/index.html: New.
2138 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
2139 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
2140 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
2141 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
2142 * docs/html/ext/pb_assoc/interface.html: New.
2143 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
2144 * docs/html/ext/pb_assoc/introduction.html: New.
2145 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
2146 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
2147 * docs/html/ext/pb_assoc/lib_download.html: New.
2148 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
2149 * docs/html/ext/pb_assoc/list_updates.html: New.
2150 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
2151 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
2152 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
2153 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
2154 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
2155 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
2156 * docs/html/ext/pb_assoc/motivation.html: New.
2157 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
2158 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
2159 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
2160 * docs/html/ext/pb_assoc/ms_gen.html: New.
2161 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
2162 * docs/html/ext/pb_assoc/ms_traits.html: New.
2163 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
2164 * docs/html/ext/pb_assoc/node_invariants.html: New.
2165 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
2166 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
2167 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
2168 * docs/html/ext/pb_assoc/null_data_type.html: New.
2169 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
2170 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
2171 * docs/html/ext/pb_assoc/order_by_key.html: New.
2172 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
2173 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
2174 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
2175 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
2176 * docs/html/ext/pb_assoc/overview.html: New.
2177 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
2178 * docs/html/ext/pb_assoc/portability.html: New.
2179 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
2180 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
2181 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
2182 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
2183 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
2184 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
2185 * docs/html/ext/pb_assoc/references.html: New.
2186 * docs/html/ext/pb_assoc/regression_tests.html: New.
2187 * docs/html/ext/pb_assoc/resize_general.html: New.
2188 * docs/html/ext/pb_assoc/resize_policies.html: New.
2189 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
2190 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
2191 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
2192 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
2193 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
2194 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
2195 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
2196 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
2197 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
2198 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
2199 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
2200 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
2201 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
2202 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
2203 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
2204 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
2205 * docs/html/ext/pb_assoc/size_policies_general.html: New.
2206 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
2207 * docs/html/ext/pb_assoc/timing_tests.html: New.
2208 * docs/html/ext/pb_assoc/toc.html: New.
2209 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
2210 * docs/html/ext/pb_assoc/
2211 tree_assoc_cntnr_const_node_iterator.html: New.
2212 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
2213 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
2214 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
2215 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
2216 * docs/html/ext/pb_assoc/tutorial.html: New.
2217 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
2218 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
2220 * include/Makefile.in: Regenerate.
2221 * include/ext/typelist.h: New.
2222 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
2223 * include/ext/pb_assoc/data_type.hpp: New.
2224 * include/ext/pb_assoc/ds_trait.hpp: New.
2225 * include/ext/pb_assoc/exception.hpp: New.
2226 * include/ext/pb_assoc/hash_policy.hpp: New.
2227 * include/ext/pb_assoc/lu_policy.hpp: New.
2228 * include/ext/pb_assoc/ms_trait.hpp: New.
2229 * include/ext/pb_assoc/tree_policy.hpp: New.
2230 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
2231 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
2232 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
2233 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
2234 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
2235 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
2236 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
2237 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
2238 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
2239 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
2240 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
2241 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
2242 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
2243 * include/ext/pb_assoc/detail/type_utils.hpp: New.
2244 * include/ext/pb_assoc/detail/typelist.hpp: New.
2245 * include/ext/pb_assoc/detail/types_traits.hpp: New.
2246 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2247 constructor_destructor_fn_imps.hpp: New.
2248 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2249 constructors_destructor_fn_imps.hpp: New.
2250 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
2251 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2252 d_find_fn_imps.hpp: New.
2253 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2254 d_insert_fn_imps.hpp: New.
2255 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
2256 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
2257 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
2258 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2259 insert_fn_imps.hpp: New.
2260 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
2261 iterators_fn_imps.hpp: New.
2262 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2263 constructor_destructor_fn_imps.hpp: New.
2264 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2265 constructors_destructor_fn_imps.hpp: New.
2266 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
2267 resize_fn_imps.hpp: New.
2268 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2269 constructor_destructor_fn_imps.hpp: New.
2270 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2271 constructors_destructor_fn_imps.hpp: New.
2272 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2273 erase_fn_imps.hpp: New.
2274 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2275 node_iteration_fn_imps.hpp: New.
2276 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2277 policy_access_fn_imps.hpp: New.
2278 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2279 r_erase_fn_imps.hpp: New.
2280 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2281 r_range_iteration_fn_imps.hpp: New.
2282 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2283 range_iteration_fn_imps.hpp: New.
2284 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
2285 split_join_fn_imps.hpp: New.
2286 * include/ext/pb_assoc/detail/bin_search_tree_/
2287 bin_search_tree_.hpp: New.
2288 * include/ext/pb_assoc/detail/bin_search_tree_/
2289 cond_dtor_entry_dealtor.hpp: New.
2290 * include/ext/pb_assoc/detail/bin_search_tree_/
2291 cond_key_dtor_entry_dealtor.hpp: New.
2292 * include/ext/pb_assoc/detail/bin_search_tree_/
2293 constructors_destructor_fn_imps.hpp: New.
2294 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
2295 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
2296 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
2297 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
2298 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
2299 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
2300 * include/ext/pb_assoc/detail/bin_search_tree_/
2301 iterators_fn_imps.hpp: New.
2302 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
2303 * include/ext/pb_assoc/detail/bin_search_tree_/
2304 r_erase_fn_imps.hpp: New.
2305 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
2306 * include/ext/pb_assoc/detail/bin_search_tree_/
2307 split_join_fn_imps.hpp: New.
2308 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
2309 constructor_destructor_fn_imps.hpp: New.
2310 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
2311 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
2312 * include/ext/pb_assoc/detail/cc_ht_map_/
2313 cond_key_dtor_entry_dealtor.hpp: New.
2314 * include/ext/pb_assoc/detail/cc_ht_map_/
2315 constructor_destructor_fn_imps.hpp: New.
2316 * include/ext/pb_assoc/detail/cc_ht_map_/
2317 constructor_destructor_no_store_hash_fn_imps.hpp: New.
2318 * include/ext/pb_assoc/detail/cc_ht_map_/
2319 constructor_destructor_store_hash_fn_imps.hpp: New.
2320 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
2321 * include/ext/pb_assoc/detail/cc_ht_map_/
2322 debug_no_store_hash_fn_imps.hpp: New.
2323 * include/ext/pb_assoc/detail/cc_ht_map_/
2324 debug_store_hash_fn_imps.hpp: New.
2325 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
2326 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
2327 * include/ext/pb_assoc/detail/cc_ht_map_/
2328 erase_no_store_hash_fn_imps.hpp: New.
2329 * include/ext/pb_assoc/detail/cc_ht_map_/
2330 erase_store_hash_fn_imps.hpp: New.
2331 * include/ext/pb_assoc/detail/cc_ht_map_/
2332 find_fn_imps.hpp: New.
2333 * include/ext/pb_assoc/detail/cc_ht_map_/
2334 find_no_store_hash_fn_imps.hpp: New.
2335 * include/ext/pb_assoc/detail/cc_ht_map_/
2336 find_store_hash_fn_imps.hpp: New.
2337 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
2338 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
2339 * include/ext/pb_assoc/detail/cc_ht_map_/
2340 insert_no_store_hash_fn_imps.hpp: New.
2341 * include/ext/pb_assoc/detail/cc_ht_map_/
2342 insert_store_hash_fn_imps.hpp: New.
2343 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
2344 * include/ext/pb_assoc/detail/cc_ht_map_/
2345 policy_access_fn_imps.hpp: New.
2346 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
2347 * include/ext/pb_assoc/detail/cc_ht_map_/
2348 resize_no_store_hash_fn_imps.hpp: New.
2349 * include/ext/pb_assoc/detail/cc_ht_map_/
2350 resize_store_hash_fn_imps.hpp: New.
2351 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
2352 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
2353 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
2354 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
2355 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
2356 constructor_destructor_fn_imps.hpp: New.
2357 * include/ext/pb_assoc/detail/gp_ht_map_/
2358 constructor_destructor_fn_imps.hpp: New.
2359 * include/ext/pb_assoc/detail/gp_ht_map_/
2360 constructor_destructor_no_store_hash_fn_imps.hpp: New.
2361 * include/ext/pb_assoc/detail/gp_ht_map_/
2362 constructor_destructor_store_hash_fn_imps.hpp: New.
2363 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
2364 * include/ext/pb_assoc/detail/gp_ht_map_/
2365 debug_no_store_hash_fn_imps.hpp: New.
2366 * include/ext/pb_assoc/detail/gp_ht_map_/
2367 debug_store_hash_fn_imps.hpp: New.
2368 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
2369 * include/ext/pb_assoc/detail/gp_ht_map_/
2370 erase_no_store_hash_fn_imps.hpp: New.
2371 * include/ext/pb_assoc/detail/gp_ht_map_/
2372 erase_store_hash_fn_imps.hpp: New.
2373 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
2374 * include/ext/pb_assoc/detail/gp_ht_map_/
2375 find_no_store_hash_fn_imps.hpp: New.
2376 * include/ext/pb_assoc/detail/gp_ht_map_/
2377 find_store_hash_fn_imps.hpp: New.
2378 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
2379 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
2380 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
2381 * include/ext/pb_assoc/detail/gp_ht_map_/
2382 insert_no_store_hash_fn_imps.hpp: New.
2383 * include/ext/pb_assoc/detail/gp_ht_map_/
2384 insert_store_hash_fn_imps.hpp: New.
2385 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
2386 * include/ext/pb_assoc/detail/gp_ht_map_/
2387 policy_access_fn_imps.hpp: New.
2388 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
2389 * include/ext/pb_assoc/detail/gp_ht_map_/
2390 resize_no_store_hash_fn_imps.hpp: New.
2391 * include/ext/pb_assoc/detail/gp_ht_map_/
2392 resize_store_hash_fn_imps.hpp: New.
2393 * include/ext/pb_assoc/detail/hash_fn/
2394 direct_mask_range_hashing_imp.hpp: New.
2395 * include/ext/pb_assoc/detail/hash_fn/
2396 direct_mod_range_hashing_imp.hpp: New.
2397 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
2398 * include/ext/pb_assoc/detail/hash_fn/
2399 mask_based_range_hashing.hpp: New.
2400 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
2401 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
2402 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
2403 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
2404 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
2405 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2406 constructor_destructor_fn_imps.hpp: New.
2407 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
2408 policy_access_fn_imps.hpp: New.
2409 * include/ext/pb_assoc/detail/lu_map_/
2410 constructor_destructor_fn_imps.hpp: New.
2411 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
2412 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
2413 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
2414 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
2415 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
2416 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
2417 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
2418 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
2419 * include/ext/pb_assoc/detail/lu_policy/
2420 counter_lu_metadata_imp.hpp: New.
2421 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
2422 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
2423 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
2424 * include/ext/pb_assoc/detail/ov_tree_map_/
2425 constructors_destructor_fn_imps.hpp: New.
2426 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
2427 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
2428 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
2429 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
2430 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
2431 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
2432 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
2433 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
2434 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
2435 * include/ext/pb_assoc/detail/rb_tree_map_/
2436 constructors_destructor_fn_imps.hpp: New.
2437 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
2438 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
2439 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
2440 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
2441 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
2442 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
2443 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
2444 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
2445 * include/ext/pb_assoc/detail/resize_policy/
2446 cc_hash_max_collision_resize_trigger_imp.hpp: New.
2447 * include/ext/pb_assoc/detail/resize_policy/
2448 hash_exponential_size_policy_imp.hpp: New.
2449 * include/ext/pb_assoc/detail/resize_policy/
2450 hash_load_check_resize_trigger_imp.hpp: New.
2451 * include/ext/pb_assoc/detail/resize_policy/
2452 hash_prime_size_policy_imp.hpp: New.
2453 * include/ext/pb_assoc/detail/resize_policy/
2454 hash_standard_resize_policy_imp.hpp: New.
2455 * include/ext/pb_assoc/detail/resize_policy/
2456 ht_prime_size_policy_imp.hpp: New.
2457 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
2458 * include/ext/pb_assoc/detail/splay_tree_/
2459 constructors_destructor_fn_imps.hpp: New.
2460 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
2461 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
2462 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
2463 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
2464 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
2465 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
2466 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
2467 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
2468 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
2469 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
2470 constructor_destructor_fn_imps.hpp: New.
2471 * include/ext/pb_assoc/detail/tree_policy/
2472 null_node_updator_imp.hpp: New.
2473 * include/ext/pb_assoc/detail/tree_policy/
2474 order_statistics_imp.hpp: New.
2475 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
2476 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
2477 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
2478 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
2479 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
2480 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
2481 * include/ext/pb_assoc/detail/typelist/
2482 typelist_typelist_append.hpp: New.
2483 * include/ext/pb_assoc/detail/unordered_iterator/
2484 const_find_iterator.hpp: New.
2485 * include/ext/pb_assoc/detail/unordered_iterator/
2486 const_iterator.hpp: New.
2487 * include/ext/pb_assoc/detail/unordered_iterator/
2488 find_iterator.hpp: New.
2489 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
2490 * include/ext/pb_assoc/detail/value_type_adapter/
2491 constructor_destructor_and_related.hpp: New.
2492 * include/ext/pb_assoc/detail/value_type_adapter/
2493 erase_fn_imps.hpp: New.
2494 * include/ext/pb_assoc/detail/value_type_adapter/
2495 erase_if_pred.hpp: New.
2496 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
2497 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
2498 * include/ext/pb_assoc/detail/value_type_adapter/
2499 insert_fn_imps.hpp: New.
2500 * include/ext/pb_assoc/detail/value_type_adapter/
2501 invalidation_guarantee_selector.hpp: New.
2502 * include/ext/pb_assoc/detail/value_type_adapter/
2503 it_value_type_traits.hpp: New.
2504 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
2505 * include/ext/pb_assoc/detail/value_type_adapter/
2506 iterator_fn_imps.hpp: New.
2507 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
2508 * include/ext/pb_assoc/detail/value_type_adapter/
2509 value_type_adapter.hpp: New.
2510 * include/ext/pb_assoc/detail/value_type_adapter/
2511 value_type_traits.hpp: New.
2512 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
2513 * testsuite/Makefile.in: Regenerate.
2514 * testsuite/testsuite_common_types.h: New.
2515 * testsuite/testsuite_visualization.h: New.
2516 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
2517 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
2518 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
2519 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
2520 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
2521 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
2522 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
2523 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
2524 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
2525 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
2526 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
2527 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
2528 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
2529 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
2530 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
2531 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
2532 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
2533 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
2534 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
2535 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
2536 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
2537 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
2538 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
2539 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
2540 * testsuite/performance/20_util/allocator/(insert.cc,
2541 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
2542 producer_consumer.cc): Recast to use typelists and move to...
2543 * testsuite/performance/23_containers/find/map.cc: New.
2544 * testsuite/performance/23_containers/index/map.cc: New.
2545 * testsuite/performance/23_containers/insert/associative.cc: New.
2546 * testsuite/performance/23_containers/insert/sequence.cc: New.
2547 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
2548 * testsuite/performance/23_containers/producer_consumer/
2549 (associative.cc, sequence.cc): New.
2550 * testsuite/performance/23_containers/sort_search/list.cc: New.
2551 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
2552 * testsuite/performance/23_containers/map_create_fill.cc: Move...
2553 * testsuite/performance/23_containers/create/map.cc: ...here.
2554 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
2555 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
2556 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
2557 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
2558 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
2559 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
2561 2005-06-23 Jakub Jelinek <jakub@redhat.com>
2564 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
2565 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
2566 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
2567 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
2569 (ignore (streamsize)): Remove _W prefixed aliases.
2570 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
2571 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
2572 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
2573 Use #XXname instead of #name as the alias argument.
2574 * config/abi/compatibility.h: Replace uses of
2575 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
2576 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
2577 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
2579 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
2580 * configure: Rebuilt.
2582 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
2585 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
2586 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
2587 Don't enable abi testing unless versioned.
2588 * configure: Regenerate.
2589 * testsuite/Makefile.am (check-abi): Remove conditional.
2590 * testsuite/Makefile.in: Regenerate.
2591 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
2592 v3-symver before proceeding.
2593 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
2596 2005-06-17 Paolo Carlini <pcarlini@suse.de>
2598 Port from libstdcxx_so_7-branch:
2599 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
2601 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
2602 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
2603 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
2604 return type, just an old HP/SGI workaround.
2605 * testsuite/20_util/functional/binders.cc: Move to...
2606 * testsuite/20_util/functional/binders/3113.cc: ...here.
2607 * testsuite/20_util/functional/binders/1.cc: New.
2609 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
2611 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
2613 2005-06-17 Jakub Jelinek <jakub@redhat.com>
2614 Benjamin Kosnik <bkoz@redhat.com>
2616 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
2617 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
2618 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
2619 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
2621 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
2622 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
2623 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
2624 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
2626 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
2627 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
2629 2005-06-17 Jakub Jelinek <jakub@redhat.com>
2631 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
2632 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
2633 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
2634 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
2635 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
2636 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
2637 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
2638 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
2639 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
2640 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
2642 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2644 * src/compatibility.cc: Include bits/c++config.h first.
2645 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
2646 and PIC are both defined.
2647 * include/bits/char_traits.h (char_traits::eq): Rename
2648 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
2650 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2652 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
2653 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
2654 * configure: Regenerate.
2655 * config.h.in: Regenerate.
2656 * src/compatibility.cc (istream:ignore(streamsize)): Use
2657 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
2658 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
2659 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
2660 instead for symbols with streamsize arguments.
2662 2005-06-16 Jakub Jelinek <jakub@redhat.com>
2664 * config/linker-map.gnu: Also export
2665 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
2667 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
2669 * configure.ac (libtool_VERSION): To 6:6:0.
2670 * configure: Regenerate.
2671 * config/linker-map.gnu: Edit.
2672 * src/istream.cc: Move istream::ignore(streamsize) specializations...
2673 * src/compatibility.cc: ...here. New.
2674 * include/bits/char_traits.h (char_traits::eq): Rename when
2676 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
2677 Bump glibcxx_min_gnu_ld_version to 21590.
2678 * configure: Regenerate.
2679 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
2680 * config.h.in: Regenerate.
2681 * src/Makefile.am (sources): Add compatibility.cc.
2682 * src/Makefile.in: Regenerate.
2683 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
2684 * include/Makefile.in: Regenerate.
2685 * testsuite/testsuite_abi.h (symbol): Add data members.
2686 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
2687 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
2690 2005-06-15 Paolo Carlini <pcarlini@suse.de>
2692 * include/tr1/hashtable: Trivial formatting fixes.
2693 * include/tr1/unordered_map: Likewise.
2694 * include/tr1/unordered_set: Likewise.
2696 2005-06-14 Tom Tromey <tromey@redhat.com>
2699 * configure, aclocal.m4: Rebuilt.
2700 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
2701 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2702 testsuite/Makefile.in: Likewise.
2704 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
2707 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
2708 Remove unnecessary this->_M_mode decoration.
2709 * include/bits/fstream.tcc: Adjust line spacing.
2710 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
2711 base class behavior.
2712 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
2713 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
2714 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
2716 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
2717 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
2718 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
2719 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
2720 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
2722 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
2724 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
2726 * configure: Regenerated.
2728 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
2730 * config/cpu/s390/atomicity.h: (__exchange_and_add,
2731 __atomic_add): Use the builtins for atomic memory operations.
2733 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2735 PR libstdc++/21770 (cont: __gnu_debug::string)
2736 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
2737 reference, const_reference, size_type, difference_type.
2738 * testsuite/21_strings/basic_string/2.cc: New.
2740 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2742 PR libstdc++/21770 (cont: debug-mode)
2743 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
2744 reference, const_reference.
2745 * include/debug/list: Likewise.
2746 * include/debug/map.h: Likewise.
2747 * include/debug/multimap.h: Likewise.
2748 * include/debug/multiset.h: Likewise.
2749 * include/debug/set.h: Likewise.
2750 * include/debug/vector: Likewise.
2752 2005-06-06 Paolo Carlini <pcarlini@suse.de>
2754 Port from libstdcxx_so_7-branch:
2755 2004-09-24 Paolo Carlini <pcarlini@suse.de>
2756 Jonathan Wakely <redi@gcc.gnu.org>
2758 * include/bits/stl_list.h (list::list(size_type, value_type,
2759 const allocator_type&): Implement according to the letter of the
2760 standard, i.e., don't use two overloads, not equivalent in case
2761 of non default constructible T.
2762 (list::resize(size_type, const value_type&)): Fix the signature:
2763 according to the standard the second argument is by value; also,
2764 don't use two overloads.
2765 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
2766 Adjust consistently the signature.
2767 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
2768 const allocator_type&)): Likewise.
2769 (deque::resize(size_type, const value_type&)): Likewise.
2770 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
2771 const allocator_type&)): Likewise.
2772 (vector::resize(size_type, const value_type&)): Likewise.
2773 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
2774 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
2775 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
2776 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
2777 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
2778 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
2779 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
2780 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
2782 * include/bits/deque.tcc: Minor formatting fix.
2784 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
2786 * include/bits/stl_function.h: ... and another one.
2788 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
2790 * include/bits/stl_function.h: Fix typo in comment.
2792 2005-06-05 Paolo Carlini <pcarlini@suse.de>
2794 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
2795 too for ac_c99_complex.
2796 * configure: Regenerate.
2798 2005-06-03 Paolo Carlini <pcarlini@suse.de>
2801 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
2802 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
2803 the latter and add _M_get_Tp_allocator() which returns it. Use
2804 everywhere _M_get_Tp_allocator() instead of get_allocator().
2805 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
2806 * include/bits/stl_list.h: Add concept-check. In class _List_base
2807 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
2808 returns the allocator (of type _Node_alloc_type) converted to
2809 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
2811 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
2812 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
2813 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
2814 the latter and add _M_get_Tp_allocator() which returns it. Use
2815 everywhere _M_get_Tp_allocator() instead of get_allocator().
2816 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
2817 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
2818 _Pair_alloc_type and use it for _Rb_tree.
2819 * include/bits/stl_multimap.h: Likewise.
2820 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
2821 _Key_alloc_type and use it for _Rb_tree.
2822 * include/bits/stl_set.h: Likewise.
2823 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
2824 use it for the allocator typedefs.
2825 * testsuite/21_strings/basic_string/1.cc: New.
2826 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
2827 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
2828 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
2829 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
2830 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
2831 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
2832 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
2833 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
2834 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
2835 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
2836 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
2837 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
2838 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
2839 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
2840 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
2841 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
2842 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
2843 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
2844 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
2845 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
2846 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
2848 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
2851 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
2852 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2854 2005-05-31 Paolo Carlini <pcarlini@suse.de>
2856 PR libstdc++/20534 (contd)
2857 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
2858 __gnu_debug::__fancy_abort.
2859 * src/debug.cc: Define the latter.
2860 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
2862 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
2864 2005-05-30 Paolo Carlini <pcarlini@suse.de>
2866 * include/std/std_complex.h (log(const complex<_Tp>&)): When
2867 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
2869 2005-05-28 Paolo Carlini <pcarlini@suse.de>
2872 2005-05-18 Paolo Carlini <pcarlini@suse.de>
2873 Nathan Myers <ncm@cantrip.org>
2876 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
2877 size_type instead of char and rename to _Raw_alloc.
2878 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2880 * src/bitmap_allocator.cc: Add instantiation for size_type.
2881 * src/mt_allocator.cc: Likewise.
2882 * src/pool_allocator.cc: Likewise.
2883 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
2884 the existence of an _Array::begin() and size() members.
2885 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
2886 of size_type, instead of char, thus avoiding problems with
2887 rebinds, not treated correctly by array_allocator.
2889 2005-05-27 Paolo Carlini <pcarlini@suse.de>
2891 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
2892 a notice about the configure options.
2894 2005-05-27 Mark Mitchell <mark@codesourcery.com>
2896 * docs/html/test.html: Mention PCH_CXXFLAGS.
2897 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
2898 available stcd++.h PCH.
2899 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
2901 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2903 * src/misc-inst.cc: Remove unnecessary included files.
2905 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2908 * include/bits/c++config: Remove extern template use when in debug
2909 mode, disable for non-weak systems.
2911 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
2914 * include/debug/debug.h: Forwarding header, that pulls in details
2915 only if in debug mode.
2916 * include/debug/macros.h: ...transfer all the internal macros here.
2917 * include/debug/functions.h: ...transfer all the functions here.
2918 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
2919 * include/debug/safe_sequence.h: Same.
2920 * include/debug/vector: Tweak.
2921 * include/Makefile.am (debug_headers): Add new includes.
2922 * include/Makefile.in: Regenerate.
2923 * testsuite/17_intro/no_assert_neg.cc: Add.
2925 * include/ext/hash_set: Add debug mode include.
2926 * include/ext/hash_map: Same.
2927 * include/debug/hash_map: Fix included files to match actual files.
2928 * include/debug/hash_set: Same.
2930 2005-05-26 Paolo Carlini <pcarlini@suse.de>
2933 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
2934 available when _GLIBCXX_USE_C99 is defined.
2935 * testsuite/26_numerics/cstdlib/13943.cc: New.
2937 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
2938 also strtoll and strtoull for ac_c99_stdlib.
2939 * configure: Regenerate.
2941 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
2943 * config/linker-map.gnu: Add linkage support for no extern templates.
2944 (std::ios_base::_M_call_callbacks): Add.
2945 (std::ios_base::_M_dispose_callbacks): Add.
2946 (std::locale::facet::_S_get_c_name): Add.
2947 (std::__copy_streambufs): Add.
2948 * configure.ac (libtool_VERSION): To 6:5:0.
2949 * configure: Regenerate.
2950 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
2952 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2954 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
2955 Use, consistently, traits_type::assign.
2957 2005-05-25 Paolo Carlini <pcarlini@suse.de>
2959 * config/cpu/alpha/atomicity.h: Use the builtins for
2960 atomic memory operations.
2961 * config/cpu/powerpc/atomicity.h: Likewise.
2962 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
2964 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2966 * testsuite/25_algorithms/equal.cc: Move to...
2967 * testsuite/25_algorithms/equal: ... here.
2968 * testsuite/25_algorithms/lower_bound.cc: Move to...
2969 * testsuite/25_algorithms/lower_bound: ... here.
2971 2005-05-24 Paolo Carlini <pcarlini@suse.de>
2973 Port from libstdcxx_so_7-branch:
2974 2005-20-05 Chris Jefferson <chris@bubblescope.net>
2976 * testsuite/25_algorithms/heap.cc: Move to...
2977 * testsuite/25_algorithms/heap/heap.cc: ...here.
2978 * testsuite/25_algorithms/partition.cc: Move to...
2979 * testsuite/25_algorithms/partition/partition.cc: ...here.
2981 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
2983 * testsuite/25_algorithms/includes/1.cc: Add tests.
2984 * testsuite/25_algorithms/search/1.cc: Likewise.
2985 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
2986 * testsuite/25_algorithms/swap_ranges/1.cc: New.
2987 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
2988 * testsuite/25_algorithms/rotate.cc: Move to...
2989 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
2990 * testsuite/25_algorithms/rotate/1.cc: New.
2991 * testsuite/25_algorithms/rotate/check_type.cc: New.
2992 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
2994 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
2996 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
2997 Don't assume that __new_value and *__first are convertible to
3000 * testsuite/25_algorithms/find/1.cc: New.
3001 * testsuite/25_algorithms/find/check_type.cc: New.
3002 * testsuite/25_algorithms/find_if/1.cc: New.
3003 * testsuite/25_algorithms/find_if/check_type.cc: New.
3004 * testsuite/25_algorithms/replace/1.cc: New.
3005 * testsuite/25_algorithms/replace/check_type.cc: New.
3006 * testsuite/25_algorithms/replace_if/1.cc: New.
3007 * testsuite/25_algorithms/replace_if/check_type.cc: New.
3008 * testsuite/25_algorithms/replace_copy/1.cc: New.
3009 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
3010 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
3011 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
3012 * testsuite/25_algorithms/remove/1.cc: New.
3013 * testsuite/25_algorithms/remove/check_type.cc: New.
3014 * testsuite/25_algorithms/remove_if/1.cc: New.
3015 * testsuite/25_algorithms/remove_if/check_type.cc: New.
3016 * testsuite/25_algorithms/count/1.cc: New.
3017 * testsuite/25_algorithms/count/check_type.cc: New.
3018 * testsuite/25_algorithms/count_if/1.cc: New.
3019 * testsuite/25_algorithms/count_if/check_type.cc: New.
3021 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
3022 Paolo Carlini <pcarlini@suse.de>
3024 * testsuite/ext/is_heap/check_type.cc: New.
3026 2005-02-27 Paolo Carlini <pcarlini@suse.de>
3028 * testsuite/ext/is_heap/1.cc: New.
3030 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
3032 * testsuite/ext/median.cc: New.
3033 * testsuite/25_algorithms/adjacent_find/1.cc: New.
3034 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
3035 * testsuite/25_algorithms/search/1.cc: New.
3036 * testsuite/25_algorithms/search/check_type.cc: New.
3037 * testsuite/25_algorithms/unique_copy/1.cc: New.
3038 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
3039 * testsuite/25_algorithms/partial_sort/1.cc: New.
3040 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
3041 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
3042 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
3043 * testsuite/25_algorithms/lower_bound/1.cc: New.
3044 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
3045 * testsuite/25_algorithms/upper_bound/1.cc: New.
3046 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
3047 * testsuite/25_algorithms/merge/1.cc: New.
3048 * testsuite/25_algorithms/merge/check_type.cc: New.
3049 * testsuite/25_algorithms/inplace_merge/1.cc: New.
3050 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
3051 * testsuite/25_algorithms/stable_sort/1.cc: New.
3052 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
3053 * testsuite/25_algorithms/nth_element/1.cc: New.
3054 * testsuite/25_algorithms/nth_element/check_type.cc: New.
3055 * testsuite/25_algorithms/equal_range/1.cc: New.
3056 * testsuite/25_algorithms/equal_range/check_type.cc: New.
3057 * testsuite/25_algorithms/binary_search/1.cc: New.
3058 * testsuite/25_algorithms/binary_search/check_type.cc: New.
3059 * testsuite/25_algorithms/includes/1.cc: New.
3060 * testsuite/25_algorithms/includes/check_type.cc: New.
3061 * testsuite/25_algorithms/set_union/1.cc: New.
3062 * testsuite/25_algorithms/set_union/check_type.cc: New.
3063 * testsuite/25_algorithms/set_intersection/1.cc: New.
3064 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
3065 * testsuite/25_algorithms/set_difference/1.cc: New.
3066 * testsuite/25_algorithms/set_difference/check_type.cc: New.
3067 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
3068 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
3069 * testsuite/25_algorithms/min_element/1.cc: New.
3070 * testsuite/25_algorithms/min_element/check_type.cc: New.
3071 * testsuite/25_algorithms/max_element/1.cc: New.
3072 * testsuite/25_algorithms/max_element/check_type.cc: New.
3073 * testsuite/25_algorithms/prev_permutation/1.cc: New.
3074 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
3075 * testsuite/25_algorithms/next_permutation/1.cc: New.
3076 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
3077 * testsuite/25_algorithms/find_first_of/1.cc: New.
3078 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
3079 * testsuite/25_algorithms/find_end/1.cc: New.
3080 * testsuite/25_algorithms/find_end/check_type.cc: New.
3081 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
3082 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
3085 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
3087 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
3088 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
3089 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
3090 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
3091 * testsuite/25_algorithms/equal/check_type.cc: New.
3092 * testsuite/25_algorithms/equal/1.cc: New.
3094 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
3096 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
3097 __glibcxx_base_allocator.
3098 * config/allocator/bitmap_allocator_base.h: Same.
3099 * config/allocator/malloc_allocator_base.h: Same.
3100 * config/allocator/mt_allocator_base.h: Same.
3101 * config/allocator/new_allocator_base.h: Same.
3102 * config/allocator/pool_allocator_base.h: Same.
3104 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
3106 * include/debug/string (class basic_string): Add missing
3107 default template arguments; provide typedefs for char
3109 (operator[]): Allow s[s.size()] in debug mode, but not
3112 2005-05-24 Paolo Carlini <pcarlini@suse.de>
3114 Port from libstdcxx_so_7-branch:
3115 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
3117 * include/bits/stl_algo.h (count): Correct concept checks.
3118 (search_n) : Likewise.
3119 * testsuite/25_algorithms/search_n/check_type.cc: New.
3121 * testsuite/testsuite_iterators.h
3122 (random_access_iterator_wrapper::operator+): Move out of
3123 class to external function, and add symmetric version.
3125 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
3127 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
3130 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
3132 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
3133 operator--): Fix typo.
3134 (OutputContainer::OutputContainer): Correct zeroing array.
3135 (WritableObject::operator==): Fix typo.
3136 (WritableObject::operator=): make operator= templated
3137 to allow differing types to be assigned.
3138 (WritableObject::operator++): Fix checking if iterator is
3139 written to multiple times.
3140 (random_access_iterator_wrapper::operator+): Add const.
3141 (random_access_iterator_wrapper::operator-): Likewise.
3142 (random_access_iterator_wrapper::operator[]): Add dereference.
3144 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
3146 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
3147 had to be defined for pedantic mode in 3.4 and 4.0.0.
3149 2005-05-20 Jan Beulich <jbeulich@novell.com>
3151 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
3154 2005-05-20 Paolo Carlini <pcarlini@suse.de>
3156 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
3157 Don't qualify __tmp as const, _ValueType is not necessarily
3159 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
3160 Likewise, as an harmless extension.
3162 2005-05-19 Richard Henderson <rth@redhat.com>
3164 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
3166 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
3168 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
3169 debug mode, but not pedantic mode.
3171 2005-05-19 Jan Beulich <jbeulich@novell.com>
3173 * libsupc++/unwind-cxx.h: Include cstdlib.
3174 (gcc_unreachable): #define.
3175 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
3177 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3178 Nathan Myers <ncm@cantrip.org>
3181 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
3182 size_type instead of char and rename to _Raw_alloc.
3183 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
3185 * src/bitmap_allocator.cc: Add instantiation for size_type.
3186 * src/mt_allocator.cc: Likewise.
3187 * src/pool_allocator.cc: Likewise.
3188 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
3189 the existence of an _Array::begin() and size() members.
3190 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
3191 of size_type, instead of char, thus avoiding problems with
3192 rebinds, not treated correctly by array_allocator.
3194 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3196 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
3197 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3198 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
3199 missing dg-require-namedlocale.
3200 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
3202 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
3204 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
3207 2005-05-18 Paolo Carlini <pcarlini@suse.de>
3209 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
3210 * testsuite/testsuite_hooks.h: Remove try_named_locale.
3211 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
3212 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
3214 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
3215 dg-require-namedlocale.
3216 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
3218 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
3219 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
3220 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
3221 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
3223 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
3225 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
3226 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
3227 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
3228 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
3229 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
3230 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
3231 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
3233 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
3234 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
3235 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
3236 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.