OSDN Git Service

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