functional: Add missing #pragma GCC system_header.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2005-10-15 Paolo Carlini <pcarlini@suse.de>
2
3 * include/tr1/functional: Add missing #pragma GCC system_header.
4
5 2005-10-14 Paolo Carlini <pcarlini@suse.de>
6
7 * include/tr1/hashtable (hashtable::m_erase): Rename to erase_node.
8 (hashtable::erase(iterator), erase(const_iterator)): Adjust.
9
10 2005-10-13 Richard Earnshaw <richard.earnsahw@arm.com>
11
12 PR libstdc++/23926
13 * acinclude.m4 (port_specific_symbol_files): More symbol versioning
14 fixes.
15 * configure: Regenerate.
16
17 2005-10-13 Hans-Peter Nilsson <hp@axis.com>
18
19 * testsuite/lib/libstdc++.exp (libstdc++_init): Require
20 native testing before setting v3-sharedlib to 1.
21
22 2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
23
24 * docs/html/27_io/howto.html: Use reference to ifstream when
25 including iosfwd.
26
27 2005-10-11 Andrew Pinski <pinskia@physics.uc.edu>
28
29 PR libstdc++/23926
30 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check
31 for GNU LD.
32 * configure: Regenerate.
33
34 2005-10-10 Benjamin Kosnik <bkoz@redhat.com>
35
36 * configure.ac (libtool_VERSION): To 6:7:0.
37 * configure: Regenerate.
38 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7.
39 * config/linker-map.gnu: Export locale::_Impl::_M_install_cache.
40
41 2005-10-10 Ian Lance Taylor <ian@airs.com>
42
43 PR libstdc++/13583
44 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache):
45 Move out of line.
46 * src/locale.cc: Define here, add mutex.
47
48 2005-10-09 Paolo Carlini <pcarlini@suse.de>
49
50 PR libstdc++/24061 (issue 6.19)
51 * include/tr1/hashtable (struct node_const_iterator, struct
52 hashtable_const_iterator): New, add const variants to enable separate
53 overloadings for iterator and const_iterator in unordered_set and
54 unordered_multiset (as required by issue 6.19).
55 (class hashtable): Change the mutable_iterators template parameter
56 to constant_iterators and adjust throughout the logic.
57 (hashtable::insert(iterator, const value_type&), erase(iterator)
58 erase(iterator, iterator)): New, as per issue 6.19.
59 (hashtable::m_erase(node*, node**)): New, called by erase(iterator)
60 and erase(const_iterator).
61 (hashtable::Insert_Conv_Type): New, used by insert(iterator,
62 const value_type&) and insert(const_iterator, const value_type&)
63 to delegate the work to insert(const value_type&).
64 * include/tr1/unordered_map (class unordered_map, unordered_multimap):
65 Adjust typedefs.
66 * include/tr1/unordered_set (class unordered_set, unordered_multiset):
67 Likewise.
68 * testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
69 * testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
70 * testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
71 * testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
72 * testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
73 * testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
74 * testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
75 * testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.
76
77 2005-10-08 Kazu Hirata <kazu@codesourcery.com>
78
79 Merge from csl-arm-branch:
80 2004-12-15 Daniel Jacobowitz <dan@codesourcery.com>
81 * libstdc++-v3/config/linker-map.gnu: Add ARM EABI symbols.
82
83 2005-10-07 Paolo Carlini <pcarlini@suse.de>
84
85 Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior
86 of basic_string pre-2003-06-13; remove fully-dynamic-string stuff.
87 * include/ext/rc_string_base.h (_M_refcopy): Move inside the
88 _Rep class and remove code in macro.
89 (__rc_string_base()): Construct with _S_empty_rep()._M_refcopy().
90 (_M_dispose, _M_leak_hard): Remove code in macro.
91 (_S_construct): Return _S_empty_rep()._M_refcopy() for empty string.
92 (_M_grab): Adjust.
93
94 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
95 mark throw().
96
97 2005-10-07 Benjamin Kosnik <bkoz@redhat.com>
98
99 * docs/doxygen/user.cfg.in: Update to Doyxygen 1.4.4.
100
101 2005-10-05 Paolo Carlini <pcarlini@suse.de>
102
103 * include/ext/sso_string_base.h (struct __sso_string_local):
104 Remove, actually POD types cannot have user defined constructors
105 (being aggregates) and therefore can always be members of unions.
106 (class __sso_string_base): Adjust consistently.
107
108 2005-10-05 Paolo Carlini <pcarlini@suse.de>
109
110 PR libstdc++/24198
111 * testsuite/27_io/basic_filebuf/3.cc: Use __gnu_test::pod_ushort
112 instead.
113 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
114 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
115 * testsuite/27_io/basic_fstream/3.cc: Likewise; run the test.
116 * testsuite/27_io/basic_ifstream/3.cc: Likewise; run the test.
117 * testsuite/27_io/basic_ios/3.cc: Likewise.
118 * testsuite/27_io/basic_iostream/3.cc: Likewise; run the test.
119 * testsuite/27_io/basic_istream/3.cc: Likewise; run the test.
120 * testsuite/27_io/basic_istringstream/3.cc: Likewise; run the test.
121 * testsuite/27_io/basic_ofstream/3.cc: Likewise; run the test.
122 * testsuite/27_io/basic_ostream/3.cc: Likewise; run the test.
123 * testsuite/27_io/basic_ostringstream/3.cc: Likewise; run the test.
124 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
125 * testsuite/27_io/basic_stringbuf/3.cc: Likewise.
126 * testsuite/27_io/basic_stringstream/3.cc: Likewise; run the test.
127
128 2005-10-05 Paolo Carlini <pcarlini@suse.de>
129
130 PR libstdc++/11729 (DR 280, [Ready])
131 * include/bits/stl_iterator.h: Add reverse_iterator global
132 functions with two template parameters (operator==, !=, <,
133 >, <=, >=, -).
134 * testsuite/24_iterators/reverse_iterator/11729.cc: New.
135 * docs/html/ext/howto.html: Add an entry for issue 280.
136
137 2005-10-03 Paolo Carlini <pcarlini@suse.de>
138
139 * include/tr1/hashtable
140 (node_iterator::node_iterator(const node_iterator<,true,>&)): Fix to
141 take a "false" (i.e., is_const == false) node_iterator.
142 (hashtable_iterator::hashtable_iterator(const hashtable_iterator<,
143 true,>&)): Likewise for hashtable_iterator.
144 (hashtable::const_local_iterator): Fix typedef (is_const == true).
145 (hashtable::const_iterator): Likewise.
146 * testsuite/tr1/6_containers/unordered/types/map_iterator.cc: New.
147 * testsuite/tr1/6_containers/unordered/types/multimap_iterator.cc: New.
148 * testsuite/tr1/6_containers/unordered/types/set_iterator.cc: New.
149 * testsuite/tr1/6_containers/unordered/types/multiset_iterator.cc: New.
150
151 2005-10-02 Paolo Carlini <pcarlini@suse.de>
152
153 PR libstdc++/24054
154 * include/tr1/hashtable (erase(const key_type&)): Return the
155 number of elements erased.
156 * testsuite/tr1/6_containers/unordered/hashtable/24054.cc: New.
157
158 2005-10-01 Kenny Simpson <theonetruekenny@yahoo.com>
159
160 * include/tr1/tuple_iterate.h (tuple::operator=(const std::pair<>&)):
161 Add missing return.
162
163 2005-09-30 Paolo Carlini <pcarlini@suse.de>
164
165 PR libstdc++/24064
166 * include/tr1/hashtable (hash_code_base<>::store_code): Add.
167 (hashtable<>::insert(const value_type&)): Use it.
168 * testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
169
170 2005-09-30 Paolo Carlini <pcarlini@suse.de>
171
172 PR libstdc++/23953
173 * include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
174 __moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
175 (__verify_grouping): Do the last check only if __grouping[__min] > 0.
176 (__add_grouping<>): End recursion if *__gbeg <= 0.
177 * testsuite/22_locale/num_get/get/char/23953.cc: New.
178 * testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
179 * testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
180 * testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
181
182 2005-09-29 Chris Jefferson <chris@bubblescope.net>
183
184 PR libstdc++/23978
185 * include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
186 * testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
187
188 * include/tr1/functional (ref, cref): Make inline.
189 * include/tr1/tuple_iterate.h (tie): Correct formatting.
190 (make_tuple): Make inline.
191
192 2005-09-25 Benjamin Kosnik <bkoz@redhat.com>
193 Eric Botcazou <ebotcazou@libertysurf.fr>
194
195 * include/ext/mt_allocator.h
196 (__per_type_pool<...true>::_S_initialize_once): Always call
197 _M_initialize_once.
198 (__common_pool<...true>::_S_initialize_once): Same.
199
200 2005-09-23 Benjamin Kosnik <bkoz@redhat.com>
201
202 * testsuite/ext/mt_allocator/tune-1.cc: Clarify for single-thread.
203 * testsuite/ext/mt_allocator/tune-2.cc: Same.
204 * testsuite/ext/mt_allocator/tune-3.cc: Same.
205 * testsuite/ext/mt_allocator/tune-4.cc: Same.
206
207 2005-09-21 Guillaume Melquiond <guillaume.melquiond@ens-lyon.fr>
208
209 PR libstdc++/23956
210 * include/ext/mt_allocator.h: Remove excess
211 policy_type::_S_get_pool calls in constructors.
212
213 2005-09-18 Paolo Carlini <pcarlini@suse.de>
214
215 PR libstdc++/23417 (cont)
216 * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
217 initialization list for -Weffc++.
218
219 2005-09-16 Janis Johnson <janis187@us.ibm.com>
220
221 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
222 New.
223
224 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>
225
226 PR libstdc++/21674
227 PR libstdc++/22205
228 PR libstdc++/22222
229 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__.
230 Add in check for __NO_INLINE__ for warning.
231 * testsuite/lib/dg-options.exp (dg-require-debug-mode): New.
232 * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New.
233 * testsuite/21_strings/basic_string/element_access/char/21674.cc:
234 Use it.
235 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
236 Use it.
237
238 2005-09-15 Paolo Carlini <pcarlini@suse.de>
239
240 PR libstdc++/23875
241 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned
242 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
243 Don't call operator<<(long), operator<<(unsigned long), or
244 operator<<(double), do the work mandated by the resolution of DR117...
245 * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
246 short), operator<<(int), operator<<(unsigned int), operator<<(float)):
247 ... here.
248 * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
249
250 2005-09-15 Mark Mitchell <mark@codesourcery.com>
251
252 * testsuite/testsuite_character.h: Specialize character<>
253 templates in __gnu_cxx, not in __gnu_test.
254
255 2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk>
256 Benjamin Kosnik <bkoz@redhat.com>
257
258 PR libstdc++/21674
259 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New.
260 * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
261 New.
262
263 2005-09-12 David Edelsohn <dje@gcc.gnu.org>
264
265 PR libstdc++/22554
266 PR libstdc++/23734
267 * include/Makefile.am (stamp-assoc): Install each subgroup
268 of headers separately.
269 * include/Makefile.in: Regenerate.
270
271 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
272
273 * testsuite/ext/mt_allocator/22309_thread.cc: Remove dg-do run.
274 * testsuite/lib/libstdc++.exp ( proc libstdc++_init): Enable
275 shared only for linux.
276
277 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
278 David Edelsohn <dje@gcc.gnu.org>
279
280 PR libstdc++/22554
281 PR libstdc++/23734
282 * include/Makefile.am (assoc_headers): Break into five sub values.
283 (install-headers): Use them.
284 (stamp-assoc): Same.
285 * include/Makefile.in: Regenerate.
286
287 2005-09-12 Chris Jefferson <chris@bubblescope.net>
288
289 * include/bits/stl_algo.h (search_n): Delegate to specializations.
290 (search_n(,,,,binary_predicate)): Likewise.
291 (__search_n(forward_iterator_tag)): Original search_n, tweak to
292 remove an unnecessary comparison.
293 (__search_n(,,,,binary_predicate,forward_iterator_tag)): Likewise.
294
295 2005-09-12 Jim Xochellis <jimxoch@yahoo.gr>
296
297 * include/bits/stl_algo.h
298 (__search_n(std::random_access_iterator_tag)): Add specialization.
299 (__search_n(,,,,binary_predicate,std::random_access_iterator_tag)):
300 Likewise.
301
302 2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
303
304 PR libstdc++/23417
305 * include/bits/stl_list.h (_List_impl): Use member initialization
306 list for -Weffc++.
307 * include/bits/stl_tree.h (_Rb_tree_impl): Same.
308
309 2005-09-12 Paolo Carlini <pcarlini@suse.de>
310
311 PR libstdc++/23767
312 * include/bits/stl_iterator.h (__normal_iterator::
313 __normal_iterator<>(const __normal_iterator<_Iter, _Container>&)):
314 Enable only when _Iter is equal to _Container::pointer.
315 * testsuite/21_strings/basic_string/types/23767.cc: New.
316 * testsuite/23_containers/vector/types/23767.cc: Likewise.
317 * testsuite/ext/vstring/types/23767.cc: Likewise.
318
319 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
320
321 PR libstdc++/19265
322 PR libstdc++/22309
323 * include/ext/mt_allocator.h
324 (__gnu_cxx::__create_handler): Remove.
325 (__pool<true>::_M_destroy_thread_key): Compatibility only.
326 (__pool<true>::_M_initialize(__destroy): Same.
327 (__pool<true>::_M_initialize): New.
328 (__pool<true>::_M_initialize_once): Nothing fancy.
329 (__pool<true>::_M_once): Remove.
330 (__common_pool): New.
331 (__common_pool_base): New.
332 (__per_type_pool): New.
333 (__per_type_pool_base): New.
334 * src/mt_allocator.cc: Same.
335 * config/linker-map.gnu (__pool<true>::_M_initialize()): Add.
336
337 2005-09-11 Jakub Jelinek <jakub@redhat.com>
338
339 PR libstdc++/19265
340 PR libstdc++/22309
341 * src/mt_allocator.cc (__gnu_internal::freelist_mutex): Make static.
342 (__gnu_internal::__freelist): New type.
343 (__gnu_internal::freelist): New variable.
344 (__gnu_internal::_M_destroy_thread_key): New function.
345 (__gnu_cxx::__pool<true>::_M_destroy): Don't delete
346 _M_thread_freelist_initial.
347 (__gnu_cxx::__pool<true>::_M_initialize): Make argument nameless.
348 Don't use _M_thread_freelist and _M_thread_freelist_initial
349 __pool<true> fields, instead use __gnu_internal::freelist fields, call
350 gthread_key_create just once. Use
351 __gnu_internal::_M_destroy_thread_key as key destructor.
352 (__gnu_cxx::__pool<true>::_M_get_thread_id): Store size_t id
353 rather than _Thread_record* in the thread specific value. Don't
354 use _M_thread_freelist __pool<true> field, instead use
355 __gnu_internal::freelist fields.
356 (__gnu_cxx::__pool<true>::_M_destroy_thread_key): Do nothing.
357
358 2005-09-11 Benjamin Kosnik <bkoz@redhat.com>
359 Jakub Jelinek <jakub@redhat.com>
360
361 PR libstdc++/19265
362 PR libstdc++/22309
363 * testsuite/testsuite_shared.cc: New.
364 * testsuite/lib/dg-options.exp (dg-require-sharedlib): New.
365 * testsuite/lib/libstdc++.exp (libstdc++_init): Look for shared
366 library, and set v3-sharedlib based on this.
367 (check_v3_target_sharedlib): New.
368 (proc v3-build_support): Build shared objects.
369 * testsuite/ext/mt_allocator/22309_thread.cc: New, use above.
370
371 2005-09-11 Paolo Carlini <pcarlini@suse.de>
372
373 PR libstdc++/23781
374 * include/bits/stl_list.h (_List_iterator<>::
375 _List_iterator(_List_node_base*), _List_const_iterator<>::
376 _List_const_iterator(const _List_node_base*)): Make explicit.
377 (list<>::begin(), list<>::end(), list<>::pop_back()): Adjust
378 consistently.
379 * include/bits/list.tcc (list<>::insert, list<>::erase): Adjust
380 consistently.
381 * include/bits/stl_tree.h (_Rb_tree_iterator<>::
382 _Rb_tree_iterator(_Link_type), _Rb_tree_const_iterator<>::
383 _Rb_tree_const_iterator(_Link_type)): Make explicit.
384 (_Rb_tree<>::begin(), _Rb_tree<>::end()): Adjust consistently.
385 * include/ext/slist (_Slist_iterator<>::_Slist_iterator(_Node*)):
386 Make explicit.
387 (slist<>::erase(iterator), slist<>::erase(iterator, iterator)):
388 Adjust consistently.
389 * include/tr1/hashtable (hashtable_iterator<>::
390 hashtable_iterator(hash_node<>**)): Make explicit.
391 * testsuite/23_containers/list/23781.cc: New.
392 * testsuite/23_containers/map/23781.cc: Likewise.
393 * testsuite/23_containers/multimap/23781.cc: Likewise.
394 * testsuite/23_containers/multiset/23781.cc: Likewise.
395 * testsuite/23_containers/set/23781.cc: Likewise.
396 * testsuite/ext/slist/23781.cc: Likewise.
397 * testsuite/tr1/6_containers/unordered/23781.cc: Likewise.
398 * testsuite/23_containers/map/operators/1_neg.cc: Adjust dg-error
399 line numbers.
400 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
401
402 * include/tr1/array (array<>::begin(), array<>::end()): Adjust
403 stylistically for consistency with the other containers.
404
405 2005-09-10 Joseph S. Myers <joseph@codesourcery.com>
406
407 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
408 XFAIL on *-*-linux*, not *-*-linux-gnu.
409
410 2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
411 Jakub Jelinek <jakub@redhat.com>
412
413 * src/debug.cc (iterator_base_mutex): Make static for internal
414 linkage.
415 * src/locale_init.cc (locale_mutex): Same.
416 * src/mt_allocator.cc (freelist_mutex): Same.
417 * src/pool_allocator.cc (palloc_init_mutex): Same.
418
419 2005-09-02 Paolo Carlini <pcarlini@suse.de>
420
421 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
422 Reduce maximum size and lf.
423
424 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
425
426 * include/c_std/std_cmath.h: Declare C99 functions and helper
427 functions as inline.
428
429 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
430 Paolo Carlini <pcarlini@suse.de>
431
432 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): Fix
433 comment.
434
435 2005-09-01 Benjamin Kosnik <bkoz@redhat.com>
436
437 * testsuite/lib/libstdc++.exp (check_v3_target_cxa_atexit): New.
438 * testsuite/lib/dg-options.exp (dg-require-cxa-atexit): New.
439 * testsuite/ext/mt_allocator/deallocate_local-6.cc: New.
440 * testsuite/ext/mt_allocator/deallocate_local-8.cc: New.
441 * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: New.
442 * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: New.
443 * docs/html/ext/mt_allocator.html: Add link to examples.
444 * testsuite/testsuite_allocator.h: Tweak.
445 * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
446 * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
447 * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
448 * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
449 * testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
450 * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
451 * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
452 * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
453 * testsuite/ext/new_allocator/deallocate_global.cc: Same.
454 * testsuite/ext/new_allocator/deallocate_local.cc: Same.
455
456 2005-08-31 Paolo Carlini <pcarlini@suse.de>
457 Kaspar Fischer <fischerk@inf.ethz.ch>
458
459 PR libstdc++/23632
460 * include/bits/stl_bvector.h (_Bit_iterator::operator[],
461 _Bit_const_iterator::operator[]): Const-ify.
462 * testsuite/23_containers/vector/bool/23632.cc: New.
463
464 2005-08-30 Paolo Carlini <pcarlini@suse.de>
465
466 PR libstdc++/23578 (cont)
467 * include/bits/stl_bvector.h (class vector<bool>): Add
468 a dummy data() to avoid problems in debug-mode.
469
470 2005-08-30 Paolo Carlini <pcarlini@suse.de>
471
472 * testsuite/ext/hash_map/23528.cc: New.
473
474 2005-08-29 Paolo Carlini <pcarlini@suse.de>
475
476 * include/bits/stl_map.h (class map): ... and a missing @a.
477
478 2005-08-29 Paolo Carlini <pcarlini@suse.de>
479
480 * include/bits/stl_map.h (class map): Add missing % in comment.
481
482 2005-08-29 Paolo Carlini <pcarlini@suse.de>
483
484 PR libstdc++/23578 (DR 464 [Ready])
485 * include/bits/stl_map.h (class map): Add at(const key_type&)
486 member functions.
487 * include/bits/stl_vector.h (class vector): Add data() member
488 functions.
489 * include/debug/map.h (class map): Adjust consistently.
490 * include/debug/vector (class vector): Likewise.
491 * testsuite/23_containers/map/element_access/1.cc: New.
492 * testsuite/23_containers/vector/data_access/1.cc: Likewise.
493 * docs/html/ext/howto.html: Add an entry for DR 464.
494
495 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
496
497 PR libstdc++/20534 (contd)
498 * src/debug.cc (__gnu_debug): Remove __fancy_abort definition.
499 Remove cstdio and cstdlib includes.
500 * include/debug/debug.h: Define inline here. Remove
501 _GLIBCXX_DEBUG_ABORT.
502 * include/debug/macros.h: Remove __fancy_abort declaration,
503 _GLIBXX_DEBUG_ABORT definition.
504 * config/linker-map.gnu: Remove export.
505
506 2005-08-26 Benjamin Kosnik <bkoz@redhat.com>
507
508 * scripts/check_compile (UNIQUE_ID): New. Use to name output files.
509
510 2005-08-26 Paolo Carlini <pcarlini@suse.de>
511
512 PR libstdc++/23081
513 * include/tr1/array: Implement members back(), front(), data(),
514 and the tuple interface; tidy.
515 * testsuite/tr1/6_containers/array/element_access/back.cc: New.
516 * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise.
517 * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise.
518 * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise.
519 * testsuite/tr1/6_containers/array/tuple_interface/tuple_element.cc:
520 Likewise.
521 * testsuite/tr1/6_containers/array/tuple_interface/tuple_size.cc:
522 Likewise.
523
524 2005-08-25 Paolo Carlini <pcarlini@suse.de>
525
526 * include/tr1/hashtable: Use __throw_exception_again,
527 not naked throw, in the catch clauses.
528
529 2005-08-24 Lawrence Lim <llim@redhat.com>
530 Jakub Jelinek <jakub@redhat.com>
531 Benjamin Kosnik <bkoz@redhat.com>
532
533 PR libstdc++/23550
534 * testsuite/21_strings/char_traits/requirements/char/1.cc
535 (test01): Simplify counting.
536 * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc
537 (test02): Same.
538
539 2005-08-24 Paolo Carlini <pcarlini@suse.de>
540 Chris Jefferson <chris@bubblescope.net>
541
542 PR libstdc++/23465
543 * include/tr1/hashtable (hash_code_base::m_swap): Use
544 std::swap.
545 (hashtable<>::hashtable(const hashtable&)): Use copy_code;
546 fix m_allocate_node call.
547 * testsuite/tr1/6_containers/unordered/hashtable/23465.cc: New.
548
549 2005-08-23 Kelley Cook <kcook@gcc.gnu.org>
550
551 PR libstdc++/23462
552 * testsuite/data/sgetn.txt: Revert to previous FSF address.
553
554 2005-08-23 Thomas Kho <tkho@ucla.edu>
555
556 PR libstdc++/23358
557 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
558 _ForwardIterator, allocator<_Tp>)): Removed unused template parameter.
559
560 2005-08-22 Geoffrey Keating <geoffk@apple.com>
561
562 * testsuite/23_containers/vector/resize/1.cc: XFAIL on darwin8.
563 * testsuite/27_io/ios_base/storage/2.cc: Likewise.
564
565 2005-08-19 J"orn Rennecke <joern.rennecke@st.com>
566
567 * config/cpu/sh/atomicity.h: Replace broken generic code with current
568 copy of generic/atomicity.h .
569
570 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
571
572 * All files: Update FSF address.
573
574 2005-08-09 Andrew Pinski <pinskia@physics.uc.edu>
575
576 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc:
577 xfail on *-*-darwin*.
578
579 2005-08-03 Geoffrey Keating <geoffk@apple.com>
580
581 * configure.ac: Don't use GCC_NO_EXECUTABLES or clear
582 GLIBCXX_IS_NATIVE on Darwin crosses.
583 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring
584 the testsuite just because there's no symbol versioning.
585 * configure: Regenerate.
586
587 * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print
588 status messages.
589 (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise.
590 (GLIBCXX_CHECK_POLL): Likewise.
591 (GLIBCXX_CHECK_WRITEV): Likewise.
592 (GLIBCXX_CHECK_INT64_T): Likewise.
593 (GLIBCXX_CHECK_LFS): Likewise.
594 * configure: Regenerate.
595
596 2005-07-30 Andrew Pinski <pinskia@physics.uc.edu>
597
598 * scripts/make_exports.pl: Pass --strip-underscores to c++filt.
599
600 2005-07-29 H.J. Lu <hongjiu.lu@intel.com>
601
602 PR libstdc++/22284
603 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Revert
604 the change to info.ttype_base.
605
606 2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
607
608 * include/std/std_valarray.h: Fix grammar in comments.
609
610 2005-07-25 Geoffrey Keating <geoffk@apple.com>
611
612 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export,
613 and make it the default for Darwin.
614 * scripts/make-exports.pl: New.
615 * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS.
616 Handle darwin-export.
617 * configure: Regenerate.
618 * include/Makefile.in: Regenerate.
619 * libmath/Makefile.in: Regenerate.
620 * libsupc++/Makefile.in: Regenerate.
621 * po/Makefile.in: Regenerate.
622 * src/Makefile.in: Regenerate.
623 * testsuite/Makefile.in: Regenerate.
624
625 2005-07-25 Dave Odell <evilalias@hotmail.com>
626
627 PR libstdc++/23053
628 * include/tr1/hashtable (hashtable<>::find_node): Const-ify.
629 * testsuite/tr1/6_containers/unordered/hashtable/23053.cc: New.
630
631 2005-07-25 Paolo Carlini <pcarlini@suse.de>
632
633 PR libstdc++/22515
634 * include/bits/basic_string.h: Declare the specialization
635 operator>>(basic_istream<char>&, basic_string<char>&).
636 * include/std/std_istream.h: Declate the specialization
637 operator>>(basic_istream<char>&, char*).
638 * include/std/std_streambuf.h (basic_streambuf): Add friend
639 declarations for the above.
640 * src/istream.cc: Define the above.
641 * testsuite/27_io/basic_istream/extractors_character/char/4.cc: New.
642 * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
643 Likewise.
644 * testsuite/performance/27_io/ifstream_extract_chars.cc: Likewise.
645
646 2005-07-20 Paolo Carlini <pcarlini@suse.de>
647
648 * include/bits/streambuf.tcc (xsgetn, xsputn): Use streamsize
649 instead of size_t.
650 * src/streambuf.cc (__copy_streambufs): Likewise.
651
652 2005-07-18 Paolo Carlini <pcarlini@suse.de>
653
654 * config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
655 Speed-up for the common case of mask == ctype_base::space;
656 otherwise, exit the loop earlier if the mask is one of the
657 elementary ones.
658
659 2005-07-14 Paolo Carlini <pcarlini@suse.de>
660
661 PR libstdc++/21193 (float, double, long double)
662 * include/tr1/functional (hash<float>, hash<double>):
663 Reimplement exploiting the Fnv_hash<>::hash helper.
664 (hash<long double>): Reimplement using frexp (in this
665 case, due to random padding bits, the former approach
666 is not generally viable).
667
668 2005-07-13 Paolo Carlini <pcarlini@suse.de>
669
670 PR libstdc++/21193 (string & wstring)
671 * include/tr1/functional (hash<string>, hash<wstring>):
672 Reimplement using the FNV hash.
673
674 * include/tr1/functional: Trivial formatting fixes.
675
676 2005-07-11 Paolo Carlini <pcarlini@suse.de>
677
678 * include/bits/ostream.tcc (basic_ostream<>::operator<<(long),
679 basic_ostream<>::operator<<(long long)): Don't deal with oct
680 and hex and casts to unsigned here...
681 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long,
682 const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long
683 long, const _CharT*, ios_base::fmtflags)): ... do that here,
684 instead, as per Table 57.
685 (num_put<>::_M_insert_int): Tidy treatment of numeric base and
686 sign.
687 * include/std/std_ostream.h (operator<<(short), operator<<(int)):
688 Adjust logic, as per the letter of the resolution of DR117 [WP].
689 * testsuite/22_locale/num_put/put/char/10.cc: New.
690 * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise.
691 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
692 Likewise.
693 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
694 Likewise.
695
696 2005-07-07 David Edelsohn <edelsohn@gnu.org>
697
698 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc:
699 Change map_t to map_type.
700
701 2005-07-05 Paolo Carlini <pcarlini@suse.de>
702
703 Add class __versa_string, a versatile "basic_string-type" class:
704 an additional, non-standard, template parameter allows to specify
705 the preferred base class. Two are provided: __rc_string_base,
706 which implements a behavior very similar to our standard string,
707 and __sso_string_base, not reference-counted and optimized for
708 short strings.
709 * include/ext/rc_string_base.h: New.
710 * include/ext/sso_string_base.h: Likewise.
711 * include/ext/vstring.h: Likewise.
712 * include/ext/vstring.tcc: Likewise.
713 * include/ext/vstring_fwd.h: Likewise.
714 * include/ext/vstring_util.h: Likewise.
715 * include/Makefile.am: Add.
716 * include/Makefile.in: Regenerate.
717 * testsuite/ext/vstring/explicit_instantiation/1.cc: New.
718 * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
719 * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
720 * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.
721
722 * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
723 officially used by v3).
724 * aclocal.m4: Likewise.
725 * libmath/Makefile.in: Likewise.
726 * libsupc++/Makefile.in: Likewise.
727 * po/Makefile.in: Likewise.
728 * src/Makefile.in: Likewise.
729 * testsuite/Makefile.in: Likewise.
730
731 2005-07-01 Paolo Carlini <pcarlini@suse.de>
732
733 Port from libstdcxx_so_7-branch:
734 2004-10-28 Chris Jefferson <chris@bubblescope.net>
735
736 PR libstdc++/17441
737 * include/bit/stl_algo.h (find(,,,input_iterator_tag),
738 find(,,,random_access_interator_tag),
739 find_if(,,,input_iterator_tag),
740 find_if(,,,random_access_iterator_tag)): Uglify function name.
741 (find, find_if): Use new uglified specialisation names.
742 * testsuite/25_algorithms/find/17441.cc: New.
743
744 2005-06-30 Ulrich Weigand <uweigand@de.ibm.com>
745
746 * include/ext/pb_assoc/detail/hash_fn/mask_based_range_hashing.hpp
747 (PB_ASSOC_CLASS_C_DEC::s_highest_bit_1): Cast constant 1 to target
748 type before shifting.
749
750 2005-06-29 Paolo Carlini <pcarlini@suse.de>
751
752 PR libstdc++/21244 (cont^2)
753 * include/ext/bitmap_allocator.h: Convert everywhere
754 bits_per_block to size_t.
755
756 2005-06-29 Jonathan Wakely <redi@gcc.gnu.org>
757
758 * include/bits/basic_string.h, include/bits/locale_facets.h: Fix
759 Doxygen comments that use wrong parameter and function names.
760
761 2005-06-29 Paolo Carlini <pcarlini@suse.de>
762
763 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 37.
764 * docs/html/ext/howto.html: Adjust.
765
766 2005-06-29 Paolo Carlini <pcarlini@suse.de>
767
768 PR libstdc++/22131
769 * include/bits/locale_facets.tcc (num_get<>::_M_extract_int,
770 num_get<>::_M_extract_float, money_get<>::_M_extract):
771 Adjust to assign the result also when digit grouping is
772 wrong (but the grammar is correct), as per 22.2.2.1.2, p11-12
773 (NB: consistently for money_get too).
774 * config/locale/generic/c_locale.cc (__convert_to_v): Do
775 not check ios_base::failbit at the outset.
776 * config/locale/gnu/c_locale.cc: Likewise.
777 * testsuite/22_locale/money_get/get/char/22131.cc: New.
778 * testsuite/22_locale/money_get/get/wchar_t/22131.cc: Likewise.
779 * testsuite/22_locale/num_get/get/char/22131.cc: Likewise.
780 * testsuite/22_locale/num_get/get/wchar_t/22131.cc: Likewise.
781 * testsuite/22_locale/num_get/get/char/12.cc: Adjust.
782 * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
783 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
784 Likewise.
785 * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
786 Likewise.
787
788 2005-06-28 Paul Brook <paul@codesourcery.com>
789
790 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
791 __cxa_end_cleanup.
792 * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
793 * libsupc++/eh_arm.cc: New file.
794 * libsupc++/eh_call.cc: New file.
795 * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
796 __gxx_caught_object.
797 (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
798 _Unwind_Complete when using the ARM EABI.
799 (__cxa_end_catch): Use __is_gxx_exception_class.
800 * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
801 using the ARM EABI.
802 (save_caught_exception, restore_caught_exception): New functions.
803 (_throw_typet): New typedef.
804 (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
805 EABI implementations.
806 (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
807 unwinding libary.
808 (__cxa_unexpected): Disable when using the ARM EABI.
809 * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
810 (__cxa_rethrow): Use __is_gxx_exception_class. Call
811 _Unwind_RaiseException when using the ARM EABI.
812 * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
813 EABI semantics.
814 (struct __cxa_eh_globals): Ditto.
815 (__cxa_call_terminate): Add prototype.
816 (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
817 prototypes.
818 (__get_exception_header_from_obj, __get_exception_header_from_ue):
819 Move earlier in file.
820 (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
821 __gxx_caught_object): New functions.
822 * aclocal.m4: Regenerate.
823 * configure: Regenerate.
824 * Makefile.in: Regenerate.
825 * include/Makefile.in: Regenerate.
826 * libmath/Makefile.in: Regenerate.
827 * libsupc++/Makefile.in: Regenerate.
828 * po/Makefile.in: Regenerate.
829 * src/Makefie.in: Regenerate.
830 * testsuite/makefile.in: Regenerate.
831
832 2005-06-27 Paolo Carlini <pcarlini@suse.de>
833
834 PR libstdc++/22102
835 * include/bits/stl_tree.h (insert_unique(iterator, const _Val&),
836 insert_equal((iterator, const _Val&)): Reimplement to check both
837 before and after, as per the algorithm "ignore hint if wrong" of
838 ISO paper N1780.
839
840 2005-06-27 Benjamin Kosnik <bkoz@redhat.com>
841 Ami Tavory <pbassoc@gmail.com>
842
843 * docs/html/documentation.html: Add link for policy based
844 associative containers docs.
845 * docs/html/ext/pb_assoc/Std_hash_set_impl.jpg: New.
846 * docs/html/ext/pb_assoc/acks.html: New.
847 * docs/html/ext/pb_assoc/balls_and_bins.jpg: New.
848 * docs/html/ext/pb_assoc/basic_assoc_cntnr.html: New.
849 * docs/html/ext/pb_assoc/basic_assoc_cntnr_compound_data.html: New.
850 * docs/html/ext/pb_assoc/basic_assoc_cntnr_no_data.html: New.
851 * docs/html/ext/pb_assoc/basic_ds_tag.html: New.
852 * docs/html/ext/pb_assoc/basic_hash_assoc_cntnr.html: New.
853 * docs/html/ext/pb_assoc/basic_hash_ds_tag.html: New.
854 * docs/html/ext/pb_assoc/basic_invalidation_guarantee.html: New.
855 * docs/html/ext/pb_assoc/basic_ms_tag.html: New.
856 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr.html: New.
857 * docs/html/ext/pb_assoc/
858 basic_tree_assoc_cntnr_const_node_iterator.html: New.
859 * docs/html/ext/pb_assoc/
860 basic_tree_assoc_cntnr_node_iterator.html: New.
861 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev.html: New.
862 * docs/html/ext/pb_assoc/basic_tree_assoc_cntnr_rev_it.html: New.
863 * docs/html/ext/pb_assoc/basic_tree_ds_tag.html: New.
864 * docs/html/ext/pb_assoc/cc_hash_assoc_cntnr.html: New.
865 * docs/html/ext/pb_assoc/cc_hash_ds_tag.html: New.
866 * docs/html/ext/pb_assoc/
867 cc_hash_max_collision_check_resize_trigger.html: New.
868 * docs/html/ext/pb_assoc/cc_hash_policy_cd.jpg: New.
869 * docs/html/ext/pb_assoc/cd.jpg: New.
870 * docs/html/ext/pb_assoc/component_requirements.html: New.
871 * docs/html/ext/pb_assoc/compound_data_enabled_ms_tag.html: New.
872 * docs/html/ext/pb_assoc/compound_data_type.html: New.
873 * docs/html/ext/pb_assoc/compound_ds_tag.html: New.
874 * docs/html/ext/pb_assoc/concepts.html: New.
875 * docs/html/ext/pb_assoc/contact.html: New.
876 * docs/html/ext/pb_assoc/counter_update_metadata.html: New.
877 * docs/html/ext/pb_assoc/counter_update_policy.html: New.
878 * docs/html/ext/pb_assoc/data_enabled_ms_tag.html: New.
879 * docs/html/ext/pb_assoc/design.html: New.
880 * docs/html/ext/pb_assoc/different_underlying_dss.jpg: New.
881 * docs/html/ext/pb_assoc/direct_mask_range_hashing.html: New.
882 * docs/html/ext/pb_assoc/direct_mod_range_hashing.html: New.
883 * docs/html/ext/pb_assoc/disclaimer.html: New.
884 * docs/html/ext/pb_assoc/ds_gen.html: New.
885 * docs/html/ext/pb_assoc/ds_tag_cd.jpg: New.
886 * docs/html/ext/pb_assoc/ds_traits.html: New.
887 * docs/html/ext/pb_assoc/embedded_lists_1.jpg: New.
888 * docs/html/ext/pb_assoc/embedded_lists_2.jpg: New.
889 * docs/html/ext/pb_assoc/examples.html: New.
890 * docs/html/ext/pb_assoc/exception_guarantees_specifics.html: New.
891 * docs/html/ext/pb_assoc/find_invalidation_guarantee.html: New.
892 * docs/html/ext/pb_assoc/find_iterators_cd.jpg: New.
893 * docs/html/ext/pb_assoc/find_iterators_range_ops_1.jpg: New.
894 * docs/html/ext/pb_assoc/find_iterators_range_ops_2.jpg: New.
895 * docs/html/ext/pb_assoc/generics.html: New.
896 * docs/html/ext/pb_assoc/gp_hash_assoc_cntnr.html: New.
897 * docs/html/ext/pb_assoc/gp_hash_ds_tag.html: New.
898 * docs/html/ext/pb_assoc/gp_hash_policy_cd.jpg: New.
899 * docs/html/ext/pb_assoc/hash_and_probe_general.html: New.
900 * docs/html/ext/pb_assoc/hash_based_containers.html: New.
901 * docs/html/ext/pb_assoc/hash_cd.jpg: New.
902 * docs/html/ext/pb_assoc/hash_exponential_size_policy.html: New.
903 * docs/html/ext/pb_assoc/hash_fn.html: New.
904 * docs/html/ext/pb_assoc/hash_load_check_resize_trigger.html: New.
905 * docs/html/ext/pb_assoc/hash_policies.html: New.
906 * docs/html/ext/pb_assoc/hash_policy_cd.jpg: New.
907 * docs/html/ext/pb_assoc/hash_prime_size_policy.html: New.
908 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram.jpg: New.
909 * docs/html/ext/pb_assoc/hash_range_hashing_seq_diagram2.jpg: New.
910 * docs/html/ext/pb_assoc/hash_ranged_hash_range_hashing_fns.jpg: New.
911 * docs/html/ext/pb_assoc/hash_standard_resize_policy.html: New.
912 * docs/html/ext/pb_assoc/home.html: New.
913 * docs/html/ext/pb_assoc/index.html: New.
914 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram1.jpg: New.
915 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram2.jpg: New.
916 * docs/html/ext/pb_assoc/insert_resize_sequence_diagram3.jpg: New.
917 * docs/html/ext/pb_assoc/insert_type_methods.html: New.
918 * docs/html/ext/pb_assoc/interface.html: New.
919 * docs/html/ext/pb_assoc/interval_node_invariants.jpg: New.
920 * docs/html/ext/pb_assoc/introduction.html: New.
921 * docs/html/ext/pb_assoc/invalidation_guarantee_cd.jpg: New.
922 * docs/html/ext/pb_assoc/invalidation_guarantee_erase.jpg: New.
923 * docs/html/ext/pb_assoc/lib_download.html: New.
924 * docs/html/ext/pb_assoc/linear_probe_fn.html: New.
925 * docs/html/ext/pb_assoc/list_updates.html: New.
926 * docs/html/ext/pb_assoc/lu_assoc_cntnr.html: New.
927 * docs/html/ext/pb_assoc/lu_based_containers.html: New.
928 * docs/html/ext/pb_assoc/lu_cd.jpg: New.
929 * docs/html/ext/pb_assoc/lu_ds_tag.html: New.
930 * docs/html/ext/pb_assoc/lu_ops.jpg: New.
931 * docs/html/ext/pb_assoc/mmap_value_utils.html: New.
932 * docs/html/ext/pb_assoc/motivation.html: New.
933 * docs/html/ext/pb_assoc/move_to_front_update_metadata.html: New.
934 * docs/html/ext/pb_assoc/move_to_front_update_policy.html: New.
935 * docs/html/ext/pb_assoc/ms_cd.jpg: New.
936 * docs/html/ext/pb_assoc/ms_gen.html: New.
937 * docs/html/ext/pb_assoc/ms_tag_cd.jpg: New.
938 * docs/html/ext/pb_assoc/ms_traits.html: New.
939 * docs/html/ext/pb_assoc/node_invariant_invalidations.jpg: New.
940 * docs/html/ext/pb_assoc/node_invariants.html: New.
941 * docs/html/ext/pb_assoc/node_invariants.jpg: New.
942 * docs/html/ext/pb_assoc/non_unique_mapping.html: New.
943 * docs/html/ext/pb_assoc/non_unique_mapping_containers.jpg: New.
944 * docs/html/ext/pb_assoc/null_data_type.html: New.
945 * docs/html/ext/pb_assoc/null_hash_fn.html: New.
946 * docs/html/ext/pb_assoc/null_probe_fn.html: New.
947 * docs/html/ext/pb_assoc/order_by_key.html: New.
948 * docs/html/ext/pb_assoc/order_statistics_key.html: New.
949 * docs/html/ext/pb_assoc/order_statistics_key_cmp.html: New.
950 * docs/html/ext/pb_assoc/order_statistics_node_updator.html: New.
951 * docs/html/ext/pb_assoc/ov_tree_ds_tag.html: New.
952 * docs/html/ext/pb_assoc/overview.html: New.
953 * docs/html/ext/pb_assoc/pb_assoc_ex.html: New.
954 * docs/html/ext/pb_assoc/portability.html: New.
955 * docs/html/ext/pb_assoc/quadratic_probe_fn.html: New.
956 * docs/html/ext/pb_assoc/range_invalidation_guarantee.html: New.
957 * docs/html/ext/pb_assoc/rank_node_invariants.jpg: New.
958 * docs/html/ext/pb_assoc/rationale_null_node_updator.jpg: New.
959 * docs/html/ext/pb_assoc/rb_tree_ds_tag.html: New.
960 * docs/html/ext/pb_assoc/reference_iterator.jpg: New.
961 * docs/html/ext/pb_assoc/references.html: New.
962 * docs/html/ext/pb_assoc/regression_tests.html: New.
963 * docs/html/ext/pb_assoc/resize_general.html: New.
964 * docs/html/ext/pb_assoc/resize_policies.html: New.
965 * docs/html/ext/pb_assoc/resize_policy_cd.jpg: New.
966 * docs/html/ext/pb_assoc/restoring_node_invariants.jpg: New.
967 * docs/html/ext/pb_assoc/sample_node_updator.hpp: New.
968 * docs/html/ext/pb_assoc/sample_probe_fn.hpp: New.
969 * docs/html/ext/pb_assoc/sample_probe_fn.html: New.
970 * docs/html/ext/pb_assoc/sample_range_hashing.hpp: New.
971 * docs/html/ext/pb_assoc/sample_range_hashing.html: New.
972 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.hpp: New.
973 * docs/html/ext/pb_assoc/sample_ranged_hash_fn.html: New.
974 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.hpp: New.
975 * docs/html/ext/pb_assoc/sample_ranged_probe_fn.html: New.
976 * docs/html/ext/pb_assoc/sample_resize_policy.hpp: New.
977 * docs/html/ext/pb_assoc/sample_resize_policy.html: New.
978 * docs/html/ext/pb_assoc/sample_resize_trigger.hpp: New.
979 * docs/html/ext/pb_assoc/sample_size_policy.hpp: New.
980 * docs/html/ext/pb_assoc/sample_update_policy.hpp: New.
981 * docs/html/ext/pb_assoc/size_policies_general.html: New.
982 * docs/html/ext/pb_assoc/splay_tree_ds_tag.html: New.
983 * docs/html/ext/pb_assoc/timing_tests.html: New.
984 * docs/html/ext/pb_assoc/toc.html: New.
985 * docs/html/ext/pb_assoc/tree_assoc_cntnr.html: New.
986 * docs/html/ext/pb_assoc/
987 tree_assoc_cntnr_const_node_iterator.html: New.
988 * docs/html/ext/pb_assoc/tree_assoc_cntnr_node_iterator.html: New.
989 * docs/html/ext/pb_assoc/tree_based_containers.html: New.
990 * docs/html/ext/pb_assoc/tree_cd.jpg: New.
991 * docs/html/ext/pb_assoc/trigger_policies_general.html: New.
992 * docs/html/ext/pb_assoc/tutorial.html: New.
993 * docs/html/ext/pb_assoc/update_seq_diagram.jpg: New.
994 * include/Makefile.am: Add assoc_srcdir, assoc_builddir, assoc_subdir,
995 assoc_headers.
996 * include/Makefile.in: Regenerate.
997 * include/ext/typelist.h: New.
998 * include/ext/pb_assoc/assoc_cntnr.hpp: New.
999 * include/ext/pb_assoc/data_type.hpp: New.
1000 * include/ext/pb_assoc/ds_trait.hpp: New.
1001 * include/ext/pb_assoc/exception.hpp: New.
1002 * include/ext/pb_assoc/hash_policy.hpp: New.
1003 * include/ext/pb_assoc/lu_policy.hpp: New.
1004 * include/ext/pb_assoc/ms_trait.hpp: New.
1005 * include/ext/pb_assoc/tree_policy.hpp: New.
1006 * include/ext/pb_assoc/trivial_iterator_def.hpp: New.
1007 * include/ext/pb_assoc/detail/assoc_cntnr_base.hpp: New.
1008 * include/ext/pb_assoc/detail/cond_dealtor.hpp: New.
1009 * include/ext/pb_assoc/detail/constructors_destructor_fn_imps.hpp: New.
1010 * include/ext/pb_assoc/detail/ds_trait_imp.hpp: New.
1011 * include/ext/pb_assoc/detail/hash_types_traits.hpp: New.
1012 * include/ext/pb_assoc/detail/map_debug_base.hpp: New.
1013 * include/ext/pb_assoc/detail/mapping_level_imp.hpp: New.
1014 * include/ext/pb_assoc/detail/ms_category_imp.hpp: New.
1015 * include/ext/pb_assoc/detail/ms_trait_imp.hpp: New.
1016 * include/ext/pb_assoc/detail/order_statistics_imp.hpp: New.
1017 * include/ext/pb_assoc/detail/standard_policies.hpp: New.
1018 * include/ext/pb_assoc/detail/standard_sizes.hpp: New.
1019 * include/ext/pb_assoc/detail/type_utils.hpp: New.
1020 * include/ext/pb_assoc/detail/typelist.hpp: New.
1021 * include/ext/pb_assoc/detail/types_traits.hpp: New.
1022 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1023 constructor_destructor_fn_imps.hpp: New.
1024 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1025 constructors_destructor_fn_imps.hpp: New.
1026 * include/ext/pb_assoc/detail/basic_assoc_cntnr/d_extract_key.hpp: New.
1027 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1028 d_find_fn_imps.hpp: New.
1029 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1030 d_insert_fn_imps.hpp: New.
1031 * include/ext/pb_assoc/detail/basic_assoc_cntnr/erase_fn_imps.hpp: New.
1032 * include/ext/pb_assoc/detail/basic_assoc_cntnr/extract_key.hpp: New.
1033 * include/ext/pb_assoc/detail/basic_assoc_cntnr/info_fn_imps.hpp: New.
1034 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1035 insert_fn_imps.hpp: New.
1036 * include/ext/pb_assoc/detail/basic_assoc_cntnr/
1037 iterators_fn_imps.hpp: New.
1038 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1039 constructor_destructor_fn_imps.hpp: New.
1040 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1041 constructors_destructor_fn_imps.hpp: New.
1042 * include/ext/pb_assoc/detail/basic_hash_assoc_cntnr/
1043 resize_fn_imps.hpp: New.
1044 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1045 constructor_destructor_fn_imps.hpp: New.
1046 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1047 constructors_destructor_fn_imps.hpp: New.
1048 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1049 erase_fn_imps.hpp: New.
1050 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1051 node_iteration_fn_imps.hpp: New.
1052 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1053 policy_access_fn_imps.hpp: New.
1054 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1055 r_erase_fn_imps.hpp: New.
1056 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1057 r_range_iteration_fn_imps.hpp: New.
1058 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1059 range_iteration_fn_imps.hpp: New.
1060 * include/ext/pb_assoc/detail/basic_tree_assoc_cntnr/
1061 split_join_fn_imps.hpp: New.
1062 * include/ext/pb_assoc/detail/bin_search_tree_/
1063 bin_search_tree_.hpp: New.
1064 * include/ext/pb_assoc/detail/bin_search_tree_/
1065 cond_dtor_entry_dealtor.hpp: New.
1066 * include/ext/pb_assoc/detail/bin_search_tree_/
1067 cond_key_dtor_entry_dealtor.hpp: New.
1068 * include/ext/pb_assoc/detail/bin_search_tree_/
1069 constructors_destructor_fn_imps.hpp: New.
1070 * include/ext/pb_assoc/detail/bin_search_tree_/debug_fn_imps.hpp: New.
1071 * include/ext/pb_assoc/detail/bin_search_tree_/erase_fn_imps.hpp: New.
1072 * include/ext/pb_assoc/detail/bin_search_tree_/find_fn_imps.hpp: New.
1073 * include/ext/pb_assoc/detail/bin_search_tree_/find_iterators.hpp: New.
1074 * include/ext/pb_assoc/detail/bin_search_tree_/info_fn_imps.hpp: New.
1075 * include/ext/pb_assoc/detail/bin_search_tree_/insert_fn_imps.hpp: New.
1076 * include/ext/pb_assoc/detail/bin_search_tree_/
1077 iterators_fn_imps.hpp: New.
1078 * include/ext/pb_assoc/detail/bin_search_tree_/node_iterators.hpp: New.
1079 * include/ext/pb_assoc/detail/bin_search_tree_/
1080 r_erase_fn_imps.hpp: New.
1081 * include/ext/pb_assoc/detail/bin_search_tree_/rotate_fn_imps.hpp: New.
1082 * include/ext/pb_assoc/detail/bin_search_tree_/
1083 split_join_fn_imps.hpp: New.
1084 * include/ext/pb_assoc/detail/cc_hash_assoc_cntnr/
1085 constructor_destructor_fn_imps.hpp: New.
1086 * include/ext/pb_assoc/detail/cc_ht_map_/cc_ht_map_.hpp: New.
1087 * include/ext/pb_assoc/detail/cc_ht_map_/cmp_fn_imps.hpp: New.
1088 * include/ext/pb_assoc/detail/cc_ht_map_/
1089 cond_key_dtor_entry_dealtor.hpp: New.
1090 * include/ext/pb_assoc/detail/cc_ht_map_/
1091 constructor_destructor_fn_imps.hpp: New.
1092 * include/ext/pb_assoc/detail/cc_ht_map_/
1093 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1094 * include/ext/pb_assoc/detail/cc_ht_map_/
1095 constructor_destructor_store_hash_fn_imps.hpp: New.
1096 * include/ext/pb_assoc/detail/cc_ht_map_/debug_fn_imps.hpp: New.
1097 * include/ext/pb_assoc/detail/cc_ht_map_/
1098 debug_no_store_hash_fn_imps.hpp: New.
1099 * include/ext/pb_assoc/detail/cc_ht_map_/
1100 debug_store_hash_fn_imps.hpp: New.
1101 * include/ext/pb_assoc/detail/cc_ht_map_/entry_list_fn_imps.hpp: New.
1102 * include/ext/pb_assoc/detail/cc_ht_map_/erase_fn_imps.hpp: New.
1103 * include/ext/pb_assoc/detail/cc_ht_map_/
1104 erase_no_store_hash_fn_imps.hpp: New.
1105 * include/ext/pb_assoc/detail/cc_ht_map_/
1106 erase_store_hash_fn_imps.hpp: New.
1107 * include/ext/pb_assoc/detail/cc_ht_map_/
1108 find_fn_imps.hpp: New.
1109 * include/ext/pb_assoc/detail/cc_ht_map_/
1110 find_no_store_hash_fn_imps.hpp: New.
1111 * include/ext/pb_assoc/detail/cc_ht_map_/
1112 find_store_hash_fn_imps.hpp: New.
1113 * include/ext/pb_assoc/detail/cc_ht_map_/info_fn_imps.hpp: New.
1114 * include/ext/pb_assoc/detail/cc_ht_map_/insert_fn_imps.hpp: New.
1115 * include/ext/pb_assoc/detail/cc_ht_map_/
1116 insert_no_store_hash_fn_imps.hpp: New.
1117 * include/ext/pb_assoc/detail/cc_ht_map_/
1118 insert_store_hash_fn_imps.hpp: New.
1119 * include/ext/pb_assoc/detail/cc_ht_map_/iterators_fn_imps.hpp: New.
1120 * include/ext/pb_assoc/detail/cc_ht_map_/
1121 policy_access_fn_imps.hpp: New.
1122 * include/ext/pb_assoc/detail/cc_ht_map_/resize_fn_imps.hpp: New.
1123 * include/ext/pb_assoc/detail/cc_ht_map_/
1124 resize_no_store_hash_fn_imps.hpp: New.
1125 * include/ext/pb_assoc/detail/cc_ht_map_/
1126 resize_store_hash_fn_imps.hpp: New.
1127 * include/ext/pb_assoc/detail/cc_ht_map_/size_fn_imps.hpp: New.
1128 * include/ext/pb_assoc/detail/cc_ht_map_/standard_policies.hpp: New.
1129 * include/ext/pb_assoc/detail/eq_fn/eq_by_less.hpp: New.
1130 * include/ext/pb_assoc/detail/eq_fn/hash_eq_fn.hpp: New.
1131 * include/ext/pb_assoc/detail/gp_hash_assoc_cntnr/
1132 constructor_destructor_fn_imps.hpp: New.
1133 * include/ext/pb_assoc/detail/gp_ht_map_/
1134 constructor_destructor_fn_imps.hpp: New.
1135 * include/ext/pb_assoc/detail/gp_ht_map_/
1136 constructor_destructor_no_store_hash_fn_imps.hpp: New.
1137 * include/ext/pb_assoc/detail/gp_ht_map_/
1138 constructor_destructor_store_hash_fn_imps.hpp: New.
1139 * include/ext/pb_assoc/detail/gp_ht_map_/debug_fn_imps.hpp: New.
1140 * include/ext/pb_assoc/detail/gp_ht_map_/
1141 debug_no_store_hash_fn_imps.hpp: New.
1142 * include/ext/pb_assoc/detail/gp_ht_map_/
1143 debug_store_hash_fn_imps.hpp: New.
1144 * include/ext/pb_assoc/detail/gp_ht_map_/erase_fn_imps.hpp: New.
1145 * include/ext/pb_assoc/detail/gp_ht_map_/
1146 erase_no_store_hash_fn_imps.hpp: New.
1147 * include/ext/pb_assoc/detail/gp_ht_map_/
1148 erase_store_hash_fn_imps.hpp: New.
1149 * include/ext/pb_assoc/detail/gp_ht_map_/find_fn_imps.hpp: New.
1150 * include/ext/pb_assoc/detail/gp_ht_map_/
1151 find_no_store_hash_fn_imps.hpp: New.
1152 * include/ext/pb_assoc/detail/gp_ht_map_/
1153 find_store_hash_fn_imps.hpp: New.
1154 * include/ext/pb_assoc/detail/gp_ht_map_/gp_ht_map_.hpp: New.
1155 * include/ext/pb_assoc/detail/gp_ht_map_/info_fn_imps.hpp: New.
1156 * include/ext/pb_assoc/detail/gp_ht_map_/insert_fn_imps.hpp: New.
1157 * include/ext/pb_assoc/detail/gp_ht_map_/
1158 insert_no_store_hash_fn_imps.hpp: New.
1159 * include/ext/pb_assoc/detail/gp_ht_map_/
1160 insert_store_hash_fn_imps.hpp: New.
1161 * include/ext/pb_assoc/detail/gp_ht_map_/iterator_fn_imps.hpp: New.
1162 * include/ext/pb_assoc/detail/gp_ht_map_/
1163 policy_access_fn_imps.hpp: New.
1164 * include/ext/pb_assoc/detail/gp_ht_map_/resize_fn_imps.hpp: New.
1165 * include/ext/pb_assoc/detail/gp_ht_map_/
1166 resize_no_store_hash_fn_imps.hpp: New.
1167 * include/ext/pb_assoc/detail/gp_ht_map_/
1168 resize_store_hash_fn_imps.hpp: New.
1169 * include/ext/pb_assoc/detail/hash_fn/
1170 direct_mask_range_hashing_imp.hpp: New.
1171 * include/ext/pb_assoc/detail/hash_fn/
1172 direct_mod_range_hashing_imp.hpp: New.
1173 * include/ext/pb_assoc/detail/hash_fn/linear_probe_fn_imp.hpp: New.
1174 * include/ext/pb_assoc/detail/hash_fn/
1175 mask_based_range_hashing.hpp: New.
1176 * include/ext/pb_assoc/detail/hash_fn/mod_based_range_hashing.hpp: New.
1177 * include/ext/pb_assoc/detail/hash_fn/probe_fn_base.hpp: New.
1178 * include/ext/pb_assoc/detail/hash_fn/quadratic_probe_fn_imp.hpp: New.
1179 * include/ext/pb_assoc/detail/hash_fn/ranged_hash_fn.hpp: New.
1180 * include/ext/pb_assoc/detail/hash_fn/ranged_probe_fn.hpp: New.
1181 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1182 constructor_destructor_fn_imps.hpp: New.
1183 * include/ext/pb_assoc/detail/lu_assoc_cntnr/
1184 policy_access_fn_imps.hpp: New.
1185 * include/ext/pb_assoc/detail/lu_map_/
1186 constructor_destructor_fn_imps.hpp: New.
1187 * include/ext/pb_assoc/detail/lu_map_/debug_fn_imps.hpp: New.
1188 * include/ext/pb_assoc/detail/lu_map_/erase_fn_imps.hpp: New.
1189 * include/ext/pb_assoc/detail/lu_map_/find_fn_imps.hpp: New.
1190 * include/ext/pb_assoc/detail/lu_map_/info_fn_imps.hpp: New.
1191 * include/ext/pb_assoc/detail/lu_map_/insert_fn_imps.hpp: New.
1192 * include/ext/pb_assoc/detail/lu_map_/iterators_fn_imps.hpp: New.
1193 * include/ext/pb_assoc/detail/lu_map_/lu_map_.hpp: New.
1194 * include/ext/pb_assoc/detail/lu_map_/policy_access_fn_imps.hpp: New.
1195 * include/ext/pb_assoc/detail/lu_policy/
1196 counter_lu_metadata_imp.hpp: New.
1197 * include/ext/pb_assoc/detail/lu_policy/counter_lu_policy_imp.hpp: New.
1198 * include/ext/pb_assoc/detail/lu_policy/mtf_lu_policy_imp.hpp: New.
1199 * include/ext/pb_assoc/detail/ov_tree_map_/cond_dtor.hpp: New.
1200 * include/ext/pb_assoc/detail/ov_tree_map_/
1201 constructors_destructor_fn_imps.hpp: New.
1202 * include/ext/pb_assoc/detail/ov_tree_map_/debug_fn_imps.hpp: New.
1203 * include/ext/pb_assoc/detail/ov_tree_map_/erase_fn_imps.hpp: New.
1204 * include/ext/pb_assoc/detail/ov_tree_map_/find_fn_imps.hpp: New.
1205 * include/ext/pb_assoc/detail/ov_tree_map_/info_fn_imps.hpp: New.
1206 * include/ext/pb_assoc/detail/ov_tree_map_/insert_fn_imps.hpp: New.
1207 * include/ext/pb_assoc/detail/ov_tree_map_/iterators_fn_imps.hpp: New.
1208 * include/ext/pb_assoc/detail/ov_tree_map_/node_iterators.hpp: New.
1209 * include/ext/pb_assoc/detail/ov_tree_map_/ov_tree_map_.hpp: New.
1210 * include/ext/pb_assoc/detail/ov_tree_map_/split_join_fn_imps.hpp: New.
1211 * include/ext/pb_assoc/detail/rb_tree_map_/
1212 constructors_destructor_fn_imps.hpp: New.
1213 * include/ext/pb_assoc/detail/rb_tree_map_/debug_fn_imps.hpp: New.
1214 * include/ext/pb_assoc/detail/rb_tree_map_/erase_fn_imps.hpp: New.
1215 * include/ext/pb_assoc/detail/rb_tree_map_/find_fn_imps.hpp: New.
1216 * include/ext/pb_assoc/detail/rb_tree_map_/info_fn_imps.hpp: New.
1217 * include/ext/pb_assoc/detail/rb_tree_map_/insert_fn_imps.hpp: New.
1218 * include/ext/pb_assoc/detail/rb_tree_map_/node.hpp: New.
1219 * include/ext/pb_assoc/detail/rb_tree_map_/rb_tree_.hpp: New.
1220 * include/ext/pb_assoc/detail/rb_tree_map_/split_join_fn_imps.hpp: New.
1221 * include/ext/pb_assoc/detail/resize_policy/
1222 cc_hash_max_collision_resize_trigger_imp.hpp: New.
1223 * include/ext/pb_assoc/detail/resize_policy/
1224 hash_exponential_size_policy_imp.hpp: New.
1225 * include/ext/pb_assoc/detail/resize_policy/
1226 hash_load_check_resize_trigger_imp.hpp: New.
1227 * include/ext/pb_assoc/detail/resize_policy/
1228 hash_prime_size_policy_imp.hpp: New.
1229 * include/ext/pb_assoc/detail/resize_policy/
1230 hash_standard_resize_policy_imp.hpp: New.
1231 * include/ext/pb_assoc/detail/resize_policy/
1232 ht_prime_size_policy_imp.hpp: New.
1233 * include/ext/pb_assoc/detail/resize_policy/size_base.hpp: New.
1234 * include/ext/pb_assoc/detail/splay_tree_/
1235 constructors_destructor_fn_imps.hpp: New.
1236 * include/ext/pb_assoc/detail/splay_tree_/debug_fn_imps.hpp: New.
1237 * include/ext/pb_assoc/detail/splay_tree_/erase_fn_imps.hpp: New.
1238 * include/ext/pb_assoc/detail/splay_tree_/find_fn_imps.hpp: New.
1239 * include/ext/pb_assoc/detail/splay_tree_/info_fn_imps.hpp: New.
1240 * include/ext/pb_assoc/detail/splay_tree_/insert_fn_imps.hpp: New.
1241 * include/ext/pb_assoc/detail/splay_tree_/node.hpp: New.
1242 * include/ext/pb_assoc/detail/splay_tree_/splay_fn_imps.hpp: New.
1243 * include/ext/pb_assoc/detail/splay_tree_/splay_tree_.hpp: New.
1244 * include/ext/pb_assoc/detail/splay_tree_/split_join_fn_imps.hpp: New.
1245 * include/ext/pb_assoc/detail/tree_assoc_cntnr/
1246 constructor_destructor_fn_imps.hpp: New.
1247 * include/ext/pb_assoc/detail/tree_policy/
1248 null_node_updator_imp.hpp: New.
1249 * include/ext/pb_assoc/detail/tree_policy/
1250 order_statistics_imp.hpp: New.
1251 * include/ext/pb_assoc/detail/typelist/typelist_append.hpp: New.
1252 * include/ext/pb_assoc/detail/typelist/typelist_apply.hpp: New.
1253 * include/ext/pb_assoc/detail/typelist/typelist_at_index.hpp: New.
1254 * include/ext/pb_assoc/detail/typelist/typelist_contains.hpp: New.
1255 * include/ext/pb_assoc/detail/typelist/typelist_filter.hpp: New.
1256 * include/ext/pb_assoc/detail/typelist/typelist_transform.hpp: New.
1257 * include/ext/pb_assoc/detail/typelist/
1258 typelist_typelist_append.hpp: New.
1259 * include/ext/pb_assoc/detail/unordered_iterator/
1260 const_find_iterator.hpp: New.
1261 * include/ext/pb_assoc/detail/unordered_iterator/
1262 const_iterator.hpp: New.
1263 * include/ext/pb_assoc/detail/unordered_iterator/
1264 find_iterator.hpp: New.
1265 * include/ext/pb_assoc/detail/unordered_iterator/iterator.hpp: New.
1266 * include/ext/pb_assoc/detail/value_type_adapter/
1267 constructor_destructor_and_related.hpp: New.
1268 * include/ext/pb_assoc/detail/value_type_adapter/
1269 erase_fn_imps.hpp: New.
1270 * include/ext/pb_assoc/detail/value_type_adapter/
1271 erase_if_pred.hpp: New.
1272 * include/ext/pb_assoc/detail/value_type_adapter/find_fn_imps.hpp: New.
1273 * include/ext/pb_assoc/detail/value_type_adapter/info_fn_imps.hpp: New.
1274 * include/ext/pb_assoc/detail/value_type_adapter/
1275 insert_fn_imps.hpp: New.
1276 * include/ext/pb_assoc/detail/value_type_adapter/
1277 invalidation_guarantee_selector.hpp: New.
1278 * include/ext/pb_assoc/detail/value_type_adapter/
1279 it_value_type_traits.hpp: New.
1280 * include/ext/pb_assoc/detail/value_type_adapter/iterator.hpp: New.
1281 * include/ext/pb_assoc/detail/value_type_adapter/
1282 iterator_fn_imps.hpp: New.
1283 * include/ext/pb_assoc/detail/value_type_adapter/ref_pair.hpp: New.
1284 * include/ext/pb_assoc/detail/value_type_adapter/
1285 value_type_adapter.hpp: New.
1286 * include/ext/pb_assoc/detail/value_type_adapter/
1287 value_type_traits.hpp: New.
1288 * testsuite/Makefile.am (CLEANFILES): Add .o, .dat, .cc.
1289 * testsuite/Makefile.in: Regenerate.
1290 * testsuite/testsuite_common_types.h: New.
1291 * testsuite/testsuite_visualization.h: New.
1292 * testsuite/ext/pb_assoc/example/basic_map.cc: New.
1293 * testsuite/ext/pb_assoc/example/basic_multimap.cc: New.
1294 * testsuite/ext/pb_assoc/example/basic_set.cc: New.
1295 * testsuite/ext/pb_assoc/example/ds_traits.cc: New.
1296 * testsuite/ext/pb_assoc/example/erase_if.cc: New.
1297 * testsuite/ext/pb_assoc/example/extract_key.cc: New.
1298 * testsuite/ext/pb_assoc/example/hash_find_neg.cc: New.
1299 * testsuite/ext/pb_assoc/example/hash_illegal_resize.cc: New.
1300 * testsuite/ext/pb_assoc/example/hash_initial_size.cc: New.
1301 * testsuite/ext/pb_assoc/example/hash_load_set_change.cc: New.
1302 * testsuite/ext/pb_assoc/example/hash_mod.cc: New.
1303 * testsuite/ext/pb_assoc/example/hash_resize.cc: New.
1304 * testsuite/ext/pb_assoc/example/hash_resize_neg.cc: New.
1305 * testsuite/ext/pb_assoc/example/hash_shift_mask.cc: New.
1306 * testsuite/ext/pb_assoc/example/mapping_level.cc: New.
1307 * testsuite/ext/pb_assoc/example/mapping_level_neg.cc: New.
1308 * testsuite/ext/pb_assoc/example/ms_traits.cc: New.
1309 * testsuite/ext/pb_assoc/example/ranged_hash.cc: New.
1310 * testsuite/ext/pb_assoc/example/store_hash.cc: New.
1311 * testsuite/ext/pb_assoc/example/tree_intervals.cc: New.
1312 * testsuite/ext/pb_assoc/example/tree_join.cc: New.
1313 * testsuite/ext/pb_assoc/example/tree_order_statistics.cc: New.
1314 * testsuite/ext/pb_assoc/example/tree_order_statistics_join.cc: New.
1315 * testsuite/ext/pb_assoc/example/tree_split.cc: New.
1316 * testsuite/performance/20_util/allocator/(insert.cc,
1317 insert_insert.cc, list_sort_search.cc, map_mt_find.cc, map_thread.cc,
1318 producer_consumer.cc): Recast to use typelists and move to...
1319 * testsuite/performance/23_containers/find/map.cc: New.
1320 * testsuite/performance/23_containers/index/map.cc: New.
1321 * testsuite/performance/23_containers/insert/associative.cc: New.
1322 * testsuite/performance/23_containers/insert/sequence.cc: New.
1323 * testsuite/performance/23_containers/insert_erase/associative.cc: New.
1324 * testsuite/performance/23_containers/producer_consumer/
1325 (associative.cc, sequence.cc): New.
1326 * testsuite/performance/23_containers/sort_search/list.cc: New.
1327 * testsuite/performance/23_containers/container_benchmark.cc: Remove.
1328 * testsuite/performance/23_containers/map_create_fill.cc: Move...
1329 * testsuite/performance/23_containers/create/map.cc: ...here.
1330 * testsuite/performance/23_containers/set_create_from_sorted.cc: Move.
1331 * testsuite/performance/23_containers/create_from_sorted/set.cc: here.
1332 * testsuite/performance/23_containers/list_create_fill_sort.cc: Move...
1333 * testsuite/performance/23_containers/create_sort/list.cc: ...here.
1334 * testsuite/performance/23_containers/set_insert_from_sorted.cc: Move.
1335 * testsuite/performance/23_containers/insert_from_sorted/set.cc: here.
1336
1337 2005-06-23 Jakub Jelinek <jakub@redhat.com>
1338
1339 PR libstdc++/22109
1340 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove.
1341 (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream,
1342 _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length,
1343 _M_set_length_and_sharable, ignore, eq): Define to XX suffixed
1344 variants.
1345 (ignore (streamsize)): Remove _W prefixed aliases.
1346 (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL,
1347 _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove.
1348 (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument.
1349 Use #XXname instead of #name as the alias argument.
1350 * config/abi/compatibility.h: Replace uses of
1351 _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always
1352 pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro.
1353 * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15
1354 change.
1355 * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400.
1356 * configure: Rebuilt.
1357
1358 2005-06-19 Benjamin Kosnik <bkoz@redhat.com>
1359
1360 PR libstdc++/22111
1361 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove
1362 GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define.
1363 Don't enable abi testing unless versioned.
1364 * configure: Regenerate.
1365 * testsuite/Makefile.am (check-abi): Remove conditional.
1366 * testsuite/Makefile.in: Regenerate.
1367 * testsuite/libstdc++-abi/abi.exp: Call build_support, then check
1368 v3-symver before proceeding.
1369 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers
1370 if _GLIBCXX_SYMVER.
1371
1372 2005-06-17 Paolo Carlini <pcarlini@suse.de>
1373
1374 Port from libstdcxx_so_7-branch:
1375 2005-01-12 Christopher Jefferson <chris@bubblescope.net>
1376
1377 * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t,
1378 mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t,
1379 mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void
1380 return type, just an old HP/SGI workaround.
1381 * testsuite/20_util/functional/binders.cc: Move to...
1382 * testsuite/20_util/functional/binders/3113.cc: ...here.
1383 * testsuite/20_util/functional/binders/1.cc: New.
1384
1385 2005-06-17 Jonathan Wakely <redi@gcc.gnu.org>
1386
1387 * docs/html/21_strings/gotw29a.txt: Update code to corrected version.
1388
1389 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1390 Benjamin Kosnik <bkoz@redhat.com>
1391
1392 * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update.
1393 * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same.
1394 * config/abi/mips-linux-gnu/baseline_symbols.txt: Same.
1395 * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same.
1396
1397 * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove.
1398 * config/abi/i386-freebsd4/baseline_symbols.txt: Same.
1399 * config/abi/i386-freebsd5/baseline_symbols.txt: Same.
1400 * config/abi/sparc-freebsd5/baseline_symbols.txt: Same.
1401
1402 * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove.
1403 * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same.
1404
1405 2005-06-17 Jakub Jelinek <jakub@redhat.com>
1406
1407 * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update.
1408 * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update.
1409 * config/abi/s390-linux-gnu/baseline_symbols.txt: Update.
1410 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update.
1411 * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
1412 * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update.
1413 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update.
1414 * config/abi/i386-linux-gnu/baseline_symbols.txt: Update.
1415 * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file.
1416 * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file.
1417
1418 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1419
1420 * src/compatibility.cc: Include bits/c++config.h first.
1421 (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER
1422 and PIC are both defined.
1423 * include/bits/char_traits.h (char_traits::eq): Rename
1424 only if _GLIBCXX_SYMVER_COMPATIBILITY is defined.
1425
1426 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1427
1428 * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT
1429 to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT.
1430 * configure: Regenerate.
1431 * config.h.in: Regenerate.
1432 * src/compatibility.cc (istream:ignore(streamsize)): Use
1433 _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT.
1434 * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT
1435 to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT
1436 instead for symbols with streamsize arguments.
1437
1438 2005-06-16 Jakub Jelinek <jakub@redhat.com>
1439
1440 * config/linker-map.gnu: Also export
1441 _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il].
1442
1443 2005-06-15 Benjamin Kosnik <bkoz@redhat.com>
1444
1445 * configure.ac (libtool_VERSION): To 6:6:0.
1446 * configure: Regenerate.
1447 * config/linker-map.gnu: Edit.
1448 * src/istream.cc: Move istream::ignore(streamsize) specializations...
1449 * src/compatibility.cc: ...here. New.
1450 * include/bits/char_traits.h (char_traits::eq): Rename when
1451 appropriate.
1452 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT.
1453 Bump glibcxx_min_gnu_ld_version to 21590.
1454 * configure: Regenerate.
1455 * acconfig.h: Remove _GLIBCXX_ASM_SYMVER.
1456 * config.h.in: Regenerate.
1457 * src/Makefile.am (sources): Add compatibility.cc.
1458 * src/Makefile.in: Regenerate.
1459 * include/Makefile.am (host_headers_noinst): Add compatibility.h.
1460 * include/Makefile.in: Regenerate.
1461 * testsuite/testsuite_abi.h (symbol): Add data members.
1462 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5,
1463 GLIBCXX_3.4.6. Remove deprecated versions. Do a better job
1464 version checking.
1465
1466 2005-06-15 Paolo Carlini <pcarlini@suse.de>
1467
1468 * include/tr1/hashtable: Trivial formatting fixes.
1469 * include/tr1/unordered_map: Likewise.
1470 * include/tr1/unordered_set: Likewise.
1471
1472 2005-06-14 Tom Tromey <tromey@redhat.com>
1473
1474 PR libgcj/19877:
1475 * configure, aclocal.m4: Rebuilt.
1476 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1477 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1478 testsuite/Makefile.in: Likewise.
1479
1480 2005-06-08 Benjamin Kosnik <bkoz@redhat.com>
1481
1482 PR libstdc++/21955
1483 * include/std/std_sstream.h (basic_stringbuf::showmanyc): Add.
1484 Remove unnecessary this->_M_mode decoration.
1485 * include/bits/fstream.tcc: Adjust line spacing.
1486 * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: New, test
1487 base class behavior.
1488 * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Same.
1489 * testsuite/27_io/basic_stringbuf/in_avail/char/21955.cc: New.
1490 * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Match
1491 filebuf behavior.
1492 * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Same.
1493 * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Same.
1494 * testsuite/27_io/basic_stringbuf/str/char/1.cc: Same.
1495 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Move...
1496 * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: ...here.
1497
1498 2005-06-07 Benjamin Kosnik <bkoz@redhat.com>
1499
1500 * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex
1501 tests.
1502 * configure: Regenerated.
1503
1504 2005-06-07 Adrian Straetling <straetling@de.ibm.com>
1505
1506 * config/cpu/s390/atomicity.h: (__exchange_and_add,
1507 __atomic_add): Use the builtins for atomic memory operations.
1508
1509 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1510
1511 PR libstdc++/21770 (cont: __gnu_debug::string)
1512 * include/debug/string: Use _Base typedefs for pointer, const_pointer,
1513 reference, const_reference, size_type, difference_type.
1514 * testsuite/21_strings/basic_string/2.cc: New.
1515
1516 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1517
1518 PR libstdc++/21770 (cont: debug-mode)
1519 * include/debug/deque: Use _Base typedefs for pointer, const_pointer,
1520 reference, const_reference.
1521 * include/debug/list: Likewise.
1522 * include/debug/map.h: Likewise.
1523 * include/debug/multimap.h: Likewise.
1524 * include/debug/multiset.h: Likewise.
1525 * include/debug/set.h: Likewise.
1526 * include/debug/vector: Likewise.
1527
1528 2005-06-06 Paolo Carlini <pcarlini@suse.de>
1529
1530 Port from libstdcxx_so_7-branch:
1531 2004-09-24 Paolo Carlini <pcarlini@suse.de>
1532 Jonathan Wakely <redi@gcc.gnu.org>
1533
1534 * include/bits/stl_list.h (list::list(size_type, value_type,
1535 const allocator_type&): Implement according to the letter of the
1536 standard, i.e., don't use two overloads, not equivalent in case
1537 of non default constructible T.
1538 (list::resize(size_type, const value_type&)): Fix the signature:
1539 according to the standard the second argument is by value; also,
1540 don't use two overloads.
1541 * include/bits/list.tcc (list::resize(size_type, const value_type&)):
1542 Adjust consistently the signature.
1543 * include/bits/stl_deque.h (deque::deque(size_type, value_type,
1544 const allocator_type&)): Likewise.
1545 (deque::resize(size_type, const value_type&)): Likewise.
1546 * include/bits/stl_vector.h (vector::vector(size_type, value_type,
1547 const allocator_type&)): Likewise.
1548 (vector::resize(size_type, const value_type&)): Likewise.
1549 * testsuite/testsuite_hooks.h: Add NonDefaultConstructible test type.
1550 * testsuite/23_containers/deque/explicit_instantiation/2.cc: New.
1551 * testsuite/23_containers/list/explicit_instantiation/2.cc: New.
1552 * testsuite/23_containers/map/explicit_instantiation/2.cc: New.
1553 * testsuite/23_containers/multimap/explicit_instantiation/2.cc: New.
1554 * testsuite/23_containers/multiset/explicit_instantiation/2.cc: New.
1555 * testsuite/23_containers/set/explicit_instantiation/2.cc: New.
1556 * testsuite/23_containers/vector/explicit_instantiation/2.cc: New.
1557
1558 * include/bits/deque.tcc: Minor formatting fix.
1559
1560 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1561
1562 * include/bits/stl_function.h: ... and another one.
1563
1564 2005-06-06 Peter Doerfler <doerfler@techinfo.rwth-aachen.de>
1565
1566 * include/bits/stl_function.h: Fix typo in comment.
1567
1568 2005-06-05 Paolo Carlini <pcarlini@suse.de>
1569
1570 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl
1571 too for ac_c99_complex.
1572 * configure: Regenerate.
1573
1574 2005-06-03 Paolo Carlini <pcarlini@suse.de>
1575
1576 PR libstdc++/21770
1577 * include/bits/stl_deque.h: Add concept-check. In class _Deque_base
1578 rebind _Alloc to _Tp_alloc_type, change _Deque_impl to inherit from
1579 the latter and add _M_get_Tp_allocator() which returns it. Use
1580 everywhere _M_get_Tp_allocator() instead of get_allocator().
1581 * include/bits/deque.tcc: Likewise, use _M_get_Tp_allocator().
1582 * include/bits/stl_list.h: Add concept-check. In class _List_base
1583 rebind _Alloc to _Tp_alloc_type and add _M_get_Tp_allocator(), which
1584 returns the allocator (of type _Node_alloc_type) converted to
1585 _Tp_alloc_type. Use everywhere _M_get_Tp_allocator() instead of
1586 get_allocator().
1587 * include/bits/list.tcc: Likewise, use _M_get_Tp_allocator().
1588 * include/bits/stl_vector.h: Add concept-check. In class _Vector_base
1589 rebind _Alloc to _Tp_alloc_type, change _Vector_impl to inherit from
1590 the latter and add _M_get_Tp_allocator() which returns it. Use
1591 everywhere _M_get_Tp_allocator() instead of get_allocator().
1592 * include/bits/vector.tcc: Likewise, use _M_get_Tp_allocator().
1593 * include/bits/stl_map.h: Add concept-check. Rebind _Alloc to
1594 _Pair_alloc_type and use it for _Rb_tree.
1595 * include/bits/stl_multimap.h: Likewise.
1596 * include/bits/stl_multiset.h: Add concept-check. Rebind _Alloc to
1597 _Key_alloc_type and use it for _Rb_tree.
1598 * include/bits/stl_set.h: Likewise.
1599 * include/bits/basic_string.h: Rebind _Alloc to _CharT_alloc_type and
1600 use it for the allocator typedefs.
1601 * testsuite/21_strings/basic_string/1.cc: New.
1602 * testsuite/23_containers/deque/explicit_instantiation.cc: Move to...
1603 * testsuite/23_containers/deque/explicit_instantiation/1.cc: ... here.
1604 * testsuite/23_containers/deque/explicit_instantiation/3.cc: New.
1605 * testsuite/23_containers/list/explicit_instantiation.cc: Move to...
1606 * testsuite/23_containers/list/explicit_instantiation/1.cc: ... here.
1607 * testsuite/23_containers/list/explicit_instantiation/3.cc: New.
1608 * testsuite/23_containers/map/explicit_instantiation.cc: Move to...
1609 * testsuite/23_containers/map/explicit_instantiation/1.cc: ... here.
1610 * testsuite/23_containers/map/explicit_instantiation/3.cc: New.
1611 * testsuite/23_containers/multimap/explicit_instantiation.cc: Move to...
1612 * testsuite/23_containers/multimap/explicit_instantiation/1.cc: .. here.
1613 * testsuite/23_containers/multimap/explicit_instantiation/3.cc: New.
1614 * testsuite/23_containers/multiset/explicit_instantiation.cc: Move to...
1615 * testsuite/23_containers/multiset/explicit_instantiation/1.cc: .. here.
1616 * testsuite/23_containers/multiset/explicit_instantiation/3.cc: New.
1617 * testsuite/23_containers/set/explicit_instantiation.cc: Move to...
1618 * testsuite/23_containers/set/explicit_instantiation/1.cc: .. here.
1619 * testsuite/23_containers/set/explicit_instantiation/3.cc: New.
1620 * testsuite/23_containers/vector/explicit_instantiation.cc: Move to...
1621 * testsuite/23_containers/vector/explicit_instantiation/1.cc: ... here.
1622 * testsuite/23_containers/vector/explicit_instantiation/3.cc: New.
1623
1624 2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
1625
1626 PR c++/21280
1627 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors.
1628 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1629
1630 2005-05-31 Paolo Carlini <pcarlini@suse.de>
1631
1632 PR libstdc++/20534 (contd)
1633 * include/debug/macros.h: Add _GLIBCXX_DEBUG_ABORT, using
1634 __gnu_debug::__fancy_abort.
1635 * src/debug.cc: Define the latter.
1636 * include/debug/debug.h: Use _GLIBCXX_DEBUG_ABORT instead of
1637 assert.
1638 * config/linker-map.gnu (__gnu_debug::__fancy_abort): Add.
1639
1640 2005-05-30 Paolo Carlini <pcarlini@suse.de>
1641
1642 * include/std/std_complex.h (log(const complex<_Tp>&)): When
1643 _GLIBCXX_USE_C99_COMPLEX, forward to __builtin_clog/clogf/clogl.
1644
1645 2005-05-28 Paolo Carlini <pcarlini@suse.de>
1646
1647 Revert:
1648 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1649 Nathan Myers <ncm@cantrip.org>
1650
1651 PR libstdc++/19495
1652 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1653 size_type instead of char and rename to _Raw_alloc.
1654 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1655 Use the above.
1656 * src/bitmap_allocator.cc: Add instantiation for size_type.
1657 * src/mt_allocator.cc: Likewise.
1658 * src/pool_allocator.cc: Likewise.
1659 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1660 the existence of an _Array::begin() and size() members.
1661 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1662 of size_type, instead of char, thus avoiding problems with
1663 rebinds, not treated correctly by array_allocator.
1664
1665 2005-05-27 Paolo Carlini <pcarlini@suse.de>
1666
1667 * docs/html/abi.html: Mention 3.4.0 as the current baseline; add
1668 a notice about the configure options.
1669
1670 2005-05-27 Mark Mitchell <mark@codesourcery.com>
1671
1672 * docs/html/test.html: Mention PCH_CXXFLAGS.
1673 * testsuite/lib/libstdc++.exp: Set PCH_CXXFLAGS by probing for an
1674 available stcd++.h PCH.
1675 * testsuite/libstdc++-dg/normal.exp: Use PCH_CXXFLAGS.
1676
1677 2005-05-27 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1678
1679 * src/misc-inst.cc: Remove unnecessary included files.
1680
1681 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1682
1683 PR libstdc++/21674
1684 * include/bits/c++config: Remove extern template use when in debug
1685 mode, disable for non-weak systems.
1686
1687 2005-05-27 Benjamin Kosnik <bkoz@redhat.com>
1688
1689 PR libstdc++/20534
1690 * include/debug/debug.h: Forwarding header, that pulls in details
1691 only if in debug mode.
1692 * include/debug/macros.h: ...transfer all the internal macros here.
1693 * include/debug/functions.h: ...transfer all the functions here.
1694 * include/debug/safe_iterator.h: Add functions.h, macros.h includes.
1695 * include/debug/safe_sequence.h: Same.
1696 * include/debug/vector: Tweak.
1697 * include/Makefile.am (debug_headers): Add new includes.
1698 * include/Makefile.in: Regenerate.
1699 * testsuite/17_intro/no_assert_neg.cc: Add.
1700
1701 * include/ext/hash_set: Add debug mode include.
1702 * include/ext/hash_map: Same.
1703 * include/debug/hash_map: Fix included files to match actual files.
1704 * include/debug/hash_set: Same.
1705
1706 2005-05-26 Paolo Carlini <pcarlini@suse.de>
1707
1708 PR libstdc++/13943
1709 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv,
1710 available when _GLIBCXX_USE_C99 is defined.
1711 * testsuite/26_numerics/cstdlib/13943.cc: New.
1712
1713 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check
1714 also strtoll and strtoull for ac_c99_stdlib.
1715 * configure: Regenerate.
1716
1717 2005-05-25 Benjamin Kosnik <bkoz@redhat.com>
1718
1719 * config/linker-map.gnu: Add linkage support for no extern templates.
1720 (std::ios_base::_M_call_callbacks): Add.
1721 (std::ios_base::_M_dispose_callbacks): Add.
1722 (std::locale::facet::_S_get_c_name): Add.
1723 (std::__copy_streambufs): Add.
1724 * configure.ac (libtool_VERSION): To 6:5:0.
1725 * configure: Regenerate.
1726 * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5.
1727
1728 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1729
1730 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
1731 Use, consistently, traits_type::assign.
1732
1733 2005-05-25 Paolo Carlini <pcarlini@suse.de>
1734
1735 * config/cpu/alpha/atomicity.h: Use the builtins for
1736 atomic memory operations.
1737 * config/cpu/powerpc/atomicity.h: Likewise.
1738 * config/cpu/ia64/atomicity.h: Do not include ia64intrin.h.
1739
1740 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1741
1742 * testsuite/25_algorithms/equal.cc: Move to...
1743 * testsuite/25_algorithms/equal: ... here.
1744 * testsuite/25_algorithms/lower_bound.cc: Move to...
1745 * testsuite/25_algorithms/lower_bound: ... here.
1746
1747 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1748
1749 Port from libstdcxx_so_7-branch:
1750 2005-20-05 Chris Jefferson <chris@bubblescope.net>
1751
1752 * testsuite/25_algorithms/heap.cc: Move to...
1753 * testsuite/25_algorithms/heap/heap.cc: ...here.
1754 * testsuite/25_algorithms/partition.cc: Move to...
1755 * testsuite/25_algorithms/partition/partition.cc: ...here.
1756
1757 2005-03-29 Christopher Jefferson <chris@bubblescope.net>
1758
1759 * testsuite/25_algorithms/includes/1.cc: Add tests.
1760 * testsuite/25_algorithms/search/1.cc: Likewise.
1761 * testsuite/25_algorithms/unique_copy/1.cc: Likewise.
1762 * testsuite/25_algorithms/swap_ranges/1.cc: New.
1763 * testsuite/25_algorithms/swap_ranges/check_type.cc: New.
1764 * testsuite/25_algorithms/rotate.cc: Move to...
1765 * testsuite/25_algorithms/rotate/rotate.cc: ... here.
1766 * testsuite/25_algorithms/rotate/1.cc: New.
1767 * testsuite/25_algorithms/rotate/check_type.cc: New.
1768 * testsuite/25_algorithms/search_n/iterator.cc: Fix typo.
1769
1770 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
1771
1772 * include/bits/stl_algo.h (replace_copy, replace_copy_if):
1773 Don't assume that __new_value and *__first are convertible to
1774 each other.
1775
1776 * testsuite/25_algorithms/find/1.cc: New.
1777 * testsuite/25_algorithms/find/check_type.cc: New.
1778 * testsuite/25_algorithms/find_if/1.cc: New.
1779 * testsuite/25_algorithms/find_if/check_type.cc: New.
1780 * testsuite/25_algorithms/replace/1.cc: New.
1781 * testsuite/25_algorithms/replace/check_type.cc: New.
1782 * testsuite/25_algorithms/replace_if/1.cc: New.
1783 * testsuite/25_algorithms/replace_if/check_type.cc: New.
1784 * testsuite/25_algorithms/replace_copy/1.cc: New.
1785 * testsuite/25_algorithms/replace_copy/check_type.cc: New.
1786 * testsuite/25_algorithms/replace_copy_if/1.cc: New.
1787 * testsuite/25_algorithms/replace_copy_if/check_type.cc: New.
1788 * testsuite/25_algorithms/remove/1.cc: New.
1789 * testsuite/25_algorithms/remove/check_type.cc: New.
1790 * testsuite/25_algorithms/remove_if/1.cc: New.
1791 * testsuite/25_algorithms/remove_if/check_type.cc: New.
1792 * testsuite/25_algorithms/count/1.cc: New.
1793 * testsuite/25_algorithms/count/check_type.cc: New.
1794 * testsuite/25_algorithms/count_if/1.cc: New.
1795 * testsuite/25_algorithms/count_if/check_type.cc: New.
1796
1797 2005-02-27 Christopher Jefferson <chris@bubblescope.net>
1798 Paolo Carlini <pcarlini@suse.de>
1799
1800 * testsuite/ext/is_heap/check_type.cc: New.
1801
1802 2005-02-27 Paolo Carlini <pcarlini@suse.de>
1803
1804 * testsuite/ext/is_heap/1.cc: New.
1805
1806 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
1807
1808 * testsuite/ext/median.cc: New.
1809 * testsuite/25_algorithms/adjacent_find/1.cc: New.
1810 * testsuite/25_algorithms/adjacent_find/check_type.cc: New.
1811 * testsuite/25_algorithms/search/1.cc: New.
1812 * testsuite/25_algorithms/search/check_type.cc: New.
1813 * testsuite/25_algorithms/unique_copy/1.cc: New.
1814 * testsuite/25_algorithms/unique_copy/check_type.cc: New.
1815 * testsuite/25_algorithms/partial_sort/1.cc: New.
1816 * testsuite/25_algorithms/partial_sort/check_type.cc: New.
1817 * testsuite/25_algorithms/partial_sort_copy/1.cc: New.
1818 * testsuite/25_algorithms/partial_sort_copy/check_type.cc: New.
1819 * testsuite/25_algorithms/lower_bound/1.cc: New.
1820 * testsuite/25_algorithms/lower_bound/check_type.cc: New.
1821 * testsuite/25_algorithms/upper_bound/1.cc: New.
1822 * testsuite/25_algorithms/upper_bound/check_type.cc: New.
1823 * testsuite/25_algorithms/merge/1.cc: New.
1824 * testsuite/25_algorithms/merge/check_type.cc: New.
1825 * testsuite/25_algorithms/inplace_merge/1.cc: New.
1826 * testsuite/25_algorithms/inplace_merge/check_type.cc: New.
1827 * testsuite/25_algorithms/stable_sort/1.cc: New.
1828 * testsuite/25_algorithms/stable_sort/check_type.cc: New.
1829 * testsuite/25_algorithms/nth_element/1.cc: New.
1830 * testsuite/25_algorithms/nth_element/check_type.cc: New.
1831 * testsuite/25_algorithms/equal_range/1.cc: New.
1832 * testsuite/25_algorithms/equal_range/check_type.cc: New.
1833 * testsuite/25_algorithms/binary_search/1.cc: New.
1834 * testsuite/25_algorithms/binary_search/check_type.cc: New.
1835 * testsuite/25_algorithms/includes/1.cc: New.
1836 * testsuite/25_algorithms/includes/check_type.cc: New.
1837 * testsuite/25_algorithms/set_union/1.cc: New.
1838 * testsuite/25_algorithms/set_union/check_type.cc: New.
1839 * testsuite/25_algorithms/set_intersection/1.cc: New.
1840 * testsuite/25_algorithms/set_intersection/check_type.cc: New.
1841 * testsuite/25_algorithms/set_difference/1.cc: New.
1842 * testsuite/25_algorithms/set_difference/check_type.cc: New.
1843 * testsuite/25_algorithms/set_symmetric_difference/1.cc: New.
1844 * testsuite/25_algorithms/set_symmetric_difference/check_type.cc: New.
1845 * testsuite/25_algorithms/min_element/1.cc: New.
1846 * testsuite/25_algorithms/min_element/check_type.cc: New.
1847 * testsuite/25_algorithms/max_element/1.cc: New.
1848 * testsuite/25_algorithms/max_element/check_type.cc: New.
1849 * testsuite/25_algorithms/prev_permutation/1.cc: New.
1850 * testsuite/25_algorithms/prev_permutation/check_type.cc: New.
1851 * testsuite/25_algorithms/next_permutation/1.cc: New.
1852 * testsuite/25_algorithms/next_permutation/check_type.cc: New.
1853 * testsuite/25_algorithms/find_first_of/1.cc: New.
1854 * testsuite/25_algorithms/find_first_of/check_type.cc: New.
1855 * testsuite/25_algorithms/find_end/1.cc: New.
1856 * testsuite/25_algorithms/find_end/check_type.cc: New.
1857 * testsuite/25_algorithms/equal/check_type.cc: Insert iterator type.
1858 * testsuite/25_algorithms/lexicographical_compare/check_type.cc:
1859 Likewise.
1860
1861 2005-01-10 Christopher Jefferson <chris@bubblescope.net>
1862
1863 * testsuite/25_algorithms/lexicographical_compare/check_type.cc: New.
1864 * testsuite/25_algorithms/lexicographical_compare/1.cc: Likewise.
1865 * testsuite/25_algorithms/mismatch/check_type.cc: Likewise.
1866 * testsuite/25_algorithms/mismatch/1.cc: Likewise.
1867 * testsuite/25_algorithms/equal/check_type.cc: New.
1868 * testsuite/25_algorithms/equal/1.cc: New.
1869
1870 2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
1871
1872 * include/bits/allocator.h: Change ___glibcxx_base_allocator to
1873 __glibcxx_base_allocator.
1874 * config/allocator/bitmap_allocator_base.h: Same.
1875 * config/allocator/malloc_allocator_base.h: Same.
1876 * config/allocator/mt_allocator_base.h: Same.
1877 * config/allocator/new_allocator_base.h: Same.
1878 * config/allocator/pool_allocator_base.h: Same.
1879
1880 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org>
1881
1882 * include/debug/string (class basic_string): Add missing
1883 default template arguments; provide typedefs for char
1884 and wchar_t.
1885 (operator[]): Allow s[s.size()] in debug mode, but not
1886 pedantic mode.
1887
1888 2005-05-24 Paolo Carlini <pcarlini@suse.de>
1889
1890 Port from libstdcxx_so_7-branch:
1891 2005-04-25 Christopher Jefferson <chris@bubblescope.net>
1892
1893 * include/bits/stl_algo.h (count): Correct concept checks.
1894 (search_n) : Likewise.
1895 * testsuite/25_algorithms/search_n/check_type.cc: New.
1896
1897 * testsuite/testsuite_iterators.h
1898 (random_access_iterator_wrapper::operator+): Move out of
1899 class to external function, and add symmetric version.
1900
1901 2005-03-14 Christopher Jefferson <chris@bubblescope.net>
1902
1903 * testsuite/testsuite_iterators.h (WritableObject::WritableObject):
1904 Add const.
1905
1906 2005-02-01 Christopher Jefferson <chris@bubblescope.net>
1907
1908 * testsuite/testsuite_iterators.h (random_access_iterator_wrapper::
1909 operator--): Fix typo.
1910 (OutputContainer::OutputContainer): Correct zeroing array.
1911 (WritableObject::operator==): Fix typo.
1912 (WritableObject::operator=): make operator= templated
1913 to allow differing types to be assigned.
1914 (WritableObject::operator++): Fix checking if iterator is
1915 written to multiple times.
1916 (random_access_iterator_wrapper::operator+): Add const.
1917 (random_access_iterator_wrapper::operator-): Likewise.
1918 (random_access_iterator_wrapper::operator[]): Add dereference.
1919
1920 2005-05-23 Jonathan Wakely <redi@gcc.gnu.org>
1921
1922 * docs/html/debug.html: Explain that _GLIBXX_DEBUG_PEDANTIC
1923 had to be defined for pedantic mode in 3.4 and 4.0.0.
1924
1925 2005-05-20 Jan Beulich <jbeulich@novell.com>
1926
1927 * libmath/stubs.c: Also implement fabsf/fabsl if not present in the
1928 system libraries.
1929
1930 2005-05-20 Paolo Carlini <pcarlini@suse.de>
1931
1932 * include/bits/stl_algo.h (__rotate<_RandomAccessIterator>):
1933 Don't qualify __tmp as const, _ValueType is not necessarily
1934 Assignable.
1935 * include/bits/stl_algobase.h (swap, __iter_swap<false>):
1936 Likewise, as an harmless extension.
1937
1938 2005-05-19 Richard Henderson <rth@redhat.com>
1939
1940 * libsupc++/unwind-cxx.h: Revert gcc_unreachable change.
1941
1942 2005-05-19 Jonathan Wakely <redi@gcc.gnu.org>
1943
1944 * include/bits/basic_string.h (operator[]): Allow s[s.size()] in
1945 debug mode, but not pedantic mode.
1946
1947 2005-05-19 Jan Beulich <jbeulich@novell.com>
1948
1949 * libsupc++/unwind-cxx.h: Include cstdlib.
1950 (gcc_unreachable): #define.
1951 * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
1952
1953 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1954 Nathan Myers <ncm@cantrip.org>
1955
1956 PR libstdc++/19495
1957 * include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
1958 size_type instead of char and rename to _Raw_alloc.
1959 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
1960 Use the above.
1961 * src/bitmap_allocator.cc: Add instantiation for size_type.
1962 * src/mt_allocator.cc: Likewise.
1963 * src/pool_allocator.cc: Likewise.
1964 * include/ext/array_allocator.h: Tweak slightly, avoid assuming
1965 the existence of an _Array::begin() and size() members.
1966 * testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
1967 of size_type, instead of char, thus avoiding problems with
1968 rebinds, not treated correctly by array_allocator.
1969
1970 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1971
1972 * testsuite/22_locale/ctype/is/char/2.cc: Adjust dg-require-namedlocale.
1973 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
1974 * testsuite/22_locale/time_get/get_year/char/wrapped_env.cc: Add
1975 missing dg-require-namedlocale.
1976 * testsuite/22_locale/time_get/get_year/char/wrapped_locale.cc:
1977 Likewise.
1978 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_env.cc:
1979 Likewise.
1980 * testsuite/22_locale/time_get/get_year/wchar_t/wrapped_locale.cc:
1981 Likewise.
1982
1983 2005-05-18 Paolo Carlini <pcarlini@suse.de>
1984
1985 * testsuite/testsuite_hooks.cc: Remove try_named_locale.
1986 * testsuite/testsuite_hooks.h: Remove try_named_locale.
1987 * testsuite/lib/libstdc++.exp (check_v3_target_namedlocale): New.
1988 * testsuite/lib/dg-options.exp (dg-require-namedlocale): New, uses
1989 the above.
1990 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_env.cc: Use
1991 dg-require-namedlocale.
1992 * testsuite/22_locale/codecvt/always_noconv/char/wrapped_locale.cc:
1993 Likewise.
1994 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Likewise.
1995 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Likewise.
1996 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Likewise.
1997 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc:
1998 Likewise.
1999 * testsuite/22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc:
2000 Likewise.
2001 * testsuite/22_locale/codecvt/encoding/char/wrapped_env.cc: Likewise.
2002 * testsuite/22_locale/codecvt/encoding/char/wrapped_locale.cc: Likewise.
2003 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Likewise.
2004 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Likewise.
2005 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Likewise.
2006 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: Likewise.
2007 * testsuite/22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc:
2008 Likewise.
2009 * testsuite/22_locale/codecvt/in/char/wrapped_env.cc: Likewise.
2010 * testsuite/22_locale/codecvt/in/char/wrapped_locale.cc: Likewise.
2011 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Likewise.
2012 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Likewise.
2013 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Likewise.
2014 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Likewise.
2015 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Likewise.
2016 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise.
2017 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_env.cc: Likewise.
2018 * testsuite/22_locale/codecvt/in/wchar_t/wrapped_locale.cc: Likewise.
2019 * testsuite/22_locale/codecvt/length/char/wrapped_env.cc: Likewise.
2020 * testsuite/22_locale/codecvt/length/char/wrapped_locale.cc: Likewise.
2021 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Likewise.
2022 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Likewise.
2023 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Likewise.
2024 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Likewise.
2025 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_env.cc: Likewise.
2026 * testsuite/22_locale/codecvt/length/wchar_t/wrapped_locale.cc:
2027 Likewise.
2028 * testsuite/22_locale/codecvt/max_length/char/wrapped_env.cc: Likewise.
2029 * testsuite/22_locale/codecvt/max_length/char/wrapped_locale.cc:
2030 Likewise.
2031 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Likewise.
2032 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Likewise.
2033 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Likewise.
2034 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_env.cc:
2035 Likewise.
2036 * testsuite/22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc:
2037 Likewise.
2038 * testsuite/22_locale/codecvt/out/char/wrapped_env.cc: Likewise.
2039 * testsuite/22_locale/codecvt/out/char/wrapped_locale.cc: Likewise.
2040 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Likewise.
2041 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Likewise.
2042 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Likewise.
2043 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Likewise.
2044 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_env.cc: Likewise.
2045 * testsuite/22_locale/codecvt/out/wchar_t/wrapped_locale.cc: Likewise.
2046 * testsuite/22_locale/codecvt/unshift/char/wrapped_env.cc: Likewise.
2047 * testsuite/22_locale/codecvt/unshift/char/wrapped_locale.cc: Likewise.
2048 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Likewise.
2049 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Likewise.
2050 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Likewise.
2051 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: Likewise.
2052 * testsuite/22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc:
2053 Likewise.
2054 * testsuite/22_locale/collate/compare/char/1.cc: Likewise.
2055 * testsuite/22_locale/collate/compare/char/2.cc: Likewise.
2056 * testsuite/22_locale/collate/compare/char/3.cc: Likewise.
2057 * testsuite/22_locale/collate/compare/char/wrapped_env.cc: Likewise.
2058 * testsuite/22_locale/collate/compare/char/wrapped_locale.cc: Likewise.
2059 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Likewise.
2060 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Likewise.
2061 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Likewise.
2062 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Likewise.
2063 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc:
2064 Likewise.
2065 * testsuite/22_locale/collate/hash/char/2.cc: Likewise.
2066 * testsuite/22_locale/collate/hash/char/wrapped_env.cc: Likewise.
2067 * testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Likewise.
2068 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Likewise.
2069 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Likewise.
2070 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Likewise.
2071 * testsuite/22_locale/collate/transform/char/2.cc: Likewise.
2072 * testsuite/22_locale/collate/transform/char/3.cc: Likewise.
2073 * testsuite/22_locale/collate/transform/char/wrapped_env.cc: Likewise.
2074 * testsuite/22_locale/collate/transform/char/wrapped_locale.cc:
2075 Likewise.
2076 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Likewise.
2077 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Likewise.
2078 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc:
2079 Likewise.
2080 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2081 Likewise.
2082 * testsuite/22_locale/collate_byname/named_equivalence.cc: Likewise.
2083 * testsuite/22_locale/ctype/cons/char/wrapped_env.cc: Likewise.
2084 * testsuite/22_locale/ctype/cons/char/wrapped_locale.cc: Likewise.
2085 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
2086 * testsuite/22_locale/ctype/is/char/wrapped_env.cc: Likewise.
2087 * testsuite/22_locale/ctype/is/char/wrapped_locale.cc: Likewise.
2088 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
2089 * testsuite/22_locale/ctype/is/wchar_t/wrapped_env.cc: Likewise.
2090 * testsuite/22_locale/ctype/is/wchar_t/wrapped_locale.cc: Likewise.
2091 * testsuite/22_locale/ctype/narrow/char/wrapped_env.cc: Likewise.
2092 * testsuite/22_locale/ctype/narrow/char/wrapped_locale.cc: Likewise.
2093 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Likewise.
2094 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_env.cc: Likewise.
2095 * testsuite/22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: Likewise.
2096 * testsuite/22_locale/ctype/scan/char/wrapped_env.cc: Likewise.
2097 * testsuite/22_locale/ctype/scan/char/wrapped_locale.cc: Likewise.
2098 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_env.cc: Likewise.
2099 * testsuite/22_locale/ctype/scan/wchar_t/wrapped_locale.cc: Likewise.
2100 * testsuite/22_locale/ctype/to/char/wrapped_env.cc: Likewise.
2101 * testsuite/22_locale/ctype/to/char/wrapped_locale.cc: Likewise.
2102 * testsuite/22_locale/ctype/to/wchar_t/wrapped_env.cc: Likewise.
2103 * testsuite/22_locale/ctype/to/wchar_t/wrapped_locale.cc: Likewise.
2104 * testsuite/22_locale/ctype/widen/char/wrapped_env.cc: Likewise.
2105 * testsuite/22_locale/ctype/widen/char/wrapped_locale.cc: Likewise.
2106 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Likewise.
2107 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Likewise.
2108 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_env.cc: Likewise.
2109 * testsuite/22_locale/ctype/widen/wchar_t/wrapped_locale.cc: Likewise.
2110 * testsuite/22_locale/facet/2.cc: Likewise.
2111 * testsuite/22_locale/locale/cons/12352.cc: Likewise.
2112 * testsuite/22_locale/locale/cons/12438.cc: Likewise.
2113 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
2114 * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
2115 * testsuite/22_locale/locale/cons/2.cc: Likewise.
2116 * testsuite/22_locale/locale/cons/4.cc: Likewise.
2117 * testsuite/22_locale/locale/cons/5.cc: Likewise.
2118 * testsuite/22_locale/locale/cons/7.cc: Likewise.
2119 * testsuite/22_locale/locale/cons/7222-env.cc: Likewise.
2120 * testsuite/22_locale/locale/global_locale_objects/14071.cc: Likewise.
2121 * testsuite/22_locale/locale/global_locale_objects/2.cc: Likewise.
2122 * testsuite/22_locale/messages/members/char/1.cc: Likewise.
2123 * testsuite/22_locale/messages/members/char/2.cc: Likewise.
2124 * testsuite/22_locale/messages/members/char/3.cc: Likewise.
2125 * testsuite/22_locale/messages/members/char/wrapped_env.cc: Likewise.
2126 * testsuite/22_locale/messages/members/char/wrapped_locale.cc: Likewise.
2127 * testsuite/22_locale/messages_byname/named_equivalence.cc: Likewise.
2128 * testsuite/22_locale/money_get/get/char/1.cc: Likewise.
2129 * testsuite/22_locale/money_get/get/char/10.cc: Likewise.
2130 * testsuite/22_locale/money_get/get/char/11.cc: Likewise.
2131 * testsuite/22_locale/money_get/get/char/11528.cc: Likewise.
2132 * testsuite/22_locale/money_get/get/char/12.cc: Likewise.
2133 * testsuite/22_locale/money_get/get/char/13.cc: Likewise.
2134 * testsuite/22_locale/money_get/get/char/15.cc: Likewise.
2135 * testsuite/22_locale/money_get/get/char/16.cc: Likewise.
2136 * testsuite/22_locale/money_get/get/char/17.cc: Likewise.
2137 * testsuite/22_locale/money_get/get/char/18.cc: Likewise.
2138 * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
2139 * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
2140 * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
2141 * testsuite/22_locale/money_get/get/char/wrapped_env.cc: Likewise.
2142 * testsuite/22_locale/money_get/get/char/wrapped_locale.cc: Likewise.
2143 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
2144 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Likewise.
2145 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Likewise.
2146 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Likewise.
2147 * testsuite/22_locale/money_get/get/wchar_t/12.cc: Likewise.
2148 * testsuite/22_locale/money_get/get/wchar_t/13.cc: Likewise.
2149 * testsuite/22_locale/money_get/get/wchar_t/15.cc: Likewise.
2150 * testsuite/22_locale/money_get/get/wchar_t/16.cc: Likewise.
2151 * testsuite/22_locale/money_get/get/wchar_t/17.cc: Likewise.
2152 * testsuite/22_locale/money_get/get/wchar_t/18.cc: Likewise.
2153 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
2154 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
2155 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
2156 * testsuite/22_locale/money_get/get/wchar_t/wrapped_env.cc: Likewise.
2157 * testsuite/22_locale/money_get/get/wchar_t/wrapped_locale.cc: Likewise.
2158 * testsuite/22_locale/money_put/put/char/1.cc: Likewise.
2159 * testsuite/22_locale/money_put/put/char/2.cc: Likewise.
2160 * testsuite/22_locale/money_put/put/char/3.cc: Likewise.
2161 * testsuite/22_locale/money_put/put/char/9780-3.cc: Likewise.
2162 * testsuite/22_locale/money_put/put/char/wrapped_env.cc: Likewise.
2163 * testsuite/22_locale/money_put/put/char/wrapped_locale.cc: Likewise.
2164 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Likewise.
2165 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
2166 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
2167 * testsuite/22_locale/money_put/put/wchar_t/wrapped_env.cc: Likewise.
2168 * testsuite/22_locale/money_put/put/wchar_t/wrapped_locale.cc: Likewise.
2169 * testsuite/22_locale/moneypunct/members/char/2.cc: Likewise.
2170 * testsuite/22_locale/moneypunct/members/char/wrapped_env.cc: Likewise.
2171 * testsuite/22_locale/moneypunct/members/char/wrapped_locale.cc:
2172 Likewise.
2173 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Likewise.
2174 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_env.cc:
2175 Likewise.
2176 * testsuite/22_locale/moneypunct/members/wchar_t/wrapped_locale.cc:
2177 Likewise.
2178 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: Likewise.
2179 * testsuite/22_locale/num_get/get/char/1.cc: Likewise.
2180 * testsuite/22_locale/num_get/get/char/3.cc: Likewise.
2181 * testsuite/22_locale/num_get/get/char/5.cc: Likewise.
2182 * testsuite/22_locale/num_get/get/char/6.cc: Likewise.
2183 * testsuite/22_locale/num_get/get/char/9.cc: Likewise.
2184 * testsuite/22_locale/num_get/get/char/wrapped_env.cc: Likewise.
2185 * testsuite/22_locale/num_get/get/char/wrapped_locale.cc: Likewise.
2186 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise.
2187 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Likewise.
2188 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Likewise.
2189 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Likewise.
2190 * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.
2191 * testsuite/22_locale/num_get/get/wchar_t/wrapped_env.cc: Likewise.
2192 * testsuite/22_locale/num_get/get/wchar_t/wrapped_locale.cc: Likewise.
2193 * testsuite/22_locale/num_put/put/char/1.cc: Likewise.
2194 * testsuite/22_locale/num_put/put/char/20909.cc: Likewise.
2195 * testsuite/22_locale/num_put/put/char/20914.cc: Likewise.
2196 * testsuite/22_locale/num_put/put/char/3.cc: Likewise.
2197 * testsuite/22_locale/num_put/put/char/5.cc: Likewise.
2198 * testsuite/22_locale/num_put/put/char/9780-2.cc: Likewise.
2199 * testsuite/22_locale/num_put/put/char/wrapped_env.cc: Likewise.
2200 * testsuite/22_locale/num_put/put/char/wrapped_locale.cc: Likewise.
2201 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Likewise.
2202 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2203 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2204 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2205 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2206 * testsuite/22_locale/num_put/put/wchar_t/wrapped_env.cc: Likewise.
2207 * testsuite/22_locale/num_put/put/wchar_t/wrapped_locale.cc: Likewise.
2208 * testsuite/22_locale/numpunct/members/char/2.cc: Likewise.
2209 * testsuite/22_locale/numpunct/members/char/3.cc: Likewise.
2210 * testsuite/22_locale/numpunct/members/char/wrapped_env.cc: Likewise.
2211 * testsuite/22_locale/numpunct/members/char/wrapped_locale.cc: Likewise.
2212 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Likewise.
2213 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_env.cc: Likewise.
2214 * testsuite/22_locale/numpunct/members/wchar_t/wrapped_locale.cc:
2215 Likewise.
2216 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: Likewise.
2217 * testsuite/22_locale/time_get/date_order/char/wrapped_env.cc: Likewise.
2218 * testsuite/22_locale/time_get/date_order/char/wrapped_locale.cc:
2219 Likewise.
2220 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_env.cc:
2221 Likewise.
2222 * testsuite/22_locale/time_get/date_order/wchar_t/wrapped_locale.cc:
2223 Likewise.
2224 * testsuite/22_locale/time_get/get_date/char/12750.cc: Likewise.
2225 * testsuite/22_locale/time_get/get_date/char/2.cc: Likewise.
2226 * testsuite/22_locale/time_get/get_date/char/wrapped_env.cc: Likewise.
2227 * testsuite/22_locale/time_get/get_date/char/wrapped_locale.cc:
2228 Likewise.
2229 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Likewise.
2230 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Likewise.
2231 * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: Likewise.
2232 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_env.cc:
2233 Likewise.
2234 * testsuite/22_locale/time_get/get_date/wchar_t/wrapped_locale.cc:
2235 Likewise.
2236 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Likewise.
2237 * testsuite/22_locale/time_get/get_monthname/char/wrapped_env.cc:
2238 Likewise.
2239 * testsuite/22_locale/time_get/get_monthname/char/wrapped_locale.cc:
2240 Likewise.
2241 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Likewise.
2242 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc:
2243 Likewise.
2244 * testsuite/22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc:
2245 Likewise.
2246 * testsuite/22_locale/time_get/get_time/char/1.cc: Likewise.
2247 * testsuite/22_locale/time_get/get_time/char/2.cc: Likewise.
2248 * testsuite/22_locale/time_get/get_time/char/wrapped_env.cc: Likewise.
2249 * testsuite/22_locale/time_get/get_time/char/wrapped_locale.cc:
2250 Likewise.
2251 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Likewise.
2252 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Likewise.
2253 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_env.cc:
2254 Likewise.
2255 * testsuite/22_locale/time_get/get_time/wchar_t/wrapped_locale.cc:
2256 Likewise.
2257 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Likewise.
2258 * testsuite/22_locale/time_get/get_weekday/char/wrapped_env.cc:
2259 Likewise.
2260 * testsuite/22_locale/time_get/get_weekday/char/wrapped_locale.cc:
2261 Likewise.
2262 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Likewise.
2263 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc:
2264 Likewise.
2265 * testsuite/22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc:
2266 Likewise.
2267 * testsuite/22_locale/time_put/put/char/17038.cc: Likewise.
2268 * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
2269 * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
2270 * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
2271 * testsuite/22_locale/time_put/put/char/6.cc: Likewise.
2272 * testsuite/22_locale/time_put/put/char/7.cc: Likewise.
2273 * testsuite/22_locale/time_put/put/char/8.cc: Likewise.
2274 * testsuite/22_locale/time_put/put/char/9780-1.cc: Likewise.
2275 * testsuite/22_locale/time_put/put/char/wrapped_env.cc: Likewise.
2276 * testsuite/22_locale/time_put/put/char/wrapped_locale.cc: Likewise.
2277 * testsuite/22_locale/time_put/put/wchar_t/17038.cc: Likewise.
2278 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
2279 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
2280 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
2281 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
2282 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
2283 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
2284 * testsuite/22_locale/time_put/put/wchar_t/wrapped_env.cc: Likewise.
2285 * testsuite/22_locale/time_put/put/wchar_t/wrapped_locale.cc: Likewise.
2286 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
2287 * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
2288 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2289 * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
2290 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2291 * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
2292 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
2293 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
2294 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
2295 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
2296 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
2297 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
2298 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
2299 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise.
2300 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
2301 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
2302 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
2303 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
2304 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
2305 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
2306 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
2307 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
2308 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
2309 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
2310 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
2311 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
2312 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
2313 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
2314 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
2315 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
2316 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
2317 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
2318 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
2319 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
2320 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
2321 Likewise.
2322 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
2323 Likewise.
2324 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
2325 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
2326 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
2327 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
2328 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
2329 * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
2330 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
2331 * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
2332 * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
2333 * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
2334 * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
2335 * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
2336 * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
2337 * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
2338
2339 2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
2340
2341 * libsupc++/eh_personality.cc (gcc_unreachable): Define.
2342
2343 2005-05-16 Paolo Carlini <pcarlini@suse.de>
2344
2345 * docs/html/install.html: Update list of required named
2346 locales, add "es_ES".
2347
2348 2005-05-13 Magnus Fromreide <magfr@lysator.liu.se>
2349
2350 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Use
2351 initialization instead of copying as the string is used only once.
2352 * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
2353 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2354 * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
2355
2356 2005-05-12 Benjamin Kosnik <bkoz@redhat.com>
2357
2358 * scripts/create_testsuite_files: Fix.
2359
2360 2005-05-12 Kaz Kojima <kkojima@gcc.gnu.org>
2361
2362 * testsuite/18_support/numeric_limits.cc (dg-options): Add
2363 -mieee to options on sh*-*-*.
2364
2365 2005-05-10 Jonathan Wakely <redi@gcc.gnu.org>
2366
2367 * include/debug/debug.h: Fix typo in macro name.
2368
2369 2005-05-09 Paolo Carlini <pcarlini@suse.de>
2370 Giovanni Bajo <giovannibajo@gcc.gnu.org>
2371
2372 PR libstdc++/18604
2373 * include/bits/deque.tcc: Fully qualify names from namespace std.
2374 * include/bits/stl_bvector.h: Likewise.
2375 * include/bits/stl_deque.h: Likewise.
2376 * include/bits/stl_list.h: Likewise.
2377 * include/bits/stl_map.h: Likewise.
2378 * include/bits/stl_multimap.h: Likewise.
2379 * include/bits/stl_multiset.h: Likewise.
2380 * include/bits/stl_set.h: Likewise.
2381 * include/bits/stl_vector.h: Likewise.
2382 * include/bits/vector.tcc: Likewise.
2383 * include/std/std_bitset.h: Likewise.
2384 * testsuite/23_containers/bitset/18604.cc: New.
2385 * testsuite/23_containers/deque/18604.cc: Likewise.
2386 * testsuite/23_containers/list/18604.cc: Likewise.
2387 * testsuite/23_containers/map/18604.cc: Likewise.
2388 * testsuite/23_containers/set/18604.cc: Likewise.
2389 * testsuite/23_containers/vector/18604.cc: Likewise.
2390
2391 2005-05-09 Mike Stump <mrs@apple.com>
2392
2393 * configure: Regenerate.
2394
2395 2005-05-09 Jonathan Wakely <redi@gcc.gnu.org>
2396
2397 DR 434. bitset::to_string() hard to use [Ready]
2398 * include/debug/bitset (to_string): Add three overloads, taking
2399 fewer template arguments.
2400
2401 2005-05-06 Mark Mitchell <mark@codesourcery.com>
2402
2403 * testsuite/testsuite_hooks.cc (try_mkfifo): Remove.
2404 * testsuite/testsuite_hooks.h (try_mkfifo): Likewise.
2405 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
2406 dg-require-fork and dg-require-mkfifo. Replace try_mkfifo with
2407 mkfifo.
2408 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
2409 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
2410 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
2411 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc:
2412 Likewise.
2413 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
2414 Likewise.
2415 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
2416 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc:
2417 Likewise.
2418 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
2419 * testsuite/27_io/objects/char/7.cc: Likewise.
2420 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
2421 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
2422 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
2423
2424 2005-05-04 Benjamin Kosnik <bkoz@redhat.com>
2425
2426 * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.
2427 * testsuite/Makefile.am: Same.
2428 * scripts/create_testsuite_files: Same.
2429 * Makefile.in: Regenerate.
2430 * configure: Same.
2431 * include/Makefile.in: Same.
2432 * libmath/Makefile.in: Same.
2433 * libsupc++/Makefile.in: Same.
2434 * po/Makefile.in: Same.
2435 * src/Makefile.in: Same.
2436
2437 2005-05-04 Mark Mitchell <mark@codesourcery.com>
2438
2439 * testsuite/lib/libstdc++.exp (v3-build_support): Look for
2440 __GTHREADS, rather than _GLIBCXX_HAVE_GTHR_DEFAULT, to determine
2441 whether or not thread support is available.
2442
2443 * docs/html/test.html: Explain how to run the testsuite on an
2444 installed directory.
2445
2446 2005-05-01 Paolo Carlini <pcarlini@suse.de>
2447
2448 * config/os/aix/os_defines.h: Remove obsolete __off_t,
2449 __off64_t, __ssize_t defines.
2450 * config/os/djgpp/os_defines.h: Likewise.
2451 * config/os/hpux/os_defines.h: Likewise.
2452 * config/os/irix/irix5.2/os_defines.h: Likewise.
2453 * config/os/irix/irix6.5/os_defines.h: Likewise.
2454 * config/os/solaris/solaris2.5/os_defines.h: Likewise.
2455 * config/os/solaris/solaris2.6/os_defines.h: Likewise.
2456 * config/os/solaris/solaris2.7/os_defines.h: Likewise.
2457 * docs/html/17_intro/porting.html: Don't discuss the defines.
2458 * docs/html/17_intro/porting.texi: Likewise.
2459
2460 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2461 Nathan Myers <ncm@cantrip.org>
2462
2463 PR libstdc++/21286
2464 * include/bits/fstream.tcc (basic_filebuf<>::xsgetn):
2465 Loop on short reads; remove the work-around for
2466 libstdc++/20806, not needed anymore.
2467
2468 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2469
2470 PR libstdc++/21238
2471 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
2472 num_get::_M_extract_int, num_get::do_get(bool&),
2473 num_put::_M_insert_int, num_put::_M_insert_float,
2474 num_put::do_put(bool), money_get::_M_extract,
2475 money_put::_M_insert): Adjust the __cache_type typedef not to
2476 forward to a numpunct/moneypunct typedef.
2477 * testsuite/testsuite_character.h: Add pod_uint and its numpunct
2478 and moneypunct specializations.
2479 * testsuite/testsuite_character.cc: Add numpunct<pod_uint>::id
2480 and moneypunct<pod_uint>::id.
2481 * testsuite/22_locale/num_get/3.cc: New.
2482 * testsuite/22_locale/num_put/3.cc: Likewise.
2483 * testsuite/22_locale/money_get/3.cc: Likewise.
2484 * testsuite/22_locale/money_put/3.cc: Likewise.
2485
2486 * include/bits/locale_facets.tcc (money_put::_M_insert,
2487 time_get::_M_extract_name): Prefer operator== to operator!=
2488 on char_types.
2489
2490 2005-04-29 Paolo Carlini <pcarlini@suse.de>
2491
2492 * include/tr1/type_traits (is_convertible): Adjust according
2493 to the resolution of TR1 issue 3.20.
2494 * testsuite/tr1/4_metaprogramming/relationships_between_types/
2495 is_convertible/is_convertible.cc: Add tests.
2496
2497 2005-04-28 Paolo Carlini <pcarlini@suse.de>
2498 Gabriel Dos Reis <gdr@integrable-solutions.net>
2499
2500 PR libstdc++/21244 (cont)
2501 * include/bits/cpp_type_traits.h (struct __traitor): Convert
2502 to bool the values.
2503 * include/bits/stl_algo.h: Convert _S_threshold to int.
2504 * include/bits/stl_bvector.h: Revert previous change, convert
2505 _S_word_bit to int.
2506 * include/debug/formatter.h: Convert __max_parameters to
2507 size_t.
2508 * include/ext/mt_allocator.h: Likewise for _S_chunk_size.
2509 * include/ext/pool_allocator.h: Likewise for _S_max_bytes and
2510 _S_align.
2511 * include/ext/rope: Likewise for _S_alloc_granularity; convert
2512 _S_max_rope_depth to int.
2513 * include/ext/ropeimpl.h: Convert _S_path_cache_len to int;
2514 _S_max_rope_depth to int; _S_copy_max to size_t.
2515
2516 2005-04-27 Benjamin Kosnik <bkoz@redhat.com>
2517
2518 * docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
2519 * docs/doxygen/doxygroups.cc: Update namespace comments.
2520
2521 2005-04-27 Dominik Strasser <dominik.strasser@infineon.com>
2522 Paolo Carlini <pcarlini@suse.de>
2523
2524 PR libstdc++/21244
2525 * include/bits/stl_bvector.h: Change the anonymous enum
2526 at namespace scope to _S_word_bit_enum.
2527 * testsuite/23_containers/vector/bool/21244.cc: New.
2528
2529 2005-04-27 Paolo Carlini <pcarlini@suse.de>
2530
2531 * include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
2532 has_nothrow_copy, has_nothrow_assign): Adjust according to the
2533 resolution of TR1 issue 3.21.
2534 * testsuite/testsuite_tr1.h (test_copy_property,
2535 test_assign_property): Remove.
2536 * testsuite/tr1/4_metaprogramming/type_properties/
2537 has_nothrow_assign/has_nothrow_assign.cc: Adjust.
2538 * testsuite/tr1/4_metaprogramming/type_properties/
2539 has_nothrow_copy/has_nothrow_copy.cc: Likewise.
2540 * testsuite/tr1/4_metaprogramming/type_properties/
2541 has_trivial_assign/has_trivial_assign.cc: Likewise.
2542 * testsuite/tr1/4_metaprogramming/type_properties/
2543 has_trivial_copy/has_trivial_copy.cc: Likewise.
2544
2545 2005-04-26 Jones Desougi <jones@ingate.com>
2546
2547 PR libstdc++/21131
2548 * linkage.m4: Fix comments.
2549
2550 2005-04-26 Paolo Carlini <pcarlini@suse.de>
2551
2552 PR libstdc++/21209
2553 * include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
2554 integer overflow, always use a suited unsigned type in the main
2555 parsing loop.
2556 (struct __to_unsigned_type): New.
2557 * testsuite/22_locale/num_get/get/char/16.cc: New.
2558 * testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
2559
2560 2005-04-25 Paolo Carlini <pcarlini@suse.de>
2561
2562 PR libstdc++/21035
2563 * include/bits/basic_string.h (compare): Adjust the documentation
2564 to match the implementation and the standard.
2565
2566 2005-04-24 Paolo Carlini <pcarlini@suse.de>
2567
2568 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
2569
2570 2005-04-20 Mark Mitchell <mark@codesourcery.com>
2571
2572 * testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
2573 explicit instantiations for systems without weak symbols.
2574 * testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
2575 Likewise.
2576
2577 2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
2578
2579 * include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
2580
2581 2005-04-17 Paolo Carlini <pcarlini@suse.de>
2582
2583 PR libstdc++/20914
2584 * include/bits/locale_facets.tcc (__int_to_char(_CharT*, _ValueT,
2585 const _CharT*, ios_base::fmtflags, bool)): Don't deal with numeric
2586 base or sign here, instead...
2587 (_M_insert_int(_OutIter, ios_base&, _CharT, _ValueT)): ... here,
2588 after adding the grouping. This fixes the bug and also allows to
2589 clean-up the code dealing with integer types.
2590 (_M_group_int(const char*, size_t, _CharT, ios_base&, _CharT*,
2591 _CharT*, int&)): Simplify, remove bits dealing with numeric base.
2592 (__int_to_char(_CharT*, unsigned long, const _CharT*,
2593 ios_base::fmtflags), __int_to_char(_CharT*, unsigned long long,
2594 const _CharT*, ios_base::fmtflags)): Remove hackish fix for
2595 libstdc++/15565.
2596 (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags),
2597 __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)):
2598 Simplify, don't pass the sign.
2599 (_M_insert_float(_OutIter, ios_base&, _CharT, char, _ValueT)):
2600 Deal with a sign at the beginning of __cs; robustify the grouping
2601 check.
2602 * testsuite/22_locale/num_put/put/char/20914.cc: New.
2603 * testsuite/22_locale/num_put/put/wchar_t/20914.cc: Likewise.
2604
2605 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2606
2607 * include/ext/bitmap_allocator.h
2608 (__gnu_cxx::free_list::_M_get_mutex): New.
2609 (__gnu_cxx::free_list::_M_get_free_list): New.
2610 (__gnu_cxx::free_list::_S_bfl_mutex): Remove.
2611 (__gnu_cxx::free_list::_S_free_list): Remove.
2612 * src/bitmap_allocator.cc: Same.
2613 * config/linker-map.gnu: Remove free_list and mutex export.
2614
2615 2005-04-14 Benjamin Kosnik <bkoz@redhat.com>
2616
2617 * include/ext/pod_char_traits.h (__gnu_cxx::character): Add char_type.
2618 (character::to): New.
2619 (character::from): New.
2620 (operator==): Add state parameter.
2621 (operator<): Same.
2622 (char_traits::copy): Use std::copy.
2623 (char_traits::assign): Use std::fill_n.
2624 (char_traits::to_char_type): Use character::from.
2625 (char_traits::to_int_type): Use character::to.
2626 * testsuite/testsuite_character.h (__gnu_test::character): Remove.
2627 (__gnu_test::conversion_state): Remove.
2628 (__gnu_test::pod_char): Remove.
2629 (pod_char): New typedef.
2630 (pod_uchar): New typedef.
2631 (pod_ushort): New typedef.
2632 * testsuite/testsuite_character.cc: Fixups.
2633 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2634 10081-in.cc: Same.
2635 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2636 10081-out.cc: Same.
2637 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2638 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2639 * testsuite/27_io/basic_filebuf/close/12790-1.cc: Same.
2640 * testsuite/27_io/basic_filebuf/open/12790-1.cc: Same.
2641 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Same.
2642 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Same.
2643 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Same.
2644 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Same.
2645 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Same.
2646 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Same.
2647 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Same.
2648 * testsuite/27_io/basic_ios/imbue/14072.cc: Same.
2649 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2650 3983-1.cc: Same.
2651 * testsuite/27_io/basic_istream/extractors_character/pod/
2652 3983-2.cc: Same.
2653 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2654 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2655 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2656
2657 2005-04-12 Mike Stump <mrs@apple.com>
2658
2659 * configure: Regenerate.
2660
2661 2005-04-08 Benjamin Kosnik <bkoz@redhat.com>
2662
2663 * testsuite/Makefile.am: Remove libv3test.a.
2664 * testsuite/Makefile.in: Regenerate.
2665 * testsuite/lib/libstdc++.exp (v3_target_compile): Fix comments.
2666
2667 2005-04-08 Paolo Carlini <pcarlini@suse.de>
2668
2669 PR libstdc++/20909
2670 * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
2671 Don't even try to group numbers like 2e20, i.e., no decimal
2672 point, scientific notation.
2673 * testsuite/22_locale/num_put/put/char/20909.cc: New.
2674 * testsuite/22_locale/num_put/put/wchar_t/20909.cc: Likewise.
2675
2676 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2677
2678 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.
2679 * acconfig.h: Delete file.
2680 * Makefile.in, acinclude.m4, configure: Regenerate.
2681
2682 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2683
2684 * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.
2685 (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1,
2686 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2,
2687 GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3,
2688 GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1,
2689 GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it.
2690 (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment.
2691 * acconfig.h: Delete redundant macros.
2692 * config.h.in, configure: Regenerate.
2693
2694 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2695
2696 * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate
2697 a subshell and if test fails, test for same functions with
2698 leading underscore.
2699 (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs.
2700 * configure: Regenerate.
2701
2702 2005-04-08 Danny Smith <dannysmith@users.sourceforge.net>
2703 Paolo Carlini <pcarlini@suse.de>
2704
2705 PR libstdc++/20806
2706 * config/os/mingw32/os_defines.h: Define
2707 _GLIBCXX_HAVE_DOS_BASED_FILESYSTEM.
2708 * config/os/newlib/os_defines.h: Likewise, for __CYGWIN__.
2709 * include/bits/fstream.tcc (basic_filebuf<>::showmanyc()):
2710 Use it.
2711 (basic_filebuf<>::xsgetn(_CharT*, streamsize)): Likewise.
2712
2713 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2714
2715 * acconfig.h: Sort the bottom section.
2716 * config.h.in: Regenerate.
2717
2718 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2719
2720 * acconfig.h: Remove redundant HAVE_FLOAT_H.
2721 * config.h.in: Regenerate.
2722
2723 2005-04-08 Kelley Cook <kcook@gcc.gnu.org>
2724
2725 * configure.ac: Create template for PACKAGE and VERSION.
2726 Update comment on how to regenerate file. Update minimum
2727 automake version to 1.9.3.
2728 * acconfig.h: Remove PACKAGE and VERSION.
2729 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
2730 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
2731 testsuite/Makefile.in, config.h.in: Regenerate.
2732
2733 2005-04-06 Benjamin Kosnik <bkoz@redhat.com>
2734
2735 * docs/html/test.html: Update.
2736 * testsuite/printnow.c: Remove.
2737 * scripts/check_survey.in: Remove.
2738
2739 * testsuite/abi_check.cc: To...
2740 * testuite/testsuite_abi_check.cc: ...here.
2741 * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to
2742 testsuite_abi_check.cc.
2743
2744 * testsuite/testsuite_hooks.h: Move character related bits to...
2745 * testsuite/testsuite_character.h: ...here.
2746 * testsuite/testsuite_character.cc: ... and here.
2747 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2748 10081-in.cc: Use testsuite_character.h.
2749 * testsuite/21_strings/basic_string/inserters_extractors/pod/
2750 10081-out.cc: Same.
2751 * testsuite/22_locale/numpunct/members/pod/1.cc: Same.
2752 * testsuite/22_locale/numpunct/members/pod/2.cc: Same.
2753 * testsuite/27_io/basic_filebuf/2.cc: Same.
2754 * testsuite/27_io/basic_fstream/2.cc: Same.
2755 * testsuite/27_io/basic_istream/2.cc: Same.
2756 * testsuite/27_io/basic_istream/extractors_arithmetic/pod/
2757 3983-1.cc: Same.
2758 * testsuite/27_io/basic_istream/extractors_character/char/
2759 9826.cc: Same.
2760 * testsuite/27_io/basic_istream/extractors_character/pod/
2761 3983-2.cc: Same.
2762 * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same.
2763 * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same.
2764 * testsuite/27_io/basic_ostream/2.cc: Same.
2765 * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same.
2766 * testsuite/27_io/basic_streambuf/2.cc: Same.
2767 * testsuite/27_io/basic_stringbuf/2.cc: Same.
2768 * testsuite/27_io/basic_stringbuf/4.cc: Same.
2769 * testsuite/27_io/basic_stringstream/2.cc: Same.
2770 * testsuite/27_io/fpos/1.cc: Same.
2771 * testsuite/ext/mt_allocator/tune-1.cc: Same.
2772 * testsuite/ext/mt_allocator/tune-2.cc: Same.
2773 * testsuite/ext/stdio_filebuf/char/1.cc: Same.
2774 * testsuite/lib/libstdc++.exp (v3-build_support): Add
2775 testsuite_character.cc.
2776 * testsuite/Makefile.am (libv3test_a_SOURCES): Add
2777 testsuite_character.cc.
2778 * testsuite/Makefile.in: Regenerate.
2779
2780 * configure.ac: Remove use of check_survey.
2781 * configure: Regenerate.
2782 * testsuite/Makefile.am: Remove check-script and
2783 check-script-install rules.
2784 * testsuite/Makefile.in: Regenerate.
2785
2786 2005-04-06 Ulrich Weigand <uweigand@de.ibm.com>
2787
2788 * config/cpu/s390/atomicity.h (__exchange_and_add): Add "memory"
2789 clobber to inline assembly statement.
2790
2791 2005-04-06 Kelley Cook <kcook@gcc.gnu.org>
2792
2793 * acinclude.m4 (_GLIBCXX_USE_LONG_LONG,
2794 _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH,
2795 _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS,
2796 _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING,
2797 _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL,
2798 HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T,
2799 HAVE_LC_MESSAGES): Use long form of AC_DEFINE ...
2800 * acconfig.h: ... to eliminate them from here.
2801 (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@.
2802 * config.h.in, configure: Regenerate.
2803
2804 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2805
2806 * Makefile.am (ACLOCAL_AMFLAGS): Define.
2807 * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
2808 * configure.ac: Use it.
2809 * acinclude.m4: Delete explicit m4_includes and sincludes.
2810 * aclocal.m4, configure, Makefile.in, po/Makefile.in,
2811 src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
2812 testsuite/Makefile.in: Regenerate.
2813
2814 2005-04-05 Jonathan Wakely <redi@gcc.gnu.org>
2815
2816 * include/tr1/memory, include/tr1/boost_shared_ptr.h: Use mutex
2817 to make _Sp_counted_base::add_ref_lock() thread-safe. Check whether
2818 to destroy resources by testing for equality, not inequality. Add
2819 empty critical sections to solve memory visibility issues.
2820 * testsuite/tr1/2_general_utilities/memory/
2821 shared_ptr/cons/auto_ptr_neg.cc: Use dg-excess-errors instead of
2822 explicitly listing line numbers which need to be kept in sync.
2823 * testsuite/tr1/2_general_utilities/memory/
2824 shared_ptr/assign/auto_ptr_neg.cc: Same.
2825 * testsuite/tr1/2_general_utilities/memory/
2826 shared_ptr/assign/auto_ptr_rvalue_neg.cc: Same.
2827 * testsuite/tr1/2_general_utilities/memory/
2828 shared_ptr/cons/weak_ptr_expired.cc: Make XFAIL for consistency when
2829 -fno-exceptions.
2830 * testsuite/tr1/2_general_utilities/memory/
2831 enable_shared_from_this/not_shared.cc: Add explanatory comments.
2832 * testsuite/tr1/2_general_utilities/memory/
2833 enable_shared_from_this/not_shared2.cc: Same.
2834 * testsuite/tr1/2_general_utilities/memory/
2835 enable_shared_from_this/not_shared3.cc: Same.
2836
2837 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2838
2839 * acconfig.h: Delete macros already AC_DEFINED.
2840 * config.h.in: Regenerate.
2841
2842 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2843
2844 * acconfig.h (HAVE_MODF): Remove.
2845 * linkage.m4: Check for modf.
2846 * config.h.in, configure: Regenerate.
2847
2848 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2849
2850 * acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
2851 (HAVE_GETTEXT, HAVE_STPCPY): Likewise.
2852 * config.h.in: Regenerate.
2853
2854 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2855
2856 * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
2857 to convert to uppercase instead of shelling out to tr.
2858 * acconfig.h: Remove now redundant HAVE__BUILTINS_*.
2859 * configure, config.h.in: Regenerate.
2860
2861 2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
2862
2863 * acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
2864 * config.h.in: Regenerate.
2865
2866 2005-04-04 Mark Mitchell <mark@codesourcery.com>
2867
2868 * testsuite/Makefile.am (check-local): Remove.
2869 (curent_symbols.txt): Likewise.
2870 (check-abi): Do not depend on current_symbols.txt.
2871 * testsuite/Makefile.in: Regenerated.
2872 * testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
2873
2874 2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
2875
2876 * include/tr1/tuple_iterate.h (tuple_element): Use new macro
2877 _GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
2878 * include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
2879 each iteration.
2880 * scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
2881 each iteration.
2882
2883 2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
2884
2885 * include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
2886 member pointers in _Mem_fn but let other function objects pass
2887 through unchanged.
2888 * include/tr1/functional_iterator (bind): Reduce number of bind()
2889 overloads to two to eliminate ambiguities. Use
2890 _Maybe_wrap_member_pointer to handle member pointers gracefully.
2891
2892 2005-04-01 Mark Mitchell <mark@codesourcery.com>
2893
2894 * testsuite/Makefile.am (noinst_PROGRAMS): Remove.
2895 (site.exp): Write out the path to the baseline file.
2896 (check-abi): Use DejaGNU.
2897 (check-abi-verbose): Remove.
2898 * testsuite/Makefile.in: Regenerated.
2899 * testsuite/abi_check.cc (main): Check the return value from
2900 compare_symbols.
2901 * testsuite/testsuite_abi.cc (compare_symbols): Return a value.
2902 * testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
2903 * testsuite/libstdc++-abi/abi.exp: New file.
2904
2905 2005-03-31 Chris Jefferson <chris@bubblescope.net>
2906
2907 * include/tr1/tuple: Support iteration via tuple_iterate.h.
2908 * include/tr1/tuple_iterate.h: Iteration file for tuple.
2909
2910 2005-03-31 Douglas Gregor <doug.gregor@gmail.com>
2911
2912 * include/Makefile.am (tr1_headers): Add bind and mu repetition
2913 headers and reference_wrapper<> forwarding header.
2914 * include/Makefile.in: Regenerate.
2915 * include/tr1/bind_iterate.h: Implementation of function call
2916 operators for the function object returned from tr1::bind().
2917 * include/tr1/bind_repeat.h: Bind-specific repetition header,
2918 akin to include/tr1/repeat.h.
2919 * include/tr1/functional (_Mem_fn): Bug fix: declare result member
2920 template for use with result_of.
2921 (is_bind_expression): New.
2922 (is_placeholder): New.
2923 (_Placeholder): New. Placeholder type for bind.
2924 (_Mu): New. Implementation detail of bind.
2925 (_Bind, _Bind_result): New. Function objects returned by bind.
2926 (_GLIBCXX_JOIN): New. Required to create bind placeholders.
2927 * include/tr1/functional_iterate.h (_Bind, _Bind_result, bind):
2928 New. Implementation of tr1::bind.
2929 * include/tr1/mu_iterate.h (_Mu): result template and operator()
2930 for the _Mu helper to bind.
2931 * include/tr1/ref_fwd.h (reference_wrapper): Forward declaration
2932 used by tuple header.
2933 (ref): Ditto.
2934 (cref): Ditto.
2935 * include/tr1/repeat.h: Add bind-specific repetition macros.
2936 * include/tr1/tuple: Use reference_wrapper forwarding header for
2937 initial definitions, then include <tr1/functional> at the end, to
2938 make the circular dependencies work.
2939 (tie): Support zero-argument tie() function.
2940 * testsuite/tr1/3_function_objects/bind/all_bound.cc: New test of
2941 bind() functionality with parameters bound.
2942 * testsuite/tr1/3_function_objects/bind/nested.cc: New test of
2943 nested bind() expressions.
2944 * testsuite/tr1/3_function_objects/bind/placeholders.cc: New test
2945 of bind() placeholders.
2946 * testsuite/tr1/3_function_objects/bind/ref.cc: New test of bind()
2947 with arguments bound via reference_wrapper<>.
2948 * scripts/gen_includers.pl: Generate the repetitive part of
2949 include/tr1/repeat.h.
2950 * scripts/gen_bind_includers.pl: Generate the repetitive part of
2951 include/tr1/bind_repeat.h.
2952
2953 2005-03-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
2954
2955 * testsuite/Makefile.am (CXX): Use ${SHELL}.
2956 (GLIBCXX_INCLUDES): Same.
2957 (AM_CXXFLAGS): Same.
2958 * testsuite/Makefile.in: Regenerate.
2959
2960 2005-03-25 Mark Mitchell <mark@codesourcery.com>
2961
2962 * testsuite/lib/libstdc++.exp (libstdc++_init): Define LOCALEDIR
2963 when testing an installed compiler.
2964
2965 * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
2966 compiling support objects.
2967
2968 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
2969
2970 * include/tr1/memory: Forward to...
2971 * include/tr1/boost_shared_ptr.h: ...here. Add Boost Software License.
2972 * include/Makefile.am (tr1_headers): Add boost_shared_ptr.h.
2973 * include/Makefile.in: Regenerate.
2974 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
2975 auto_ptr_neg.cc: Adjust line numbers.
2976
2977 2005-03-23 Mark Mitchell <mark@codesourcery.com>
2978
2979 * testsuite/Makefile.am (all-local): Do not build testsuite_files.
2980 * testsuite/Makefile.in: Regenerated.
2981
2982 2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
2983
2984 * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
2985 using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
2986 _GLIBCXX_USE_C99_WCHAR.
2987 Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
2988 and GLIBCXX_ENABLE_WCHAR_T.
2989 Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
2990 GLIBCXX_ENABLE_C99.
2991 Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
2992 GLIBCXX_CHECK_ICONV_SUPPORT.
2993 * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
2994 GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
2995 * crossconfig.m4: Same.
2996 * acconfig.h: Same, adjust comments.
2997 * config.h.in: Regenerate.
2998 * configure: Regenerate.
2999 * docs/html/configopts.html: Change --enable-c-mbchar to
3000 --enable-wchar_t.
3001
3002 * config/locale/gnu/c++locale_internal.h: Guard wide functions
3003 with _GLIBCXX_USE_WCHAR_T.
3004 * include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
3005 * include/c_std/std_cstdio.h: Spacing.
3006
3007 * config/locale/gnu/c_locale.h: Tweaks for unused warnings.
3008 * src/debug.cc: Same.
3009
3010 2005-03-23 Mark Mitchell <mark@codesourcery.com>
3011
3012 * testsuite/libstdc++-dg/normal.exp: Read testsuite_files, if it
3013 exists.
3014
3015 * testsuite/lib/libstdc++.exp (libstdc++_wchar_t): Rename to ...
3016 (v3-wchar_t): ... this.
3017 (libstdc++_threads): Rename to ...
3018 (v3-threads): ... this.
3019 (libstdc++_test_objs): Rename to ...
3020 (v3-test_objs): ... this.
3021 (libstdc++_build_support): Rename to ...
3022 (v3-build_support): ... this.
3023 * testsuite/libstdc++-dg/normal.exp: Adjust to use new names.
3024
3025 * testsuite/lib/libstdc++.exp (libstdc++_init): Improve handling
3026 of compilers not in the build directory.
3027 (libstdc++_wchar_t): New variable.
3028 (libstdc++_threads): Likewise.
3029 (libstdc++_test_objs): Likewise.
3030 (v3_target_compile): Use libstdc++_test_objs.
3031 (v3-list-tests): Remove.
3032 (listdc++_build_support): New function.
3033 * testsuite/libstdc++-dg/normal.exp: Rework to dynamically
3034 generate list of tests.
3035
3036 2005-03-21 Chris Jefferson <chris@bubblescope.net>
3037
3038 PR libstdc++/20577
3039 * include/bits/stl_algobase.h (iter_swap): Only delegate iter_swap
3040 to swap when the iterator's reference_type is a reference to its
3041 value_type.
3042 * testsuite/25_algorithms/iter_swap/20577.cc: New.
3043
3044 2005-03-21 Zack Weinberg <zack@codesourcery.com>
3045
3046 * acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.
3047 (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version}
3048 is expanded by the Makefiles, not by configure.
3049 * fragment.am: Set gcc_version.
3050 * libmath/Makefile.am: Likewise.
3051 * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in
3052 * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in
3053 * testsuite/Makefile.in: Regenerate.
3054
3055 2005-03-16 Paolo Carlini <pcarlini@suse.de>
3056
3057 * testsuite/20_util/functional/binders.cc: Remove explicit
3058 instantiations for non-weak systems.
3059 * testsuite/20_util/memory/allocator/1.cc: Likewise.
3060 * testsuite/20_util/memory/allocator/10378.cc: Likewise.
3061 * testsuite/20_util/memory/allocator/10416.cc: Likewise.
3062 * testsuite/20_util/memory/allocator/8230.cc: Likewise.
3063 * testsuite/20_util/utility/rel_ops.cc: Likewise.
3064 * testsuite/22_locale/ctype/is/char/2.cc: Likewise.
3065 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise.
3066 * testsuite/23_containers/deque/cons/1.cc: Likewise.
3067 * testsuite/23_containers/deque/cons/2.cc: Likewise.
3068 * testsuite/23_containers/deque/invalidation/1.cc: Likewise.
3069 * testsuite/23_containers/deque/invalidation/2.cc: Likewise.
3070 * testsuite/23_containers/deque/invalidation/3.cc: Likewise.
3071 * testsuite/23_containers/deque/invalidation/4.cc: Likewise.
3072 * testsuite/23_containers/deque/modifiers/swap.cc: Likewise.
3073 * testsuite/23_containers/deque/operators/1.cc: Likewise.
3074 * testsuite/23_containers/list/capacity/1.cc: Likewise.
3075 * testsuite/23_containers/list/cons/1.cc: Likewise.
3076 * testsuite/23_containers/list/cons/2.cc: Likewise.
3077 * testsuite/23_containers/list/cons/3.cc: Likewise.
3078 * testsuite/23_containers/list/cons/4.cc: Likewise.
3079 * testsuite/23_containers/list/cons/5.cc: Likewise.
3080 * testsuite/23_containers/list/cons/6.cc: Likewise.
3081 * testsuite/23_containers/list/cons/7.cc: Likewise.
3082 * testsuite/23_containers/list/cons/8.cc: Likewise.
3083 * testsuite/23_containers/list/cons/9.cc: Likewise.
3084 * testsuite/23_containers/list/invalidation/1.cc: Likewise.
3085 * testsuite/23_containers/list/invalidation/2.cc: Likewise.
3086 * testsuite/23_containers/list/invalidation/3.cc: Likewise.
3087 * testsuite/23_containers/list/invalidation/4.cc: Likewise.
3088 * testsuite/23_containers/list/modifiers/1.cc: Likewise.
3089 * testsuite/23_containers/list/modifiers/2.cc: Likewise.
3090 * testsuite/23_containers/list/modifiers/3.cc: Likewise.
3091 * testsuite/23_containers/list/operators/1.cc: Likewise.
3092 * testsuite/23_containers/list/operators/2.cc: Likewise.
3093 * testsuite/23_containers/list/operators/3.cc: Likewise.
3094 * testsuite/23_containers/list/operators/4.cc: Likewise.
3095 * testsuite/23_containers/map/insert/1.cc: Likewise.
3096 * testsuite/23_containers/map/invalidation/1.cc: Likewise.
3097 * testsuite/23_containers/map/invalidation/2.cc: Likewise.
3098 * testsuite/23_containers/map/modifiers/swap.cc: Likewise.
3099 * testsuite/23_containers/map/operators/1.cc: Likewise.
3100 * testsuite/23_containers/multimap/invalidation/1.cc: Likewise.
3101 * testsuite/23_containers/multimap/invalidation/2.cc: Likewise.
3102 * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise.
3103 * testsuite/23_containers/multiset/insert/1.cc: Likewise.
3104 * testsuite/23_containers/multiset/insert/2.cc: Likewise.
3105 * testsuite/23_containers/multiset/invalidation/1.cc: Likewise.
3106 * testsuite/23_containers/multiset/invalidation/2.cc: Likewise.
3107 * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise.
3108 * testsuite/23_containers/priority_queue/members/7161.cc: Likewise.
3109 * testsuite/23_containers/queue/members/7157.cc: Likewise.
3110 * testsuite/23_containers/set/insert/1.cc: Likewise.
3111 * testsuite/23_containers/set/invalidation/1.cc: Likewise.
3112 * testsuite/23_containers/set/invalidation/2.cc: Likewise.
3113 * testsuite/23_containers/set/modifiers/swap.cc: Likewise.
3114 * testsuite/23_containers/stack/members/7158.cc: Likewise.
3115 * testsuite/23_containers/vector/bool/6886.cc: Likewise.
3116 * testsuite/23_containers/vector/capacity/1.cc: Likewise.
3117 * testsuite/23_containers/vector/capacity/8230.cc: Likewise.
3118 * testsuite/23_containers/vector/cons/1.cc: Likewise.
3119 * testsuite/23_containers/vector/cons/2.cc: Likewise.
3120 * testsuite/23_containers/vector/cons/3.cc: Likewise.
3121 * testsuite/23_containers/vector/cons/6513.cc: Likewise.
3122 * testsuite/23_containers/vector/element_access/1.cc: Likewise.
3123 * testsuite/23_containers/vector/invalidation/1.cc: Likewise.
3124 * testsuite/23_containers/vector/invalidation/2.cc: Likewise.
3125 * testsuite/23_containers/vector/invalidation/3.cc: Likewise.
3126 * testsuite/23_containers/vector/invalidation/4.cc: Likewise.
3127 * testsuite/23_containers/vector/modifiers/1.cc: Likewise.
3128 * testsuite/23_containers/vector/modifiers/2.cc: Likewise.
3129 * testsuite/23_containers/vector/modifiers/swap.cc: Likewise.
3130 * testsuite/23_containers/vector/resize/1.cc: Likewise.
3131 * testsuite/24_iterators/back_insert_iterator.cc: Likewise.
3132 * testsuite/24_iterators/front_insert_iterator.cc: Likewise.
3133 * testsuite/24_iterators/insert_iterator.cc: Likewise.
3134 * testsuite/24_iterators/iterator.cc: Likewise.
3135 * testsuite/25_algorithms/copy/1.cc: Likewise.
3136 * testsuite/25_algorithms/copy/2.cc: Likewise.
3137 * testsuite/25_algorithms/copy/3.cc: Likewise.
3138 * testsuite/25_algorithms/copy/4.cc: Likewise.
3139 * testsuite/25_algorithms/equal.cc: Likewise.
3140 * testsuite/25_algorithms/fill/1.cc: Likewise.
3141 * testsuite/25_algorithms/fill/2.cc: Likewise.
3142 * testsuite/25_algorithms/min_max.cc: Likewise.
3143 * testsuite/25_algorithms/rotate.cc: Likewise.
3144 * testsuite/25_algorithms/unique/1.cc: Likewise.
3145 * testsuite/25_algorithms/unique/2.cc: Likewise.
3146 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
3147 * testsuite/ext/concept_checks.cc: Likewise.
3148 * testsuite/ext/hash_map/1.cc: Likewise.
3149 * testsuite/ext/hash_set/1.cc: Likewise.
3150 * testsuite/ext/rope/1.cc: Likewise.
3151 * testsuite/ext/rope/2.cc: Likewise.
3152 * testsuite/ext/rope/3.cc: Likewise.
3153 * testsuite/thread/pthread1.cc: Likewise.
3154 * testsuite/thread/pthread4.cc: Likewise.
3155 * testsuite/thread/pthread5.cc: Likewise.
3156 * testsuite/thread/pthread6.cc: Likewise.
3157 * testsuite/thread/pthread7-rope.cc: Likewise.
3158
3159 2005-03-15 Zack Weinberg <zack@codesourcery.com>
3160
3161 * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
3162 subdirectory. Generate #define of __GLIBCXX__ from contents of
3163 that file.
3164 * include/Makefile.in: Regenerate.
3165 * include/bits/c++config: Do not define __GLIBCXX__.
3166
3167 2005-03-15 Paolo Carlini <pcarlini@suse.de>
3168
3169 PR libstdc++/20352
3170 * include/std/std_complex.h (pow(const complex<_Tp>&,
3171 const _Tp&)): On non-c99 platforms, don't try to compute
3172 log of complex zero.
3173
3174 2005-03-10 Ben Elliston <bje@au.ibm.com>
3175
3176 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Don't XFAIL
3177 on GNU/Linux.
3178
3179 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3180
3181 * include/tr1/type_traits (is_polymorphic): Don't forget
3182 the virtual destructor, thus avoiding warnings.
3183 * testsuite/testsuite_tr1.h (class AbstractClass,
3184 class PolymorphicClass): Likewise.
3185
3186 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3187
3188 * include/std/std_complex.h (pow(const complex<_Tp>&,
3189 const complex<_Tp>&)): Dispatch to either __complex_pow(__x.__rep(),
3190 __y.__rep()) or __complex_pow(__x, __y) depending on the macro
3191 _GLIBCXX_USE_C99_COMPLEX.
3192
3193 2005-03-07 Paolo Carlini <pcarlini@suse.de>
3194
3195 * include/std/std_fstream.h (basic_fstream<>::open,
3196 basic_ifstream<>::open, basic_ofstream<>::open): Implement the
3197 resolution of DR 409 [Ready], call clear() on success.
3198 * docs/html/ext/howto.html: Add an entry for DR 409.
3199 * docs/html/faq/index.html (4_4): Clarify the new behavior.
3200 * testsuite/27_io/basic_ifstream/open/char/1.cc: Adjust.
3201 * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
3202
3203 2005-03-05 Joseph S. Myers <joseph@codesourcery.com>
3204
3205 * testsuite/22_locale/collate/compare/wchar_t/2.cc,
3206 testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc,
3207 testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc,
3208 testsuite/22_locale/collate/hash/wchar_t/2.cc,
3209 testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc,
3210 testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc,
3211 testsuite/22_locale/collate/transform/wchar_t/2.cc,
3212 testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc,
3213 testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3214 XFAIL on *-*-hpux11.23.
3215
3216 2005-03-04 Paolo Carlini <pcarlini@suse.de>
3217
3218 * include/tr1/type_traits: Add is_base_of.
3219 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3220 is_base_of/is_base_of.cc: New.
3221 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3222 is_base_of/typedefs.cc: Likewise.
3223
3224 2005-03-03 Benjamin Kosnik <bkoz@redhat.com>
3225
3226 * include/tr1/functional: Convert relative path.
3227
3228 * docs/doxygen/user.cfg.in: Add tr1 includes.
3229
3230 2005-03-03 Paolo Carlini <pcarlini@suse.de>
3231
3232 * include/tr1/type_traits: Implemenet is_polymorphic.
3233 (is_empty): Minor tweaks.
3234 * testsuite/testsuite_tr1.h: Add test types.
3235 * testsuite/tr1/4_metaprogramming/type_properties/
3236 is_polymorphic/is_polymorphic.cc: New.
3237 * testsuite/tr1/4_metaprogramming/type_properties/
3238 is_polymorphic/typedefs.cc: Likewise.
3239 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3240 is_union_or_class/is_union_or_class.cc: Add tests.
3241
3242 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3243
3244 * include/tr1/functional (_Has_result_type): Cleanup.
3245 (_Result_of_impl): Handle member data pointers correctly.
3246 (reference_wrapper): Support invocation.
3247 Move repetition code into new file include/tr1/repeat.h.
3248 * include/tr1/functional_iterate.h (reference_wrapper): Support
3249 invocation. Cleanup long lines.
3250 * include/tr1/ref_wrap_iterate.h (reference_wrapper): Declare
3251 invocation operators.
3252 * include/tr1/repeat.h: Code repetition header.
3253 * include/Makefile.am: Add ref_wrap_iterate.h, repeat.h.
3254 * include/Makefile.in: Add ref_wrap_iterate.h, repeat.h.
3255 * testsuite/tr1/3_function_objects/reference_wrapper/invoke.cc:
3256 New test of reference_wrapper invocation.
3257 * testsuite/tr1/3_function_objects/reference_wrapper/typedefs.cc:
3258 New test of reference_wrapper typedefs and base classes.
3259 * testsuite/tr1/3_function_objects/result_of.cc: Trivial cleanup
3260 (e-mail address).
3261
3262 2005-03-02 Douglas Gregor <doug.gregor@gmail.com>
3263
3264 * include/tr1/function (result_of): New class template.
3265 * include/tr1/functional/iterator.h: Implementation of TR1
3266 result_of.
3267 * testsuite/tr1/3_function_objects/result_of.cc: New test
3268
3269 2005-03-01 Vladimir Merzliakov <wanderer@rsu.ru>
3270
3271 * testsuite/26_numerics/cmath/c99_classification_macros_c.cc: Tweak.
3272
3273 2005-02-28 Benjamin Kosnik <bkoz@redhat.com>
3274
3275 * testsuite/tr1/2_general_utilities/memory/shared_ptr/
3276 cons/auto_ptr_neg.cc: Correct line numbers.
3277
3278 * testsuite/testsuite_abi.cc: Add CXXABI_1.3.1.
3279
3280 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3281
3282 * include/tr1/memory: Replace checked_deleter with (unchecked)
3283 _Sp_deleter as GCC warns about delete on incomplete types anyway.
3284
3285 2005-02-28 Jonathan Wakely <redi@gcc.gnu.org>
3286
3287 * include/tr1/memory: Add missing "inline" to __throw_bad_weak_ptr.
3288
3289 2005-02-28 Hans-Peter Nilsson <hp@axis.com>
3290
3291 PR target/19065
3292 * config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
3293 'Q' constraint, not 'm'.
3294
3295 2005-02-26 Earl Chew <earl_chew@agilent.com>
3296 Christopher Jefferson <chris@bubblescope.net>
3297
3298 * include/bits/stl_tree.h (_Rb_tree<>::_M_insert): Don't leak
3299 memory if _M_key_compare throws.
3300
3301 2005-02-25 Paolo Carlini <pcarlini@suse.de>
3302
3303 * include/tr1/type_traits: Add the trivial is_union and is_class;
3304 add the __is_union_or_class extension.
3305 (is_enum, is_empty): Use the latter.
3306 * include/tr1/type_traits_fwd.h: Add __is_union_or_class.
3307 * testsuite/testsuite_tr1.h: Add UnionType; trivial formatting
3308 fixes.
3309 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3310 is_union_or_class/is_union_or_class.cc: New.
3311 * testsuite/tr1/4_metaprogramming/composite_type_traits/
3312 is_union_or_class/typedefs.cc: Likewise.
3313
3314 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3315
3316 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
3317 wchar_t use with _GLIBCXX_USE_WCHAR_T.
3318
3319 2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
3320
3321 * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
3322 _GLIBCXX_USE_C99_COMPLEX.
3323 * acinclude.m4: Same.
3324 * acconfig.h: Same.
3325 * configure: Regenerate.
3326 * config.h.in: Same.
3327
3328 2005-02-24 Paolo Carlini <pcarlini@suse.de>
3329
3330 * include/tr1/functional (mem_fn): Avoid _T, badname on
3331 Darwin.
3332
3333 2005-02-23 Douglas Gregor <doug.gregor@gmail.com>
3334
3335 * include/tr1/functional (function): New class template.
3336 (mem_fn): New function template.
3337 Implementations of TR1 function and mem_fn facilities.
3338 * include/tr1/functional_iterate.h: Implementations of TR1
3339 function and mem_fn facilities.
3340 * testsuite/tr1/3_function_objects/function/1.cc: New
3341 test of std::tr1::function.
3342 * testsuite/tr1/3_function_objects/function/2.cc: New
3343 test of std::tr1::function.
3344 * testsuite/tr1/3_function_objects/function/3.cc: New
3345 test of std::tr1::function.
3346 * testsuite/tr1/3_function_objects/function/4.cc: New
3347 test of std::tr1::function.
3348 * testsuite/tr1/3_function_objects/function/5.cc: New
3349 test of std::tr1::function.
3350 * testsuite/tr1/3_function_objects/function/6.cc: New
3351 test of std::tr1::function.
3352 * testsuite/tr1/3_function_objects/function/7.cc: New
3353 test of std::tr1::function.
3354 * testsuite/tr1/3_function_objects/function/8.cc: New
3355 test of std::tr1::function.
3356 * testsuite/tr1/3_function_objects/function/9.cc: New
3357 test of std::tr1::function.
3358 * testsuite/tr1/3_function_objects/mem_fn.cc: New test of
3359 std::tr1::mem_fn.
3360
3361 2005-02-23 Paolo Carlini <pcarlini@suse.de>
3362
3363 * include/tr1/type_traits: Implement is_convertible.
3364 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3365 is_convertible/is_convertible.cc: New.
3366 * testsuite/tr1/4_metaprogramming/relationships_between_types/
3367 is_convertible/typedefs.cc: Likewise.
3368 * testsuite/testsuite_tr1.h: Add class DerivedType.
3369
3370 * include/tr1/type_traits (is_function): Don't mistake references
3371 to function types for function types.
3372 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3373 is_function/is_function.cc: Add testcase.
3374
3375 2005-02-22 Benjamin Kosnik <bkoz@redhat.com>
3376
3377 * scripts/check_performance: Tweaks.
3378
3379 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/2.cc: Name
3380 output file with extension that clean rules can find.
3381
3382 2005-02-22 Richard Henderson <rth@redhat.com>
3383
3384 PR libstdc++/20091
3385 * libsupc++/eh_catch.cc (__cxa_begin_catch): Don't special case
3386 decrement of uncaughtExceptions for rethrow.
3387
3388 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3389
3390 * include/tr1/functional: Fix License to GPL with exception.
3391 * include/tr1/hashtable: Likewise.
3392 * include/tr1/tuple: Likewise.
3393 * include/tr1/type_traits: Likewise.
3394 * include/tr1/type_traits_fwd.h: Likewise.
3395 * include/tr1/unordered_map: Likewise.
3396 * include/tr1/unordered_set: Likewise.
3397 * include/tr1/utility: Likewise.
3398
3399 2005-02-22 Paolo Carlini <pcarlini@suse.de>
3400
3401 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3402 auto_ptr_neg.cc: Add missing dg-do compile directive.
3403 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3404 auto_ptr_rvalue_neg.cc: Likewise.
3405 * testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
3406 shared_ptr_neg.cc: Likewise.
3407 * testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
3408 auto_ptr_neg.cc: Likewise.
3409 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3410 reset_neg.cc: Likewise.
3411 * testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
3412 swap_neg.cc: Likewise.
3413
3414 2005-02-22 Jonathan Wakely <redi@gcc.gnu.org>
3415
3416 * include/Makefile.am, include/Makefile.in: Fix accidental extra
3417 change from previous commit.
3418
3419 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org>
3420
3421 * include/tr1/memory: New file.
3422 * include/Makefile.am, include/Makefile.in: Add new TR1 header.
3423 * testsuite/tr1/2_general_utilities/memory/
3424 enable_shared_from_this/not_shared.cc: New test.
3425 * testsuite/tr1/2_general_utilities/memory/
3426 enable_shared_from_this/not_shared2.cc: New test.
3427 * testsuite/tr1/2_general_utilities/memory/
3428 enable_shared_from_this/not_shared3.cc: New test.
3429 * testsuite/tr1/2_general_utilities/memory/
3430 enable_shared_from_this/shared.cc: New test.
3431 * testsuite/tr1/2_general_utilities/memory/
3432 enable_shared_from_this/still_shared.cc: New test.
3433 * testsuite/tr1/2_general_utilities/memory/
3434 shared_ptr/assign/assign.cc: New test.
3435 * testsuite/tr1/2_general_utilities/memory/
3436 shared_ptr/assign/auto_ptr.cc: New test.
3437 * testsuite/tr1/2_general_utilities/memory/
3438 shared_ptr/assign/auto_ptr_neg.cc: New test.
3439 * testsuite/tr1/2_general_utilities/memory/
3440 shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test.
3441 * testsuite/tr1/2_general_utilities/memory/
3442 shared_ptr/assign/shared_ptr.cc: New test.
3443 * testsuite/tr1/2_general_utilities/memory/
3444 shared_ptr/assign/shared_ptr_neg.cc: New test.
3445 * testsuite/tr1/2_general_utilities/memory/
3446 shared_ptr/comparison/cmp.cc: New test.
3447 * testsuite/tr1/2_general_utilities/memory/
3448 shared_ptr/cons/auto_ptr.cc: New test.
3449 * testsuite/tr1/2_general_utilities/memory/
3450 shared_ptr/cons/auto_ptr_neg.cc: New test.
3451 * testsuite/tr1/2_general_utilities/memory/
3452 shared_ptr/cons/copy.cc: New test.
3453 * testsuite/tr1/2_general_utilities/memory/
3454 shared_ptr/cons/default.cc: New test.
3455 * testsuite/tr1/2_general_utilities/memory/
3456 shared_ptr/cons/pointer.cc: New test.
3457 * testsuite/tr1/2_general_utilities/memory/
3458 shared_ptr/cons/weak_ptr.cc: New test.
3459 * testsuite/tr1/2_general_utilities/memory/
3460 shared_ptr/cons/weak_ptr_expired.cc: New test.
3461 * testsuite/tr1/2_general_utilities/memory/
3462 shared_ptr/dest/dest.cc: New test.
3463 * testsuite/tr1/2_general_utilities/memory/
3464 shared_ptr/misc/io.cc: New test.
3465 * testsuite/tr1/2_general_utilities/memory/
3466 shared_ptr/misc/swap.cc: New test.
3467 * testsuite/tr1/2_general_utilities/memory/
3468 shared_ptr/modifiers/reset.cc: New test.
3469 * testsuite/tr1/2_general_utilities/memory/
3470 shared_ptr/modifiers/reset_neg.cc: New test.
3471 * testsuite/tr1/2_general_utilities/memory/
3472 shared_ptr/modifiers/swap.cc: New test.
3473 * testsuite/tr1/2_general_utilities/memory/
3474 shared_ptr/modifiers/swap_neg.cc: New test.
3475 * testsuite/tr1/2_general_utilities/memory/
3476 shared_ptr/observers/bool_conv.cc: New test.
3477 * testsuite/tr1/2_general_utilities/memory/
3478 shared_ptr/observers/get.cc: New test.
3479 * testsuite/tr1/2_general_utilities/memory/
3480 shared_ptr/observers/unique.cc: New test.
3481 * testsuite/tr1/2_general_utilities/memory/
3482 shared_ptr/observers/use_count.cc: New test.
3483
3484 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3485
3486 * include/tr1/type_traits (is_member_function_pointer):
3487 Remove ugly workaround for c++/19076.
3488
3489 2005-02-21 Paolo Carlini <pcarlini@suse.de>
3490
3491 * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't
3492 check for this == &_S_empty_rep, it's always false, here.
3493
3494 2005-02-19 Matt Austern <austern@gmail.com>
3495
3496 * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
3497 hash<T>::operator() a const member function for T a fundamental type
3498 * include/tr1/hashtable (extract1st::operator()): Declare const.
3499 (hash_code_base): Declare all member functions const
3500 (hashtable::find): fix call to this->bucket_count()
3501 (hashtable::count): Likewise.
3502 (hashtable::equal_range): m_incr_bucket applies to iterator, not node.
3503 * testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
3504 * testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
3505 * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
3506 * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
3507
3508 2005-02-19 Hans-Peter Nilsson <hp@axis.com>
3509
3510 PR libstdc++/20071
3511 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
3512 _GLIBCXX_USE_WCHAR_T.
3513
3514 2005-02-18 Richard Henderson <rth@redhat.com>
3515
3516 PR libstdc++/10606
3517 * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr.
3518 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment
3519 uncaughtExceptions here instead of ...
3520 * libsupc++/eh_throw.cc (__cxa_throw) ... here.
3521 (__cxa_rethrow): Increment uncaughtExceptions here instead of ...
3522 * libsupc++/eh_catch.cc (__cxa_end_catch): ... here.
3523 (__cxa_get_exception_ptr): New.
3524 * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare.
3525
3526 2005-02-18 Matt Austern <austern@apple.com>
3527
3528 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix
3529 test case to use assignment instead of ==
3530 * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test.
3531 * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test.
3532 * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test.
3533 * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test.
3534
3535 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr>
3536
3537 * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency
3538 on Solaris 2.6 and below.
3539 * testsuite/thread/pthread2.cc: Likewise.
3540 * testsuite/thread/pthread3.cc: Likewise.
3541 * testsuite/thread/pthread4.cc: Likewise.
3542 * testsuite/thread/pthread5.cc: Likewise.
3543 * testsuite/thread/pthread6.cc: Likewise.
3544 * testsuite/thread/pthread7-rope.cc: Likewise.
3545
3546 2005-02-17 Matt Austern <austern@apple.com>
3547
3548 * include/tr1/functional (hash): New function object.
3549 * include/tr1/hashtable: New file.
3550 * include/tr1/unordered_set: New file.
3551 * include/tr1/unordered_map: New file.
3552 * include/Makefile.am: Add three new TR1 headers.
3553 * include/Makefile.in: Likewise.
3554 * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test.
3555 * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test.
3556 * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test.
3557 * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test.
3558 * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test.
3559 * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test.
3560 * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test.
3561 * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test.
3562 * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test.
3563 * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test.
3564
3565 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3566
3567 * testsuite/23_containers/set/modifiers/16728.cc:
3568 Remove redundant include <testsuite_performance.h>.
3569
3570 2005-02-16 Paolo Carlini <pcarlini@suse.de>
3571
3572 PR libstdc++/19829
3573 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test
3574 at line #66 to not access str_lit01 beyond its end.
3575 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise.
3576
3577 2005-02-15 Paolo Carlini <pcarlini@suse.de>
3578 Jon Grimm <jgrimm2@us.ibm.com>
3579
3580 PR libstdc++/19955
3581 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
3582 Fix the logic setting _M_narrow_ok: first check whether the
3583 transformation is trivial with a dflt == 0, then deal with the
3584 special case of zero.
3585 * testsuite/22_locale/ctype/narrow/char/19955.cc: New.
3586
3587 * include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
3588 Tweak consistently to use memcmp; minor formatting fixes.
3589
3590 2005-02-15 Jakub Jelinek <jakub@redhat.com>
3591
3592 PR libstdc++/19946
3593 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
3594 demangler change.
3595 * testsuite/demangle/abi_examples/02.cc (main): Likewise.
3596
3597 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
3598 Paolo Carlini <pcarlini@suse.de>
3599
3600 PR libstdc++/11706
3601 * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf]
3602 for integer overloads.
3603
3604 * testsuite/26_numerics/cmath/powi.cc: New.
3605
3606 2005-02-11 Janis Johnson <janis187@us.ibm.com>
3607
3608 * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector.
3609 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3610 * testsuite/26_numerics/complex/pow.cc: Ditto.
3611
3612 * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp.
3613 * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg.
3614 * testsuite/26_numerics/complex/complex_value.cc: Ditto.
3615 * testsuite/26_numerics/complex/pow.cc: Ditto.
3616
3617 2005-02-09 Mike Stump <mrs@apple.com>
3618
3619 * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED.
3620
3621 2005-02-09 Janis Johnson <janis187@us.ibm.com>
3622
3623 * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*.
3624
3625 2005-02-08 Mark Mitchell <mark@codesourcery.com>
3626
3627 * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*.
3628
3629 2005-02-07 Loren J. Rittle <ljrittle@acm.org>
3630
3631 * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
3632 * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
3633 src static.
3634
3635 2005-02-02 Brad Spencer <spencer@infointeractive.com>
3636
3637 * debug.html: Fix broken tags.
3638 * documentation.html: Same.
3639
3640 2005-02-02 Andreas Jaeger <aj@suse.de>
3641
3642 * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch
3643 from 2005-01-28.
3644 * testsuite/Makefile.am: Likewise.
3645 * testsuite/Makefile.in: Likewise.
3646
3647 2005-02-01 Paolo Carlini <pcarlini@suse.de>
3648
3649 * include/bits/cpp_type_traits.h: Rename _M_type fields to
3650 __value, except for __enable_if, _M_type -> __type, consistently
3651 with the other traits.
3652 * include/bits/stl_algobase.h: Tweak consistently.
3653 * include/bits/stl_tree.h: Likewise.
3654 * include/bits/valarray_array.h: Likewise.
3655 * include/c_std/std_cmath.h: Likewise.
3656 * include/debug/safe_iterator.h: Likewise.
3657 * include/std/std_complex.h: Likewise.
3658
3659 2005-01-31 Brad Spencer <spencer@infointeractive.com>
3660
3661 * crossconfig.m4: Repair Solaris cross bits for strtold and strtof.
3662 * configure: Regenerated.
3663
3664 2005-01-31 Mark Mitchell <mark@codesourcery.com>
3665
3666 * include/std/std_limits.h (numeric_limits<float>::has_denorm):
3667 Add required cast.
3668 (numeric_limits<double>::has_denorm): Likewise.
3669 (numeric_limits<long double>::has_denorm): Likewise.
3670
3671 2005-01-31 Paolo Carlini <pcarlini@suse.de>
3672 Gabriel Dos Reis <gdr@integrable-solutions.net>
3673
3674 * include/bits/cpp_type_traits.h: Add types to the structs thus
3675 making type_traits.h redundant; exploit new __truth_type and
3676 __traitor helpers.
3677 * include/bits/type_traits.h: Remove.
3678 * include/Makefile.am: Update.
3679 * include/Makefile.in: Regenerate.
3680 * include/backward/tempbuf.h: Include cpp_type_traits.h instead.
3681 * include/bits/basic_string.h (replace(iterator, iterator,
3682 _InputIterator, _InputIterator), _S_construct(_InIterator,
3683 _InIterator, const _Alloc&)): Use __is_integer instead.
3684 * include/bits/stl_bvector.h (vector(_InputIterator,
3685 _InputIterator, const allocator_type&), assign(_InputIterator,
3686 _InputIterator), insert(iterator, _InputIterator, _InputIterator)):
3687 Likewise.
3688 * include/bits/stl_construct.h (_Destroy(_ForwardIterator,
3689 _ForwardIterator)): Use __is_scalar.
3690 * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator,
3691 const allocator_type&), assign(_InputIterator, _InputIterator),
3692 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3693 * include/bits/stl_list.h (assign(_InputIterator, _InputIterator),
3694 insert(iterator, _InputIterator, _InputIterator)): Likewise.
3695 * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator,
3696 _ForwardIterator)): Use __is_scalar.
3697 * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator,
3698 _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator,
3699 _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator,
3700 _Size, const _Tp&)): Likewise.
3701 * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator,
3702 const allocator_type&), assign(_InputIterator, _InputIterator),
3703 insert(iterator, _InputIterator, _InputIterator)): Use __is_integer.
3704 * include/debug/debug.h (__valid_range(const _InputIterator&,
3705 const _InputIterator&)): Use __is_integer.
3706 * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise.
3707 * include/std/std_string.h: Include cpp_type_traits.h instead.
3708
3709 2005-01-30 Paolo Carlini <pcarlini@suse.de>
3710
3711 PR libstdc++/19642
3712 * config/locale/generic/c_locale.h (__convert_from_v): Switch only
3713 LC_NUMERIC, and only when actually != "C".
3714
3715 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3716
3717 * include/tr1/type_traits (is_function): Minor consistency tweaks.
3718
3719 2005-01-28 Geoffrey Keating <geoffk@apple.com>
3720
3721 * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path
3722 for the compiler. Don't set cxxflags.
3723 (v3_target_compile): Search for libv3test.a relative to $objdir.
3724 (lsearch_all_inline): New.
3725 (lsearch_all_inline_not): New.
3726 (v3-list-tests): Rewrite to not need generated files.
3727 * testsuite/Makefile.am (IGNORE_WCHAR_T): New.
3728 (IGNORE_THREAD): New.
3729 (TESTS_TO_IGNORE): New.
3730 (site.exp): Set tests_to_ignore, cxxflags.
3731 * aclocal.m4: Regenerate.
3732 * Makefile.in: Regenerate.
3733 * libmath/Makefile.in: Likewise.
3734 * libsupc++/Makefile.in: Likewise.
3735 * po/Makefile.in: Likewise.
3736 * src/Makefile.in: Likewise.
3737 * testsuite/Makefile.in: Likewise.
3738
3739 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3740
3741 * include/tr1/type_traits: Implement is_empty.
3742 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3743 is_empty.cc: New.
3744 * testsuite/tr1/4_metaprogramming/type_properties/is_empty/
3745 typedefs.cc: Likewise.
3746
3747 * include/tr1/type_traits (__is_abstract_helper): Simplify a bit.
3748
3749 2005-01-28 Paolo Carlini <pcarlini@suse.de>
3750
3751 * include/tr1/type_traits: Implement is_abstract, by exploiting the
3752 resolution of DR core/337.
3753 * testsuite/testsuite_tr1.h: Add AbstractClass.
3754 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3755 is_abstract.cc: New.
3756 * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/
3757 typedefs.cc: Likewise.
3758
3759 * include/tr1/type_traits (is_function): Rewrite, use the conversion
3760 F& -> F* instead, thus avoiding problems with abstract classes.
3761 * testsuite/tr1/4_metaprogramming/primary_type_categories/
3762 is_function/is_function.cc: Add a test for tricky AbstractClass.
3763
3764 2005-01-26 Paolo Carlini <pcarlini@suse.de>
3765
3766 * include/ext/mt_allocator.h
3767 (struct __per_type_pool_policy<,, false>::_S_get_pool,
3768 struct __per_type_pool_policy<,, true>::_S_get_pool): Scale
3769 _M_chunk_size too with sizeof(_Tp), otherwise the allocator
3770 breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128;
3771 reduce to 64 the multiplier for _M_max_bytes (safer wrt
3772 _Binmap_type being a short); trivial reformattings.
3773 * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New.
3774
3775 2005-01-26 Paolo Carlini <pcarlini@suse.de>
3776
3777 * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex
3778 to the final test for enable_c99, thus robustifying it; remove
3779 duplicate final test on ac_99_math.
3780 * configure: Regenerate.
3781
3782 * include/std/std_complex.h: Remove usages of the dead
3783 _GLIBCXX_BUGGY_COMPLEX macro.
3784
3785 * testsuite/26_numerics/cmath/19322.cc: Protect with
3786 _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99,
3787 since only C99 math facilities are involved.
3788 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
3789 Likewise.
3790
3791 2005-01-25 Loren J. Rittle <ljrittle@acm.org>
3792
3793 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin
3794 instead of generic. Change autoconf report to "darwin or freebsd".
3795 * configure: Regenerate.
3796 * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add.
3797 (ctype<wchar_t>::do_scan_is): Likewise.
3798 (ctype<wchar_t>::do_scan_not): Likewise.
3799
3800 2005-01-25 Benjamin Kosnik <bkoz@redhat.com>
3801
3802 * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math
3803 functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist.
3804 * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH.
3805 * config.h.in: Regenerate.
3806 * configure: Regenerate.
3807 * include/std/std_complex.h: Protect complex builtins with
3808 _GLIBCXX_USE_C99_COMPLEX_MATH.
3809
3810 2005-01-24 Paolo Carlini <pcarlini@suse.de>
3811
3812 * include/tr1/type_traits: Implement is_signed and is_unsigned.
3813 * testsuite/tr1/4_metaprogramming/type_properties/
3814 is_signed/is_signed.cc: New.
3815 * testsuite/tr1/4_metaprogramming/type_properties/
3816 is_signed/typedefs.cc: Likewise.
3817 * testsuite/tr1/4_metaprogramming/type_properties/
3818 is_unsigned/is_unsigned.cc: Likewise.
3819 * testsuite/tr1/4_metaprogramming/type_properties/
3820 is_unsigned/typedefs.cc: Likewise.
3821
3822 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3823
3824 * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34.
3825
3826 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3827
3828 * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New.
3829 * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
3830 * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
3831 * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
3832 * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
3833 * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
3834 * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
3835 * testsuite/27_io/basic_ostream/flush/wchar_t/
3836 exceptions_badbit_throw.cc: Likewise.
3837 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3838 wchar_t/2.cc: Likewise.
3839 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3840 wchar_t/3.cc: Likewise.
3841 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3842 wchar_t/4.cc: Likewise.
3843 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3844 wchar_t/4402.cc: Likewise.
3845 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3846 wchar_t/5.cc: Likewise.
3847 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3848 wchar_t/6.cc: Likewise.
3849 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3850 wchar_t/9555-oa.cc: Likewise.
3851 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3852 wchar_t/exceptions_badbit_throw.cc: Likewise.
3853 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3854 wchar_t/exceptions_failbit_throw.cc: Likewise.
3855 * testsuite/27_io/basic_ostream/inserters_character/
3856 wchar_t/1.cc: Likewise.
3857 * testsuite/27_io/basic_ostream/inserters_character/
3858 wchar_t/2.cc: Likewise.
3859 * testsuite/27_io/basic_ostream/inserters_character/
3860 wchar_t/3.cc: Likewise.
3861 * testsuite/27_io/basic_ostream/inserters_character/
3862 wchar_t/4.cc: Likewise.
3863 * testsuite/27_io/basic_ostream/inserters_character/
3864 wchar_t/5.cc: Likewise.
3865 * testsuite/27_io/basic_ostream/inserters_character/
3866 wchar_t/6.cc: Likewise.
3867 * testsuite/27_io/basic_ostream/inserters_character/
3868 wchar_t/9555-oc.cc: Likewise.
3869 * testsuite/27_io/basic_ostream/inserters_other/
3870 wchar_t/1.cc: Likewise.
3871 * testsuite/27_io/basic_ostream/inserters_other/
3872 wchar_t/2.cc: Likewise.
3873 * testsuite/27_io/basic_ostream/inserters_other/
3874 wchar_t/3.cc: Likewise.
3875 * testsuite/27_io/basic_ostream/inserters_other/
3876 wchar_t/4.cc: Likewise.
3877 * testsuite/27_io/basic_ostream/inserters_other/
3878 wchar_t/5.cc: Likewise.
3879 * testsuite/27_io/basic_ostream/inserters_other/
3880 wchar_t/9318-out.cc: Likewise.
3881 * testsuite/27_io/basic_ostream/inserters_other/
3882 wchar_t/9424-out.cc: Likewise.
3883 * testsuite/27_io/basic_ostream/inserters_other/
3884 wchar_t/9555-oo.cc: Likewise.
3885 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3886 error_failbit.cc: Likewise.
3887 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3888 exceptions_badbit_throw.cc: Likewise.
3889 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3890 exceptions_failbit_throw.cc: Likewise.
3891 * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
3892 exceptions_null.cc: Likewise.
3893 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3894 * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
3895 * testsuite/27_io/basic_ostream/seekp/char/
3896 exceptions_badbit_throw.cc: Likewise.
3897 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3898 2346-fstream.cc: Likewise.
3899 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3900 2346-sstream.cc: Likewise.
3901 * testsuite/27_io/basic_ostream/seekp/wchar_t/
3902 exceptions_badbit_throw.cc: Likewise.
3903 * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
3904 * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
3905 * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
3906 * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
3907 * testsuite/27_io/basic_ostream/tellp/wchar_t/
3908 exceptions_badbit_throw.cc: Likewise.
3909 * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
3910
3911 * testsuite/data/wostream_inserter_char-1.tst: Likewise.
3912 * testsuite/data/wostream_inserter_char-1.txt: Likewise.
3913 * testsuite/data/wostream_inserter_other-1.tst: Likewise.
3914 * testsuite/data/wostream_inserter_other-2.tst: Likewise.
3915 * testsuite/data/wostream_seeks-1.tst: Likewise.
3916
3917 * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks.
3918 * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
3919 * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
3920 * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
3921 * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
3922 * testsuite/27_io/basic_ostream/flush/char/
3923 exceptions_badbit_throw.cc: Likewise.
3924 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3925 char/2.cc: Likewise.
3926 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3927 char/3.cc: Likewise.
3928 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3929 char/4.cc: Likewise.
3930 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3931 char/4402.cc: Likewise.
3932 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3933 char/5.cc: Likewise.
3934 * testsuite/27_io/basic_ostream/inserters_arithmetic/
3935 char/6.cc: Likewise.
3936 * testsuite/27_io/basic_ostream/inserters_character/
3937 char/4.cc: Likewise.
3938 * testsuite/27_io/basic_ostream/inserters_other/char/
3939 2.cc: Likewise.
3940 * testsuite/27_io/basic_ostream/inserters_other/char/
3941 5.cc: Likewise.
3942 * testsuite/27_io/basic_ostream/inserters_other/char/
3943 error_failbit.cc: Likewise.
3944 * testsuite/27_io/basic_ostream/inserters_other/char/
3945 exceptions_badbit_throw.cc: Likewise.
3946 * testsuite/27_io/basic_ostream/inserters_other/char/
3947 exceptions_failbit_throw.cc: Likewise.
3948 * testsuite/27_io/basic_ostream/inserters_other/char/
3949 exceptions_null.cc: Likewise.
3950 * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
3951 * testsuite/27_io/basic_ostream/seekp/char/
3952 exceptions_badbit_throw.cc: Likewise.
3953 * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
3954 * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
3955
3956 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3957
3958 * include/tr1/type_traits (aligned_storage): Use __aligned__ instead
3959 of aligned.
3960
3961 2005-01-23 Paolo Carlini <pcarlini@suse.de>
3962 Andreas Jaeger <aj@suse.de>
3963
3964 PR libstdc++/19343
3965 * include/bits/functexcept.h: Mark the helpers as 'noreturn'.
3966
3967 2005-01-21 Loren J. Rittle <ljrittle@acm.org>
3968
3969 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow
3970 lseek on fifo to succeed. Thus, check for consistent report.
3971
3972 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3973
3974 PR libstdc++/19510
3975 * include/bits/stl_list.h (_List_iterator): Initialize _M_node
3976 in constructor.
3977 (_List_const_iterator): Likewise.
3978 * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise.
3979 (_Rb_tree_const_iterator): Likewise.
3980
3981 * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3982 * testsuite/23_containers/set/operators/1_neg.cc: Likewise.
3983
3984 2005-01-20 Benjamin Kosnik <bkoz@redhat.com>
3985
3986 * testsuite/Makefile.am (check-compile): New.
3987 * testsuite/Makefile.in: Regenerate.
3988 * scripts/check_compile_time: New.
3989 * scripts/check_performance: Tweaks.
3990
3991 2005-01-19 Paolo Carlini <pcarlini@suse.de>
3992
3993 PR libstdc++/19535
3994 * include/tr1/utility (struct __pair_get<1>::__get, __const_get):
3995 Fix typo in the return type.
3996 * testsuite/tr1/6_containers/utility/19535.cc: New.
3997
3998 2005-01-19 Loren J. Rittle <ljrittle@acm.org>
3999
4000 * include/ext/array_allocator.h (array_allocator<>::allocate):
4001 Avoid __used. Use __array_used instead.
4002 * docs/html/17_intro/BADNAMES: Add list for FreeBSD.
4003
4004 2005-01-18 David Edelsohn <edelsohn@gnu.org>
4005
4006 * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete.
4007 (_XOPEN_SOURCE_EXTENDED): Delete.
4008
4009 2005-01-18 Benjamin Kosnik <bkoz@redhat.com>
4010
4011 * testsuite/testsuite_performance.h (time_counter::start):
4012 Clear. Tweaks.
4013 (clear_counters): Inline.
4014 (start_counters): Inline.
4015 (stop_counters): Inline.
4016 * testsuite/performance/20_util/allocator/map_thread.cc: Return.
4017 * testsuite/performance/20_util/allocator/insert.cc: Remove bogus
4018 return, add return.
4019 * testsuite/performance/20_util/allocator/map_thread.cc: Same.
4020
4021 2005-01-17 Paolo Carlini <pcarlini@suse.de>
4022
4023 PR libstdc++/19433
4024 * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
4025 const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
4026 Obtain amortized constant complexity if t is inserted right after
4027 p - not before p - as per Table 69.
4028 * testsuite/performance/23_containers/set_insert_from_sorted.cc: New.
4029
4030 * testsuite/23_containers/multiset/insert/2.cc: New.
4031 * testsuite/23_containers/set/insert/1.cc: Likewise.
4032
4033 * testsuite/performance/23_containers/set_create_from_sorted.cc:
4034 Simplify.
4035
4036 * include/bits/stl_tree.h: Add a few missing std:: qualifications.
4037
4038 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org>
4039
4040 * include/ext/rope: Qualify calls to std::copy() by sequence_buffer.
4041 * testsuite/ext/rope/4.cc: Add.
4042
4043 2005-01-16 Lorenz Minder <lminder@gmx.net>
4044 Paolo Carlini <pcarlini@suse.de>
4045
4046 PR libstdc++/19322
4047 * include/c_std/std_cmath.h: Define the C99 classification facilities
4048 directly inside namespace std:.
4049 * testsuite/26_numerics/cmath/19322.cc: New.
4050
4051 2005-01-15 David Edelsohn <edelsohn@gnu.org>
4052
4053 * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete.
4054
4055 2005-01-14 Paolo Carlini <pcarlini@suse.de>
4056
4057 PR libstdc++/19422
4058 * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II),
4059 _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique,
4060 respectively) with hint (end()).
4061 * testsuite/performance/23_containers/set_create_from_sorted.cc: New.
4062
4063 2005-01-13 Geoffrey Keating <geoffk@apple.com>
4064
4065 * configure.host (darwin): On darwin8 or later, no need to build
4066 libstdc++ with -flat_namespace.
4067
4068 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org>
4069
4070 * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES.
4071
4072 2005-01-13 Paolo Carlini <pcarlini@suse.de>
4073
4074 * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc:
4075 Re-enable commented-out test for double type.
4076
4077 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4078 Benjamin Kosnik <bkoz@redhat.com>
4079
4080 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4081 basic_istream<char>::ignore(streamsize, int_type),
4082 basic_istream<wchar_t>::ignore(streamsize),
4083 basic_istream<wchar_t>::ignore(streamsize, int_type)): In case
4084 more than numeric_limits<streamsize>::max() chars are skipped,
4085 set _M_gcount = max().
4086 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4087 int_type)): Likewise; keep simple, don't forward.
4088
4089 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4090
4091 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4092 basic_istream<char>::ignore(streamsize, int_type),
4093 basic_istream<wchar_t>::ignore(streamsize),
4094 basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert
4095 2005-01-05 change: actually, the previous behavior is conforming
4096 and consistent with that of get(char_type*, streamsize, char_type),
4097 albeit slightly different from that of 3.3/3.4 in a corner case
4098 due to the use of snextc.
4099 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4100 int_type)): Likewise.
4101 * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove.
4102 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4103
4104 2005-01-11 Paolo Carlini <pcarlini@suse.de>
4105
4106 * include/tr1/type_traits: Implement alignment_of and aligned_storage.
4107 * testsuite/tr1/4_metaprogramming/other_transformations/
4108 aligned_storage/aligned_storage.cc: New.
4109 * testsuite/tr1/4_metaprogramming/other_transformations/
4110 aligned_storage/typedefs.cc: Likewise.
4111 * testsuite/tr1/4_metaprogramming/type_properties/
4112 alignment_of/alignment_of.cc: Likewise.
4113 * testsuite/tr1/4_metaprogramming/type_properties/
4114 alignment_of/typedefs.cc: Likewise.
4115
4116 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4117
4118 * Makefile.in: Regenerate.
4119 * libmath/Makefile.in: Likewise.
4120 * libsupc++/Makefile.in: Likewise.
4121 * po/Makefile.in: Likewise.
4122 * src/Makefile.in: Likewise.
4123 * testsuite/Makefile.in: Likewise.
4124
4125 2005-01-10 Paolo Carlini <pcarlini@suse.de>
4126
4127 * include/bits/stl_algobase.h (lexicographical_compare):
4128 Fix concept check.
4129
4130 2005-01-07 Benjamin Kosnik <bkoz@redhat.com>
4131
4132 * acinclude.m4: Remove CCODECVT_H.
4133 * configure: Regenerate.
4134 * include/Makefile.am (host_headers_extra): Move to...
4135 (ext_headers): ...here.
4136 * include/Makefile.in: Regenerate.
4137 * include/ext/enc_filebuf: Remove enc_filebuf, consolidate
4138 enc_traits to...
4139 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move...
4140 * include/ext/codecvt_specializations.h: ...here. Remove
4141 _GLIBCXX_USE___ENC_TRAITS.
4142 (__enc_traits): To __encoding_state, put in __gnu_cxx namespace.
4143 (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx
4144 namespace.
4145 * config/locale/generic/codecvt_specializations.h: Remove.
4146 * include/bits/codecvt.h: Remove codecvt_specializations.h include.
4147 * src/codecvt.cc: Remove __enc_traits::_S_max_size.
4148
4149 2005-01-06 Benjamin Kosnik <bkoz@redhat.com>
4150
4151 * include/bits/fstream.tcc: Remove unnecessary qualifications for
4152 uglified data members of basic_filebuf, including _M_buf,
4153 _M_buf_size, _M_mode, _M_pback_init.
4154 * include/std/std_fstream.h: Same.
4155
4156 2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
4157
4158 * testsuite/testsuite_hooks.h:
4159 (copy_constructor::mark_call): Use __throw_runtime_error.
4160 (assignment_operator::mark_call): Same.
4161 * testsuite/testsuite_hooks.cc (verify_demangle): Same.
4162 (locale_data): Remove, just use runtime_error directly.
4163 (environment_variable): Same.
4164 (not_found): Same.
4165 (run_tests_wrapped_locale): Use __throw_runtime_error.
4166 (run_tests_wrapped_env): Same.
4167 (semaphore::semaphore): Same.
4168 (semaphore::signal): Same.
4169 (semaphore::wait): Same.
4170 * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error.
4171 * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error.
4172 (create_symbols): Use __throw_runtime_error.
4173 * src/bitmap_allocator.cc: Use __throw_bad_alloc.
4174
4175 2005-01-05 Mark Mitchell <mark@codesourcery.com>
4176
4177 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child
4178 process.
4179
4180 2005-01-05 Paolo Carlini <pcarlini@suse.de>
4181
4182 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4183 basic_istream<char>::ignore(streamsize, int_type),
4184 basic_istream<wchar_t>::ignore(streamsize),
4185 basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end,
4186 first check _M_gcount vs __n.
4187 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4188 int_type)): Likewise.
4189 * testsuite/27_io/basic_istream/ignore/char/4.cc: New.
4190 * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise.
4191
4192 2005-01-03 Mark Mitchell <mark@codesourcery.com>
4193
4194 * testsuite/testsuite_hooks.cc: Use __throw_exception_again
4195 instead of just throw.
4196
4197 * testsuite/testsuite_hooks.cc: Update coypright and follow style
4198 guidelines.
4199 * testsuite/testsuite_hooks.h: Likewise.
4200 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4201 semaphores, not sleep.
4202 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4203 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4204 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4205 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4206 Likewise.
4207 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4208 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4209 * testsuite/27_io/objects/char/7.cc: Likewise.
4210 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4211 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4212 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4213
4214 * configure.ac: Check for sys/ipc.h and sys/sem.h.
4215 * config.h.in: Regenerated.
4216 * configure: Likewise.
4217 * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally
4218 define.
4219 (sys/types.h): Include.
4220 (sys/ipc.h): Likewise.
4221 (sys/sem.h): Likewise.
4222 (__gnu_test::semun): New type.
4223 (__gnu_test::semaphore::sempaphore): New function.
4224 (__gnu_test::semaphore::~semaphore): Likewise.
4225 (__gnu_test::semaphore::wait): Likewise.
4226 (__gnu_test::semaphore::signal): Likewise.
4227 * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class.
4228 * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use
4229 semaphores, not sleep.
4230 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise.
4231 * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise.
4232 * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
4233 * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc:
4234 Likewise.
4235 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
4236 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise.
4237 * testsuite/27_io/objects/char/7.cc: Likewise.
4238 * testsuite/27_io/objects/char/9661-1.cc: Likewise.
4239 * testsuite/27_io/objects/wchar_t/7.cc: Likewise.
4240 * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise.
4241
4242 2005-01-03 Paolo Carlini <pcarlini@suse.de>
4243
4244 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4245 int_type)): Reset _M_gcount to numeric_limits<streamsize>::min().
4246 * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type),
4247 basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise.
4248 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4249 basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo.
4250
4251 2005-01-02 Paolo Carlini <pcarlini@suse.de>
4252
4253 * src/istream.cc (basic_istream<char>::ignore(streamsize),
4254 basic_istream<char>::ignore(streamsize, int_type),
4255 basic_istream<wchar_t>::ignore(streamsize),
4256 basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid
4257 _M_gcount overflows.
4258 * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize,
4259 int_type)): Likewise; use snextc in the main loop, consistently
4260 with the specializations above.
4261
4262 2005-01-02 Chris Jefferson <chris@bubblescope.net>
4263
4264 * include/bits/stl_algobase.h (mismatch): Correct concept check.
4265
4266 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4267
4268 * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include
4269 testsuite_hooks.h, to know whether including ext/enc_filebuf.h.
4270 * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise.
4271
4272 2005-01-01 Paolo Carlini <pcarlini@suse.de>
4273
4274 * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix,
4275 null-terminate array1 at the outset.
4276 * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
4277 Likewise.