OSDN Git Service

Add missing ChangeLog line for configure.host change.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2004-10-27  Paolo Carlini  <pcarlini@suse.de>
2
3         * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
4         Move out of line...
5         * include/bits/basic_string.tcc: ... here.
6
7 2004-10-26  Paolo Carlini  <pcarlini@suse.de>
8
9         * include/bits/basic_string.h (append(const basic_string&),
10         append(size_type, _CharT)): Move out of line...
11         * include/bits/basic_string.tcc: ... here.
12
13 2004-10-26  Paolo Carlini  <pcarlini@suse.de>
14
15         * include/bits/basic_string.h (erase(size_type, size_type),
16         erase(iterator), erase(iterator, iterator)): Call _M_mutate
17         instead of _M_replace_safe, equivalent when the fourth argument
18         is zero and simpler.
19
20 2004-10-26  Benjamin Kosnik  <bkoz@redhat.com>
21
22         * include/ext/array_allocator.h (array::allocate): Check for valid
23         array object, use its size member function directly.
24         * testsuite/ext/array_allocator/3.cc: New.
25         * docs/html/20_util/allocator.html: Add docs.
26         
27 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
28
29         * configure.host (darwin*): Build libstdc++ single module
30         and flat namespace.
31         * libsupc++/new_op.cc (new): Make weak.
32         * libsupc++/new_opnt.cc (new): Make weak.
33         * libsupc++/new_opv.cc (new): Make weak.
34         * libsupc++/new_opvnt.cc (new): Make weak.
35         * libsupc++/delete_op.cc (delete): Make weak.
36         * libsupc++/delete_opnt.cc (delete): Make weak.
37         * libsupc++/delete_opv.cc (delete): Make weak.
38         * libsupc++/delete_opvnt.cc (delete): Make weak.
39
40 2004-10-25  Benjamin Kosnik  <bkoz@redhat.com>
41
42         * testsuite/Makefile.am (GLIBCXX_INCLUDES): Add.
43         (AUTOMAKE_OPTIONS): Add nostdinc.
44         * testsuite/Makefile.in: Regenerate.
45         * scripts/testsuite_flags.in (build-includes): Remove redundant
46         search for libsupc++.
47         * fragment.am: Clean.
48         
49 2004-10-25  Benjamin Kosnik  <bkoz@redhat.com>
50
51         * include/Makefile.am (tr1_headers): Add tuple.
52         * include/Makefile.in: Regenerate.
53
54 2004-10-25  Chris Jefferson  <chris@bubblescope.net>
55
56         * include/tr1/tuple: Implementation of tuple from library TR.
57         * testsuite/tr1/6_containers/tuple/tuple_element.cc: New.
58         * testsuite/tr1/6_containers/tuple/tuple_size.cc: New.
59         * testsuite/tr1/6_containers/tuple/comparison_operators/comparisons.cc:
60         New.
61         * testsuite/tr1/6_containers/tuple/cons/assignment.cc: New.
62         * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: New.
63         * testsuite/tr1/6_containers/tuple/cons/constructor.cc: New.
64         * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: 
65         New.
66         * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: New.
67         * testsuite/tr1/6_containers/tuple/element_access/get.cc: New.
68
69 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
70         
71         * include/bits/basic_string.h (_Rep::_M_is_safe): Move to
72         basic_string as _M_disjunct, adjust to take only __s.
73         * include/bits/basic_string.tcc: Adjust consistently callers. 
74
75 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
76
77         * include/bits/basic_string.tcc (assign(const _CharT*, size_type)):
78         Adjust bit missing from the previous commit.
79
80 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
81
82         PR other/18138
83         * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc.
84
85 2004-10-25  Paolo Carlini  <pcarlini@suse.de>
86
87         * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
88         _M_move, _M_copy, _M_assign): New, use througout.
89         (operator+=(_CharT)): Define in terms of push_back.
90         (append(const basic_string&)): Define here, inline, and simplify,
91         don't use the full _M_replace_safe.
92         (append(size_type, _CharT)): Likewise, don't use _M_replace_aux.
93         (push_back): Likewise.
94         (assign(const basic_string&)): Define here, inline.
95         * include/bits/basic_string.tcc (append(const _CharT* s, size_type):
96         Fix: when s points inside the _Rep, upon reallocation (reserve) we
97         were copying from deallocated memory.
98         (append(const basic_string&, size_type, size_type)): Simplify,
99         don't use _M_replace_safe.
100         (replace(size_type, size_type, const _CharT*, size_type)): Slightly
101         tweak.
102         (reserve): Likewise.
103         * testsuite/21_strings/basic_string/append/char/2.cc: New.
104         * testsuite/21_strings/basic_string/append/char/3.cc: Likewise.
105         * testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise.
106         * testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise.
107
108         * testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk.
109         * testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise.
110
111 2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>
112
113         * testsuite/ext/mt_allocator/deallocate_global-2.c:
114         s/value_t/value_type/. s/traits_t/traits_type/.
115         s/policy_t/policy_type/. s/allocator_t/allocator_type/.
116         s/string_t/string_type/. s/list_t/list_type/.
117         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
118         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
119         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
120         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
121         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
122         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
123         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
124
125 2004-10-21  Benjamin Kosnik  <bkoz@redhat.com>
126
127         * include/tr1/array (array): Make safe for zero-sized arrays.
128         (array::end): Return one past the end.
129         (array::at): Use __throw_out_of_range, include functexcept.h.
130         (operator==): Implement.
131         (operator!=): Same.
132         (operator<): Same.
133         (operator>): Same.
134         (operator>=): Same.
135         (operator<=): Same.
136         * testsuite/tr1/6_containers/array/capacity/(empty.cc,
137         max_size.cc, size.cc): New.
138         * testsuite/tr1/6_containers/array/comparison_operators/(equal.cc,
139         greater.cc, greater_or_equal.cc, less.cc, less_or_equal.cc,
140         not_equal): New.
141         * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc: 
142         New.
143         * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc: 
144         New.
145         * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: New.
146         * testsuite/tr1/6_containers/array/requirements/(contiguous.cc,
147         instantiate, typedefs, zero_size_arrays): New.
148
149 2004-10-21  Paolo Carlini  <pcarlini@suse.de>
150             Benjamin Kosnik  <bkoz@redhat.com>
151
152         * include/bits/basic_string.h (_M_set_length_and_sharable): New.
153         * include/bits/basic_string.tcc (_S_construct, assign(const _CharT*,
154         size_type), _M_mutate, _M_clone): Use it.
155         (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here.
156
157 2004-10-21  Paolo Carlini  <pcarlini@suse.de>
158             Dhruv Matani  <dhruvbird@gmx.net>
159             Nathan Myers  <ncm@cantrip.org>
160
161         * include/bits/vector.tcc (_M_insert_aux, _M_fill_insert,
162         _M_range_insert): Check at the outset that we are not trying
163         to exceed max_size, then deal properly with __len overflows.
164         * testsuite/23_containers/vector/modifiers/insert/1.cc: New.
165         
166         * testsuite/testsuite_allocator.h: Remove redundant include.
167
168 2004-10-20  Paolo Carlini  <pcarlini@suse.de>
169
170         * include/ext/bitmap_allocator.h (allocate): Throw std::bad_alloc
171         when n > max_size().
172         * include/ext/malloc_allocator.h (allocate): Likewise.
173         * include/ext/mt_allocator.h (allocate): Likewise.
174         * include/ext/new_allocator.h (allocate): Likewise.
175         * include/ext/array_allocator.h: Use __throw_bad_alloc().
176         * include/ext/pool_allocator.h: Use __builtin_expect.
177         * testsuite/ext/array_allocator/check_allocate_max_size.cc: New.
178         * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: Likewise.
179         * testsuite/ext/malloc_allocator/check_allocate_max_size.cc: Likewise.
180         * testsuite/ext/mt_allocator/check_allocate_max_size.cc: Likewise.
181         * testsuite/ext/new_allocator/check_allocate_max_size.cc: Likewise.
182         * testsuite/ext/pool_allocator/check_allocate_max_size.cc: Likewise.
183         * testsuite/testsuite_allocator.h (check_allocate_max_size): New test.
184
185 2004-10-19  Paolo Carlini  <pcarlini@suse.de>
186
187         * testsuite/performance/20_util/allocator/list_sort_search.cc:
188         Include <ext/new_allocator.h>.
189         * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
190
191 2004-10-18  Paolo Carlini  <pcarlini@suse.de>
192
193         * include/bits/basic_string.tcc (_M_mutate): Do not reallocate
194         unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
195         == capacity() (== 0): is ok to just leave everything unchanged.
196
197         * include/bits/basic_string.h: Minor formatting fixes.
198         * include/bits/basic_string.tcc: Likewise.
199
200 2004-10-17  Benjamin Kosnik  <bkoz@redhat.com>
201
202         * include/ext/mt_allocator.h (__pool::_M_get_align): New.
203         (__mt_alloc::allocate): Use it.
204         * src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
205         (__pool::_M_reserve_block): Simplify block allocation.
206         
207 2004-10-17  Dhruv Matani  <dhruvbird@gmx.net>
208             Paolo Carlini  <pcarlini@suse.de>
209                 
210         * include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this
211         makes the code 64-bit correct and also fixes (together with using at
212         the beginning a bitmap 2 * size_t bytes wide) alignment issues: now
213         8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES.
214         Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor.
215         * src/bitmap_allocator.cc: Change to size_t.
216         * config/linker-map.gnu: Adjust.
217
218 2004-10-16  Benjamin Kosnik  <bkoz@redhat.com>
219
220         * include/tr1/array: Don't use layout_type.
221
222 2004-10-16  Sashan Govender  <sashang@gmail.com>
223
224         * include/tr1/array (array::end const): Fix casting from iterator
225         to const_iterator.
226         
227 2004-10-15  Paolo Carlini  <pcarlini@suse.de>
228
229         * include/ext/bitmap_allocator.h: Qualify ::operator delete.
230         * src/bitmap_allocator.cc: Likewise.
231         * src/mt_allocator.cc: Use ::operator delete, not delete,
232         consistently with ::operator new.
233
234         * include/ext/bitmap_allocator.h (deallocate): Check for null
235         pointer.
236         * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
237         * testsuite/testsuite_allocator.h (check_deallocate_null): Add test.
238
239 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
240
241         * include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
242         null pointer.
243         * include/ext/pool_allocator.h (debug_allocator::deallocate):
244         Check pointer value.
245         * include/ext/debug_allocator.h (debug_allocator::deallocate):
246         Throw exceptions, don't abort.
247         * include/ext/array_allocator.h
248         (array_allocator_base::deallocate): Remove unused parameters.
249         * testsuite/testsuite_allocator.h (check_deallocate_null): New.
250         * testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
251         * testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
252         * testsuite/ext/array_allocator/check_deallocate_null.cc: New.
253         * testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
254         * testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
255         * testsuite/ext/new_allocator/check_deallocate_null.cc: New.
256         * testsuite/ext/pool_allocator/check_deallocate_null.cc: New.
257
258         * testsuite/testsuite_allocator.h (check_new): Add instance argument.
259         * testsuite/ext/array_allocator/check_new.cc: New.
260         
261 2004-10-14  Paolo Carlini  <pcarlini@suse.de>
262
263         * include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
264         Rename __unused to __M_unused.
265
266 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
267
268         * testsuite/ext/headers.cc: Add includes, compile only.
269         * testsuite/ext/hash_map.cc: Move to...
270         * testsuite/ext/hash_map/1.cc: ...here.
271         * testsuite/ext/14648.cc: Move to...
272         * testsuite/ext/hash_map/14648.cc: ...here.
273         * testsuite/ext/hash_map/instantiate.cc: Add.
274         * testsuite/ext/hash_set.cc: Move to...
275         * testsuite/ext/hash_set/1.cc: ...here.
276         * testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
277         * testsuite/ext/hash_set/instantiate.cc: ...here.
278         * testsuite/ext/hash_check_construct_destroy.cc: Move to...
279         * testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
280         * testsuite/ext/slist_check_construct_destroy.cc: Move to...
281         * testsuite/ext/slist/check_construct_destroy.cc: ...here.
282         * testsuite/ext/slist_explicit_instantiation.cc: Move to...
283         * testsuite/ext/slist/instantiate.cc: ...here.
284         
285 2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
286
287         * include/ext/mt_allocator.h: Tweaks.
288         * src/mt_allocator.cc: Same.
289
290 2004-10-14  Dhruv Matani  <dhruvbird@gmx.net>
291
292         * ext/bitmap_allocator.h: Clean-up add/remove functions.
293         * src/bitmap_allocator.cc: New file. Contains the out-of-line
294         function definitions, static initialization of variables, and
295         explicit instantiations needed for the allocator.
296         * src/Makefile.am: Add.
297         * src/Makefile.in: Regenerate.
298         * config/linker.map.gnu: Add the necessary symbols.
299
300 2004-10-13  Paolo Carlini  <pcarlini@suse.de>
301
302         * include/bits/basic_string.tcc (_S_create): Use consistently
303         the exponential policy, simplify.
304         * testsuite/performance/21_strings/string_append_2.cc: New.
305
306         * include/ext/array_allocator.h (allocate): Fix bad_alloc check.
307         * testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
308         that case sizeof(_Rep) == 24).
309
310 2004-10-12  Paolo Carlini  <pcarlini@suse.de>
311
312         PR libstdc++/17948
313         * include/bits/stl_tree.h (erase(iterator, iterator)): Revert
314         wrong commit of 2004-10-07.
315         
316 2004-10-12  Scott Snyder  <snyder@fnal.gov>
317
318         PR libstdc++/17948
319         * testsuite/23_containers/set/modifiers/17948.cc: New.
320
321 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
322
323         * include/bits/stl_deque.h: Correct for over-long lines.
324
325 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
326
327         PR libstdc++/17937
328         * include/ext/mt_allocator.h (__pool::_M_destroy): New.
329         * src/mt_allocator.cc (__pool::~__pool): Change definitions to
330         _M_destroy.
331         * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT.
332         * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove.
333         * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT.
334         * configure: Regenerate.
335         * config/linker-map.gnu: Tweak exports.
336         * docs/html/ext/mt_allocator.html: Update docs.
337         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix.
338         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix.       
339         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix.
340         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix.
341         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix.
342         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix.
343         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix.
344         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix.
345
346 2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
347
348         PR libstdc++/16614 continued.
349         * include/ext/mt_allocator.h
350         (__per_type_pool_policy::_S_get_pool): Use saner defaults based on
351         specific type characteristics.
352         (__pool_base): Add constructor that takes a _Tune argument.
353         (__pool): Same.
354         * testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
355         * testsuite/ext/mt_allocator/tune-4.cc: Same.
356         * testsuite/ext/mt_allocator/tune-3.cc: Same.
357
358 2004-10-11  Joachim Kuebart  <kuebart@mathematik.uni-ulm.de>
359             Paolo Carlini  <pcarlini@suse.de>
360
361         * src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
362         Deal properly with exceptions thrown by ::operator new(size_t).
363         * testsuite/ext/pool_allocator/allocate_chunk.cc: New.
364
365         * include/ext/pool_allocator.h: Include <cstdlib>.
366
367 2004-10-10  Benjamin Kosnik  <bkoz@redhat.com>
368
369         * include/bits/functexcept.h: Add guards.
370
371         * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test.
372         * configure: Regenerate.
373         
374 2004-10-10  Paolo Carlini  <pcarlini@suse.de>
375
376         * config/locale/gnu/monetary_members.cc (_S_construct_pattern):
377         Give __ret a default value, thus avoiding spurious warnings.
378
379         * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: Open either
380         words or linux.words, otherwise exit.
381         * testsuite/performance/27_io/ifstream_getline.cc: Slighlty tweak.
382
383 2004-10-09  Paolo Carlini  <pcarlini@suse.de>
384
385         * include/std/std_memory.h (__get_temporary_buffer): Don't use
386         INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit
387         platforms too.
388         * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error
389         line numbers.
390
391 2004-10-08  Benjamin Kosnik  <bkoz@redhat.com>
392
393         * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.
394         * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New.
395         * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT.
396         * configure: Regenerate.
397         * src/mt_allocator.cc (__pool::~__pool): Make conditional on
398         _GLIBCXX_USE___CXA_ATEXIT macro.
399         * docs/html/ext/mt_allocator.html: Add note about deallocation.
400         * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks
401         with _GLIBCXX_USE___CXA_ATEXIT.
402         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
403         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
404         * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
405         * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
406         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
407         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
408         * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
409         
410 2004-10-07  Phil Edwards  <phil@codesourcery.com>
411
412         * testsuite/lib/libstdc++.exp:  Update list of undefined functions.
413
414 2004-10-07  Paolo Carlini  <pcarlini@suse.de>
415
416         * include/bits/list.tcc (operator=): Avoid iterator postincrement.
417         * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise.
418
419 2004-10-07  Benjamin Kosnik  <bkoz@redhat.com>
420
421         * include/tr1: New.
422         * include/tr1/array: New.
423         * include/Makefile.am (tr1_headers): New.
424         (stamp-tr1): New.
425         (install-headers): New.
426         (allstamped): Add stamp-tr1.
427
428         * include/ext/array_allocator.h: New.
429         * include/Makefile.am: Add.
430         * include/Makefile.in: Regenerate.
431         * testsuite/ext/array_allocator/1.cc: New.
432         * testsuite/ext/array_allocator/2.cc: New.
433
434 2004-10-07  Richard Earnshaw  <rearnsha@arm.com>
435
436         * testsuite/lib/libstdc++.exp (libstdc++_exit): New proc.
437
438 2004-10-07  Roger Sayle  <roger@eyesopen.com>
439
440         PR libstdc++/17850
441         * configure.ac: Newlib does not provide strtold.
442         * configure: Regenerate.
443
444 2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
445
446         * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
447         (GLIBCXX_CONFIGURE_TESTSUITE): Use it.
448         * configure: Regenerated.
449         * testsuite/Makefile.am (CLEANFILES): Add TEST for
450         check-performance executables.
451         (stamp_thread): New.
452         (all-local): Use it.
453         * testsuite/Makefile.in: Regenerate.
454         * scripts/create_testsuite_files: Filter thread tests.
455
456         * testsuite/thread/pthread1.cc: Remove macro conditionals: this
457         file will only be run by thread enabled configurations.
458         * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
459         * testsuite/thread/pthread6.cc: Same.
460         * testsuite/thread/pthread5.cc: Same.
461         * testsuite/thread/pthread4.cc: Same.
462         * testsuite/thread/pthread3.cc: Same.
463         * testsuite/thread/pthread2.cc: Same.
464
465         * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
466         * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
467         * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
468         * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
469         * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here. 
470         * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
471         * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
472         * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
473         * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.
474
475 2004-10-06  Benjamin Kosnik  <bkoz@redhat.com>
476             Paolo Carlini  <pcarlini@suse.de>
477
478         PR libstdc++/17780
479         * src/mt_allocator.cc (__pool<true>::_M_reserve_block): Revert
480         to old locking order.
481
482 2004-10-06  Paolo Carlini  <pcarlini@suse.de>
483
484         * include/std/std_sstream.h (_M_sync): When the caller is
485         setbuf, don't trust _M_string.capacity() to be the size of
486         the buffer area, use _M_string.size() in this case.
487         * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: New.
488         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
489
490         * include/bits/sstream.tcc (overflow): Avoid calling string::assign
491         unnecessarily when the current _M_string is empty.
492
493 2004-10-06  Paolo Carlini  <pcarlini@suse.de>
494
495         * include/bits/stl_algo.h (__reverse(bidirectional_iterator_tag)):
496         Avoid iterator postincrement.
497         (__rotate): Likewise.
498
499         * include/bits/stl_algo.h: Minor formatting tweaks.
500
501 2004-10-06  Christopher Jefferson <caj@cs.york.ac.uk>
502
503         * include/bits/stl_algo.h (__reverse(random_access_iterator_tag)):
504         Avoid iterator postincrement; fix swapping middle element with
505         itself on odd-length inputs.
506
507 2004-10-05  Benjamin Kosnik  <bkoz@redhat.com>
508
509         PR libstdc++/17780
510         * include/ext/mt_allocator.h (__pool_base::_Tune): Add default
511         options as compile-time constant enums.
512         (__pool_base::_Tune::is_default): New.
513         (__pool_base::_Block_address): New.
514         (__pool_base): Rearrange data members.
515         (__pool::_M_reserve_memory): To _M_reserve_block.
516         (__pool::_M_reclaim_memory): To _M_reclaim_block.       
517         (__pool::_Bin_record): Add _Block_address data member.
518         (__pool<false>): Add _M_thread_freelist_initial.
519         (__pool::~__pool): Declare.     
520         (__common_pool_policy): Move static data member to...
521         (__common_pool_policy::_S_get_pool): ...here, make static local.
522         (__per_type_pool_policy): Move static data member to...
523         (__per_type_pool_policy::_S_get_pool): ...here, make static local.
524         (__mt_alloc::__mt_alloc): Call __policy_type::_S_get_pool.
525         Remove static member definitions. Use define for __default_policy.
526         * src/mt_allocator.cc: Same.
527         * config/linker-map.gnu: Don't export _S_get_pool. Renames.
528         * testsuite/ext/new_allocator: New.
529         * testsuite/ext/new_allocator/instantiate.cc: New.
530         * testsuite/ext/new_allocator/check_new.cc: New.
531         * testsuite/ext/new_allocator/deallocate_global.cc: New.
532         * testsuite/ext/new_allocator/deallocate_local.cc: New.
533         * testsuite/ext/mt_allocator/instantiate.cc: Instantiate all
534         template arguments.
535         * testsuite/ext/mt_allocator/deallocate_global-1.cc: New.
536         * testsuite/ext/mt_allocator/deallocate_global-2.cc: New.
537         * testsuite/ext/mt_allocator/deallocate_global-3.cc: New.
538         * testsuite/ext/mt_allocator/deallocate_global-4.cc: New.
539         * testsuite/ext/mt_allocator/deallocate_local-1.cc: New.
540         * testsuite/ext/mt_allocator/deallocate_local-2.cc: New.
541         * testsuite/ext/mt_allocator/deallocate_local-3.cc: New.
542         * testsuite/ext/mt_allocator/deallocate_local-4.cc: New.
543         * testsuite/ext/mt_allocator/deallocate.cc: New.
544         * testsuite/ext/malloc_allocator/deallocate.cc: New.    
545         * testsuite/ext/malloc_allocator/deallocate_global.cc: New.
546         * testsuite/ext/malloc_allocator/deallocate_local.cc: New.
547         
548 2004-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
549
550         * configure.host (abi_baseline_pair): Define for s390-*-linux* and
551         s390x-*-linux*.
552         * config/abi/s390-linux-gnu/baseline_symbols.txt: Add missing symbols.
553         * config/abi/s390x-linux-gnu/baseline_symbols.txt: New file.
554
555 2004-10-05  Christopher Jefferson  <caj@cs.york.ac.uk>
556
557         * include/bits/stl_algobase.h (iter_swap): delegate to swap via
558         __iter_swap when iterator's value_types are equal.
559         (struct __iter_swap): New.
560
561 2004-10-04  Benjamin Kosnik  <bkoz@redhat.com>
562
563         * configure.ac (libtool_VERSION): To 6:3:0.
564         * configure: Regnerate.
565         * testsuite/testsuite_abi.cc (check_version): Add 3.4.3.
566
567 2004-10-04  Roger Sayle  <roger@eyesopen.com>
568             Eric Botcazou  <ebotcazou@libertysurf.fr>
569
570         PR libstdc++/17505
571         * config/linker-map.gnu: Synchronize the current list of stub
572         functions from libmath.
573
574 2004-10-03  Roger Sayle  <roger@eyesopen.com>
575
576         * config/locale/generic/c_locale.cc (__convert_to_v): Use
577         _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
578         Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
579         to check for presence of strtold.
580
581 2004-10-03  Paolo Carlini  <pcarlini@suse.de>
582
583         * include/bits/stl_list.h: Trivial formatting fixes.
584         * include/bits/stl_tree.h: Likewise.
585
586 2004-10-03  Paolo Carlini  <pcarlini@suse.de>
587
588         * include/bits/sstream.tcc (seekpos): In case of success, just
589         return __sp.
590
591 2004-10-01  Paolo Carlini  <pcarlini@suse.de>
592
593         * include/bits/sstream.tcc (pbackfail): Implement correctly
594         27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not
595         write in the buffer.
596         * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New.
597         * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
598         * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
599         * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
600         * testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently.
601
602 2004-10-01  Paolo Carlini  <pcarlini@suse.de>
603
604         * include/bits/sstream.tcc (seekpos): Minor rearrangement of two
605         conditionals consistently with seekoff.
606         * include/std/std_sstream.h (setbuf): Avoid a string temporary.
607         (_M_sync): Simplify a bit, clean-up comment.
608
609 2004-09-30  Paolo Carlini  <pcarlini@suse.de>
610
611         PR libstdc++/10975 (DR 453)
612         * include/bits/sstream.tcc (seekoff): Don't fail if __beg == 0
613         and __off == 0.
614         * docs/html/ext/howto.html: Add an entry for DR 453.
615         * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: New.
616         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise.
617         * testsuite/27_io/basic_istream/tellg/char/1.cc: Tweak consistently.
618         * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise.
619         * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise.
620         * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: Fix and
621         move to...
622         * testsuite/27_io/basic_istream/seekp/char/2346-fstream.cc: ... here.
623         * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: Fix and
624         move to...
625         * testsuite/27_io/basic_istream/seekp/char/2346-sstream.cc: ... here.
626
627 2004-09-29  Paolo Carlini  <pcarlini@suse.de>
628
629         * include/std/std_sstream.h (basic_stringbuf(ios_base::openmode)):
630         Don't use _M_stringbuf_init, keep the pointers null, per 27.7.1.1.
631         (str()): Slightly tweak, protect from pptr() == 0.
632         (_M_update_egptr()): Likewise.
633         * include/bits/sstream.tcc (ssekoff, seekpos): In order to check
634         for an empty buffer use __beg instead of _M_string.capacity().
635         * testsuite/27_io/basic_stringbuf/cons/char/1.cc: New.
636         * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
637
638         * testsuite/27_io/basic_filebuf/cons/char/1.cc: New.
639         * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
640         * testsuite/27_io/basic_streambuf/cons/char/1.cc: Update.
641         * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.
642
643 2004-09-29  Paolo Carlini  <pcarlini@suse.de>
644             Benjamin Kosnik  <bkoz@redhat.com>
645         
646         * testsuite/testsuite_io.h (class constraint_buf): New, extended
647         and templatized version of constraint_filebuf; add typedefs for
648         streambuf/stringbuf/filebuf and wchar_t counterparts.
649
650 2004-09-28  Paolo Carlini  <pcarlini@suse.de>
651
652         PR libstdc++/16612
653         * include/bits/basic_string.h (_M_dispose, _M_refcopy,
654         basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined,
655         don't deal with _S_empty_rep.
656         * include/bits/basic_string.tcc (_S_construct, _M_destroy,
657         _M_leak_hard, _M_mutate): Likewise.
658         * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New.
659         * acconfig.h: Add corresponding undef.  
660         * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING.
661         * docs/html/configopts.html: Document --enable-fully-dynamic-string.
662         * configure: Regenerate.
663         * config.h.in: Likewise.
664
665 2004-09-28  Benjamin Kosnik  <bkoz@redhat.com>
666             Paolo Carlini  <pcarlini@suse.de>
667
668         * testsuite/21_strings/basic_string/operations/char/1.cc: New.
669         * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New.
670         * testsuite/21_strings/basic_string/element_access/char/empty.cc: New.
671         * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc: 
672         New.
673
674 2004-09-28  Paolo Carlini  <pcarlini@suse.de>
675
676         * README: Remove obsolete entry about include/c_shadow.
677
678 2004-09-24  H.J. Lu  <hongjiu.lu@intel.com>
679
680         PR libstdc++/17469
681         * testsuite/lib/libstdc++.exp: Don't use global ld_library_path.
682
683 2004-09-24  Paolo Carlini  <pcarlini@suse.de>
684
685         * src/localename.cc (locale::locale(const char*)): Minor tweaks:
686         rename a variable, move an assignment.
687         (locale::_Impl::_Impl(const char*, size_t)): Likewise, minor tweak.
688
689 2004-09-24  Paul Brook  <paul@codesourcery.com>
690
691         * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL more arm
692         simulator targets.
693         * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
694         * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Ditto.
695         * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Ditto.
696         * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Ditto.
697         * testsuite/ext/stdio_filebuf/char/10063-2.cc: Ditto.
698         * testsuite/ext/stdio_filebuf/char/10063-3.cc: Ditto.
699
700 2004-09-23  Zack Weinberg  <zack@codesourcery.com>
701
702         * testsuite/20_util/memory/auto_ptr/assign_neg.cc
703         * testsuite/23_containers/map/operators/1_neg.cc
704         * testsuite/23_containers/set/operators/1_neg.cc:
705         Update locations and/or regexps of dg-error markers.
706
707 2004-09-23  P.J. Darcy  <darcypj@us.ibm.com>
708
709         * include/Makefile.am (thread_host_headers): Add gthr-tpf.h.
710         Add rule to build ${host_builddir}/gthr-tpf.h.
711         * include/Makefile.in: Regenerate.
712
713 2004-09-23  Paolo Carlini  <pcarlini@suse.de>
714             Magnus Fromreide  <magfr@lysator.liu.se>
715
716         * include/bits/boost_concept_check.h (struct _SequenceConcept):
717         Remove wrong requirement, i.e., not present in Table 67.
718
719 2004-09-21  Paolo Carlini  <pcarlini@suse.de>
720
721         PR libstdc++/12882 (cont)
722         * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too.
723         * configure: Regenerate.
724         * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When
725         _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non
726         trivial showmanyc for large files too.
727
728 2004-09-17  Jonathan Wakely  <redi@gcc.gnu.org>
729
730         * include/bits/stl_algo.h (remove): Remove too restrictive
731         concept-check.
732
733 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
734
735         * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional,
736         as per Nathan's original suggestion.
737
738 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
739
740         * testsuite/ext/mt_allocator/tune-1.cc: Use VERIFY, clean
741         up a bit.
742         * testsuite/ext/mt_allocator/tune-2.cc: Likewise.
743         * testsuite/ext/mt_allocator/tune-3.cc: Likewise.
744         * testsuite/ext/mt_allocator/tune-4.cc: Likewise.
745
746 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
747             Andrea Arcangeli  <andrea@suse.de>
748
749         * config/io/basic_file_stdio.cc (__basic_file<>::close)): Don't
750         call unnecessarily sync, that is fflush: the library, since 3.4.0
751         does not use buffered fread/fwrite.
752         * include/bits/fstream.tcc (basic_filebuf<>::overflow): Likewise.
753
754 2004-09-15  Mark Mitchell  <mark@codesourcery.com>
755
756         * config/cpu/arm/cxxabi_tweaks.h (__cxa_cdtor_return_type):
757         Define.
758         * config/cpu/generic/cxxabi_tweaks.h (__cxa_cdtor_return_type):
759         Define.
760         * libsupc++/cxxabi.h (__cxa_cdtor_return_type): New type.
761         (__cxa_vec_new): Use it.
762         (__cxa_vec_new2): Likewise.
763         (__cxa_vec_new3): Likewise.
764         (__cxa_vec_cdtor): Likewise.
765         (__cxa_vec_cctor): Likeiwse.
766         (__cxa_vec_dtor): Likewise.
767         (__cxa_vec_cleanup): Likewise.
768         (__cxa_vec_delete2): Likewise.
769         (__cxa_vec_delete3): Likewise.
770         * libsupc++/vec.cc (__cxa_vec_new): Likewise.
771         (__cxa_vec_new2): Likewise.
772         (__cxa_vec_new3): Likewise.
773         (__cxa_vec_cdtor): Likewise.
774         (__cxa_vec_cctor): Likeiwse.
775         (__cxa_vec_dtor): Likewise.
776         (__cxa_vec_cleanup): Likewise.
777         (__cxa_vec_delete2): Likewise.
778         (__cxa_vec_delete3): Likewise.
779         (__aeabi_vec_ctor_nocookie_nodtor): New function.
780         (__aeabi_vec_ctor_cookie_nodtor): Likewise.
781         (__aeabi_vec_cctor_nocookie_nodtor): Likewise.
782         (__aeabi_vec_new_cookie_noctor): Likewise.
783         (__aeabi_vec_new_nocookie): Likewise.
784         (__aeabi_vec_new_cookie_nodtor): Likewise.
785         (__aeabi_vec_new_cookie): Likewise.
786         (__aeabi_vec_dtor): Likewise.
787         (__aeabi_vec_dtor_cookie): Likewise.
788         (__aeabi_vec_delete): Likewise.
789         (__aeabi_vec_delete3): Likewise.
790         (__aeabi_vec_delete3_nodtor): Likewise.
791         (__aeabi_atexit): Likewise.
792
793 2004-09-14  Nathan Myers  <ncm@cantrip.org>
794
795         * include/bits/fstream.tcc (xsgetn): Slightly tweak the recent fix
796         for 11722: copy can replace move; the common case is __avail == 0.
797
798 2004-09-14  Paolo Carlini  <pcarlini@suse.de>
799
800         * include/bits/cpp_type_traits.h: Rename __is_trivially_copyable
801         to __is_scalar, more clear and consistent with "tr1" naming.
802         * include/bits/stl_algobase.h: Update consistently throughout.
803
804 2004-09-13  Paolo Carlini  <pcarlini@suse.de>
805
806         PR libstdc++/11722
807         * include/std/std_fstream.h (xsgetn): Declare only.
808         * include/bits/fstream.tcc (xsgetn): Define, optimize for the
809         always_noconv() case: when __n > __buflen, copy the available
810         buffer and issue a direct read.
811         * testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New.
812
813         * include/bits/fstream.tcc (xsputn): Minor tweak, reorder a
814         conditional.
815
816 2004-09-13  Hans-Peter Nilsson  <hp@bitrange.com>
817
818         * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call
819         libstdc++_maybe_build_wrapper instead of using local code.
820
821 2004-09-08  Benjamin Kosnik  <bkoz@redhat.com>
822
823         * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports.
824
825 2004-09-03  Jan Beulich  <jbeulich@novell.com>
826
827         * crossconfig.m4: Add NetWare as a target.
828         * configure: Regenerate.
829
830 2004-09-02  Mark Mitchell  <mark@codesourcery.com>
831
832         * libsupc++/typeinfo: Honor __GXX_MERGED_TYPEINFO_NAMES if already
833         defined.
834
835 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
836             Simon Richter  <Simon.Richter@hogyros.de>
837
838         PR libstdc++/16715
839         * include/bits/istream.tcc: Add extern template for iostream
840         char and wchar_t instantiations.
841
842 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
843             Leland Wang  <llwang@infor.org>
844
845         PR libstdc++/17259
846         * include/ext/ropeimpl.h (rope::_S_compare): Use
847         _Rope_constants::_S_leaf.
848
849 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
850
851         PR libstdc++/16848
852         * include/Makefile.am (ext_headers): Remove demangle.h.
853         * include/Makefile.in: Regenerate.
854         * include/ext/demangle.h: Remove.
855
856 2004-09-01  Benjamin Kosnik  <bkoz@redhat.com>
857
858         PR libstdc++/16614
859         * include/ext/mt_allocator.h (__mt_base): Not type dependent,
860         split into..
861         (__pool): New, specialize.
862         (__common_pool): New, static bits here.
863         (__per_type_pool): New, and here.
864         (__mt_alloc_base): New.
865         (__mt_alloc): Add template parameter, inherit from it.
866         * src/allocator.cc: Split this...
867         * src/allocator-inst.cc: And this...
868         * src/pool_allocator.cc: ...into this.
869         * src/mt_allocator.cc: ... and this. Add definitions for
870         __mt_base.
871         * src/Makefile.am (sources): Split allocator.cc to
872         pool_allocator.cc and mt_allocator.cc.
873         * src/Makefile.in: Regenerate.
874         * config/linker-map.gnu: Add symbols.
875         * docs/html/ext/mt_allocator.html: Document new design.
876         * testsuite/ext/mt_allocator/tune-1.cc: New.
877         * testsuite/ext/mt_allocator/tune-2.cc: New.
878         * testsuite/ext/mt_allocator/tune-3.cc: New.
879         * testsuite/ext/mt_allocator/tune-4.cc: New.
880
881         * testsuite/testsuite_allocator.h (__gnu_test::check_new): New.
882         * testsuite/ext/allocators.cc: Use check_new, split into...
883         * testsuite/ext/mt_allocator/check_new.cc: this.
884         * testsuite/ext/pool_allocator/check_new.cc: this.
885         * testsuite/ext/malloc_allocator/check_new.cc: this.
886         * testsuite/ext/debug_allocator/check_new.cc: this.
887         * testsuite/ext/mt_allocator/instantiate.cc: this.
888         * testsuite/ext/pool_allocator/instantiate.cc: this.
889         * testsuite/ext/malloc_allocator/instantiate.cc: this.
890         * testsuite/ext/debug_allocator/instantiate.cc: this.
891
892 2004-08-30  Phil Edwards  <phil@codesourcery.com>
893
894         * docs/html/install.html:  Update locales list (from Paolo).
895         Remove other redundant information and point to the GCC install
896         documentation.
897
898 2004-08-30  Benjamin Kosnik  <bkoz@redhat.com>
899
900         * include/ext/pool_allocator.h: Rename __pool_base to
901         __pool_alloc_base.
902         * src/allocator.cc: Same.
903         * config/linker-map.gnu: Same.
904
905 2004-08-30  Paolo Carlini  <pcarlini@suse.de>
906             Kenneth C. Schalk  <ken@xorian.net>
907
908         PR libstdc++/17215
909         * config/io/basic_file_stdio.cc (__basic_file<char>::close()):
910         Check the return value of fclose/sync, loop on EINTR.
911         (__basic_file<char>::sys_open): Likewise, for sync.
912
913 2004-08-29  Paolo Carlini  <pcarlini@suse.de>
914
915         * include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format,
916         case 'S'): Allow for at least one leap-second (as per C99, 7.23.1
917         and 7.23.3.5), two if !_GLIBCXX_USE_C99.
918         * testsuite/22_locale/time_get/get_time/char/4.cc: New.
919         * testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.
920
921 2004-08-27  Jason Merrill  <jason@redhat.com>
922
923         PR c++/13684
924         * libsupc++/guard.cc (static_mutex): Internal class implementing a
925         recursive mutex which controls initialization of local statics.
926         (__gnu_cxx::recursive_init): New exception class.
927         (__cxa_guard_acquire): Deal with locking and recursion detection.
928         (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise.
929
930 2004-08-27  Matthias Klose  <doko@debian.org>
931
932         * configure.host: For mips*-*-linux* update cpu_include_dir
933         after atomicity_dir is set.
934
935 2004-08-27  Matthias Klose  <doko@debian.org>
936
937         * config/abi/arm-linux-gnu/baseline_symbols.txt: New.
938         * config/abi/mips-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
939         * configure.host: Set abi_baseline_pair for arm*-*-linux* and
940         mips*-*-linux*.
941
942 2004-08-27  Paolo Carlini  <pcarlini@suse.de>
943
944         * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: New.
945         * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
946         * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
947         * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
948         * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
949
950         * testsuite/27_io/manipulators/adjustfield/char/1.cc: Minor
951         formatting fixes.
952         * testsuite/27_io/manipulators/adjustfield/char/2.cc: Likewise.
953         * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
954         * testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
955         * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
956
957 2004-08-25  Paolo Carlini  <pcarlini@suse.de>
958
959         PR libstdc++/17038 (partial)
960         * include/bits/locale_facets.tcc (time_put<>::do_put): Increase
961         __maxlen to 128.
962         * include/bits/locale_facets.h (class __timepunct): Add FIXME
963         comment about _M_put.
964         * config/locale/generic/time_members.cc (_M_put): Always null
965         terminate __s.
966         * config/locale/gnu/time_members.cc (_M_put): Likewise.
967         * testsuite/22_locale/time_put/put/char/17038.cc: New.
968         * testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.
969
970 2004-08-24  Paolo Carlini  <pcarlini@suse.de>
971
972         * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: New.
973         * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
974         * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
975         * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
976         * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
977         * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
978
979         * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Trim excess
980         newlines.
981         * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
982
983 2004-08-22  Matthias Klose  <doko@debian.org>
984
985         * config/abi/m68k-linux-gnu/baseline_symbols.txt: New.
986         * config/abi/sparc-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
987
988 2004-08-23  Paolo Carlini  <pcarlini@suse.de>
989
990         * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.
991         * aclocal.m4: Regenerate with automake-1.9.1.
992         * configure: Regenerate.
993         * Makefile.in: Likewise.
994         * include/Makefile.in: Likewise.
995         * libmath/Makefile.in: Likewise.
996         * libsupc++/Makefile.in: Likewise.
997         * po/Makefile.in: Likewise.
998         * src/Makefile.in: Likewise.
999         * testsuite/Makefile.in: Likewise.
1000
1001 2004-08-22  Paolo Carlini  <pcarlini@suse.de>
1002
1003         * include/bits/locale_facets.tcc (num_put<>::do_put(bool)): Cast
1004         to a signed type, long according to the resolution of DR 359.
1005         * testsuite/22_locale/num_put/put/char/9.cc: New.
1006         * testsuite/22_locale/num_put/put/wchar_t/9.cc: New.
1007
1008         * include/bits/locale_facets.tcc (num_put<>::do_put(const void*)):
1009         Simplify a bit: no need to clear showpos.
1010
1011 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
1012
1013         * include/bits/char_traits.h (struct _Char_traits_match): Remove,
1014         unused.
1015
1016 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
1017
1018         * testsuite/22_locale/money_put/put/wchar_t/1.cc: Use proper
1019         wchar_t type for the fill argument; minor formatting tweaks.
1020         * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Likewise.
1021         * testsuite/22_locale/money_put/put/wchar_t/2.cc: Likewise.
1022         * testsuite/22_locale/money_put/put/wchar_t/3.cc: Likewise.
1023         * testsuite/22_locale/money_put/put/wchar_t/4.cc: Likewise.
1024         * testsuite/22_locale/money_put/put/wchar_t/5.cc: Likewise.
1025         * testsuite/22_locale/money_put/put/wchar_t/6.cc: Likewise.
1026
1027 2004-08-21  Paolo Carlini  <pcarlini@suse.de>
1028
1029         * include/bits/basic_ios.tcc (basic_ios<>::copyfmt): Don't deal
1030         with _M_word != _M_local_word two times, redundantly.
1031
1032 2004-08-20  Jason Merrill  <jason@redhat.com>
1033
1034         * include/Makefile.am (${host_builddir}/gthr.h): Don't add
1035         _GLIBCXX_ to #pragma lines.
1036         * include/Makefile.in: Update.
1037
1038 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
1039
1040         PR libstdc++/7219 (continued)
1041         * include/bits/ios_base.h (class ios_base): Expose Annex D.6
1042         typedefs by default.
1043         * testsuite/27_io/types/1.cc: Remove #if _GLIBCXX_DEPRECATED.
1044         * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak dg-error
1045         line number.
1046         * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1047
1048 2004-08-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1049
1050         * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
1051         barrier to locking asm.
1052
1053 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
1054
1055         * include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
1056         actually the warning is a front-end bug (c++/17120).
1057
1058 2004-08-20  Matthias Klose  <doko@debian.org>
1059
1060         * config/abi/s390-linux-gnu/baseline_symbols.txt: New.
1061
1062 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
1063
1064         * include/c_std/cmath.tcc (__cmath_power): Suppress assignment
1065         used as truth value warning.
1066
1067 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
1068
1069         * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit
1070         baseline.
1071
1072 2004-08-20  Paolo Carlini  <pcarlini@suse.de>
1073
1074         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it.
1075
1076 2004-08-19  Benjamin Kosnik  <bkoz@redhat.com>
1077
1078         * testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check
1079         timezone.
1080         * testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same.
1081
1082 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
1083
1084         * testsuite/performance/20_util/allocator/insert.cc: For std::map
1085         instantiate the allocator for a correct pair type.
1086         * testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
1087         * testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
1088         * testsuite/performance/20_util/allocator/producer_consumer.cc:
1089         Likewise.
1090
1091         * testsuite/performance/20_util/allocator/list_sort_search.cc: Very
1092         minor formatting fixes.
1093         * testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
1094
1095 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
1096
1097         * testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the
1098         results.
1099         * testsuite/22_locale/time_put/put/char/2.cc: Likewise.
1100         * testsuite/22_locale/time_put/put/char/3.cc: Likewise.
1101         * testsuite/22_locale/time_put/put/char/4.cc: Likewise.
1102         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
1103         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
1104         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
1105         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
1106
1107 2004-08-19  Paolo Carlini  <pcarlini@suse.de>
1108
1109         * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1110
1111 2004-08-18  Matthias Klose  <doko@debian.org>
1112
1113         * config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1114         * config/abi/i386-linux-gnu/baseline_symbols.txt: New.
1115         * config/abi/powerpc-linux-gnu/baseline_symbols.txt: New.
1116
1117 2004-08-17  Paolo Carlini  <pcarlini@suse.de>
1118
1119         * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1120
1121 2004-08-17  Paolo Carlini  <pcarlini@suse.de>
1122
1123         * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1124
1125 2004-08-17  Benjamin Kosnik  <bkoz@redhat.com>
1126
1127         * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
1128
1129 2004-08-16  Paolo Carlini  <pcarlini@suse.de>
1130
1131         * include/bits/indirect_array.h: Trivial formatting fixes.
1132         * include/bits/valarray_after.h: Likewise.
1133         * include/bits/valarray_array.h: Likewise.
1134         * src/valarray-inst.cc: Likewise.
1135
1136 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
1137
1138         * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
1139         * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
1140         * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
1141
1142         * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
1143         * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
1144         * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
1145         * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
1146         * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
1147
1148 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
1149
1150         * include/bits/deque.tcc: Trivial formatting fixes.
1151
1152 2004-08-15  Paolo Carlini  <pcarlini@suse.de>
1153
1154         * include/bits/deque.tcc: Trivial formatting fixes.
1155
1156         * include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
1157         Remove unneded typedef.
1158
1159         * include/bits/locale_facets.tcc: Very minor tweaks.
1160
1161         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
1162         type for the fill argument.
1163         * testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
1164         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
1165         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
1166         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
1167         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
1168         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
1169         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
1170         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
1171
1172 2004-08-13  Paolo Carlini  <pcarlini@suse.de>
1173
1174         * src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
1175         memmove is not needed, memcpy suffices.
1176
1177 2004-08-13  Paolo Carlini  <pcarlini@suse.de>
1178
1179         * include/std/std_fstream.h (class basic_ifstream,
1180         class basic_ofstream, class basic_fstream): Add const overloads
1181         of is_open, as per DR 365 [WP].
1182         * docs/html/ext/howto.html: Add an entry for DR 365.
1183
1184 2004-08-12  Paolo Carlini  <pcarlini@suse.de>
1185
1186         * configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
1187
1188 2004-08-12  Paolo Carlini  <pcarlini@suse.de>
1189
1190         PR libstdc++/16956
1191         * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
1192         to the returned value, reorganize a bit.
1193         * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
1194         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
1195
1196         * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
1197         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
1198         * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
1199         * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
1200
1201 2004-08-12  Paul Brook  <paul@codesourcery.com>
1202
1203         * config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
1204         _GLIBCXX_CXA_VEC_CTOR_RETURN.
1205         * config/cpu/generic/cxxabi_tweaks.h: Ditto.
1206         * libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
1207         __cxa_vec_ctor_return.
1208         * libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
1209         Use _GLIBCXX_CXA_VEC_CTOR_RETURN.
1210
1211 2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
1212
1213         * Makefile.in, aclocal.m4, configure, include/Makefile.in,
1214         libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1215         src/Makefile.in, testsuite/Makefile.in: Regenerate
1216
1217 2004-08-12  Jan Beulich  <jbeulich@novell.com>
1218
1219         * config/locale/generic/ctype_members.cc
1220         (ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
1221         initializer for return value, as that is invalid for enumerated types.
1222         * config/locale/gnu/ctype_members.cc
1223         (ctype<wchar_t>::_M_convert_to_wmask): Likewise.
1224
1225 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
1226
1227         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
1228
1229 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
1230
1231         * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
1232         variable.
1233         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
1234         * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
1235         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
1236         * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
1237         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
1238         * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
1239         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
1240         * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
1241         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
1242         * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
1243         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
1244         * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
1245         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
1246         * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
1247         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
1248         * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
1249         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
1250         * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
1251         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
1252         * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
1253         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
1254
1255 2004-08-11  Paolo Carlini  <pcarlini@suse.de>
1256             Petur Runolfsson  <peturr02@ru.is>
1257
1258         PR libstdc++/16959
1259         * src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
1260         standard streams are constructed.
1261         * testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
1262
1263 2004-08-09  Paolo Carlini  <pcarlini@suse.de>
1264
1265         * include/bits/stl_bvector.h: Trivial formatting fixes.
1266
1267 2004-08-09  Paolo Carlini  <pcarlini@suse.de>
1268
1269         * src/ios.cc (ios_base::_M_grow_words): Uglify the names.
1270
1271 2004-08-07  Jonathan Wakely  <redi@gcc.gnu.org>
1272             Paolo Carlini  <pcarlini@suse.de>
1273
1274         * src/debug.cc (_Error_formatter::_M_print_string): In order
1275         to print individual words from __string, _M_format_word can't
1276         be called since may be just sprintf, thus ignoring completely
1277         __n: instead, use memmove and append '\0' by hand.
1278
1279 2004-08-07  Paolo Carlini  <pcarlini@suse.de>
1280
1281         * config/locale/generic/c_locale.h (__convert_from_v): Don't
1282         use a default for __prec, assume __prec >= 0 and simplify.
1283         * config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
1284         * include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
1285         Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
1286
1287 2004-08-04  Phil Edwards  <phil@codesourcery.com>
1288
1289         * docs/html/configopts.html:  Emphasize that options change.
1290         * docs/html/17_intro/configury.html:  Update links.
1291
1292 2004-08-03  Paolo Carlini  <pcarlini@suse.de>
1293
1294         * include/bits/list.tcc: Trivial formatting fixes.
1295
1296 2004-08-03  Mark Mitchell  <mark@codesourcery.com>
1297
1298         * libsupc++/new_op.cc: Update comments.
1299         * libsupc++/del_op.cc: Likewise.
1300
1301 2004-08-02  Mark Mitchell  <mark@codesourcery.com>
1302
1303         * libsupc++/cxxabi.h: Make all declarations have default
1304         visibility.
1305         * libsupc++/exception: Likewise.
1306         * libsupc++/new: Likewise.
1307         * libsupc++/typeinfo: Likewise.
1308         * libsupc++/unwind-cxx.h: Likewise.
1309         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
1310         the __cxxabiv1 namespace.
1311         (__cxa_free_exception): Likewise.
1312         * libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
1313         (__cxa_bad_typeid): Likewise.
1314         * libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
1315         (__cxa_end_catch): Likewise.
1316         * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
1317         (__cxa_get_globals): Likewise.
1318         * libsupc++/eh_throw.cc (__cxa_throw): Likewise.
1319         (__cxa_rethrow): Likewise.
1320         * libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
1321         * libsupc++/eh_type.cc: Include <cxxabi.h>.
1322
1323         * Makefile.am (hosted_source): Add libmath and testsuite.
1324         (SUBDIRS): Remove them.
1325         * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
1326         on arm*-*-symbianelf*.
1327         * crossconfig.m4: Add arm*-*-symbianelf* support.
1328         * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
1329         when freestanding.  Do not bring names into std:: namespace with
1330         "using" when freestanding.  Declare required functions and macros
1331         when freestanding.
1332         * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
1333         when freestanding.
1334         * libsupc++/del_op.cc: Declare "free" only when freestanding.
1335         * libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
1336         (malloc): Declare when freestanding.
1337         (free): Likewise.
1338         (memset): Likewise.
1339         (__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
1340         for memset.
1341         (__cxa_free_exception): Likewise for free.
1342         * libsupc++/new_op.cc: Declare "malloc" when freestanding.
1343         * libsupc++/pure.cc (writestr): Define to nothing when
1344         freestanding.
1345         * libsupc++/vterminate.cc: Do not define anything when
1346         freestanding.
1347         * Makefile.in: Regenerated.
1348         * aclocal.m4: Likewise.
1349         * configure: Likewise.
1350         * include/Makefile.in: Likewise.
1351         * libmath/Makefile.in: Likewise.
1352         * libsupc++/Makefile.in: Likewise.
1353         * po/Makefile.in: Likewise.
1354         * src/Makefile.in: Likewise.
1355         * testsuite/Makefile.in: Likewise.
1356
1357 2004-08-01  Matt Austern  <austern@apple.com>
1358
1359         PR libstdc++/16844
1360         * include/bits/stl_list.h (_M_create_node): Remove unused
1361         zero-argument version.
1362         * include/ext/slist (_M_create_node): Pass two arguments to
1363         allocator's construct() member function.
1364         * testsuite/23_containers/deque/explicit_instantiation.cc: New.
1365         * testsuite/23_containers/list/explicit_instantiation.cc: New.
1366         * testsuite/23_containers/vector/explicit_instantiation.cc: New.
1367         * testsuite/23_containers/map/explicit_instantiation.cc: New.
1368         * testsuite/23_containers/set/explicit_instantiation.cc: New.
1369         * testsuite/23_containers/multimap/explicit_instantiation.cc: New.
1370         * testsuite/23_containers/multiset/explicit_instantiation.cc: New.
1371         * testsuite/ext/hash_set_explicit_instantiation.cc: New.
1372         * testsuite/ext/slist_explicit_instantiation.cc: New.
1373
1374 2004-07-30  Paolo Carlini  <pcarlini@suse.de>
1375
1376         * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
1377         num_get<>::_M_extract_int): In the main parsing loop delay the
1378         life of __q to the actual use point.
1379
1380 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
1381
1382         PR libstdc++/14220
1383         * include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
1384         Don't clip the precision passed down to __convert_from_v:
1385         22.2.2.2.2 nowhere says so.
1386         * testsuite/22_locale/num_put/put/char/14220.cc: New.
1387         * testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
1388
1389 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
1390
1391         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
1392
1393 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
1394             Petur Runolfsson  <peturr02@ru.is>
1395
1396         PR libstdc++/12658 (continued)
1397         * src/locale_init.cc (locale::locale, locale::global): Use
1398         a single locale_mutex instead of two separate mutexes.
1399
1400 2004-07-29  Paolo Carlini  <pcarlini@suse.de>
1401
1402         PR libstdc++/16813
1403         * include/debug/map.h (insert(_InputIterator, _InputIterator)):
1404         Fix typo.
1405         * testsuite/23_containers/map/insert/16813.cc: New.
1406
1407 2004-07-29  Phil Edwards  <phil@codesourcery.com>
1408
1409         * docs/html/faq/index.html:  Update version references.  Make
1410         clear that code from SGI has diverged greatly.  Remove references
1411         to library snapshots and what's-new sections.
1412         * docs/html/faq/index.txt:  Regenerate.
1413
1414 2004-07-28  Matt Austern  <austern@apple.com>
1415
1416         * include/bits/stl_construct.h (_Destroy): New three-argument
1417         overload that takes an allocator argument.  Another inline
1418         three-argument overload that takes std::allocator and dispatches
1419         to the two-argument version.
1420         * include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
1421         Change return type to void to match uninitialized_fill_n.
1422         (__uninitialized_copy_a_): New function.  Like uninitialized_copy
1423         except that it takes an allocator and uses it for construct and
1424         destroy.  If the allocator is std::allocator, dispatches to
1425         uninitialized_copy.
1426         (__uninitialized_fill_a): Likewise.
1427         (__uninitialized_fill_n_a): Likewise.
1428         (__uninitialized_copy_copy): Give it an allocator argument.
1429         (__uninitialized_fill_copy): Likewise.
1430         (__uninitialized_copy_fill): Likewise.
1431         * include/bits/deque.tcc: Use new forms defined in stl_construct.h
1432         and stl_uninitialized.h.  Replace use of single-argument _Construct
1433         and _Destroy with use of allocator's construct and destroy methods.
1434         * include/bits/list.tcc: Likewise.
1435         * include/bits/stl_deque.h: Likewise.
1436         * include/bits/stl_list.h: Likewise.
1437         * include/bits/stl_tree.h: Likewise.
1438         * include/bits/stl_vector.h: Likewise.
1439         * include/bits/vector.tcc: Likewise.
1440         * include/ext/hashtable.h: Use rebind so that allocator_type
1441         has correct type for a container's allocator.  Replace use of
1442         single-argument _Construct and _Destroy with use of allocator's
1443         construct and destroy methods.
1444         * include/ext/memory (__uninitialized_copy_n_a): New function.
1445         Like uninitialized_copy_n except that it takes an extra parameter,
1446         an allocator, and uses it for construct and destroy operations.
1447         * include/ext/rope: Use new forms defined in stl_construct.h,
1448         stl_uninitialized.h, and ext/memory.  Replace use of single-argument
1449         _Construct and _Destroy with allocator construct and destroy methods.
1450         * include/ext/ropeimpl.h: Likewise.
1451         * include/ext/slist.h: Likewise.
1452         * testsuite/testsuite_allocator.h (check_construct_destroy): New.
1453         * testsuite/testsuite_allocator.cc (check_construct_destroy): New.
1454         * testsuite/23_containers/deque/check_construct_destroy.cc: New.
1455         * testsuite/23_containers/list/check_construct_destroy.cc: New.
1456         * testsuite/23_containers/set/check_construct_destroy.cc: New.
1457         * testsuite/23_containers/vector/check_construct_destroy.cc: New.
1458         * testsuite/ext/hash_check_construct_destroy.cc: New.
1459         * testsuite/ext/slist_check_construct_destroy.cc: New.
1460
1461 2004-07-28  Alexandre Oliva  <aoliva@redhat.com>
1462
1463         2003-10-01  Eric Christopher  <echristo@redhat.com>
1464         * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
1465         constraint.
1466         2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
1467         * config/cpu/sh/atomicity.h: New.  Use movli and movco on SH4a.
1468
1469 2004-07-23  Benjamin Kosnik  <bkoz@redhat.com>
1470
1471         PR libstdc++/16678
1472         * include/bits/locale_facets.tcc: Fix for -Werror.
1473
1474 2004-07-23  Jonathan Wakely  <redi@gcc.gnu.org>
1475
1476         * docs/html/debug.html: Say debug mode only available since 3.4.0.
1477
1478 2004-07-21  Benjamin Kosnik  <bkoz@redhat.com>
1479
1480         * docs/doxygen/mainpage.html: Clarify links.
1481         * docs/doxygen/stdheader.cc: Add files.
1482         * docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
1483         * docs/doxygen/user.cfg.in: New options, wrap.
1484
1485 2004-07-20  Danny Smith  <dannysmith@users.sourceforge.net>
1486
1487         * include/c_std/std_cwchar.h (wcsstr): Correct signature.
1488
1489 2004-07-19  Benjamin Kosnik  <bkoz@redhat.com>
1490
1491         PR libstdc++/15488
1492         * testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
1493
1494 2004-07-17  Richard Sandiford  <rsandifo@redhat.com>
1495
1496         PR bootstrap/16469
1497         * scripts/create_testsuite_files: Pass -print to find.
1498
1499 2004-07-15  Paolo Carlini  <pcarlini@suse.de>
1500
1501         * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
1502         * docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
1503
1504 2004-07-15  Jakub Jelinek  <jakub@redhat.com>
1505
1506         PR libstdc++/14697
1507         * acinclude.m4 (glibcxx_shared_libgcc): Correct
1508         glibcxx_shared_libgcc test for multilibs.
1509         * configure: Rebuilt.
1510
1511 2004-07-14  Paolo Carlini  <pcarlini@suse.de>
1512
1513         PR libstdc++/16505
1514         * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
1515         the signature to return void, as per 20.4.4.3.
1516         * include/bits/stl_vector.h (vector::vector(size_type,
1517         const value_type&, const allocator_type&), vector::vector(size_type),
1518         vector::_M_initialize_dispatch): Adjust callers.
1519         * include/bits/vector.tcc (vector<>::_M_fill_assign,
1520         vector<>::_M_fill_insert): Likewise.
1521         * testsuite/20_util/memory/16505.cc: New.
1522
1523 2004-07-14  Paolo Carlini  <pcarlini@suse.de>
1524
1525         * testsuite/22_locale/locale/cons/12658_thread-1.cc,
1526         12658_thread-2.cc: Use __gnu_test::try_named_locale.
1527
1528 2004-07-13  Benjamin Kosnik  <bkoz@redhat.com>
1529
1530         * docs/html/ext/mt_allocator.html: Add docs for _Tune.
1531         * include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public.
1532         (__mt_alloc::_S_set_options): Same.
1533         Add to comments.
1534
1535 2004-07-13  Benjamin Kosnik  <bkoz@redhat.com>
1536
1537         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults
1538         for linux.
1539         * configure: Regenerated.
1540
1541 2004-07-13  Paolo Carlini  <pcarlini@suse.de>
1542
1543         * testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename
1544         to 12658_thread-1.cc and xfail.
1545         * testsuite/22_locale/locale/cons/12658_thread-2.c: New, much
1546         simpler version of 12658_thread-1.cc, still failing on 3_3 and
1547         not failing on 3_4/mainline - both on single processor and
1548         multiprocessor machines.
1549
1550 2004-07-12  Benjamin Kosnik  <bkoz@redhat.com>
1551
1552         * docs/html/abi.html: Remove non-public qualification.
1553
1554         * include/bits/concurrence.h: Tweak comments.
1555
1556 2004-07-11  Paolo Carlini  <pcarlini@suse.de>
1557
1558         Add wchar_t counterparts of the basic_streambbuf<char> tests.
1559         * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New.
1560         * testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc:
1561         Likewise.
1562         * testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise.
1563         * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc,
1564         3599.cc: Likewise.
1565         * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
1566         * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
1567         * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
1568         * testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
1569         * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc:
1570         Likewise.
1571         * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
1572
1573         * testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor
1574         tweaks.
1575         * testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc:
1576         Likewise.
1577         * testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
1578         * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
1579
1580 2004-07-11  Phil Edwards  <phil@codesourcery.com>
1581
1582         * acinclude.m4:  Cosmetic shell syntax fixes.
1583         * configure.ac:  Bring comment inline with reality.
1584         * configure.host:  Both of the above.  Move 'arm' case to right
1585         place in host_cpu switch.
1586         * aclocal.m4, configure:  Regenerate.
1587
1588 2004-07-09  Paolo Carlini  <pcarlini@suse.de>
1589
1590         Add wchar_t counterparts of the basic_stringbuf<char> tests.
1591         * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
1592         * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
1593         * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
1594         3599.cc, 9988.cc: Likewise.
1595         * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
1596         Likewise.
1597         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
1598         Likewise.
1599         * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
1600         Likewise.
1601         * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
1602         Likewise.
1603         * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
1604         * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
1605         * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
1606         * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
1607         Likewise.
1608         * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
1609         9404-1.cc: Likewise.
1610         * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
1611         9404-2.cc: Likewise.
1612         * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
1613         3955.cc: Likewise.
1614         * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
1615         * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
1616
1617 2004-07-08  Paolo Carlini  <pcarlini@suse.de>
1618
1619         * include/bits/gslice.h: Trivial formatting fixes.
1620         * include/bits/gslice_array.h: Likewise.
1621         * include/bits/indirect_array.h: Likewise.
1622         * include/bits/mask_array.h: Likewise.
1623         * include/bits/slice_array.h: Likewise.
1624         * include/bits/valarray_after.h: Likewise.
1625         * include/bits/valarray_array.h: Likewise.
1626         * include/bits/valarray_before.h: Likewise.
1627         * include/std/std_valarray.h: Likewise.
1628
1629 2004-07-08  Benjamin Kosnik  <bkoz@redhat.com>
1630
1631         PR c++/16169
1632         * include/bits/basic_string.h (basic_string::operator=): Revert.
1633
1634 2004-07-07  Benjamin Kosnik  <bkoz@redhat.com>
1635
1636         * configure.ac (libtool_VERSION): To 6:2:0.
1637         * configure: Regenerated.
1638
1639         * testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
1640
1641 2004-07-07  Aaron W. LaFramboise  <aaronraolete36@aaronwl.com>
1642
1643         PR libstdc++/16411
1644         * config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
1645
1646 2004-07-07  Benjamin Kosnik  <bkoz@redhat.com>
1647
1648         * docs/html/abi.html: Updates for 3.4.1 release. Add summary of
1649         -Weffc++ issues.
1650
1651 2004-07-07  Paolo Carlini  <pcarlini@suse.de>
1652
1653         PR libstdc++/16401
1654         * include/bits/sstream.tcc (overflow): When reallocating _M_string
1655         use an exponential grow policy.
1656         * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
1657         * testsuite/performance/27_io/stringbuf_overflow.cc: New.
1658
1659 2004-07-06  Anssi Hannula  <anssi.hannula@mbnet.fi>
1660
1661         PR libstdc++/15928
1662         * crossconfig.m4: Add in bits for djgpp.
1663         * configure: Regenerate.
1664
1665 2004-07-05  Jonathan Wakely  <redi@gcc.gnu.org>
1666
1667         * testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in
1668         instantiation of set and multiset (functor param given as int).
1669
1670 2004-07-04  Paolo Carlini  <pcarlini@suse.de>
1671
1672         * include/bits/basic_string.h: Trivial formatting fixes and/or
1673         const-ification of some variables.
1674         * include/bits/deque.tcc: Likewise.
1675         * include/bits/stl_algobase.h: Likewise.
1676         * include/bits/stl_bvector.h: Likewise.
1677         * include/bits/stl_construct.h: Likewise.
1678         * include/bits/stl_deque.h: Likewise.
1679         * include/bits/stl_pair.h: Likewise.
1680         * include/bits/stl_vector.h: Likewise.
1681         * include/bits/vector.tcc: Likewise.
1682
1683 2004-07-04  Paolo Carlini  <pcarlini@suse.de>
1684
1685         * testsuite/25_algorithms/copy/1.cc: Add instantiations for
1686         systems with no COMDAT or weak support.
1687         * testsuite/25_algorithms/copy/2.cc: Likewise.
1688         * testsuite/25_algorithms/copy/3.cc: Likewise.
1689         * testsuite/25_algorithms/copy/4.cc: Likewise.
1690
1691 2004-07-03  Paul Brook  <paul@codesourcery.com>
1692
1693         * configure.ac: Set ABI_TWEAKS_SRCDIR.
1694         * configure.host: Set abi_tweaks_dir.  Check for atomicity.h when
1695         setting atomicity_dir.  Override type_cpu for arm based targets.
1696         * include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
1697         * libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
1698         * libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
1699         * libsupc++/vec.cc: Ditto.
1700         * config/cpu/arm/cxxabi_tweaks.h: New file.
1701         * config/cpu/generic/cxxabi_tweaks.h: New file.
1702         * */Makefile.in: Regenerate.
1703         * configure: Regenerate.
1704
1705 2004-07-02  Paolo Carlini  <pcarlini@suse.de>
1706
1707         * include/bits/type_traits.h (_Is_normal_iterator): Move...
1708         * include/bits/cpp_type_traits.h: ... here, renamed to
1709         __is_normal_iterator and consistent with the other traits.
1710         * include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
1711         to the struct __copy_normal and three specializations.
1712         (__copy_backward_output_normal_iterator,
1713         __copy_backward_input_normal_iterator): Likewise, convert to
1714         the struct __copy_backward_normal and three specializations.
1715         (copy, copy_backward): Use the latter.
1716         (__copy_aux, __copy_backward_aux): Very minor tweaks.
1717
1718 2004-07-01  Paolo Carlini  <pcarlini@suse.de>
1719
1720         * include/bits/stl_algobase.h (__copy_trivial): Remove.
1721         (__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
1722         __is_trivially_copyable, __are_same and __copy::copy.
1723         (__copy): Rewrite as a class template and two specializations.
1724         (__copy_ni2): Simplify, just call __copy_aux.
1725
1726         * include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
1727         check.
1728         * testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
1729         for destination value type != source value type.
1730
1731 2004-07-01  Benjamin Kosnik  <bkoz@redhat.com>
1732             Per Bothner  <per@bothner.com>
1733             Mohan Embar  <gnustuff@thisiscool.com>
1734
1735         PR libstdc++/16248
1736         * include/bits/concurrence.h (__glibcxx_mutex_type): New.
1737         (__glibcxx_mutex): Encapsulate mutex init function into type for
1738         threaded configurations without __GTHREAD_MUTEX_INIT.
1739         (lock::lock): Make device member a reference.
1740         (lock::~lock): Same.
1741         * include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
1742         to mutex_type.
1743         * src/allocator.cc: Same.
1744
1745 2004-06-30  Brad Spencer  <spencer@infointeractive.com>
1746
1747         * include/ext/mt_allocator.h: Handle allocations at static
1748         initialization that happen before _S_options is (automatically)
1749         constructed; set _S_init even if _M_force_new is true.
1750
1751 2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
1752
1753         * config/linker-map.gnu: Revert new exports.
1754
1755 2004-06-30  Benjamin Kosnik  <bkoz@redhat.com>
1756             Stuart Anderson  <anderson@netsweng.com>
1757
1758         * config/linker-map.gnu: Add destructor exports for abstract base
1759         classes to conform to LSB.
1760
1761 2004-06-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1762             Paolo Carlini  <pcarlini@suse.de>
1763
1764         * include/bits/cpp_type_traits.h: Add __is_pointer and
1765         __is_trivially_copyable.
1766         * include/bits/stl_algobase.h (fill, fill_n): Slightly
1767         tweak to use the latter.
1768         (__copy_backward_dispatch): Remove.
1769         (__copy_backward_aux): Rewrite to use __is_pointer and
1770         __is_trivially_copyable and __copy_backward::copy_b.
1771         (__copy_backward): Rewrite as a class template and two
1772         specializations.
1773
1774 2004-06-30  Paolo Carlini  <pcarlini@suse.de>
1775
1776         * testsuite/25_algorithms/copy.cc: Move to...
1777         * testsuite/25_algorithms/copy/1.cc: ... here, extend.
1778         * testsuite/25_algorithms/copy/2.cc: New.
1779         * testsuite/25_algorithms/copy/3.cc: New.
1780         * testsuite/25_algorithms/copy/4.cc: New.
1781
1782 2004-06-29  Paul Brook  <paul@codesourcery.com>
1783
1784         * libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
1785         element size in the cookie.
1786
1787 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
1788
1789         * include/bits/cpp_type_traits.h: Move the additions to
1790         namespace __gnu_internal outside of namespace std; trivial
1791         formatting fixes.
1792
1793 2004-06-28  Benjamin Kosnik  <bkoz@redhat.com>
1794
1795         * include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
1796         Revert -Weffc++ changes that defined copy ctory and or assignment
1797         operator.
1798         * libsupc++/tinfo.cc (__upcast_result): Same.
1799
1800 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
1801
1802         * src/localename.cc (locale::_Impl::_Impl): Slightly improve
1803         the algorithm used to name the categories.
1804
1805 2004-06-28  Paolo Bonzini  <bonzini@gnu.org>
1806
1807         * include/Makefile.am: Give a .gch extension to
1808         the PCH files, not only to the directory.
1809         * include/Makefile.in: Regenerate.
1810
1811 2004-06-28  Paolo Carlini  <pcarlini@suse.de>
1812
1813         * config/locale/gnu/monetary_members.cc
1814         (moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
1815         assignments of _M_decimal_point and _M_thousands_sep.
1816
1817 2004-06-27  Paolo Carlini  <pcarlini@suse.de>
1818
1819         * docs/html/17_intro/contribute.html: Update some links.
1820         * docs/html/17_intro/porting-howto.html: Likewise.
1821         * docs/html/17_intro/porting-howto.xml: Likewise.
1822         * docs/html/18_support/howto.html: Likewise.
1823         * docs/html/21_strings/howto.html: Likewise.
1824         * docs/html/27_io/howto.html: Likewise.
1825         * docs/html/configopts.html: Likewise.
1826         * docs/html/ext/howto.html: Likewise.
1827         * docs/html/faq/index.html: Likewise.
1828         * docs/html/install.html: Don't mention 2.x compilers.
1829
1830 2004-06-27  Paolo Carlini  <pcarlini@suse.de>
1831
1832         * include/ext/rope: Trivial formatting fixes.
1833         * include/ext/ropeimpl.h: Likewise.
1834
1835 2004-06-26  Paolo Carlini  <pcarlini@suse.de>
1836
1837         PR libstdc++/16210
1838         * acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
1839         availability of strto(u)ll, not used anymore in the iostreams.
1840         * configure: Regenerate.
1841
1842 2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
1843
1844         PR libstdc++/16182
1845         * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
1846         AC_DEFINE_UNQUOTED.
1847         * configure: Regenerate.
1848
1849 2004-06-25  Paul Brook  <paul@codesourcery.com>
1850
1851         * libsupc++/cxxabi.h: Define __ARM_EABI__
1852         (__guard): Use it.
1853         * libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
1854
1855 2004-06-25  Paul Brook  <paul@codesourcery.com>
1856
1857         * include/bits/concurrence.h: Still create mutex object when
1858         single-threaded.
1859
1860 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
1861
1862         * include/bits/stl_algobase.h (fill, fill_n): Revert last
1863         change: actually we need to copy construct an object of type
1864         _Tp, not of type iterator_traits<>::value_type, therefore the
1865         code is ok.
1866
1867 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
1868
1869         * include/bits/stl_algobase.h (fill, fill_n): Tighten the
1870         dispatch: use iterator_traits<>::value_type, not _Tp.
1871
1872 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
1873
1874         * testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
1875         * testsuite/25_algorithms/fill/2.cc: Likewise.
1876
1877 2004-06-25  Dan Nicolaescu  <dann@ics.uci.edu>
1878             Paolo Carlini  <pcarlini@suse.de>
1879
1880         * include/bits/stl_algobase.h (__fill, __fill_n): New helpers
1881         for fill and fill_n, respectively: when copying is cheap, use a
1882         temporary to avoid a memory read in each iteration.
1883
1884 2004-06-25  Paolo Carlini  <pcarlini@suse.de>
1885
1886         * testsuite/25_algorithms/fill/1.cc: New.
1887         * testsuite/25_algorithms/fill/2.cc: Likewise.
1888
1889 2004-06-25  Benjamin Kosnik  <bkoz@redhat.com>
1890
1891         * include/debug/formatter.h (__gnu_debug::_Error_formatter):
1892         Remove copy constructor and assignment operator.
1893
1894 2004-06-24  Benjamin Kosnik  <bkoz@redhat.com>
1895
1896         * include/bits/concurrence.h (__gnu_cxx::lock): New.
1897         * include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
1898         (__pool_base::_M_get_mutex): New.
1899         * include/bits/allocator.h: Tweak.
1900         * src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
1901         * config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
1902         * include/bits/stl_threads.h: Remove.
1903         * include/Makefile.am: Also here.
1904         * include/Makefile.in: Regenerate.
1905
1906         * src/locale_init.cc: Use __gnu_cxx::lock.
1907
1908         * src/allocator.cc: Move all instantiations...
1909         * src/allocator-inst.cc: ...here.
1910
1911 2004-06-23  Andrew Pinski  <apinski@apple.com>
1912
1913         * linkage.m4: Remove check for libmx.
1914         * configure: Regenerate.
1915
1916 2004-06-23  Paolo Carlini  <pcarlini@suse.de>
1917
1918         PR libstdc++/16154
1919         * include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
1920         Don't require the _DefaultConstructibleConcept.
1921         (struct _ForwardIteratorConcept): Require it here.
1922
1923 2004-06-22  Alexandre Oliva  <aoliva@redhat.com>
1924
1925         * include/bits/istream.tcc (getline): Make sure arguments passed
1926         to min/max have the same type.
1927         * include/bits/locale_facets.tcc (__verify_grouping): Likewise.
1928         * include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
1929
1930 2004-06-22  Benjamin Kosnik  <bkoz@redhat.com>
1931
1932         * docs/html/abi.html: Update links.
1933
1934 2004-06-22  Paolo Carlini  <pcarlini@suse.de>
1935
1936         * testsuite/26_numerics/complex_inserters_extractors.cc,
1937         complex_value.cc, buggy_complex.cc: Move to...
1938         * testsuite/26_numerics/complex/: ... here.
1939         * testsuite/26_numerics/c99_classification_macros_c++.cc,
1940         c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
1941         fabs_inline.cc: Move to...
1942         * testsuite/26_numerics/cmath/: ... here.
1943         * testsuite/26_numerics/binary_closure.cc, slice.cc,
1944         slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
1945         valarray_name_lookup.cc, valarray_operators.cc,
1946         valarray_subset_assignment.cc: Move to...
1947         * testsuite/26_numerics/valarray/: ... here (new dir).
1948         * testsuite/26_numerics/sum_diff.cc: Move to...
1949         * testsuite/26_numerics/numeric/: ... here (new dir).
1950
1951 2004-06-22  Paolo Carlini  <pcarlini@suse.de>
1952
1953         * include/std/std_istream.h (ignore(streamsize __n = 1,
1954         int_type __delim = traits_type::eof())): Split into...
1955         (ignore(), ignore(streamsize __n), ignore(streamsize __n,
1956         int_type __delim)): The first two can be much more simpler
1957         and efficient than the fully general case; also, the last
1958         two can take advantage of the same mechanism already used
1959         for getline.
1960         * include/bits/istream.tcc (ignore(streamsize __n = 1,
1961         int_type __delim = traits_type::eof()): Remove.
1962         (ignore(), ignore(streamsize __n), ignore(streamsize __n,
1963         int_type __delim)): New.
1964
1965 2004-06-21  Loren J. Rittle  <ljrittle@acm.org>
1966
1967         * config/linker-map.gnu: Use wildcards for
1968         __basic_file::sys_open(FILE*, _Ios_Openmode).
1969
1970 2004-06-20  Paolo Carlini  <pcarlini@suse.de>
1971
1972         * testsuite/27_io/basic_istream/ignore/char/3.cc: New.
1973
1974 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
1975
1976         * include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
1977         the alignment requested.
1978         (__mt_alloc<>::_Tune::_Tune): Tweak consistently.
1979         (__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
1980         (__mt_alloc<>::deallocate): Likewise.
1981
1982 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
1983
1984         PR libstdc++/16020
1985         * include/debug/safe_base.h
1986         (_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
1987         _Safe_sequence_base::operator=): Provide definitions.
1988         * testsuite/23_containers/bitset/cons/16020.cc: New.
1989
1990 2004-06-18  Benjamin Kosnik  <bkoz@redhat.com>
1991
1992         * include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
1993         (__pool_base): Remove unused template parameter.  Add
1994         protected. Move lock data into __pool_base::_Lock. Remove static
1995         on member functions.
1996         (__pool_base::_M_get_free_list): New.
1997         (__pool_alloc): Move _S_force new here.
1998         * src/allocator.cc: Move out of line __pool_base definitions here.
1999         * config/linker-map.gnu: Export bits from __pool_base.
2000
2001 2004-06-18  Paolo Carlini  <pcarlini@suse.de>
2002
2003         * config/locale/gnu/numeric_members.cc
2004         (numpunct<wchar_t>::_M_initialize_numpunct): Clean up
2005         assignments of _M_decimal_point and _M_thousands_sep.
2006         * config/locale/gnu/time_members.cc
2007         (__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
2008         and reformat assignments of date and time fields.
2009
2010 2004-06-16  Paolo Carlini  <pcarlini@suse.de>
2011
2012         * include/ext/rope (rope(_CharT, const allocator_type&)): Fix
2013         to use _Data_allocate.
2014         * include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
2015         (rope<>::_S_substring): Likewise.
2016         (rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
2017         (rope<>::c_str()): Likewise.
2018         (rope<>::replace_with_c_str()): Likewise.
2019
2020         * include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
2021         Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
2022         not _RopeRep.
2023         (_Rope_iterator_base<>::_S_setcache): Likewise.
2024         (_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
2025         (rope<>::_S_substring): Likewise.
2026         (rope<>::_S_dump): Likewise.
2027         (rope<>::_S_fetch_ptr): Likewise.
2028         (rope<>::_S_compare): Likewise.
2029         (rope<>::replace_with_c_str()): Likewise.
2030
2031         * testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
2032         * testsuite/ext/rope/2.cc: New.
2033
2034 2004-06-16  Paolo Carlini  <pcarlini@suse.de>
2035             Matt Austern  <austern@apple.com>
2036
2037         * testsuite/ext/rope/3.cc: New.
2038
2039 2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
2040
2041         * acinclude.m4: Remove useless multilib configury.
2042         * Makefile.am: Remove useless multilib rules.
2043         * aclocal.m4: Regenerate.
2044         * Makefile.in: Regenerate.
2045         * configure: Regenerate.
2046
2047 2004-06-15  Paolo Carlini  <pcarlini@suse.de>
2048
2049         * include/ext/hashtable.h: Trivial formatting fixes.
2050         * include/ext/rb_tree: Likewise.
2051
2052 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
2053
2054         * include/ext/hash_map: Trivial formatting fixes.
2055         * include/ext/hash_set: Likewise.
2056         * include/ext/memory: Likewise.
2057         * include/ext/numeric: Likewise.
2058
2059 2004-06-14  Benjamin Kosnik  <bkoz@redhat.com>
2060
2061         * Makefile.in: Regenerate with automake 1.8.5.
2062         * aclocal.m4: Same.
2063         * include/Makefile.in: Same.
2064         * libmath/Makefile.in: Same.
2065         * libsupc++/Makefile.in: Same.
2066         * po/Makefile.in: Same.
2067         * src/Makefile.in: Same.
2068         * testsuite/Makefile.in: Same.
2069
2070 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
2071
2072         * include/ext/slist: Trivial formatting fixes.
2073
2074 2004-06-14  Paolo Carlini  <pcarlini@suse.de>
2075
2076         * include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
2077         Don't use the 'magic number' 10 in the computation of __minlen;
2078         never access __name past __minlen; in the loop over __i3, don't
2079         decrease __nmatches and increase __i3 at once, only either of
2080         the two; tidy.
2081
2082 2004-06-13  Paolo Carlini  <pcarlini@suse.de>
2083
2084         * include/bits/locale_facets.tcc (time_get<>::do_get_time,
2085         time_get<>::do_get_date): Use only once _M_extract_via_format,
2086         instead of going through "%X"/"%x" and calling it two times
2087         (+ using widen).
2088
2089 2004-06-12  Paolo Carlini  <pcarlini@suse.de>
2090
2091         * include/ext/algorithm: Trivial formatting fixes.
2092         * include/ext/functional: Likewise.
2093         * include/ext/hash_fun.h: Likewise.
2094         * include/ext/iterator: Likewise.
2095
2096 2004-06-12  Paolo Carlini  <pcarlini@suse.de>
2097
2098         * include/bits/basic_string.tcc (find(const _CharT*, size_type,
2099         size_type)): Reimplement using std::search.
2100         * src/string-inst.cc: Instantiate std::search for char/wchar_t.
2101
2102 2004-06-12  Dhruv Matani  <dhruvbird@gmx.net>
2103
2104         * testsuite/performance/21_strings/string_find.cc: New.
2105
2106 2004-06-10  Aaron W. LaFramboise  <aaronraolete36@aaronwl.com>
2107
2108         * include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
2109
2110 2004-06-10  Jan van Dijk  <jan@etpmod.phys.tue.nl>
2111
2112         * include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
2113         this function return a value.
2114
2115 2004-06-09  Paolo Carlini  <pcarlini@suse.de>
2116
2117         PR libstdc++/15775
2118         * include/bits/stl_deque.h: Consistently with stl_set.h, define
2119         pointer as allocator's pointer, likewise for reference,
2120         const_pointer, and const_reference.
2121         * include/bits/stl_list.h: Likewise.
2122         * include/bits/stl_map.h: Likewise.
2123         * include/bits/stl_multimap.h: Likewise.
2124         * include/bits/stl_vector.h: Likewise.
2125
2126 2004-06-09  Benjamin Kosnik  <bkoz@redhat.com>
2127
2128         * crossconfig.m4: Remove signbit, signbitf, signbitl.
2129         * linkage.m4: Comment LIBMATHOBJS, tweak others.  AC_DEFINES for
2130         builtin math functions instead of AC_DEFINE_UNQUOTED.
2131         * configure: Regenerate.
2132
2133 2004-06-08  Benjamin Kosnik  <bkoz@redhat.com>
2134
2135         * docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
2136         * docs/doxygen/mainpage.html: Remove links.
2137
2138 2004-06-08  Jason Merrill  <jason@redhat.com>
2139
2140         * config/linker-map.gnu: Use wildcards for
2141         __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
2142
2143 2004-06-08  Paolo Carlini  <pcarlini@suse.de>
2144
2145         * include/ext/pool_allocator.h: Convert to a global free-list,
2146         as per the original SGI/HP design: move the implementation
2147         details to struct __pool_base, from which __pool_alloc derives.
2148         * src/allocator.cc: Instantiate __pool_base.
2149
2150 2004-06-07  Dhruv Matani  <dhruvbird@gmx.net>
2151             Paolo Carlini  <pcarlini@suse.de>
2152
2153         * testsuite/testsuite_performance.h
2154         (resource_counter::allocated_memory): Make it return the right
2155         number of bytes requested by the allocators/application. This is
2156         the sbrk+mmaped memory.
2157
2158 2004-06-02  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2159
2160         * include/std/std_complex.h (log): Tidy.
2161
2162 2004-05-31  Benjamin Kosnik  <bkoz@redhat.com>
2163
2164         * config/linker-map.gnu (GLIBCXX_3.4.1): Add.
2165         * testsuite/testsuite_abi.cc: Same.
2166         * configure.ac (libtool_VERSION): Bump to 6:1:0.
2167         * configure: Regenerate.
2168         * aclocal.m4: Regenerate.
2169
2170 2004-05-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2171
2172         * include/std/std_complex.h (complex<_Tp>): Properly indent
2173         to follow C++STYLE.
2174         (complex<>::__rep): New.
2175         (__complex_abs): New.  Dispatch to built-ins.
2176         (abs): Use them.
2177         (__complex_arg): New. Dispatch to built-ins.
2178         (arg): Use it.
2179         (__complex_cos): New. Dispatch to built-ins.
2180         (cos): Use it.
2181         (__complex_cosh): New. Dispatch to built-ins.
2182         (cosh): Use it.
2183         (__complex_exp): New. Dispatch to built-ins.
2184         (exp): Use it.
2185         (__complex_log): New. Dispatch to built-ins.
2186         (log): Use it.
2187         (__complex_sin): New. Dispatch to built-ins.
2188         (sin): Use it.
2189         (__complex_sinh): New. Dispatch to built-ins.
2190         (sinh): Use it.
2191         (__complex_sqrt): New. Dispatch to built-ins.
2192         (sqrt): Use it.
2193         (__complex_tan): New. Dispatch to built-ins.
2194         (tan): Use it.
2195         (__complex_tanh): New. Dispatch to built-ins.
2196         (tanh): Use it.
2197         (__complex_pow): New. Dispatch to built-ins.
2198         (pow): Use it.
2199
2200 2004-05-29  Richard B. Kreckel  <Richard.Kreckel@Framatome-ANP.com>
2201             Benjamin Kosnik  <bkoz@redhat.com>
2202
2203         PR libstdc++/14600
2204         * include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
2205         * include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
2206         * config/io/basic_file_stdio.cc (__basic_file::file): New.
2207         * config/io/basic_file_stdio.h: Define.
2208
2209 2004-05-27  Benjamin Kosnik  <bkoz@redhat.com>
2210
2211         PR libstdc++/15675
2212         * docs/html/documentation.html: Update doxygen links for 3.4.0.
2213
2214 2004-05-27  Jan Beulich  <jbeulich@novell.com>
2215
2216         * scripts/create_testsuite_files: Tweak.
2217
2218 2004-05-25  Benjamin Kosnik  <bkoz@redhat.com>
2219
2220         PR libstdc++/15489
2221         * scripts/create_testsuite_files: Revert xtype change, add non-GNU
2222         bits to do the same thing.
2223
2224 2004-05-24  Paolo Carlini  <pcarlini@suse.de>
2225
2226         * include/bits/istream.tcc (ignore): Correctly deal with
2227         n == numeric_limits<streamsize>::max().
2228         * testsuite/27_io/basic_istream/ignore/char/2.cc: New.
2229
2230         * include/bits/istream.tcc (basic_istream<>::getline): Prefer
2231         '_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
2232         __n == numeric_limits<>::min().
2233
2234         * include/bits/istream.tcc: Minor tweaks.
2235
2236         * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
2237         Tighten.
2238         * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
2239         Likewise.
2240         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
2241         Likewise.
2242         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
2243         Likewise.
2244         * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
2245
2246 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2247
2248         PR libstdc++/12854
2249         Fixups for -Weffc++.
2250         * include/bits/basic_string.h (basic_string::operator=): Return
2251         pointer to this instead of result of assign. Although redundant,
2252         this doesn't impact resultant codegen.
2253
2254         * include/bits/locale_facets.h (__numpunct_cache): Declare
2255         assignment opxserator and copy constructor private.
2256         (__timepunct_cache): Same.
2257         (__moneypunct_cache): Same.
2258         (collate): Use member initialization list for _M_c_locale_collate.
2259         * config/locale/gnu/messages_members.h: Same.
2260         * config/locale/gnu/time_members.h (__timepunct): Same.
2261         * src/codecvt.cc: Use member initialization list to initialize
2262         _M_c_locale_codecvt.
2263         * src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
2264         * config/os/gnu-linux/ctype_noninline.h: Same.
2265         * src/locale.cc (_Impl): Same.
2266         * src/locale_init.cc: Same.
2267         * src/localename.cc: Same.
2268
2269         * include/bits/basic_ios.h (basic_ios): Complete member
2270         initialization list.
2271         * include/bits/istream.tcc (basic_istream::sentry): Same.
2272         * include/bits/ostream.tcc (basic_ostream::sentry): Same.
2273         * include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
2274         _M_pback to member initialization list.
2275         * include/std/std_streambuf.h: Same.
2276         * include/std/std_sstream.h: Same, for _M_mode.
2277         * src/ios.cc (ios_base): Same.
2278
2279         * include/ext/rope: Make derived classes match exception
2280
2281          specifications. Add copy constructors and assignment operators.
2282
2283         * include/debug/safe_base.h (_Safe_sequence_base): Declare copy
2284         constructor and assignment operator protected.
2285         (_Safe_iterator_base): Same.
2286         * include/debug/formatter.h (_Error_formatter): Define copy
2287         constructor and assignment operator.
2288
2289         * include/backward/strstream: Declare assignment operator and copy
2290         constructor private.
2291
2292 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2293
2294         * testsuite/testsuite_hooks.h (func_callback): Declare copy
2295         constructor and assignment operator private.
2296         * testsuite/23_containers/deque/cons/clear_allocator.cc: Match
2297         exception specifications of base class.
2298         * testsuite/23_containers/list/cons/clear_allocator.cc: Same.
2299         * testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
2300         * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
2301
2302 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2303
2304         * libsupc++/cxxabi.h: Remove duplicated and useless public and
2305         private keywords in class declarations. Format. Use
2306         stddef.h. Expose declarations to "C" compilation.
2307         * libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
2308         assignment operator.
2309         (__dyncast_result): Same.
2310         * libsupc++/vec.cc (uncatch_exception): Same, use member
2311         initialization list.
2312
2313 2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>
2314
2315         * testsuite/abi_check.cc: Add unistd.h.
2316
2317 2004-05-22  Paolo Carlini  <pcarlini@suse.de>
2318
2319         PR libstdc++/15565
2320         * include/bits/locale_facets.tcc (__int_to_char(unsigned long),
2321         __int_to_char(unsigned long long)): Showpos is not relevant
2322         for unsigned types.
2323         * testsuite/22_locale/num_put/put/char/15565.cc: New.
2324         * testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
2325
2326         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
2327         char.
2328         * testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
2329         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
2330         * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
2331         * testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
2332         * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2333         * testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
2334
2335 2004-05-21  Matthias Klose  <doko@debian.org>
2336
2337         * docs/doxygen/run_doxygen:  Bump required version.
2338
2339 2004-05-21  Benjamin Kosnik  <bkoz@redhat.com>
2340
2341         * docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
2342         * docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
2343
2344 2004-05-21  Paolo Carlini  <pcarlini@suse.de>
2345
2346         * include/bits/istream.tcc (ignore): Remove redundant line.
2347         (readsome): Tidy, closely following 27.6.1.3, p30.
2348
2349 2004-05-20  Paolo Carlini  <pcarlini@suse.de>
2350
2351         * include/bits/istream.tcc (operator>>(basic_istream<>&,
2352         basic_string<>&)): Use a temporary buffer, thus avoiding
2353         reallocation for common case.
2354         * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
2355         New.
2356         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
2357         Likewise.
2358
2359         * include/bits/istream.tcc: Const-ification of a few variables.
2360
2361         * include/bits/ostream.tcc: Trivial formatting fixes and
2362         const-ification of some variables.
2363
2364 2004-05-20  Benjamin Kosnik  <bkoz@redhat.com>
2365
2366         PR libstdc++/15123
2367         PR libstdc++/13928
2368         * docs/doxygen/Intro.3: Remove Allocators.3.
2369         Add new extension headers, extension namespace list.
2370         * docs/doxygen/run_doxygen (problematic): Remove Allocators.3
2371         Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
2372         __gnu_debug::. Remove __policy_ renames.
2373         * docs/doxygen/guide.html: Add dot note.
2374         * docs/doxygen/stdheader.cc: Edit, add files.
2375         * docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
2376
2377 2004-05-18  Jonathan Wakely  <redi@gcc.gnu.org>
2378
2379         * include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
2380
2381 2004-05-18  Jan Beulich  <jbeulich@novell.com>
2382
2383         PR libstdc++/15489
2384         * scripts/create_testsuite_files: Also find source files through
2385         symbolic links.
2386
2387 2004-05-18  Jan Beulich  <jbeulich@novell.com>
2388
2389         PR libstdc++/15488
2390         * testsuite/lib/libstdc++.exp: Make test files writable.
2391
2392 2004-05-18  Paolo Carlini  <pcarlini@suse.de>
2393
2394         * include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
2395         tweaks.
2396
2397 2004-05-18  Dhruv Matani  <dhruvbird@gmx.net>
2398
2399         * include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
2400         allocation loop which removes blocks from the global free list
2401         from O(N) to O(1) when the required blocks are <= the number
2402         available.
2403
2404 2004-05-18  Jonathan Wakely  <redi@gcc.gnu.org>
2405
2406         * include/ext/enc_filebuf.h: Move concept-check macro to class scope.
2407
2408 2004-05-17  Benjamin Kosnik  <bkoz@redhat.com>
2409
2410         * testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
2411         * testsuite/23_containers/deque/14340.cc: New.
2412         * testsuite/23_containers/list/14340.cc: New.
2413         * testsuite/23_containers/map/14340.cc: New.
2414         * testsuite/23_containers/multimap/14340.cc: New.
2415         * testsuite/23_containers/multiset/14340.cc: New.
2416         * testsuite/23_containers/set/14340.cc: New.
2417         * testsuite/23_containers/vector/14340.cc: New.
2418
2419 2004-05-17  Douglas Gregor   <gregod@cs.rpi.edu>
2420
2421         PR libstdc++/14340
2422         * include/debug/safe_iterator.h (_Safe_iterator converting
2423         constructor): Only allow declaration to instantiate when the
2424         incoming _Safe_iterator has exactly the right iterator type.
2425
2426 2004-05-17  Jonathan Wakely  <redi@gcc.gnu.org>
2427
2428         * include/bits/boost_concept_check.h: Fix old attribute syntax.
2429         * testsuite/23_containers/map/modifiers/swap.cc: Define operator<
2430         to pass concept-checks.
2431         * testsuite/23_containers/multimap/modifiers/swap.cc: Same.
2432         * testsuite/23_containers/set/modifiers/swap.cc: Same.
2433         * testsuite/23_containers/multiset/modifiers/swap.cc: Same.
2434
2435 2004-05-16  Paolo Carlini  <pcarlini@suse.de>
2436
2437         * include/std/std_bitset.h: Minor formatting fixes.
2438
2439 2004-05-16  Paolo Carlini  <pcarlini@suse.de>
2440
2441         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
2442         Consistently update __bin._M_free[0].
2443         (__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
2444         __bin._M_free[0] to simplify the while loop (i.e., the number
2445         of iterations becomes known at the outset).
2446
2447 2004-05-15  Paolo Carlini  <pcarlini@suse.de>
2448
2449         * include/std/std_bitset.h: Trivial formatting fixes.
2450
2451 2004-05-14  Paolo Carlini  <pcarlini@suse.de>
2452             Ivan Godard  <igodard@pacbell.net>
2453
2454         PR libstdc++/15361
2455         * include/std/std_bitset.h (_Base_bitset<_Nw>::_M_do_find_next): Fix.
2456         * testsuite/23_containers/bitset/ext/15361.cc: New.
2457
2458 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2459
2460         PR libstdc++/15046
2461         * crossconfig.m4: Add C99 math bits for linux crosses.
2462         * configure: Regenerate.
2463
2464 2004-05-13  Simon Marshall <simon.marshall@misys.com>
2465             Benjamin Kosnik  <bkoz@redhat.com>
2466
2467         PR libstdc++/15090
2468         * include/bits/locale_facets.h: Fix for -fno-for-scope.
2469         * include/debug/safe_sequence.h: Same.
2470         * include/debug/safe_iterator.tcc: Same.
2471         * src/debug.cc: Same.
2472         * src/locale.cc: Same.
2473         * src/locale_init.cc: Same.
2474         * src/localename.cc: Same.
2475         * config/locale/gnu/ctype_members.cc: Same.
2476         * config/locale/gnu/numeric_members.cc: Same.
2477         * testsuite/testsuite_abi.cc: Same.
2478         * testsuite/testsuite_hooks.cc: Same.
2479
2480 2004-05-13  Jonathan Wakely  <redi@gcc.gnu.org>
2481
2482         * docs/html/abi.html: Document effect of -fabi-version on value
2483         of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
2484         Fix markup.
2485
2486 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2487
2488         PR libstdc++/15074
2489         * docs/html/faq/index.html: Update docs for libsupc++ usage.
2490
2491 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2492
2493         PR libstdc++/15412
2494         * include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
2495         __gnu_internal.
2496         (_GLIBCXX_mutex_address): Same.
2497         (_GLIBCXX_once): Same.
2498         (_GLIBCXX_mutex_init): Same.
2499         (_GLIBCXX_mutex_address_init): Same.
2500
2501 2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>
2502
2503         * docs/html/abi.html: New.
2504         * docs/html/abi.txt: Remove.
2505         * docs/html/documentation.html: Add link.
2506         * testsuite/Makefile.am: Add files.
2507         * testsuite/Makefile.in: Regenerated.
2508         * testsuite/abi_check.cc: Move and modify code into...
2509         * testsuite/testsuite_abi.cc: Add.
2510         * testsuite/testsuite_abi.h: Add.
2511
2512         * docs/html/17_intro/TODO: Update.
2513         * include/bits/stl_pair.h: Format.
2514
2515 2004-05-06  Matthias Klose  <doko@debian.org>
2516
2517         * include/backward/iterator.h:  Add GPL copyright info,
2518         with exception clause.
2519         * include/bits/boost_concept_check.h: Likewise.
2520         * include
2521         * libsupc++/tinfo.h: Likewise.
2522         * po/string_literals.cc: Likewise.
2523
2524 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
2525
2526         * acinclude.m4: Replace -W with more speaking -Wextra.
2527         * configure: Rebuilt.
2528
2529 2004-05-03  Paolo Carlini  <pcarlini@suse.de>
2530
2531         Optimize locale::_M_impl->_M_names for the most common cases:
2532         !_M_names[0] means unnamed; !_M_names[1] means all the categories
2533         the same name (_M_names[0] && _M_names[1] means that the full set
2534         of _M_names must be processed, the general case).
2535         * include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
2536         Tweak, saving work when !_M_names[1].
2537         (locale::locale(const locale&, _Facet*): Simplify: now just setting
2538         _M_names[0] = 0 means unnamed.
2539         * src/locale.cc (locale::operator==): Deal first with the common,
2540         easy cases, otherwise fall back to locale::name().
2541         (locale::name()): Tweak, if !_M_names[0] just return "*".
2542         (locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
2543         copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
2544         * src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
2545         * src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
2546         Simplify when !std::strchr, just updating _M_names[0]; clean up.
2547         (locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
2548         for the general case (full set of names), then do the usual work;
2549         clean up.
2550
2551         * src/locale.cc (locale::name()): Reserve space in __ret.
2552         * src/locale_init.cc (locale::global(const locale&)): Save
2553         the name in a temporary.
2554         * src/localename.cc (locale::locale(const char*)): Reserve space
2555         in __str.
2556
2557 2004-04-29  Paolo Carlini  <pcarlini@suse.de>
2558
2559         * src/locale.cc (locale::operator==): Always avoid constructing
2560         locale::name(), directly compare pairs of _M_names.
2561
2562 2004-04-26  Paolo Carlini  <pcarlini@suse.de>
2563
2564         * include/bits/istream.tcc: Fix comment.
2565
2566 2004-04-26  Paolo Carlini  <pcarlini@suse.de>
2567
2568         * include/bits/stl_vector.h: Trivial formatting fixes.
2569         * include/bits/vector.tcc: Likewise.
2570
2571 2004-04-25  Paolo Carlini  <pcarlini@suse.de>
2572
2573         PR libstdc++/15002 (continued again)
2574         * include/bits/istream.tcc (getline(basic_istream<>&,
2575         basic_string<>&, _CharT)): Use a temporary buffer, thus
2576         avoiding reallocation for common case.
2577
2578         * include/bits/basic_string.tcc (_S_construct(_InIterator,
2579         _InIterator, const _Alloc&, input_iterator_tag)): Tweak size
2580         of temporary buffer to a power of two.
2581
2582         * testsuite/27_io/basic_istream/getline/char/4.cc: Add comment.
2583
2584 2004-04-25  Paolo Carlini  <pcarlini@suse.de>
2585
2586         * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
2587         New.
2588         * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
2589         Likewise.
2590         * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
2591
2592 2004-04-24  Paolo Carlini  <pcarlini@suse.de>
2593             Petur Runolfsson  <peturr02@ru.is>
2594
2595         PR libstdc++/15002 (continued)
2596         * include/bits/istream.tcc (basic_istream<>::getline(char_type*,
2597         streamsize, char_type)): Use traits::find/copy in a loop to speed
2598         up greatly the function in the common case (I/O buffer size >> 1).
2599
2600 2004-04-24  Paolo Carlini  <pcarlini@suse.de>
2601
2602         * testsuite/27_io/basic_istream/getline/char/4.cc: New.
2603
2604         * include/bits/istream.tcc (getline(basic_istream<>&,
2605         basic_string<>&, _CharT)): Change to use sgetc()/snextc() instead
2606         of sbumpc(), consistently with the other functions, thus also
2607         dealing correctly with the case of exceeded string::max_size().
2608
2609 2004-04-24  Matthias Klose  <doko@debian.org>
2610
2611         Jonathan Wakely  <cow@compsoc.man.ac.uk>
2612         * docs/html/configopts.html: Fix reference to allocator config option.
2613
2614 2004-04-23  Andrew Pinski  <pinskia@physics.uc.edu>
2615
2616         * linkage.m4 (GLIBCXX_CHECK_MATH_SUPPORT): Check for libmx also.
2617         * configure: Regenerate.
2618
2619 2004-04-23  Daniel Jacobowitz  <drow@mvista.com>
2620
2621         PR libstdc++/15047, libstdc++/11610
2622         * testsuite/lib/libstdc++.exp (v3-copy-files): Use remote_download.
2623         (libstdc++_init): Don't pass outdir to v3-copy-files.
2624
2625 2004-04-21  Paolo Carlini  <pcarlini@suse.de>
2626
2627         * include/bits/deque.tcc: Trivial formatting fixes.
2628         * include/bits/stl_deque.h: Likewise.
2629         * include/bits/stl_list.h: Likewise.
2630         * include/bits/stl_tree.h: Likewise.
2631
2632 2004-04-21  Paolo Carlini  <pcarlini@suse.de>
2633             Andrew Pinski  <pinskia@physics.uc.edu>
2634
2635         * include/bits/basic_string.tcc (_M_mutate): Don't compute
2636         __src unnecessarily.
2637
2638 2004-04-19  Benjamin Kosnik  <bkoz@redhat.com>
2639
2640         * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
2641         Clarify assertion, set test variable to false before assert.
2642         * testsuite/27_io/basic_istringstream/str/char/1.cc: Same.
2643         * testsuite/27_io/basic_stringstream/str/char/1.cc: Same.
2644         * testsuite/27_io/ios_base/storage/2.cc: Same.
2645
2646         * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Fix
2647         function returns.
2648         * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Same.
2649         * testsuite/27_io/fpos/14320-3.cc: Same.
2650
2651         * testsuite/27_io/basic_filebuf/2.cc: Instantiate in namespace std.
2652         * testsuite/27_io/fpos/1.cc: Same.
2653         * testsuite/27_io/basic_stringstream/2.cc: Same.
2654         * testsuite/27_io/basic_stringbuf/4.cc: Same.
2655         * testsuite/27_io/basic_stringbuf/1.cc: Same.
2656         * testsuite/27_io/basic_stringbuf/2.cc: Same.
2657         * testsuite/27_io/basic_streambuf/2.cc: Same.
2658         * testsuite/27_io/basic_ostringstream/2.cc: Same.
2659         * testsuite/27_io/basic_ostream/2.cc: Same.
2660         * testsuite/27_io/basic_ofstream/2.cc: Same.
2661         * testsuite/27_io/basic_istringstream/2.cc: Same.
2662         * testsuite/27_io/basic_istream/2.cc: Same.
2663         * testsuite/27_io/basic_iostream/2.cc: Same.
2664         * testsuite/27_io/basic_ios/2.cc: Same.
2665         * testsuite/27_io/basic_ifstream/2.cc: Same.
2666         * testsuite/27_io/basic_fstream/2.cc: Same.
2667         * testsuite/ext/stdio_filebuf/char/1.cc: Same, in namespace __gnu_cxx.
2668
2669         * testsuite/21_strings/basic_string/capacity/1.cc: Don't compare
2670         unsigned against zero.
2671         * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Same.
2672         * testsuite/21_strings/basic_string/capacity/char/1.cc: Same.
2673
2674         * testsuite/18_support/new_delete_placement.cc: Initialize
2675         variables before first use.
2676         * testsuite/21_strings/char_traits/requirements/wchar_t/1.cc: Same.
2677         * testsuite/21_strings/char_traits/requirements/char/1.cc: Same.
2678         * testsuite/21_strings/char_traits/requirements/short/1.cc: Same.
2679         * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc:
2680         Same.
2681         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc: Same.
2682         * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc:
2683         Same.
2684         * testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc: Same.
2685         * testsuite/27_io/types/2.cc: Same.
2686
2687         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Fix temporary
2688         file name.
2689         * testsuite/27_io/fpos/14775.cc: Same.
2690
2691 2004-04-19  Paolo Carlini  <pcarlini@suse.de>
2692
2693         PR libstdc++/15002 (partial)
2694         * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
2695         Special case __n2 == 1, not calling traits_type::assign/copy.
2696
2697 2004-04-17  Benjamin Kosnik  <bkoz@redhat.com>
2698
2699         * include/bits/stl_bvector.h: Use _M_impl._M_start.
2700
2701 2004-04-16  Benjamin Kosnik  <bkoz@redhat.com>
2702
2703         * include/bits/c++config (_GLIBCXX_STD): New.
2704         * src/list.cc: Use it.
2705         * include/std/std_bitset.h: Same.
2706         * include/bits/vector.tcc: Same.
2707         * include/bits/stl_set.h: Same.
2708         * include/bits/stl_multiset.h: Same.
2709         * include/bits/stl_multimap.h: Same.
2710         * include/bits/stl_map.h: Same.
2711         * include/bits/stl_list.h: Same.
2712         * include/bits/stl_vector.h: Same.
2713         * include/bits/stl_bvector.h: Same.
2714         * include/bits/stl_deque.h: Same.
2715         * include/bits/deque.tcc: Same.
2716         * include/bits/list.tcc: Same.
2717         * include/debug/vector: Same.
2718         * include/debug/set.h: Same.
2719         * include/debug/multiset.h: Same.
2720         * include/debug/multimap.h: Same.
2721         * include/debug/map.h: Same.
2722         * include/debug/list: Same.
2723         * include/debug/deque: Same.
2724         * include/debug/bitset: Same.
2725         * include/debug/formatter.h (__gnu_debug): Remove using directive.
2726         Add using declaration for std::type_info.
2727         * include/debug/safe_iterator.h: Add using declaration for
2728         std::iterator_traits and std::pair.
2729         * src/debug_list.cc: New.
2730         * src/Makefile.am: Add debug_list.cc.
2731         * src/Makefile.in: Regenerate.
2732         * config/linker-map.gnu: Add _List_node_base exports for std and
2733         __gnu_norm.
2734
2735         * include/bits/stl_bvector.h (_Bvector_base): Use _Bvector_impl
2736         idiom that other containers use.
2737         * testsuite/23_containers/vector/bool/clear_allocator.cc: New.
2738
2739 2004-04-16  Paolo Carlini  <pcarlini@suse.de>
2740
2741         PR libstdc++/14975
2742         * include/bits/fstream.tcc (basic_filebuf::imbue): Zero _M_codecvt
2743         in case of error.
2744         * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: New.
2745         * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: New.
2746
2747 2004-04-16  Paolo Carlini  <pcarlini@suse.de>
2748
2749         * acconfig.h: Remove _GLIBCXX_USE_LONG_DOUBLE entry, not
2750         used anymore.
2751         * config.h.in: Regenerate.
2752
2753 2004-04-16  Paolo Carlini  <pcarlini@suse.de>
2754
2755         * config/locale/generic/monetary_members.cc
2756         (moneypunct<wchar_t>::_M_initialize_moneypunct): Avoid calling
2757         btowc unnecessarily, just cast to wchar_t (the concerned chars
2758         all belong to the basic character set).
2759         * config/locale/generic/numeric_members.cc
2760         (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
2761         * config/locale/gnu/monetary_members.cc
2762         (moneypunct<wchar_t>::_M_initialize_moneypunct): Likewise.
2763         * config/locale/gnu/numeric_members.cc
2764         (numpunct<wchar_t>::_M_initialize_numpunct): Likewise.
2765
2766 2004-04-15  Paolo Carlini  <pcarlini@suse.de>
2767
2768         * src/locale.cc (locale::operator==): When _M_impl == __rhs._M_impl
2769         avoid constructing unnecessarily this->name().
2770
2771 2004-04-14  Zack Weinberg  <zack@codesourcery.com>
2772
2773         * testsuite/Makefile.am: Add definition of AM_CXXFLAGS.
2774         Change definition of CXX to use $(shell) instead of backticks.
2775         * testsuite/Makefile.in: Regenerate.
2776
2777 2004-04-12  Dhruv Matani  <dhruvbird@gmx.net>
2778
2779         * testsuite/performance/20_util/allocator/list_sort_search.cc:
2780         Minor formatting fixes.
2781         * testsuite/performance/20_util/allocator/map_mt_find.cc:
2782         Likewise.
2783
2784 2004-04-12  Paolo Carlini <pcarlini@suse.de>
2785
2786         * config/locale/gnu/numeric_members.cc
2787         (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
2788         in __uselocale, since btowc is called for chars belonging to
2789         the basic character set.
2790
2791 2004-04-09  Paolo Carlini  <pcarlini@suse.de>
2792
2793         * testsuite/22_locale/messages/members/char/1.cc: Remove junk.
2794         * testsuite/22_locale/messages/members/char/2.cc: Ditto.
2795         * testsuite/22_locale/messages/members/char/3.cc: Ditto.
2796         * testsuite/22_locale/num_get/get/char/1.cc: Ditto.
2797         * testsuite/22_locale/num_get/get/char/2.cc: Ditto.
2798         * testsuite/22_locale/num_get/get/char/3.cc: Ditto.
2799         * testsuite/22_locale/num_get/get/wchar_t/1.cc: Ditto.
2800         * testsuite/22_locale/num_get/get/wchar_t/2.cc: Ditto.
2801         * testsuite/22_locale/num_get/get/wchar_t/3.cc: Ditto.
2802         * testsuite/22_locale/num_put/put/char/1.cc: Ditto.
2803         * testsuite/22_locale/num_put/put/char/2.cc: Ditto.
2804         * testsuite/22_locale/num_put/put/char/3.cc: Ditto.
2805         * testsuite/22_locale/num_put/put/wchar_t/1.cc: Ditto.
2806         * testsuite/22_locale/num_put/put/wchar_t/2.cc: Ditto.
2807         * testsuite/22_locale/num_put/put/wchar_t/3.cc: Ditto.
2808         * testsuite/22_locale/numpunct/members/char/1.cc: Ditto.
2809         * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Ditto.
2810
2811 2004-04-07  Paolo Carlini  <pcarlini@suse.de>
2812
2813         * config/locale/generic/time_members.cc
2814         (__timepunct<char>::_M_initialize_timepunct,
2815         __timepunct<wchar_t>::_M_initialize_timepunct): the correct
2816         _M_amonth07 in the "C" locale is "Jul" and L"Jul", respectively.
2817         * config/locale/gnu/time_members.cc
2818         (__timepunct<char>::_M_initialize_timepunct,
2819         __timepunct<wchar_t>::_M_initialize_timepunct): Ditto.
2820         * testsuite/22_locale/time_get/get_monthname/char/4.cc: New.
2821         * testsuite/22_locale/time_get/get_monthname/wchar_t/4.cc: New.
2822
2823         * testsuite/22_locale/time_get/date_order/char/1.cc: Remove junk.
2824         * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Ditto.
2825         * testsuite/22_locale/time_get/get_date/char/1.cc: Ditto.
2826         * testsuite/22_locale/time_get/get_date/char/2.cc: Ditto.
2827         * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Ditto.
2828         * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Ditto.
2829         * testsuite/22_locale/time_get/get_monthname/char/1.cc: Ditto.
2830         * testsuite/22_locale/time_get/get_monthname/char/2.cc: Ditto.
2831         * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
2832         * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Ditto.
2833         * testsuite/22_locale/time_get/get_time/char/1.cc: Ditto.
2834         * testsuite/22_locale/time_get/get_time/char/2.cc: Ditto.
2835         * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
2836         * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Ditto.
2837         * testsuite/22_locale/time_get/get_weekday/char/1.cc: Ditto.
2838         * testsuite/22_locale/time_get/get_weekday/char/2.cc: Ditto.
2839         * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
2840         * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Ditto.
2841         * testsuite/22_locale/time_get/get_year/char/1.cc: Ditto.
2842         * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
2843         * testsuite/22_locale/time_put/put/char/1.cc: Ditto.
2844         * testsuite/22_locale/time_put/put/char/2.cc: Ditto.
2845         * testsuite/22_locale/time_put/put/char/3.cc: Ditto.
2846         * testsuite/22_locale/time_put/put/char/4.cc: Ditto.
2847         * testsuite/22_locale/time_put/put/char/5.cc: Ditto.
2848         * testsuite/22_locale/time_put/put/char/6.cc: Ditto.
2849         * testsuite/22_locale/time_put/put/char/7.cc: Ditto.
2850         * testsuite/22_locale/time_put/put/char/8.cc: Ditto.
2851         * testsuite/22_locale/time_put/put/wchar_t/1.cc: Ditto.
2852         * testsuite/22_locale/time_put/put/wchar_t/2.cc: Ditto.
2853         * testsuite/22_locale/time_put/put/wchar_t/3.cc: Ditto.
2854         * testsuite/22_locale/time_put/put/wchar_t/4.cc: Ditto.
2855         * testsuite/22_locale/time_put/put/wchar_t/5.cc: Ditto.
2856         * testsuite/22_locale/time_put/put/wchar_t/6.cc: Ditto.
2857         * testsuite/22_locale/time_put/put/wchar_t/7.cc: Ditto.
2858         * testsuite/22_locale/time_put/put/wchar_t/8.cc: Ditto.
2859
2860         * testsuite/22_locale/time_put/put/char/9780-1.cc: Fix typos.
2861
2862 2004-04-07  Paolo Carlini  <pcarlini@suse.de>
2863
2864         * config/locale/gnu/monetary_members.cc
2865         (moneypunct<wchar_t>::_M_initialize_moneypunct): Prefer
2866         _NL_MONETARY_DECIMAL_POINT_WC, _NL_MONETARY_THOUSANDS_SEP_WC,
2867         and __MON_GROUPING to _NL_NUMERIC_DECIMAL_POINT_WC,
2868         _NL_NUMERIC_THOUSANDS_SEP_WC, and GROUPING.
2869         * config/locale/gnu/numeric_members.cc
2870         (numpunct<char>::_M_initialize_numpunct): Prefer DECIMAL_POINT
2871         and THOUSANDS_SEP to the deprecated RADIXCHAR and THOUSEP.
2872
2873 2004-04-06  Benjamin Kosnik  <bkoz@redhat.com>
2874
2875         Fixups for EDG front end.
2876         * include/ext/rope: Instead of non-existent function
2877         _Data_allocate, use allocator's allocate. Use this.
2878         (namespace _Rope_constants): Move _S_max_rope_depth, and _Tag
2879         enumerations from _Rope_RopeRep here.
2880         * include/ext/ropeimpl.h: Same.
2881         * src/ext-inst.cc (_S_min_len): Fix up definition.
2882
2883         * config/locale/gnu/ctype_members.cc: Qualify base class members
2884         with this.
2885         * config/locale/generic/ctype_members.cc: Same.
2886         * config/locale/gnu/messages_members.h: Same.
2887         * config/locale/generic/messages_members.h: Same.
2888         * src/ctype.cc: Same.
2889         * include/bits/codecvt.h: Same.
2890
2891         * include/bits/boost_concept_check.h: Declare.
2892         (__error_type_must_be_an_unsigned_integer_type): Remove this.
2893         (__error_type_must_be_an_integer_type): Remove this.
2894         (__error_type_must_be_a_signed_integer_type): Remove this.
2895
2896         * config/io/basic_file_stdio.cc (__basic_file::sys_open): Remove cast.
2897
2898         * libsupc++/eh_alloc.cc (__cxa_free_exception): Add exception
2899         specification to definition.
2900         (__cxa_allocate_exception): Same.
2901         * libsupc++/eh_catch.cc (__cxa_begin_catch): Same.
2902         * libsupc++/eh_globals.cc (__cxa_get_globals_fast): Same.
2903         (__cxa_get_globals): Same.
2904
2905         * libsupc++/del_op.cc: Add comment about freestanding.
2906
2907 2004-04-05  Paolo Carlini  <pcarlini@suse.de>
2908
2909         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
2910         The critical section is actually very small, only two assignments.
2911
2912 2004-04-04  Paolo Carlini  <pcarlini@suse.de>
2913             Petur Runolfsson  <peturr02@ru.is>
2914
2915         * testsuite/performance/27_io/filebuf_sputn_unbuf.cc: New,
2916         adapted from libstdc++/11378.
2917
2918 2004-04-03  Paolo Carlini  <pcarlini@suse.de>
2919
2920         * include/ext/mt_allocator.h (__mt_alloc<>::allocate): Factor out
2921         some duplicated code.
2922         (__mt_alloc<>::_Bin_record): Spare the space of _M_free and _M_used
2923         in the single threaded case.
2924         * testsuite/performance/20_util/allocator/list_sort_search.cc:
2925         Reorder and renumber the tests consistently with the other testfiles.
2926         * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
2927         * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
2928         * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
2929
2930 2004-04-02  Paolo Carlini  <pcarlini@suse.de>
2931
2932         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
2933         Rearrange arithmetic to avoid computing two divisions at
2934         each deallocation.
2935
2936 2004-04-01  Paolo Carlini  <pcarlini@suse.de>
2937
2938         * include/ext/mt_allocator.h (__mt_alloc<>::_S_initialize):
2939         Streamline the second half, wrapping it in a single
2940         '#ifdef __GTHREADS if (__gthread_active_p())' and avoiding
2941         conditionals inside loops.
2942
2943 2004-04-01  Paolo Carlini  <pcarlini@suse.de>
2944
2945         PR libstdc++/14775
2946         * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS.
2947         * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call
2948         GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define
2949         to _GLIBCXX_RES_LIMITS.
2950         (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to
2951         HAVE_LIMIT_*.
2952         * testsuite/testsuite_hooks.h: Declare set_file_limit.
2953         * testsuite/testsuite_hooks.cc: Define it, using getrlimit
2954         and setrlimit(RLIMIT_FSIZE).
2955         * testsuite/27_io/fpos/14775.cc: New.
2956         * config.h.in: Regenerate.
2957         * configure: Likewise.
2958
2959 2004-03-31  Paolo Carlini  <pcarlini@suse.de>
2960
2961         * config/locale/generic/c_locale.cc (__convert_to_v(long double&)):
2962         In v3 uses of sscanf, the special floating-point numbers INF,
2963         INFINITY, etc., cannot occur in input, therefore, if the latter
2964         is too large, ERANGE is always stored in errno, no need of finitel.
2965
2966 2004-03-30  Benjamin Kosnik  <bkoz@redhat.com>
2967
2968         PR libstdc++/14783
2969         * include/bits/stl_tree.h: Adjust initialization list order.
2970
2971 2004-03-29  Loren J. Rittle  <ljrittle@acm.org>
2972
2973         * testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
2974
2975 2004-03-29  Paolo Carlini  <pcarlini@suse.de>
2976
2977         * testsuite/thread/pthread7-rope.cc: Fix, unpredictably, depending
2978         on allocator behavior, the memory pointed by data2 may well be not
2979         trashed.
2980
2981 2004-03-28  Chavdar Botev  <cbotev@yahoo.com>
2982
2983         PR libstdc++/14245
2984         * include/bits/basic_string.tcc
2985         (basic_string::basic_string(const basic_string&)): Pass to
2986         _Rep::_M_grab the actual allocator of the string being constructed
2987         not the default constructed one.
2988
2989 2004-03-27  Benjamin Kosnik  <bkoz@redhat.com>
2990
2991         libstdc++ PR/13598
2992         * config/locale/ieee_1003.1-2001/codecvt_specializations.h
2993         (__enc_traits::_M_destroy): New.
2994         (__enc_traits::~__enc_traits): Use it.
2995         (__enc_traits::operator=): Use _M_destroy, _M_init.
2996         (__enc_traits::__enc_traits): Same.
2997
2998 2004-03-27  Petur Runolfsson  <peturr02@ru.is>
2999
3000         * testsuite/ext/enc_filebuf/char/13598.cc: New.
3001
3002 2004-03-27  Paolo Carlini  <pcarlini@suse.de>
3003
3004         * include/ext/mt_allocator.h: Uglify consistently names of
3005         variables, members and classes; tidy.
3006
3007 2004-03-27  Dhruv Matani  <dhruvbird@gmx.net>
3008
3009         * include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
3010         Deallocation loop rewrote.
3011
3012 2004-03-26  Paolo Carlini  <pcarlini@suse.de>
3013
3014         * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
3015         __mt_alloc<>::deallocate): Protect two instances of
3016         block->thread_id with __GTHREADS.
3017
3018 2004-03-25  Gawain Bolton  <gp.bolton@computer.org>
3019
3020         * include/bits/stl_tree.h (_Rb_tree_impl): Add _Node_allocator
3021         default argument in constructors.
3022         (_Rb_tree::_M_empty_initialize): Remove.
3023
3024 2004-03-25  Benjamin Kosnik  <bkoz@redhat.com>
3025
3026         * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers.
3027         * testsuite/23_containers/set/operators/1_neg.cc: Same.
3028
3029 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
3030
3031         * include/bits/cpp_type_traits.h: Changed __is_pod
3032         completely. Now, it does not use any of the previous type_traits
3033         to detect the pod types, and it also detects function pointers as
3034         POD types.
3035
3036         * include/bits/stl_tree.h: Introduced a new class _Rb_tree_impl,
3037         which encapsulates the internal implementation of an rb_tree. Made
3038         the allocator a base class of this class instead of the rb_tree,
3039         which was not conforming. This _Rb_tree_impl class is also
3040         specialized on whether the _Compare parameter is a POD type or
3041         not. If so, then it maintains the comparison function as a data
3042         member, otherwise it makes the _Compare parameter a base class of
3043         itself. Also, _M_key_compare is now a function instead of a data
3044         member, so that the above trick can work properly. Delegated the
3045         initialization of the other data members to this newly created
3046         class. Also, now other member functions of rb_tree must refer to
3047         _M_key_compare as _M_impl._M_key_compare(). The other data members
3048         (*) can be referenced to as _M_impl.(*), where
3049         (*) includes _M_header, and _M_node_count.
3050
3051 2004-03-25  Paolo Carlini  <pcarlini@suse.de>
3052
3053         * include/ext/mt_allocator.h (__mt_alloc<>::tune):
3054         Add _M_min_bin, the size in bytes of the smallest bin.
3055         (__mt_alloc<>::tune()): Tweak accordingly.
3056         (__mt_alloc<>::tune(size_t, ...)): Likewise.
3057         (__mt_alloc<>::block_record): Change to a union: members next
3058         and thread_id are never used at the same time.
3059         (__mt_alloc<>::allocate): Update consistently.
3060         (__mt_alloc<>::deallocate): Likewise.
3061         (__mt_alloc<>::_S_initialize): Update setups of _S_binmap and
3062         _S_bin_size for the configurable _M_min_size.
3063
3064 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
3065
3066         * include/bits/stl_list.h: Created a _List_impl class and made it
3067         derive from the allocator, instead of the list deriving from the
3068         allocator class, which was not conformant. Changed all references
3069         from this->_M_node to this->_M_impl._M_node * bits/list.tcc: Same
3070         as above (changed all references to the concerned variables).
3071
3072 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
3073
3074         * include/bits/stl_deque.h: Created a _Deque_impl class and made
3075         it derive from the allocator, instead of the deque deriving from
3076         the allocator class, which was not conformant. Changed all
3077         references to the _M_start, _M_finish, _M_map, and _M_map_size to
3078         _M_impl.*.
3079         (_Deque_base<_Tp,_Alloc>::~_Deque_base()): Added this->
3080         qualification in 2 places where it was missing.
3081         (_Deque_base<_Tp,_Alloc>::_M_initialize_map(size_t)): Same as
3082         above.
3083         * include/bits/deque.tcc: Same as above (changed all references to
3084         the concerned variables).
3085
3086 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
3087
3088         * include/bits/stl_vector.h: Created a _Vector_impl class and made
3089         it derive from the allocator, instead of the _Vector_base class,
3090         deriving from the allocator which was not conformant. Changed all
3091         references to the _M_start, _M_finish, and _M_end_of_storage to
3092         _M_impl.*.
3093         * include/bits/vector.tcc: Same as above (changed all references
3094         to the concerned variables).
3095
3096 2004-03-25  Dhruv Matani  <dhruvbird@gmx.net>
3097
3098         * testsuite/23_containers/deque/cons/clear_allocator.cc: New.
3099         * testsuite/23_containers/list/cons/clear_allocator.cc: New.
3100         * testsuite/23_containers/vector/cons/clear_allocator.cc: New.
3101
3102 2004-03-24  Dhruv Matani  <dhruvbird@gmx.net>
3103
3104         * include/ext/malloc_allocator.h: Fixed the construct function to
3105         call global placement new instead of assignment. Added a check
3106         after the return from malloc to check whether returned pointer is
3107         NULL, and if so, throw std::bad_alloc().
3108         * include/ext/debug_allocator.h: Added a check in the deallocate
3109         function to check whether the user has passed a NULL pointer or
3110         not.
3111
3112 2004-03-24  Benjamin Kosnik  <bkoz@redhat.com>
3113
3114         * docs/html/20_util/allocator.html: Add bitmap_allocator links.
3115
3116 2004-03-24  Andreas Schwab  <schwab@suse.de>
3117
3118         * testsuite/lib/prune.exp (prune_g++_output): Ignore errata
3119         warning from IA64 assembler.
3120
3121 2004-03-24  Dhruv Matani  <dhruvbird@gmx.net>
3122
3123         * include/ext/bitmap_allocator.h: (_Bit_scan_forward) -> Made this
3124         function call __builtin_ctz instead of the while loop.
3125         (allocate) -> If condition has __builtin_expect.
3126         (deallocate) -> Ditto.
3127         Renamed a few left-over variables and typedefs according to the
3128         C++STYLE mentioned in the documentation.
3129         Protected calls to __gthread* by __gthread_active_p(), whose value
3130         is cached in the local variable __threads_active.
3131
3132 2004-03-24  Felix Yen  <fwy@alumni.brown.edu>
3133
3134         * testsuite/performance/20_util/allocator/producer_consumer.cc:
3135         Use linear algorithm for producer.
3136
3137 2004-03-24  Paolo Carlini  <pcarlini@suse.de>
3138
3139         * include/ext/mt_allocator.h (__mt_alloc<>::allocate,
3140         __mt_alloc<>::deallocate): Avoid redundant conditionals.
3141
3142 2004-03-23  Benjamin Kosnik  <bkoz@redhat.com>
3143
3144         * include/bits/locale_facets.h: Tweaks for 80 column.
3145         (__numpunct_cache::_M_cache): Move to locale_facets.tcc.
3146         (__moneypunct_cache::_M_cache): Same.
3147         (num_get): Don't inherit from __num_base.
3148         (num_put): Same.
3149         (money_get): Don't inherit from money_base.
3150         (money_put): Same.
3151         (__timepunct::_M_am_pm_format): New.
3152         (time_get::_M_extract_num): Return iterator, use ios_base as argument.
3153         (time_get::_M_extract_name): Same.
3154         (time_get::_M_extract_via_format): Same.
3155         * include/bits/locale_facets.tcc: Tweaks for 80 column.
3156         Use _M_getloc instead of getloc.
3157         * testsuite/22_locale/money_put/put/char/9780-3.cc: New.
3158         * testsuite/22_locale/num_put/put/char/9780-2.cc: New.
3159         * testsuite/22_locale/time_put/put/char/9780-1.cc: New.
3160
3161 2004-03-22  Paolo Carlini  <pcarlini@suse.de>
3162
3163         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator.
3164         * configure: Regenerate.
3165         * config/allocator/pool_allocator_base.h: New.
3166         * include/ext/pool_allocator.h: Convert to a standard-conforming
3167         allocator.
3168         * src/allocator.cc: Tweak instantiations.
3169         * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc.
3170         * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto.
3171         * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto.
3172         * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto.
3173         * testsuite/performance/20_util/allocator/map_thread.cc: Ditto.
3174         * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto.
3175
3176 2004-03-22  Hans-Peter Nilsson  <hp@axis.com>
3177
3178         * config/cpu/cris/atomicity.h (__atomic_add): Remove "static
3179         inline" and attribute-unused.  Qualify parameter __mem with
3180         "volatile".
3181         (__exchange_and_add): Ditto.  Add back memory clobber to asm.
3182
3183 2004-03-20  Paolo Carlini  <pcarlini@suse.de>
3184
3185         * testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
3186         Remove junk.
3187         * testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
3188         Likewise.
3189         * testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
3190         Likewise.
3191         * testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
3192         Likewise.
3193         * testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
3194         Likewise.
3195         * testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
3196         Likewise.
3197         * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
3198         Likewise.
3199         * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
3200         Likewise.
3201         * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
3202         Likewise.
3203         * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
3204         Likewise.
3205
3206 2004-03-20  Paolo Carlini  <pcarlini@suse.de>
3207
3208         * include/std/std_valarray.h: Document DR389 [Ready].
3209         * docs/html/ext/howto.html: Add an entry for DR389.
3210
3211 2004-03-19  Michael Eager  <eager@mvista.com>
3212
3213         * config/cpu/mips/atomicity.h:  Prevent reg loads between LL and
3214         SC instructions.
3215
3216 2004-03-19  Paolo Carlini  <pcarlini@suse.de>
3217
3218         * testsuite/22_locale/num_get/get/char/11.cc: Remove redundant
3219         static_cast-s.
3220         * testsuite/22_locale/num_get/get/char/12.cc: Likewise.
3221         * testsuite/22_locale/num_get/get/char/13.cc: Likewise.
3222         * testsuite/22_locale/num_get/get/char/14.cc: Likewise.
3223         * testsuite/22_locale/num_get/get/char/15.cc: Likewise.
3224         * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
3225         * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
3226         * testsuite/22_locale/num_get/get/wchar_t/13.cc: Likewise.
3227         * testsuite/22_locale/num_get/get/wchar_t/14.cc: Likewise.
3228         * testsuite/22_locale/num_get/get/wchar_t/15.cc: Likewise.
3229
3230 2004-03-19  Paolo Carlini  <pcarlini@suse.de>
3231             Petur Runolfsson  <peturr02@ru.is>
3232
3233         PR libstdc++/12077
3234         * include/ext/stdio_sync_filebuf.h (showmanyc): Remove, there's
3235         no way to find out the conversion used by the underlying FILE*.
3236         * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: New.
3237         * testsuite/27_io/objects/char/9.cc: Tweak.
3238
3239 2004-03-19  Paolo Carlini  <pcarlini@suse.de>
3240
3241         PR libstdc++/14648
3242         * include/ext/ropeimpl.h (rope<>::_S_apply_to_pieces): Fix
3243         memory allocation/deallocation calls.
3244         * testsuite/ext/14648.cc: New.
3245
3246 2004-03-19  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
3247
3248         PR libstdc++/14647
3249         * include/backward/bvector.h (bit_vector): Allocator is in std
3250         namespace.
3251
3252 2004-03-19  Phil Edwards  <phil@codesourcery.com>
3253
3254         * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT):  Set LIBICONV,
3255         not libiconv.  SUBST this variable as well.
3256         * testsuite/Makefile.am (site.exp):  New target, based on that
3257         created by automake.  Also set libiconv.
3258
3259         * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in,
3260         libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
3261         testsuite/Makefile.in:  Regenerate.
3262
3263 2004-03-16  Benjamin Kosnik  <bkoz@redhat.com>
3264
3265         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is
3266         new_allocator for all hosts.
3267         * configure: Regenerate.
3268
3269 2004-03-16  Paolo Carlini  <pcarlini@suse.de>
3270
3271         * testsuite/22_locale/num_put/put/char/4.cc: Fix for 64-bit pointers.
3272         * testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
3273
3274 2004-03-15  Paolo Carlini  <pcarlini@suse.de>
3275
3276         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
3277         Adjust the logic underlying the parsing of symbol to deal
3278         correctly with an optional sign component (i.e., when either
3279         negative_sign or positive_sign is empty)
3280         * testsuite/22_locale/money_get/get/char/19.cc: New.
3281         * testsuite/22_locale/money_get/get/wchar_t/19.cc: New.
3282
3283 2004-03-15  Paolo Carlini  <pcarlini@suse.de>
3284
3285         * include/bits/locale_facets.tcc (money_get<>::_M_extract):
3286         Do not accept an incomplete currency symbol.
3287         * testsuite/22_locale/money_get/get/char/18.cc: New.
3288         * testsuite/22_locale/money_get/get/wchar_t/18.cc: New.
3289
3290 2004-03-13  Benjamin Kosnik  <bkoz@redhat.com>
3291
3292         * config/allocator: New.
3293         * config/allocator/bitmap_allocator_base.h: New.
3294         * config/allocator/malloc_allocator_base.h: New.
3295         * config/allocator/mt_allocator_base.h: New.
3296         * config/allocator/new_allocator_base.h: New.
3297         * include/bits/allocator.h: Include c++allocator.h.
3298         * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New.
3299         * aclocal.m4: Regenerate.
3300         * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR.
3301         * configure: Regenerate.
3302         * include/Makefile.am (host_headers_extra): Add c++allocator.h.
3303         * include/Makefile.in: Regenerate.
3304         * docs/html/configopts.html: Add enable-libstdcxx-allocator.
3305
3306 2004-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3307
3308         * include/bits/allocator.h: Revert.
3309
3310 2004-03-12  Paolo Carlini  <pcarlini@suse.de>
3311
3312         * docs/html/ext/howto.html: Add entry for DR 253 [Ready].
3313         * include/bits/gslice_array.h: Add comment about DR 253.
3314         * include/bits/indirect_array.h: Likewise.
3315         * include/bits/mask_array.h: Likewise.
3316         * include/bits/slice_array.h: Likewise.
3317
3318 2004-03-12  Benjamin Kosnik  <bkoz@redhat.com>
3319
3320         * testsuite/20_util/allocator/14176.cc: New.
3321         * include/ext/mt_allocator.h: Formatting fixes.
3322
3323 2004-03-11  Dhruv Matani  <dhruvbird@HotPOP.com>
3324
3325         * include/Makefile.am (ext_headers): Add
3326         ${ext_srcdir}/bitmap_allocator.h .
3327         * include/Makefile.in: Regenerate.