OSDN Git Service

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