OSDN Git Service

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