1 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
3 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
4 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
5 * include/bits/basic_string.tcc: Likewise.
6 * include/bits/ios_base.h: Likewise.
7 * include/bits/istream.tcc: Likewise.
8 * include/bits/locale_facets.tcc: Likewise.
9 * include/bits/ostream.tcc: Likewise.
10 * include/bits/stl_function.h: Likewise.
11 * include/bits/stl_multiset.h: Likewise.
12 * include/bits/stl_pair.h: Likewise.
13 * include/bits/stl_set.h: Likewise.
14 * include/bits/streambuf_iterator.h
15 * include/std/std_iosfwd.h: Likewise.
16 * include/std/std_istream.h: Likewise.
17 * include/std/std_sstream.h: Likewise.
18 * include/std/std_streambuf.h: Likewise.
19 * src/ios.cc: Likewise.
20 * include/bits/c++config:
21 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
22 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
23 dg-error directive due to removal of a blank line.
24 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
26 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
27 Paolo Carlini <pcarlini@unitus.it>
29 PR libstdc++/11844/11740 (cont)
30 * config/os/generic/ctype_inline.h (ctype<char>::is):
31 Generically, use a bitmasksize of 15 (instead of 10);
32 Fix the logic to actually return (M & m) != 0 as per
35 2003-10-11 Bernardo Innocenti <bernie@develer.com>
37 * crossconfig.m4 (*-uclinux*): New target.
38 * configure: Regenerate.
40 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
42 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
43 Avoid unnecessarily calling __builtin_alloca and dealing
44 explicitly with width() smaller than zero.
45 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
46 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
47 const char*), operator<<(basic_ostream<char, _Traits>&,
48 const char*), operator<<(basic_ostream, const basic_string&)):
51 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
53 * config/linker-map.gnu: Make more *_type_info bits visible.
54 Move new/delete bits back into GLIBCXX space.
56 * include/bits/locale_classes.h: Move _M_id out of line, so that
57 locale::id::_S_highwater can be removed from the export list.
58 * src/locale.cc (locale::id::_M_id): Define.
60 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
62 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
65 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
68 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
69 to conform to the requirements of 22.2.1.
70 * config/os/bsd/freebsd/ctype_base.h: Likewise.
71 * config/os/djgpp/ctype_base.h: Likewise.
72 * config/os/generic/ctype_base.h: Likewise.
73 * config/os/gnu-linux/ctype_base.h: Likewise.
74 * config/os/hpux/ctype_base.h: Likewise.
75 * config/os/irix/irix6.5/ctype_base.h: Likewise.
76 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
77 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
78 * testsuite/22_locale/ctype/11844.cc: New.
80 * config/locale/generic/ctype_members.cc (do_is):
81 Generically, use a bitmasksize of 15 (instead of 10), since
82 we don't know the numerical encoding of the various categories
83 in the underlying /usr/include/ctype.h.
85 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
87 * src/string-inst.cc: Prune.
88 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
89 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
91 2003-10-09 Petur Runolfsson <peturr02@ru.is>
93 * src/io-inst.cc: Don't include iostream.
94 * include/bits/ios_base.h (ios_base::failure): Use string.
95 * src/Makefile.am: Add ios_failure.cc.
96 * src/Makefile.in: Regenerate.
97 * src/ios.cc: Move ios_base::failure definitions to...
98 * src/ios_failure.cc: ...here. New.
100 2003-10-09 Petur Runolfsson <peturr02@ru.is>
103 * include/bits/fstream.tcc (basic_filebuf::seekoff):
104 Move code needed for both seekoff and seekpos...
105 (basic_filebuf::_M_seek): ...here. New function.
106 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
107 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
108 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
110 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
112 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
114 * include/bits/locale_facets.tcc: More minor cosmetic
115 changes and const-ifications of some variables.
117 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
119 * include/bits/locale_facets.tcc: Minor cosmetic changes
120 and const-ifications of some variables.
122 * include/bits/locale_facets.tcc
123 (money_get::do_get(..., string_type&)): Simplify an if-else.
125 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
128 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
129 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
130 * config/locale/generic/ctype_members.cc: Same.
131 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
133 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
135 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
136 Improve performance-wise: avoid one traits::copy, avoid
137 the __builtin_alloca, streamline.
139 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
141 * include/bits/locale_facets.tcc
142 (num_put::do_put(..., bool)): Prefer ?: to if-else.
143 (time_get::_M_extract_name): Qualify min with std::.
144 (__pad<>::_S_pad): Constify two variables; simplify an
145 if-else statement factoring out some code.
147 * include/bits/locale_facets.tcc: Minor cosmetic changes.
149 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
151 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
152 Constify a couple of variables.
153 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
156 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
157 Petur Runolfsson <peturr02@ru.is>
159 * include/ext/stdio_sync_filebuf.h: Don't include the whole
160 <fstream>, only <streambuf> and <cstdio>.
162 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
165 * include/bits/fstream.tcc (imbue): In case a codecvt facet
166 is not available, set _M_codecvt = 0.
167 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
169 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
172 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
174 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
176 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
177 * src/locale.cc: Define.
178 * src/localename.cc: Use it.
179 * config/locale/generic/time_members.h: Same.
180 * config/locale/gnu/messages_members.h: Same.
181 * config/locale/gnu/time_members.h: Same.
183 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
186 * include/bits/fstream.tcc (seekoff): Ignore the openmode
188 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
189 seekpos): Remove the openmode argument.
190 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
191 seekpos): Remove redundant placeholder for the openmode argument.
192 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
193 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
194 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
195 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
196 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
198 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
200 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
201 (locale::facet::_S_get_c_locale): Same.
203 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
205 * config/linker-map.gnu: Export _S_get_c_locale instead of
208 2003-10-02 Petur Runolfsson <peturr02@ru.is>
210 * config/locale/generic/c_locale.cc
211 (category_names, locale::_S_categories): Const qualify.
212 * config/locale/gnu/c_locale.cc: Same.
213 * config/locale/generic/time_members.h (__timepunct::__timepunct):
214 Copy string contents before assigning to _M_name_timepunct,
215 qualify strcpy and strlen with std::.
216 * config/locale/gnu/time_members.h: Same.
217 * config/locale/gnu/messages_members.h (messages::messages):
218 Copy string contents before assigning to _M_name_messages,
219 qualify strcpy and strlen with std::.
220 * config/os/gnu-linux/ctype_noninline.h
221 (ctype<char>::classic_table()): Don't call locale::classic().
222 * include/bits/locale_classes.h
223 (locale::_S_categories): Const qualify.
224 (locale::_S_once, locale::_S_initialize_once,
225 locale::facet::_S_once, locale::facet::_S_initialize_once,
226 locale::facet::_S_get_c_locale): Declare.
227 (locale::_S_initialize): Don't define.
228 (locale::facet::_S_c_locale): Make private.
229 (locale::facet::_S_c_name): Same, const qualify.
230 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
231 parameters, add throw() specifier.
232 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
233 messages::_M_name_messages): Const qualify.
235 (locale::_S_once, locale::facet::_S_once): Define.
236 (locale::classic): Move initialization code...
237 (locale::_S_initialize_once): ...here.
238 (locale::_S_initialize): Call _S_initialize_once through
240 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
241 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
242 __gthread_once before returning _S_c_locale.
243 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
244 Drop unused parameters, add throw() specifier, don't initialize
245 locale::facet::_S_c_locale and _S_c_name.
247 * config/locale/generic/messages_members.h:
248 Replace _S_c_locale with _S_get_c_locale().
249 * config/locale/gnu/c_locale.cc: Same.
250 * config/locale/gnu/messages_members.h: Same.
251 * config/locale/gnu/numeric_members.cc: Same.
252 * config/locale/gnu/time_members.cc: Same.
253 * config/os/gnu-linux/ctype_noninline.h: Same.
254 * include/bits/locale_facets.h: Same.
255 * include/bits/locale_facets.tcc: Same.
256 * src/codecvt.cc: Same.
257 * src/ctype.cc: Same.
259 2003-10-02 Carlo Wood <carlo@alinoe.com>
261 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
262 Decode symbols that start with _GLOBAL_[ID]_ differently: the
263 trailing part ends with a terminating zero and is not necessarily an
265 * src/demangle.cc (): Same.
266 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
268 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
270 * testsuite/22_locale/locale/cons/12438.cc: Use
271 __gnu_test::try_named_locale("").
273 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
275 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
276 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
278 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
279 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
281 * config.h.in, configure: Regenerate.
282 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
285 2003-10-01 Nathan Myers <ncm@cantrip.org>
287 * include/bits/locale_facets.tcc (time_put::put): Avoid
288 expensive *__s++, in favor of *__s, ++__s.
290 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
292 * include/bits/locale_facets.tcc (time_put::put): Minor
293 tweak to the previous commit.
295 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
298 * include/bits/locale_facets.tcc (time_put::put): Deal
299 with the three issues pointed out by the PR.
300 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
301 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
302 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
303 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
304 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
306 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
308 * include/bits/stl_algo.h: Minor cosmetic reformattings.
310 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
312 * include/bits/stl_algo.h (search_n): Tweak, to spare the
315 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
317 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
318 qualify exception name.
320 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
323 * include/bits/locale_facets.tcc (locale::combine): Don't
324 leak memory if _M_replace_facet throws.
325 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
327 * include/bits/locale_classes.h (locale::locale(const locale&,
328 _Facet*)): Tweak, use consistently _M_remove_reference.
330 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
332 PR libstdc++/12352 (cont)
333 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
334 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
336 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
337 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
338 !_M_caches, !_M_names.
340 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
342 * configure.host: Handle Solaris 2.5 micro releases explicitly.
343 Remove wildcards from Solaris 2.6, 7-9: there were no
345 Treat Solaris 10 and up like 7-9.
347 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
349 * include/bits/stl_algo.h (search_n): Improve the previous
350 fix as suggested by Martin.
352 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
355 * include/bits/istream.tcc (peek): Set eofbit if sgetc
357 * testsuite/27_io/basic_istream/peek/char/12296.cc:
360 2003-09-29 Nathan Myers <ncm@cantrip.org>
361 Paolo Carlini <pcarlini@unitus.it>
364 * include/bits/stl_algo.h (search_n):
365 Use iterator_traits<>::difference_type for __n.
366 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
368 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
370 * testsuite/22_locale/locale/cons/12352.cc:
371 Use __attribute__((unused)) for test.
373 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
375 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
376 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
377 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
379 2003-09-26 Brad Spencer <spencer@infointeractive.com>
381 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
382 Explicitly qualify exceptions.
383 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
384 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
385 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
386 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
388 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
391 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
392 size_t)): Don't leak if memory allocations for _M_facets,
393 _M_caches, and _M_names fail.
394 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
395 (locale::_Impl::_M_replace_categories(const _Impl*,
397 (locale::_Impl::_M_install_facet(const locale::id*,
398 const facet*)): Ditto.
399 * include/bits/locale_classes.h (locale::locale(const locale&,
400 _Facet*)): Don't leak memory.
401 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
403 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
404 bool)): Qualify with std:: strcpy, tweak.
405 * include/bits/locale_classes.h
406 (locale::_Impl::_M_check_same_name): Qualify strcmp.
408 2003-09-25 Brad Spencer <spencer@infointeractive.com>
411 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
413 * aclocal.m4: Regenerate.
414 * config.h.in: Regenerate.
415 * configure: Regenerate.
416 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
417 * config/io/basic_file_stdio.cc: Guard unistd.h.
418 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
419 * include/c_std/std_cwchar.h: Same.
420 * include/c_std/std_cwctype.h: Same.
422 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
425 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
426 * config/locale/generic/ctype_members.cc: Same.
427 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
428 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
430 * config/os/generic/ctype_inline.h: Update.
432 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
434 * src/Makefile.am (version_dep): New variable.
435 (libstdc___la_DEPENDENCIES): Use it to add dependency on
436 libstdc++-symbol.ver only when using symbol versioning.
437 * src/Makefile.in: Regenerate.
439 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
441 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
442 * testsuite/testsuite_hooks.h: Same.
443 * testsuite/*/*.cc: Same.
445 2003-09-22 Petur Runolfsson <peturr02@ru.is>
447 * include/bits/istream.tcc (basic_istream::read,
448 basic_istream::readsome, basic_istream::putback,
449 basic_istream::unget, operator>>(basic_istream, CharT)):
450 Avoid redundant setstate(failbit) calls when sentry::operator bool()
453 2003-09-22 Carlo Wood <carlo@alinoe.com>
456 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
457 char const*, int, int)): Remove unused identifier
458 cv_qualifier for overloaded constructor.
460 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
463 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
464 WARN_FLAGS, remove -Wno-format.
465 * aclocal.m4: Regenerate.
466 * configure: Regenerate.
468 2003-09-18 Petur Runolfsson <peturr02@ru.is>
470 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
471 * config/io/basic_file_stdio.h: Same.
472 * include/std/std_fstream.h (__ctype_type): Delete.
473 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
475 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
478 * configure.host (abi_baseline_pair): Error out on solaris2
479 configurations without a minor version number.
481 2003-09-13 Phil Edwards <phil@codesourcery.com>
483 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
485 * docs/doxygen/user.cfg.in: And here.
487 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
488 Andreas Jaeger <aj@suse.de>
491 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
492 abi_check if cross compiling.
493 * aclocal.m4: Regenerated.
494 * configure: Regenerated.
496 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
498 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
499 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
500 (__cxa_vec_new3): Likewise.
502 2003-09-10 Petur Runolfsson <peturr02@ru.is>
504 * include/bits/fstream.tcc (basic_filebuf::seekoff):
505 Use codecvt::length to handle variable-width stateless encodings
507 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
508 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
510 2003-09-10 Alan Modra <amodra@bigpond.net.au>
512 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
515 2003-09-09 Alan Modra <amodra@bigpond.net.au>
517 * configure: Regenerate.
519 2003-09-09 David Edelsohn <edelsohn@gnu.org>
521 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
522 qualifier from _S_synced_with_stdio.
524 2003-09-09 Bernardo Innocenti <bernie@develer.com>
526 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
528 2003-09-04 Petur Runolfsson <peturr02@ru.is>
531 * include/bits/fstream.tcc
532 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
533 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
534 _M_ext_buf_size, _M_ext_next and _M_ext_end.
535 (basic_filebuf::underflow): Handle variable-width stateless
536 encodings (codecvt::encoding() == 0), including UTF-8.
537 * include/std/std_fstream.h (basic_filebuf):
538 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
539 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
540 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
541 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
542 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
543 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
544 * testsuite/27_io/objects/wchar_t/12.cc: New test.
545 * testsuite/27_io/objects/wchar_t/13.cc: New test.
547 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
549 * docs/html/faq/index.html: Note that a namespace alias can't be
550 used when specialising templates in extension namespace.
551 * docs/html/faq/index.txt: Regenerate.
553 2003-09-03 Petur Runolfsson <peturr02@ru.is>
556 * include/ext/stdio_sync_filebuf.h
557 (stdio_sync_filebuf::_M_unget_buf): Declare it.
558 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
559 (stdio_sync_filebuf::uflow): Store the returned character in
561 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
562 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
563 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
564 _M_unget_buf, if any, else eof().
565 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
566 _M_unget_buf, if any, else eof().
567 * testsuite/27_io/objects/char/12048.cc: Rename to...
568 * testsuite/27_io/objects/char/12048-1.cc: ...this.
569 * testsuite/27_io/objects/char/12048-2.cc: New test.
570 * testsuite/27_io/objects/char/12048-3.cc: New test.
571 * testsuite/27_io/objects/char/12048-4.cc: New test.
572 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
573 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
574 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
575 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
576 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
577 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
578 * testsuite/ext/stdio_sync_filebuf_char.cc
579 (test02, test03, test04, test05): New tests.
580 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
581 (test02, test03, test04, test05): New tests.
583 2003-09-03 Petur Runolfsson <peturr02@ru.is>
585 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
586 stringbuf or strstreambuf. Fix typos.
588 2003-09-02 Phil Edwards <phil@codesourcery.com>
590 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
592 * config.h.in: Add _GLIBCXX_HOSTED.
593 * libsupc++/eh_term_handler.cc: Test it here; initialize
594 __terminate_handler to std::abort if freestanding.
595 * aclocal.m4, configure: Regenerated.
596 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
598 2003-08-29 Nathan Myers <ncm@cantrip.org>
601 * include/bits/locale_facets.tcc (__pad): delete dead code.
603 2003-08-28 Alan Modra <amodra@bigpond.net.au>
605 * configure.ac: Test $with_cross_host against $build_alias, not $build.
606 * configure: Regenerate.
608 2003-08-27 Petur Runolfsson <peturr02@ru.is>
610 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
611 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
613 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
615 * Makefile.am: Remove trailing whitespace. Remove needless
616 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
617 * include/Makefile.am: Likewise.
618 * libmath/Makefile.am: Likewise.
619 * libsupc++/Makefile.am: Likewise.
620 * po/Makefile.am: Likewise.
621 * src/Makefile.am: Likewise.
622 * testsuite/Makefile.am: Likewise.
624 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
625 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
626 testsuite/Makefile.in: Regenerated.
628 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
630 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
632 * aclocal.m4, configure: Regenerate.
634 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
636 * acinclude.m4: Include no-executables.m4.
637 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
638 * aclocal.m4: Regenerated.
639 * configure: Regenerated.
641 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
643 * acinclude.m4: Don't call AC_ISC_POSIX.
644 * aclocal.m4: Regenerated.
645 * configure: Regenerated.
647 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
649 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
650 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
651 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
652 used elsewhere in this file.
653 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
654 * configure.ac: ...called here to expand all conditionals.
655 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
656 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
657 (install-freestanding-headers): New target, a subset of
658 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
660 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
661 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
662 src/Makefile.in, testsuite/Makefile.in: Regenerated.
664 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
666 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
667 pathnames from generated tag file.
669 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
671 * Makefile.am: Add comment.
672 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
674 * configure.ac: Use them both here, instead of hardcoded lists.
676 * fragment.am: Add STAMP varaible.
677 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
679 (stamp-*): Move file creation rule outside of 'if' branches to
680 ensure the stamp-* files are actually updated. Use $(STAMP).
681 * src/Makefile.am: Remove now-nonexistant variable.
682 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
684 * po/Makefile.am: Include same fragment as all the others.
686 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
687 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
689 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
691 * testsuite/data/cin_unget-1.txt: New.
692 * testsuite/27_io/objects/char/12048.cc: New.
694 2003-08-25 Zack Weinberg <zack@codesourcery.com>
696 * config/os/hpux/os_defines.h: Unconditionally define
697 _GLIBCXX_GTHREAD_USE_WEAK to 0.
699 2003-08-19 Geoffrey Keating <geoffk@apple.com>
701 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
702 crosses to Darwin targets.
703 * configure: Regenerate.
705 2003-08-19 Petur Runolfsson <peturr02@ru.is>
707 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
709 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
711 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
712 in the patch from 3 minutes ago. Boy, is my face red.
713 * configure: At least I remembered to regenerate this.
715 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
717 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
718 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
719 things from the top level.
720 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
721 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
722 (currently unused). Strip the fake-VPATH shell fragment from
723 automake-generated rules, if present.
724 * linkage.m4: Add comment.
726 * fragment.am: New file, containing factored-out common settings.
727 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
728 * Makefile.am: Include fragment.am. Remove common variables.
729 * include/Makefile.am: Likewise.
730 * libmath/Makefile.am: Likewise.
731 * libsupc++/Makefile.am: Likewise.
732 * po/Makefile.am: Likewise. Print rules during check.
733 * src/Makefile.am: Likewise.
734 * testsuite/Makefile.am: Likewise.
736 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
737 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
738 src/Makefile.in, testsuite/Makefile.in: Regenerate.
740 2003-08-11 John Levon <levon@movementarian.org>
742 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
743 remaining places for the name change from GLIBCPP_FORCE_NEW
746 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
748 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
750 * include/bits/basic_ios.tcc: Same.
751 * include/bits/istream.tcc: Same.
752 * include/bits/locale_facets.h: Same.
753 * include/bits/ostream.tcc: Same.
754 * include/std/std_istream.h: Same.
755 * include/std/std_ostream.h: Same.
756 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
758 * include/ext/rope: Remove build warning.
760 2003-08-11 Andreas Jaeger <aj@suse.de>
762 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
764 * include/Makefile.in: Regenerated.
766 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
768 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
769 when calling AC_PROG_CC.
770 * aclocal.m4, configure: Regenerate.
772 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
774 * acinclude.m4: Properly quote variable which will be expanded
775 inside makefiles. Use CXX instead of CC to extract compiler info.
776 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
777 correct form in PACKAGE.
778 * aclocal.m4, configure: Regenerate.
780 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
782 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
783 (check-abi-verbose): Same.
784 * testsuite/testsuite_performance.h (report_performance): Same.
786 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
788 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
790 2003-08-07 Doug Gregor <dgregor@apple.com>
792 * include/bits/char_traits.h (char_traits::not_eof): Match operand
795 2003-08-07 Bernardo Innocenti <bernie@develer.com>
798 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
799 Replace variants with new BSET-based version.
801 2003-08-07 Carlo Wood <carlo@alinoe.com>
803 * include/bits/demangle.h: Do not use cctype functions that depend
806 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
808 * configure.in: Rename...
809 * configure.ac: ...to this.
810 * docs/html/17_intro/porting.texi: Update name.
812 * docs/html/17_intro/porting.html: Regenerate.
813 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
814 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
815 testsuite/Makefile.in: Regenerate (picks up new dependancy).
817 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
819 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
820 pipe, open the window to let out the fumes, redo the option-handling
821 logic to properly execute the detection test.
822 * aclocal.m4, configure: Regenerate.
824 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
826 Convert to new autotools.
827 * acconfig.h: Update with correct names.
828 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
829 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
830 * configure.in: Update. Split hardcoded cross-configury settings
832 * crossconfig.m4: ...here. New file. Contents untouched.
833 * acinclude.m4: Reorganize and rewrite as needed. Split large
835 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
837 * scripts/testsuite_flags.in: Update.
839 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
840 variables (already generated by automake).
841 * include/Makefile.am: Ditto.
842 * libmath/Makefile.am: Ditto.
843 * libsupc++/Makefile.am: Ditto.
844 * po/Makefile.am: Ditto.
845 * src/Makefile.am: Ditto.
847 * aclocal.m4: Regenerate using new versions.
848 * config.h.in: Ditto.
850 * Makefile.in: Ditto.
851 * include/Makefile.in: Ditto.
852 * libmath/Makefile.in: Ditto.
853 * libsupc++/Makefile.in: Ditto.
854 * po/Makefile.in: Ditto.
855 * src/Makefile.in: Ditto.
856 * testsuite/Makefile.in: Ditto.
858 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
860 * po/libstdc++.pot: Re-extract/regenerate.
862 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
864 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
865 Remove unneeded variable assignments. Leave them for automake.
866 * testsuite/lib/libstdc++-v3.exp: Rename...
867 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
869 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
870 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
873 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
875 * docs/doxygen/guide.html: run_doxygen uses bash.
876 * docs/doxygen/mainpage.html: We'll be shipping tag files.
877 * docs/doxygen/run_doxygen: Tweaks and improvements.
878 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
879 * docs/html/install.html: Update autoconf/automake requirements.
880 * docs/html/test.html: Add section describing DejaGNU support.
881 * docs/html/17_intro/confdeps.dot: New file, generates...
882 * docs/html/17_intro/confdeps.png: ...this new file.
883 * docs/html/Makefile: Generated here.
884 * docs/html/17_intro/configury.html: New file.
886 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
888 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
889 * testsuite/lib/libstdc++-v3.exp: ...to this.
890 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
892 2003-07-31 Doug Gregor <dgregor@apple.com>
894 Add user specialization tests.
895 * testsuite/23_containers/deque/1.cc: New.
896 * testsuite/23_containers/list/1.cc: New.
897 * testsuite/23_containers/map/1.cc: New.
898 * testsuite/23_containers/multimap/1.cc: New.
899 * testsuite/23_containers/multiset/1.cc: New.
900 * testsuite/23_containers/set/1.cc: New.
901 * testsuite/23_containers/vector/1.cc: New.
903 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
905 Reshuffle 23_containers testsuite.
906 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
907 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
908 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
909 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
910 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
911 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
912 vector_resize.cc: Split into...
913 * 23_containers/bitset/cons/1.cc: New.
914 * 23_containers/bitset/cons/6282.cc: New.
915 * 23_containers/bitset/count/6124.cc: New.
916 * 23_containers/bitset/operations/1.cc: New.
917 * 23_containers/bitset/operations/2.cc: New.
918 * 23_containers/bitset/test/1.cc: New.
919 * 23_containers/bitset/to_ulong/1.cc: New.
920 * 23_containers/deque/cons/1.cc: New.
921 * 23_containers/deque/cons/2.cc: New.
922 * 23_containers/deque/operators/1.cc: New.
923 * 23_containers/list/capacity/1.cc: New.
924 * 23_containers/list/cons/1.cc: New.
925 * 23_containers/list/cons/2.cc: New.
926 * 23_containers/list/cons/3.cc: New.
927 * 23_containers/list/cons/4.cc: New.
928 * 23_containers/list/cons/5.cc: New.
929 * 23_containers/list/cons/6.cc: New.
930 * 23_containers/list/cons/7.cc: New.
931 * 23_containers/list/cons/8.cc: New.
932 * 23_containers/list/cons/9.cc: New.
933 * 23_containers/list/modifiers/1.cc: New.
934 * 23_containers/list/modifiers/2.cc: New.
935 * 23_containers/list/modifiers/3.cc: New.
936 * 23_containers/list/operators/1.cc: New.
937 * 23_containers/list/operators/2.cc: New.
938 * 23_containers/list/operators/3.cc: New.
939 * 23_containers/list/operators/4.cc: New.
940 * 23_containers/map/insert/1.cc: New.
941 * 23_containers/map/operators/1.cc: New.
942 * 23_containers/map/operators/1_neg.cc: New.
943 * 23_containers/multiset/insert/1.cc: New.
944 * 23_containers/priority_queue/members/7161.cc: New.
945 * 23_containers/queue/members/7157.cc: New.
946 * 23_containers/set/operators/1_neg.cc: New.
947 * 23_containers/stack/members/7158.cc: New.
948 * 23_containers/vector/bool/1.cc: New.
949 * 23_containers/vector/bool/6886.cc: New.
950 * 23_containers/vector/capacity/1.cc: New.
951 * 23_containers/vector/capacity/2.cc: New.
952 * 23_containers/vector/capacity/8230.cc: New.
953 * 23_containers/vector/cons/1.cc: New.
954 * 23_containers/vector/cons/2.cc: New.
955 * 23_containers/vector/cons/3.cc: New.
956 * 23_containers/vector/cons/4.cc: New.
957 * 23_containers/vector/cons/6513.cc: New.
958 * 23_containers/vector/element_access/1.cc: New.
959 * 23_containers/vector/modifiers/1.cc: New.
960 * 23_containers/vector/modifiers/2.cc: New.
961 * 23_containers/vector/resize/1.cc: New.
963 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
965 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
967 * testsuite/thread/pthread2.cc: Likewise.
968 * testsuite/thread/pthread3.cc: Likewise.
969 * testsuite/thread/pthread4.cc: Likewise.
970 * testsuite/thread/pthread5.cc: Likewise.
971 * testsuite/thread/pthread6.cc: Likewise.
972 * testsuite/thread/pthread7-rope.cc: Likewise.
974 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
976 * include/bits/c++config: Partial reversion (comment placement) of
979 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
981 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
982 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
983 (_GLIBCXX_AT_AT): Remove.
984 (__USE_MALLOC): Remove.
985 * include/std/std_fstream.h: Modify.
986 * include/bits/basic_ios.h: Same.
987 * include/bits/valarray_array.h: Same.
988 * include/c_std/std_cmath.h: Same.
989 * include/c_std/cmath.tcc: Same.
990 * include/std/std_vector.h: Same.
991 * include/std/std_string.h: Same.
992 * include/std/std_stack.h: Same.
993 * include/std/std_queue.h: Same.
994 * include/std/std_list.h: Same.
995 * include/std/std_deque.h: Same.
996 * include/std/std_streambuf.h: Same.
997 * include/std/std_sstream.h: Same.
998 * include/std/std_ostream.h: Same.
999 * include/std/std_istream.h: Same.
1000 * include/bits/valarray_array.tcc: Same, format.
1002 * include/c/std_cctype.h: Fix include guards.
1003 * include/c/std_cerrno.h: Same.
1004 * include/c/std_cfloat.h: Same.
1005 * include/c/std_climits.h: Same.
1006 * include/c/std_clocale.h: Same.
1007 * include/c/std_cmath.h: Same.
1008 * include/c/std_csetjmp.h: Same.
1009 * include/c/std_csignal.h: Same.
1010 * include/c/std_cstdarg.h: Same.
1011 * include/c/std_cstddef.h: Same.
1012 * include/c/std_cstdio.h: Same.
1013 * include/c/std_cstdlib.h: Same.
1014 * include/c/std_cstring.h: Same.
1015 * include/c/std_ctime.h: Same.
1016 * include/c/std_cwchar.h: Same.
1017 * include/c/std_cwctype.h: Same.
1018 * include/c_std/cmath.tcc: Same.
1019 * include/c_std/std_cmath.h: Same.
1021 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1024 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1025 casts. Changes to avoid casting away constness. Eliminate
1026 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1027 initialization lists. Move out implementation of __black_count()
1029 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1030 Rename_Rb_tree_base_iterator::_M_increment() to
1031 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1033 * config/linker-map.gnu: Add and change symbols here.
1035 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1037 * docs/html/22_locale/howto.html: Use locale::classic() instead
1040 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1042 * testsuite/testsuite_hooks.h: Remove list include.
1043 (func_callback): Define as unique type, not std::list.
1044 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1045 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1046 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1047 * testsuite/23_containers/bitset_ctor.cc:
1048 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1049 * testsuite/18_support/numeric_limits.cc: Same.
1050 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1051 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1052 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1053 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1054 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1055 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1056 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1057 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1058 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1059 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1060 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1061 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1062 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1063 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1064 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1065 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1066 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1067 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1068 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1069 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1070 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1071 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1072 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1073 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1074 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1075 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1076 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1077 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1078 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1079 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1080 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1081 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1082 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1083 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1084 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1085 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1086 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1087 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1088 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1089 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1090 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1091 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1092 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1093 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1094 * testsuite/23_containers/bitset_ctor.cc: Same.
1095 * testsuite/23_containers/bitset_shift.cc: Same.
1096 * testsuite/23_containers/vector_ctor.cc: Same.
1097 * testsuite/23_containers/vector_element_access.cc: Same.
1098 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1099 * testsuite/24_iterators/iterator.cc: Same.
1100 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1101 * testsuite/25_algorithms/lower_bound.cc: Same.
1102 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1103 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1104 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1105 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1106 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1107 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1108 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1109 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1110 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1111 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1112 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1115 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1117 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1118 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1119 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1120 GLIBCPP to GLIBCXX (and explain as needed).
1122 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1126 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1128 * testsuite/22_locale/messages/members/char/1.cc,
1129 testsuite/22_locale/messages/members/char/2.cc,
1130 testsuite/22_locale/messages/members/char/3.cc,
1131 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1132 the origin of LOCALEDIR.
1133 * testsuite/lib/libstdc++-v3.exp: New file.
1135 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1137 * include/bits/char_traits.h: Update copyright, tweak.
1138 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1141 2003-07-24 Matt Austern <austern@apple.com>
1143 * /include/bits/char_traits.h (class char_traits): Put all the
1144 real work into the new class template __gnu_cxx::char_traits.
1145 Gave generic definitions for member functions. Types are taken
1146 from the new class template __gnu_cxx::_Char_types.
1147 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1148 file. Test of std::char_traits<short>, which serves as a test of
1149 the char_traits primary template.
1151 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1153 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1155 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1157 * testsuite/23_containers/map_operators.cc: Conform to
1158 container requirement as value must be Assignable.
1160 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1162 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1163 tests not only generation of pch files, but also their use.
1164 * aclocal.m4, configure: Rebuilt.
1166 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1168 * config/cpu/hppa/atomicity.h: Change
1169 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1170 to match misc-inst.cc
1172 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1174 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1175 * include/c_std/std_cctype.h: Ditto.
1176 * include/c_std/std_cerrno.h: Ditto.
1177 * include/c_std/std_cfloat.h: Ditto.
1178 * include/c_std/std_climits.h: Ditto.
1179 * include/c_std/std_clocale.h: Ditto.
1180 * include/c_std/std_cmath.h: Ditto.
1181 * include/c_std/std_csetjmp.h: Ditto.
1182 * include/c_std/std_csignal.h: Ditto.
1183 * include/c_std/std_cstdarg.h: Ditto.
1184 * include/c_std/std_cstddef.h: Ditto.
1185 * include/c_std/std_cstdio.h: Ditto.
1186 * include/c_std/std_cstdlib.h: Ditto.
1187 * include/c_std/std_cstring.h: Ditto.
1188 * include/c_std/std_ctime.h: Ditto.
1189 * include/c_std/std_cwchar.h: Ditto.
1190 * include/c_std/std_cwctype.h: Ditto.
1191 * include/std/std_algorithm.h: Ditto.
1192 * include/std/std_bitset.h: Ditto.
1193 * include/std/std_complex.h: Ditto.
1194 * include/std/std_deque.h: Ditto.
1195 * include/std/std_fstream.h: Ditto.
1196 * include/std/std_functional.h: Ditto.
1197 * include/std/std_iomanip.h: Ditto.
1198 * include/std/std_ios.h: Ditto.
1199 * include/std/std_iosfwd.h: Ditto.
1200 * include/std/std_iostream.h: Ditto.
1201 * include/std/std_istream.h: Ditto.
1202 * include/std/std_iterator.h: Ditto.
1203 * include/std/std_limits.h: Ditto.
1204 * include/std/std_list.h: Ditto.
1205 * include/std/std_locale.h: Ditto.
1206 * include/std/std_map.h: Ditto.
1207 * include/std/std_memory.h: Ditto.
1208 * include/std/std_numeric.h: Ditto.
1209 * include/std/std_ostream.h: Ditto.
1210 * include/std/std_queue.h: Ditto.
1211 * include/std/std_set.h: Ditto.
1212 * include/std/std_sstream.h: Ditto.
1213 * include/std/std_stack.h: Ditto.
1214 * include/std/std_stdexcept.h: Ditto.
1215 * include/std/std_streambuf.h: Ditto.
1216 * include/std/std_string.h: Ditto.
1217 * include/std/std_utility.h: Ditto.
1218 * include/std/std_valarray.h: Ditto.
1219 * include/std/std_vector.h: Ditto.
1221 2003-07-22 Doug Gregor <dgregor@apple.com>
1223 * include/bits/basic_string.h (basic_string::insert): Deprecate
1226 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1228 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1230 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1231 (test03): Include typeinfo for bad_cast.
1232 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1233 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1234 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1236 2003-07-21 Doug Gregor <dgregor@apple.com>
1238 * include/bits/boost_concept_check.h:
1239 (_EqualityComparableConcept::__constraints): Remove != from the
1240 list of constraints; it is not listed in Table 28 of the C++98
1243 2003-07-18 Andreas Jaeger <aj@suse.de>
1245 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1246 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1247 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1248 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1250 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1252 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1253 * config/locale/generic/messages_members.h: Tweaks.
1254 * config/locale/generic/monetary_members.cc
1255 (moneypunct::_M_initialize_moneypunct): Use cache.
1256 (moneypunct::~moneypunct): Delete cache.
1257 * config/locale/generic/time_members.cc:
1258 (__timepunct::_M_initialize_timepunct): Use cache.
1259 * config/locale/generic/time_members.h:
1260 (__timepunct::~__timepunct): Delete cache.
1261 (__timepunct::__timepunct): Set cache.
1262 * config/locale/gnu/messages_members.h: Tweaks.
1263 * config/locale/gnu/monetary_members.cc:
1264 (moneypunct::_M_initialize_moneypunct): Use cache.
1265 (moneypunct::~moneypunct): Delete cache.
1266 * config/locale/gnu/time_members.cc:
1267 (__timepunct::_M_initialize_timepunct): Use cache.
1268 * config/locale/gnu/time_members.h:
1269 (__timepunct::~__timepunct): Delete cache.
1270 (__timepunct::__timepunct): Set cache.
1271 * include/bits/locale_facets.h (__timepunct_cache): New.
1272 (__moneypunct_cache): New.
1273 * include/bits/locale_facets.tcc: Tweak.
1274 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1275 * src/locale-inst.cc: Instantiate caches.
1276 * src/globals.cc: Add "C" caches.
1277 * src/localename.cc: Use external "C" caches.
1279 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1281 * docs/doxygen/guide.html: Fix typo.
1283 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1285 * include/ext/pod_char_traits.h: Add state template argument.
1287 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1289 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1290 (num_get::_M_convert_int): To _M_insert_int.
1291 (num_get::_M_convert_float): To _M_insert_float.
1292 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1293 Use caches for ctype, num_get.
1294 (num_get::_M_extract_int): Same.
1295 (num_get::get(bool)): Same.
1296 (__verify_grouping): Use size_t.
1297 * src/locale-inst.cc: Update.
1298 * src/locale.cc: Adjust _S_atoms_in.
1300 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1302 * docs/doxygen/mainpage.html: Move building/writing instructions...
1303 * docs/doxygen/guide.html: ...to here. New file.
1305 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1307 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1308 * docs/html/faq/index.html: Same.
1309 * docs/html/faq/index.txt: Regenerate.
1311 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1314 * include/bits/locale_facets.tcc (money_get::do_get):
1315 Strip only _leading_ zeros.
1316 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1317 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1319 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1321 * include/ext/hash_map (class hash_multimap): Remove extra
1322 semicolons from __glibcxx_class_requires3 entries.
1323 * include/ext/hash_set (class hash_set): Ditto.
1324 (class hash_multiset): Ditto.
1326 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1328 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1329 Change last parameter from int_type to size_t.
1331 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1333 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1334 set_difference, set_symmetric_difference, max_element, min_element,
1335 next_permutation, prev_permutation, find_first_of, find_end):
1337 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1338 restrictions in docs.
1339 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1341 * docs/doxygen/doxygroups.cc (setoperations): New group.
1343 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1345 * include/bits/basic_string.h: Document public functions.
1346 * docs/doxygen/TODO: Update c21 todo.
1348 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1350 * include/bits/stl_list.h: Document more functions.
1351 * docs/doxygen/TODO: Update c23 todo.
1353 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1355 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1358 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1360 * include/bits/stl_tempbuf.h: Qualify free with std::.
1361 * src/locale.cc: Include <cstdlib>, qualify getenv.
1363 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1365 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1366 <cstdio>. Qualify names.
1367 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1369 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1370 Nathan C. Myers <ncm-nospam@cantrip.org>
1373 * include/std/std_fstream.h (xsputn): Declare only.
1374 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1375 always_noconv() case: when __n is sufficiently large flush
1376 the buffer and issue a direct write, if possible combining the
1377 two with writev in __basic_file<>::xsputn_2.
1378 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1380 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1382 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1383 the availability of writev in <sys/uio.h>.
1384 * configure.in: Call here.
1385 * acconfig.h: Add undef for the corresponding symbol.
1386 * aclocal.m4: Regenerate.
1387 * configure: Regenerate.
1388 * config.h.in: Regenerate.
1389 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1391 * include/std/std_fstream.h (sync): Constify a variable.
1393 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1395 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1396 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1398 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1400 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1401 <cstring> and <cstdlib>. Qualify names.
1403 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1405 * config/locale/generic/c_locale.h: Include <cstdlib> and
1407 * include/bits/boost_concept_check.h: Add this-> to unqualified
1409 * include/bits/deque.tcc: Likewise.
1410 * include/bits/locale_facets.h : Likewise.
1411 * include/bits/ostream.tcc: Likewise.
1412 * include/bits/stl_algo.h: Likewise.
1413 * include/bits/stl_bvector.h: Likewise.
1414 * include/bits/stl_deque.h: Likewise.
1415 * include/bits/stl_list.h: Likewise.
1416 * include/bits/stl_tree.h: Likewise.
1417 * include/bits/stl_vector.h: Likewise.
1418 * include/bits/vector.tcc: Likewise.
1419 * include/ext/rope: Likewise.
1420 * include/ext/ropeimpl.h: Likewise.
1421 * include/ext/stdio_filebuf.h: Likewise.
1423 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1425 * include/bits/basic_ios.h (copyfmt): Document.
1426 * include/bits/ios_base.h (event, event_callback, register_callback,
1427 xalloc, iword, pword): Document.
1428 (imbue, ~ios_base): Update docs on callbacks.
1430 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1432 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1433 warning messages if the environment cannot support symbol versioning.
1434 (port_specific_symbol_file): It's plural, add an 's' on the end.
1435 * configure.host: Likewise.
1436 * src/Makefile.am: Likewise.
1437 * config/linker-map.gnu: Remove one semicolon, heh.
1438 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1439 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1440 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1442 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1444 * include/bits/locale_facets.tcc: Use function object for
1445 __use_cache instead of template function. Partially specialize for
1447 * include/bits/locale_classes.h: Update friend declaration for
1449 (_M_install_cache): No throw exception specs.
1450 * src/locale.cc: Remove __use_cache specializations.
1451 * include/ext/pod_char_traits.h (length): Tweak.
1452 * include/bits/locale_facets.h (__numpunct_cache): Remove
1454 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1456 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1457 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1458 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1459 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1460 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1461 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1463 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1465 * src/ios.cc (_M_grow_words): Fix spelling.
1467 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1469 * include/bits/stl_tree.h: Move larger member functions in
1470 _Rb_tree_base_iterator and _Rb_tree_node to...
1471 * src/stl_tree.cc: Here.
1472 * src/Makefile.in: Add stl_tree.cc.
1473 * src/Makefile.in: Regenerated.
1474 * config/linker-map.gnu: Add symbols here.
1476 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1478 * testsuite/ext/pod_char_traits.cc: New.
1479 * include/ext/pod_char_traits.h: New.
1480 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1481 * include/Makefile.in: Regenerate.
1482 * docs/html/21_strings/howto.html: Update.
1484 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1486 * testsuite/performance/list_create_fill_sort.cc: New.
1488 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1490 * config/locale/generic/numeric_members.cc: Correct type info.
1491 * config/locale/gnu/numeric_members.cc: Same.
1492 * include/bits/locale_facets.h: Same.
1494 * include/bits/char_traits.h: Correct spacing.
1496 * src/locale.cc: Wrap to 80 col.
1498 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1500 * include/std/std_complex.h: Partially revert last
1501 changes: cmath functions must not be qualified.
1503 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1505 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1506 2.11 with globbing backport fix.
1507 * aclocal.m4, configure: Regenerated.
1509 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1511 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1512 if output is at all possible (!_M_reading), cannot be active.
1514 * include/std/std_fstream.h: Tweak comments to doxygen style.
1516 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1518 * include/bits/locale_classes.h: Fully qualify standard
1519 functions with std::, thus avoiding Koenig lookup.
1520 * include/bits/locale_facets.tcc: Likewise.
1521 * src/locale.cc: Likewise.
1522 * src/localename.cc: Likewise.
1524 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1526 * include/bits/allocator_traits.h: Fix doxygen markup.
1527 * include/ext/mt_allocator.h: Likewise.
1529 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1531 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1533 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1535 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1536 requirement. Add port_specific_symbol_file variable.
1537 * configure.host: Add docs for port_specific_symbol_file.
1538 Clean up try_cpu block for x86.
1539 * config/linker-map.gnu: No more "last symbol can't have a
1540 semicolon" kaka. Add hook for port-specific symbols.
1541 * src/Makefile.am: Remove trailing whitespace.
1542 (libstdc++-symbol.ver): Detect the presence of port-specific
1543 symbols, and add them accordingly.
1545 * docs/html/17_intro/porting.texi: Bring up to date.
1547 * src/Makefile.in, aclocal.m4, configure,
1548 docs/html/17_intro/porting.html: Regenerated.
1550 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1552 * scripts/create_testsuite_files: New file.
1553 * testsuite/Makefile.am (all-local, check-performance): Use it.
1554 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1555 * testsuite/Makefile.in: Regenerated.
1557 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1559 * testsuite/performance/fstream_seek_write.cc: Likewise.
1560 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1561 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1562 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1564 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1566 * include/bits/stl_list.h: Performance and memory usage
1567 improvements. In particular, the behaviour of the constructor and
1568 destructor as the list header node is no longer dynamically
1569 allocated/de-allocated.
1570 * include/bits/list.tcc: Likewise.
1572 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1574 * include/std/std_complex.h: Fully qualify standard
1575 functions with std::, thus avoiding Koenig lookup.
1576 * include/std/std_memory.h: Likewise.
1577 * include/std/std_valarray.h: Likewise.
1579 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1581 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1582 variable for grandparent and use const
1584 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1586 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1587 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1588 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1589 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1590 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1591 * testsuite/27_io/objects/char/7.cc: Ditto
1592 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1594 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1596 * include/std/std_bitset.h: Fully qualify standard
1597 functions with std::, thus avoiding Koenig lookup.
1599 * include/std/std_fstream.h: Change comment to doxygen style.
1601 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1603 * include/std/std_limits.h: More CPP->CXX changes.
1604 * scripts/check_survey.in: Likewise.
1606 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1608 Move from CPP to CXX.
1609 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1610 * testsuite/Makefile.am: Same.
1611 * testsuite/Makefile.in: Regenerate.
1612 * po/Makefile.am: Same.
1613 * po/Makefile.in: Regenerate.
1614 * libsupc++/Makefile.am: Same.
1615 * libsupc++/Makefile.in: Regenerate.
1616 * libmath/Makefile.am: Same.
1617 * libmath/Makefile.in: Regenerate.
1618 * include/Makefile.am: Same.
1619 * include/Makefile.in: Regenerate.
1620 * src/Makefile.am: Same.
1621 * src/Makefile.in: Regenerate.
1623 * configure.host: Same.
1624 * configure.in: Same.
1625 * configure: Regenerate.
1626 * acinclude.m4: Same.
1628 * src: Change all files in this directory.
1630 * include: Same, standardize include guards.
1634 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1636 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1637 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1638 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1639 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1640 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1641 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1642 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1643 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1644 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1645 XFAIL on all targets.
1647 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1649 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1650 * aclocal.m4: Regenerate.
1651 * configure: Regenerate.
1653 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1655 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1658 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1659 Petur Runolfsson <peturr02@ru.is>
1661 * config/io/basic_file_stdio.cc: Revert.
1663 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1665 * include/bits/deque.tcc: Fully qualify standard
1666 functions with std::, thus avoiding Koenig lookup.
1667 * include/bits/gslice_array.h: Likewise.
1668 * include/bits/indirect_array.h: Likewise.
1669 * include/bits/list.tcc: Likewise.
1670 * include/bits/mask_array.h: Likewise.
1671 * include/bits/slice_array.h: Likewise.
1673 2003-07-04 Gawain Bolton <gbolton@free.fr>
1675 * include/bits/stl_tree.h: Performance and memory usage
1678 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1680 * Makefile.am: Replace PWD with PWD_COMMAND.
1681 * Makefile.in: Regenerated.
1682 * docs/html/Makefile: Likewise.
1684 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1686 * include/bits/valarray_array.h: Fully qualify standard
1687 functions with std::, thus avoiding Koenig lookup.
1688 * include/bits/vector.tcc: Likewise.
1690 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1692 * include/Makefile.am: Update target_ to host_.
1693 * include/Makefile.in: Regenerate.
1694 * src/Makefile.am: Same.
1695 * src/Makefile.in: Regenerate.
1697 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1699 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1701 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1702 --enable-libstdcxx-debug-flags.
1703 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1704 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1705 * aclocal.m4: Regenerate.
1707 * docs/html/configopts.html: Update.
1709 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1711 Revert the fix for libstdc++/11378.
1713 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1716 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1717 provided always_noconv(), issue directly _M_file.xsputn.
1718 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1720 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1722 * include/bits/stl_list.h: Fully qualify standard
1723 functions with std::, thus avoiding Koenig lookup.
1724 * include/bits/stl_queue.h: Likewise.
1725 * include/bits/stl_raw_storage_iter.h: Likewise.
1726 * include/bits/stl_tempbuf.h: Likewise.
1727 * include/bits/stl_tree.h: Likewise.
1728 * include/bits/stl_uninitialized.h: Likewise.
1729 * include/bits/stl_vector.h: Likewise.
1730 * include/ext/rope: Change includes order.
1732 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1734 * configure.host (fpos_include_dir): Fix.
1736 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1738 * include/bits/stl_heap.h: Fully qualify standard
1739 functions with std::, thus avoiding Koenig lookup.
1740 * include/bits/stl_iterator_base_funcs.h: Likewise.
1742 * include/bits/stl_algo.h: Qualify __iterator_category too.
1743 * include/bits/stl_algobase.h: Likewise.
1744 * include/bits/stl_bvector.h: Likewise.
1746 * include/bits/stl_algo.h: Don't qualify the pair type.
1748 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1750 * include/Makefile.am (target_headers): Add fpos.h
1751 (bits_headers): Remove.
1752 * include/Makefile.in: Regenerate.
1753 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1754 * configure: Regenerate.
1755 * configure.host: Add fpos_include_dir.
1756 * config/os/gnu-linux/fpos.h: New.
1757 * config/os/generic/fpos.h: Add.
1758 * include/bits/fpos.h: Remove.
1760 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1762 * include/bits/fstream.tcc: Tweaks.
1763 * include/std/std_fstream.h: Same.
1765 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1766 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1767 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1768 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1769 * testsuite/27_io/fpos/1.cc: New.
1771 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1772 Petur Runolfsson <peturr02@ru.is>
1774 * include/std/std_streambuf.h: Remove _M_pos.
1775 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1776 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1777 use fread/fwrite instead of read/write.
1778 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1779 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1780 before reading again.
1781 * testsuite/27_io/objects/char/6.cc: Tweak.
1783 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1785 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1786 _GLIBCPP_USE_WCHAR_T.
1788 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1790 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1793 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1795 * include/bits/stl_bvector.h: Fully qualify standard
1796 functions with std::, thus avoiding Koenig lookup.
1797 * include/bits/stl_construct.h: Likewise.
1798 * include/bits/stl_deque.h: Likewise.
1800 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1802 * testsuite/22_locale/num_put/put/char/7.cc: Include
1803 <testsuite_hooks.h>, tweak.
1804 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1806 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1808 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1809 check* targets, but not libs/programs).
1810 * testsuite/Makefile.in: Regenerate.
1812 2003-07-01 Roger Sayle <roger@eyesopen.com>
1814 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1815 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1816 * aclocal.m4: Regenerate.
1817 * configure: Regenerate.
1819 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1821 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1822 * aclocal.m4: Regenerated.
1823 * configure: Regenerated.
1825 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1828 * include/bits/fstream.tcc (underflow): For encoding() == 0
1829 don't read more than __buflen chars.
1830 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1831 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1832 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1833 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1835 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1837 * 22_locale/num_put/put/char/7.cc: New.
1838 * 22_locale/num_put/put/wchar_t/7.cc: New.
1840 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1842 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1843 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1845 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1847 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1848 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1849 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1850 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1851 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1852 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1853 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1854 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1855 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1856 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1857 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1858 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1859 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1860 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1861 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1862 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1863 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1864 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1865 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1866 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1867 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1868 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1869 * data/seekoff-1.tst: Remove.
1870 * data/seekoff-1io.tst: New.
1871 * data/seekoff-1out.tst: New.
1872 * data/seekoff-2.tst: Remove.
1873 * data/seekoff-2io.tst: New.
1874 * data/seekoff-2out.tst: New.
1876 * data/seekpos-1.tst: Remove.
1877 * data/seekpos-1io.tst: New.
1878 * data/seekpos-1out.tst: New.
1879 * data/seekpos-2.tst: Remove.
1880 * data/seekpos-2io.tst: New.
1881 * data/seekpos-2out.tst: New.
1882 * data/seekpos.txt: New.
1884 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1886 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1887 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1890 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1892 * include/bits/stl_algobase.h: Fully qualify standard
1893 functions with std::, thus avoiding Koenig lookup.
1895 2003-06-30 Doug Gregor <dgregor@apple.com>
1897 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1898 subscripting empty string.
1900 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1902 * testsuite/Makefile.am (check-am): Do not override.
1903 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1904 * testsuite/Makefile.in: Regenerate.
1906 2003-06-30 Doug Gregor <dgregor@apple.com>
1908 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1909 Don't initialize an insert_iterator with a singular iterator.
1911 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1913 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1914 * aclocal.m4: Regenerate.
1915 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1916 GLIBCPP_ENABLE_PCH, default to yes.
1917 * configure: Regenerate.
1918 * docs/html/configopts.html: Add --enable-pch.
1920 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1922 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1923 (libstdc++-v3-init): Also set LD_RUN_PATH.
1925 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1927 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1928 from here to filebuf and stringbuf.
1929 (~basic_streambuf()): Don't set _M_mode.
1930 (basic_streambuf()): Don't set _M_mode.
1931 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1932 (~basic_filebuf()): Clean up.
1933 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1934 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1935 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1936 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1937 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1938 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1939 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1941 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1943 * include/std/std_fstream.h (_M_underflow): Remove.
1944 (uflow): Remove, inherited from streambuf.
1945 (underflow): Only declare.
1946 * include/bits/fstream.tcc (_M_underflow): Rename to
1947 underflow, to which is equivalent for __bump == false,
1949 * include/std/std_sstream.h (_M_underflow): Remove.
1950 (uflow): Remove, inherited from streambuf.
1951 (underflow): Only declare.
1952 * include/bits/sstream.tcc (_M_underflow): Rename to
1953 underflow, to which is equivalent for __bump == false,
1956 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1958 * include/bits/stl_algo.h: Fully qualify standard functions
1959 with std::, thus avoiding Koenig lookup.
1961 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1963 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1964 Improve type correctness-wise.
1965 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1967 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1969 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1972 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1974 * include/std/std_streambuf.h (uflow): According to
1975 27.5.2.4.3,p16, don't check gptr() < egptr().
1977 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
1980 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1981 (seekpos): Likewise.
1982 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1984 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1987 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1989 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1990 output name to libstdc++-v3-performance.sum.
1991 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1992 * testsuite/Makefile.in: Regenerate.
1994 2003-06-27 Matthias Klose <doko@debian.org>
1996 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1997 output of abi-check in libstdc++-v3-abi.sum.
1998 * testsuite/Makefile.in: Regenerate.
2000 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2002 * config/os/bsd/netbsd/ctype_noninline.h
2003 (_C_ctype_): Declare.
2004 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2005 (ctype<char>::ctype): Use classic_table.
2007 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2008 Nathan C. Myers <ncm-nospam@cantrip.org>
2011 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2012 the worst-case number of external bytes for a given get area.
2013 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2015 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2016 Petur Runolfsson <peturr02@ru.is>
2019 * include/bits/fstream.tcc (overflow): Properly estimate the
2020 worst-case number of external bytes for a given put area
2021 (by using codecvt::max_length()).
2022 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2023 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2024 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2025 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2027 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2029 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2031 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2033 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2034 to the imbued locale.
2035 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2037 (num_put::_M_convert_float): Use.
2039 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2040 Jerry Quinn <jlquinn@optonline.net>
2042 * config/linker-map.gnu: Add __numpunct_cache.
2043 * config/locale/gnu/numeric_members.cc
2044 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2045 all elements for "C" locale.
2046 (numpunct::~numpunct): Delete _M_data.
2047 * config/locale/generic/numeric_members.cc: Same.
2048 * include/bits/basic_ios.tcc
2049 (basic_ios::init): Remove __locale_cache bits.
2050 (basic_ios::_M_cache_locale): Same.
2051 * include/bits/ios_base.h: Same. Tweaks.
2052 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2053 (__use_cache): Make friends with _Impl, locale.
2054 (_Impl::_M_caches): Add.
2055 (_Impl::_M_install_cache): Add.
2056 * include/bits/locale_facets.h (__numpunct_cache): New.
2057 (numpunct): Encapsulate data members in __numpunct_cache member,
2058 _M_data. Adjust virtuals.
2059 (numpunct::numpunct): New ctor for the same.
2060 (__locale_cache_base): Remove.
2061 (__locale_cache): Remove.
2062 * include/bits/locale_facets.tcc (__use_cache): New function,
2064 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2065 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2066 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2067 * src/locale-inst.cc: Same. Add __numpunct_cache.
2068 * src/locale.cc: Tweak inlines.
2069 (__use_cache): Define specializations.
2070 * src/localename.cc: Use global bits.
2071 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2072 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2073 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2074 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2075 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2077 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2078 Paolo Carlini <pcarlini@unitus.it>
2080 * testsuite/performance/filebuf_copy.cc: New, testing char
2083 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2084 Nathan C. Myers <ncm-nospam@cantrip.org>
2086 * include/bits/fstream.tcc (_M_underflow): When the actual
2087 end of file is reached, set 'uncommitted' mode to allow a
2088 next write without an intervening seek (see C++98 27.8.1.1,2
2090 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2092 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2094 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2095 sputc): Move inline, from here...
2096 * include/std/std_streambuf.h: ... to here.
2098 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2099 sputbackc, sungetc, sputc): Use __builtin_expect.
2101 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2103 * docs/doxygen/mainpage.html: Use a useful title.
2105 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2107 * docs/html/documentation.html: Remove assignment info.
2108 * docs/html/17_intro/contribute.html: Edits.
2109 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2111 * docs/html/test.html: Update.
2115 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2116 Ulrich Drepper <drepper@redhat.com>
2118 * testsuite/testsuite_performance.h: Tweak mallinfo.
2120 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2121 Nathan C. Myers <ncm-nospam@cantrip.org>
2123 * include/std/std_fstream.h (_M_filepos): Remove.
2124 (_M_reading, _M_writing): New, encode the various I/O modes:
2125 'read', 'write' and 'uncommitted'.
2126 (sync): If there is something to flush, do it, then go to
2128 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2129 with three different cases: __off > 0 (upon underflow),
2130 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2132 (_M_underflow): Don't call overflow, set _M_reading to true
2134 (pbackfail): Set _M_reading to true on pback creation, tweak.
2135 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2136 set _M_writing to true on success, tweak.
2137 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2138 _M_set_buffer(-1) ('uncommitted').
2139 (open, close, setbuf): Set _M_reading, _M_writing to false and
2140 call _M_set_buffer(-1), tweak.
2141 (basic_filebuf): Don't set _M_buf_unified.
2142 (_M_destroy_internal_buffer): Don't call setg and setp.
2143 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2144 _M_writing and _M_set_buffer(-1).
2145 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2146 _M_out_lim, _M_buf_unified): Remove.
2147 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2148 (setp): Don't set _M_out_lim.
2149 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2150 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2151 upon open the mode is 'uncommitted' and therefore the put area
2153 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2154 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2155 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2156 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2157 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2158 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2159 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2160 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2161 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2162 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2163 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2164 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2165 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2166 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2167 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2168 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2169 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2170 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2171 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2172 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2174 * include/bits/fstream.tcc (showmanyc): Use only the
2175 documented derivation interface to basic_streambuf (gptr(),
2176 setg(), etc.) to work right with user specializations.
2177 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2178 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2179 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2181 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2184 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2186 * configure.host (freebsd*): Set abi_baseline_pair.
2187 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2188 (at or near first release) to 3.3.
2189 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2190 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2191 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2193 * include/ext/mt_allocator.h: Portability.
2194 * testsuite/testsuite_performance.h: Likewise.
2196 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2198 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2200 * testsuite/performance/ifstream_getline.cc: Fix.
2202 2003-06-23 Doug Gregor <dgregor@apple.com>
2204 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2207 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2208 Nathan C. Myers <ncm-nospam@cantrip.org>
2210 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2211 is now used only for filebuf, when _M_buf_unified is true.
2212 epgtr() plays the role of _M_out_lim but it's only updated
2213 upon overflow, underflow, uflow, seekoff/pos.
2214 * include/bits/sstream.tcc (_M_underflow): New, implements
2215 stringbuf::underflow and uflow.
2216 (seekoff, seekpos): Tweak, use _M_update_egptr.
2217 * include/std/std_sstream.h (str): Rewrote, deal correctly
2218 with the new logic, in particular, when pptr() > egptr().
2219 (_M_sync): When __testout && !__testin set all the get area
2220 pointers to the current string end.
2221 (_M_update_egptr): New, internal function updating egptr()
2222 to the actual string end.
2223 (_M_underflow): New, declare.
2224 (underflow): Dispatch to _M_underflow(false).
2225 (uflow): Dispatch to _M_underflow(true).
2227 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2228 seekpos): Use only the documented derivation interface to
2229 basic_streambuf (gptr(), setg(), etc.) to work right with
2230 user specializations.
2231 * include/std/std_sstream.h (str, _M_sync): Likewise.
2233 2003-06-20 Doug Gregor <dgregor@apple.com>
2235 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2236 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2237 dereference end iterator.
2238 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2239 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2240 index equal to the length of a string.
2241 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2242 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2243 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2244 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2245 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2246 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2247 singular reverse iterator.
2248 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2250 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2252 2003-06-20 Doug Gregor <dgregor@apple.com>
2254 * include/bits/basic_string.h (basic_string::replace): Dispatch
2255 _InputIterator version based on _Is_integer.
2256 * include/bits/basic_string.tcc (basic_string::replace):
2257 Renamed replace(iterator, iterator, size_type, _CharT) to
2259 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2260 Test basic_string::assign(_InputIterator, _InputIterator),
2261 which calls basic_string::replace(iterator, iterator,
2262 _Input_iterator, _InputIterator).
2264 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2266 * testsuite/testsuite_performance.h (resource_counter): Don't use
2267 mallinfo at the moment.
2269 2003-06-20 Matthias Klose <doko@debian.org>
2271 * configure.host: Set try_cpu to target_cpu for existing
2274 2003-06-19 Andreas Jaeger <aj@suse.de>
2276 * testsuite/Makefile.am (extract_symvers): Revert accidental
2278 * testsuite/Makefile.in: Regenerate.
2280 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2281 * configure: Regenerated.
2283 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2285 * include/std/std_sstream.h (_M_sync): Make non virtual.
2287 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2289 * testsuite/testsuite_performance.h (time_counter): New.
2290 (resource_counter): New.
2291 (report_performance): New.
2292 (start_counters): New.
2293 (stop_counters): New.
2294 (clear_counters): New.
2295 * testsuite/performance/allocator.cc: Instrument.
2296 * testsuite/performance/cout_insert_int.cc: Same.
2297 * testsuite/performance/complex_norm.cc: Same.
2298 * testsuite/performance/filebuf_sputc.cc: New.
2299 * testsuite/performance/fstream_seek_write.cc: Same.
2300 * testsuite/performance/ifstream_getline.cc: Same.
2301 * testsuite/performance/map_create_fill.cc: Same.
2302 * testsuite/performance/ofstream_insert_float.cc: Same.
2303 * testsuite/performance/ofstream_insert_int.cc: Same.
2304 * testsuite/performance/string_append.cc: Convert.
2305 * scripts/check_performance: New.
2306 * testsuite/Makefile.am (check-performance): New.
2309 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2310 Benjamin Kosnik <bkoz@redhat.com>
2312 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2313 * include/bits/fstream.tcc (setbuf): Tweak.
2315 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2317 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2318 _M_out_lim, therefore _M_move_out_cur boils down to simply
2319 updating _M_out_cur.
2320 (seekpos): Likewise, clean up.
2322 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2323 Paolo Carlini <pcarlini@unitus.it>
2325 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2326 simply equivalent to the unbuffered case (0, 0) as far as
2327 _M_buf_size is concerned.
2329 2003-06-18 Andreas Jaeger <aj@suse.de>
2331 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2333 (baseline_file): Use baseline_dir.
2334 (baseline_dir): New.
2335 (mkinstalldirs): New.
2337 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2338 filename from baseline_dir.
2340 * testsuite/Makefile.in: Regenerated.
2341 * Makefile.in: Regenerated.
2342 * aclocal.m4: Regenerated.
2343 * configure: Regenerated.
2345 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2347 * configure.in: Missed check_survey bit.
2348 * configure: Regenerated.
2350 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2353 * config/abi/extract_symvers: Move to...
2354 * scripts/extract_symvers: ...here.
2355 * mkcheck.in: Move to..
2356 * scripts/check_survey.in: ...here.
2357 * testsuite_flags.in: Move to..
2358 * scripts/testsuite_flags.in: ...here.
2359 * configure.in: Change check and testsuite_flags locations.
2360 * configure: Regenerate.
2361 * testsuite/Makefile.am (current_symbols.txt): Change location.
2362 * testsuite/Makefile.in: Regenerate.
2363 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2364 location of testsuite_flags.
2365 * Makefile.am (check-script): Move..
2366 (check-script-install): Move...
2367 * testsuite/Makefile.am: ... here.
2368 * testsuite/Makefile.in: Regenerate.
2369 * Makefile.in: Regenerate.
2371 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2373 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2375 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2377 * Makefile.am (check-abi): Move...
2378 (new-abi-baseline): Move...
2379 * testsuite/Makefile.am: ...here.
2380 (new-abi-baseline): Conditionalize.
2381 (check-abi): Conditionalize.
2382 (check-abi-verbose): New.
2383 * Makefile.in: Regenerate.
2384 * testsuite/Makefile.in: Regenerate.
2385 * configure.in: Consolidate testsuite configure bits.
2386 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2387 * configure: Regenerate.
2388 * aclocal.m4: Regenerate.
2389 * testsuite/abi_check.cc: Add --check-verbose.
2390 Only output detailed information if --check-verbose.
2392 2003-06-16 Andreas Jaeger <aj@suse.de>
2394 * testsuite/abi_check.cc: Create summary report.
2396 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2398 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2399 for systems with BUFSIZ != 8192.
2400 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2401 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2404 2003-06-16 Andreas Jaeger <aj@suse.de>
2406 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2407 check-abi multilib aware.
2408 * aclocal.m4: Regenerate.
2409 * configure: Regenerate.
2411 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2412 Andreas Jaeger <aj@suse.de>
2414 * configure.host: Set x86_64 abi_baseline pair correctly.
2416 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2418 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2419 fix for missing seeks between gets and puts into...
2420 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2421 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2422 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2423 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2424 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2425 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2427 2003-06-15 Richard Henderson <rth@redhat.com>
2429 * config/linker-map.gnu: Export virtual function thunks for
2432 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2434 * config/abi/i686-pc-linux-gnu: To..
2435 * config/abi/i486-linux-gnu: ...this.
2436 * config/abi/alphaev67-unknown-linux-gnu: To..
2437 * config/abi/alpha-linux-gnu: ...this.
2438 * config/abi/ia64-unknown-linux-gnu: To...
2439 * config/abi/ia64-linux-gnu: ...this.
2440 * config/abi/x86_64-unknown-linux-gnu: To...
2441 * config/abi/x86_64-linux-gnu: ...this.
2442 * config/abi/i386-unknown-freebsd4: To...
2443 * config/abi/i386-freebsd4: ...this.
2444 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2446 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2447 Simplify cpu bits so that abi_baseline_pair can use the same
2449 * acinclude.m4: Same.
2450 * aclocal.m4: Regenerate.
2451 * configure.in: Can't get enable_abi_check to yes unless native.
2452 * configure: Regenerate.
2454 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2456 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2457 fix for missing seeks between gets and puts into...
2458 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2459 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2460 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2461 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2462 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2463 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2464 for missing seeks between gets and puts.
2465 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2466 * testsuite/data/seekoff-1.tst: New.
2467 * testsuite/data/seekoff-2.tst: New.
2468 * testsuite/data/seekpos-1.tst: New.
2469 * testsuite/data/seekpos-2.tst: New.
2471 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2473 Avoid multi-processor bus contention on increment/decrement-and-
2474 test of the reference count in the empty-string object, by comparing
2475 addresses first, and never touching the reference count of the empty-
2477 * include/bits/basic_string.h:
2478 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2480 (_Rep::_S_empty_rep()): New accessor.
2481 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2482 a base class _Rep_base.
2483 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2484 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2485 since no longer must increment its refcount.
2486 * include/bits/basic_string.tcc:
2487 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2488 return immediately. The former might be unnecessary. The latter
2489 prevents begin() and end() from cloning it unnecessarily.
2490 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2491 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2492 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2493 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2494 (_M_mutate): Check for the empty string and treat it as shared.
2495 This is necessary here because _M_mutate is sometimes called with
2496 all-zero arguments; in all other uses of _M_is_shared, the test comes
2499 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2501 * src/allocator-inst.cc: Explicitly instantiate.
2502 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2504 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2506 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2508 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2509 * aclocal.m4: Regenerate.
2510 * Makefile.am (SUBDIRS): Remove libio.
2511 * Makefile.in: Regenerate.
2512 * configure.in: Same.
2513 * configure: Regenerate.
2514 * config/io/basic_file_libio.cc: Remove.
2515 * config/io/basic_file_libio.h: Remove.
2516 * config/io/c_io_libio_codecvt.c: Remove.
2517 * config/io/c_io_libio.h: Remove.
2519 * src/Makefile.am: Same.
2520 * src/Makefile.in: Regenerate.
2521 * docs/html/configopts.html: Edits.
2522 * docs/html/explanations.html: Edits.
2524 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2526 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2527 (__malloc_alloc): Same.
2528 (__pool_alloc): Same.
2529 (__new_alloc): Same.
2531 * include/bits/allocator.h: ...this.
2532 * include/bits/stl_deque.h: Modify comment.
2533 * include/bits/stl_tree.h: Modify include.
2534 * include/std/std_memory.h: Same.
2535 * include/ext/rope: Same.
2536 * include/ext/slist: Same.
2537 * include/std/std_vector.h: Same.
2538 * include/std/std_stack.h: Same.
2539 * include/std/std_queue.h: Same.
2540 * include/std/std_list.h: Same.
2541 * include/std/std_deque.h: Same.
2542 * include/backward/alloc.h: Same.
2543 * include/ext/debug_allocator.h: New.
2544 * include/ext/malloc_allocator.h: New.
2545 * include/ext/pool_allocator.h: New.
2546 * include/ext/new_allocator.h: New.
2547 * include/bits/pthread_allocimpl.h: Remove.
2548 * include/bits/stl_pthread_alloc.h: Remove.
2549 * include/Makefile.am (ext_headers): Add.
2550 * include/Makefile.in: Regenerate.
2551 * src/stl-inst.cc: Use __gnu_cxx namespace.
2552 * src/stl-inst.cc: Move to...
2553 * src/allocator-inst.cc: Here.
2554 * src/Makefile.am (sources): Update.
2555 * src/Makefile.in: Regenerate.
2556 * config/linker-map.gnu: Remove __pool_alloc bits.
2557 * testsuite/ext/headers.cc: Add.
2558 * testsuite/ext/allocators.cc: Fixup.
2560 2003-06-11 Stefan Olsson <stefan@snon.net>
2561 Ola Rönnerup <fnolis@home.se>
2563 * include/Makefile.am (ext_headers): Add.
2564 * include/Makefile.in: Regenerate.
2565 * include/ext/mt_allocator.h: New file.
2567 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2569 * include/bits/fstream.tcc (close): Clean up a bit.
2571 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2573 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2574 - the saved _M_in_cur, that is - cannot be null.
2575 (sync): Constify a variable.
2577 * include/std/std_streambuf.h: Tweak a comment.
2578 (in_avail): Constify a variable.
2580 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2582 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2583 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2584 correctness of container::iterator typedefs. Fix whitespace.
2585 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2587 * docs/html/documentation.html: Regenerate.
2589 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2590 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2591 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2592 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2593 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2594 include/bits/stl_vector.h, include/bits/vector.tcc,
2595 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2596 Change _Iter names to _Iterator, and __pos to __position.
2598 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2599 include/bits/stl_multiset.h, include/bits/stl_set.h:
2600 Remove emacs markers.
2602 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2604 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2606 * include/bits/fstream.tcc (overflow): According to
2607 27.5.2.4.5, overflow() returns not_eof(eof()).
2608 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2609 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2611 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2613 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2614 value; tweak slightly.
2616 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2618 * include/bits/fstream.tcc (_M_underflow): Do not special
2619 case the unbuffered case, which really means simply a one char
2621 (basic_filebuf): Initialize _M_buf_size.
2622 (setbuf): Unbuffered means _M_buf_size == 1, since only
2623 _M_buf_size - 1 == 0 chars are going to be used for the
2624 put area and 1 for the get area.
2625 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2626 (~basic_streambuf): Tweak.
2627 (basic_streambuf): Do not initialize _M_buf_size.
2628 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2629 (~basic_filebuf): Tweak.
2630 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2631 unbuffered situation (i.e., put area pointers NULL).
2632 * include/bits/streambuf.tcc (sbumpc): Clean up.
2633 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2634 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2635 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2636 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2637 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2638 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2639 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2641 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2643 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2644 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2646 * configure.in: Centralize AM_CONDITIONALs so that they are always
2647 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2648 * aclocal.m4, configure: Regenerated.
2650 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2652 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2654 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2656 * include/bits/stl_iterator.h
2657 (reverse_iterator::reverse_iterator()): Apply DR235: default
2658 constructor default-initializes data member. Instantiated on a
2659 pointer type, the member has to end up equal to zero.
2661 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2663 * include/bits/stl_alloc.h: Cleanups.
2664 * include/ext/functional: Same.
2665 * include/ext/hash_map: Same.
2666 * include/ext/hash_set: Same.
2667 * include/ext/iterator: Same.
2668 * include/ext/memory: Same.
2669 * include/ext/numeric: Same.
2670 * include/ext/rb_tree: Same.
2671 * include/ext/ropeimpl.h: Same.
2672 * include/ext/slist: Same.
2673 * include/ext/stdio_filebuf.h: Same.
2674 * include/ext/stdio_sync_filebuf.h: Same.
2675 * include/ext/stl_rope.h: Move to...
2676 * include/ext/rope: ...here.
2677 * include/ext/stl_hash_fun.h: Move to...
2678 * include/ext/hash_fun.h: ...here.
2679 * include/ext/stl_hashtable.h: Move to...
2680 * include/ext/hashtable.h: ...here.
2681 * include/backward/hashtable.h: Reflect new names.
2682 * include/Makefile.am: Same.
2683 * include/Makefile.in: Regenerated.
2685 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2688 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2689 * include/bits/stl_algobase.h: Tweak.
2690 * include/std/std_fstream.h: Move _M_buf_size to...
2691 * include/std/std_streambuf.h: ...here. Modify.
2692 * include/bits/streambuf.tcc: Same.
2693 * testsuite/testsuite_hooks.h: Tweak.
2694 * testsuite/testsuite_io.h (constraint_filebuf): New.
2695 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2696 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2697 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2698 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2699 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2700 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2701 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2702 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2703 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2704 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2705 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2706 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2707 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2708 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2709 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2710 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2711 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2712 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2713 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2714 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2715 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2716 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2717 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2718 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2719 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2720 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2721 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2722 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2723 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2724 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2725 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2726 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2727 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2728 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2729 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2730 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2731 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2732 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2733 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2734 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2735 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2736 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2737 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2738 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2739 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2740 * testsuite/data/sgetc.txt: New.
2741 * testsuite/data/sgetn.txt: New.
2743 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2746 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2747 Deal with width() smaller than zero.
2748 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2749 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2750 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2751 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2752 operator<<(basic_ostream, const basic_string&)): Likewise.
2754 * testsuite/27_io/basic_istream/extractors_character/char/
2755 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2756 * testsuite/27_io/basic_ostream/inserters_character/char/
2757 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2758 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2759 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2761 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2763 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2764 .gch compilation works.
2765 * aclocal.m4, configure: Regenerate.
2766 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2767 initialize PCHFLAGS.
2769 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2771 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2772 erase(iterator), erase(iterator, iterator), c_str,
2773 compare(const basic_string&)): Constify various variables.
2774 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2775 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2776 _S_create, resize, _M_replace, _M_replace_safe,
2777 append(const basic_string&), append(const basic_string&, size_type,
2778 size_type), append(const _CharT*, size_type), append(size_type,
2779 _CharT), operator+(const _CharT*, const basic_string&),
2780 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2781 size_type, _CharT), find(const _CharT*, size_type, size_type),
2782 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2783 rfind(_CharT, size_type), compare(size_type, size_type,
2784 const basic_string&), compare(size_type, size_type,
2785 const basic_string&, size_type, size_type), compare(const _CharT*),
2786 compare(size_type, size_type, const _CharT*), compare(size_type,
2787 size_type, const _CharT*, size_type)): Likewise.
2789 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2791 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2792 'if' branch less obscure.
2794 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2797 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2799 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2800 (__atomic_add): likewise.
2802 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2804 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2805 reformatting, consistent with basic_filebuf::pbackfail.
2807 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2810 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2811 __attribute__ ((__unused__)).
2812 * config/os/aix/atomicity.h: Likewise.
2814 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2817 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2818 is already active don't try to store in it a second char.
2819 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2821 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2823 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2825 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2828 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2830 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2831 instead of unnecessarily taking the address of _M_pback.
2832 (xsgetn): Simplify slightly for a single char pback buffer.
2834 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2836 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2837 variables and two 'if', clean up.
2839 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2841 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2842 not _M_out_end, since the former actually points to the string
2843 end (vs buffer end).
2844 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2846 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2848 * docs/doxygen/filter: New file.
2849 * docs/doxygen/filter.sed: New file.
2850 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2851 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2852 * docs/html/documentation.html: Fix links to doxygen pages.
2854 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2856 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2857 check for __ilen > 0.
2859 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2862 * include/bits/stl_iterator.h (class __normal_iterator):
2863 Don't inherit from iterator, add missing typedefs.
2865 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2867 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2868 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2869 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2870 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2873 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2875 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2877 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2878 _LIBUNWIND_STD_ABI is set.
2880 2003-05-26 Brendan Kehoe <brendan@zen.org>
2882 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2883 make sure the number of digits required after the decimal-point
2884 (if any) is exactly the value returned by frac_digits().
2885 * testsuite/22_locale/money_get/get/char/9.cc: New.
2886 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2888 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2890 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2893 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2896 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2897 (_M_pback): No array necessary.
2898 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2899 unbuffered case, coalesec into ...
2900 (basic_filebuf::overflow): ...this.
2901 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2902 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2904 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2906 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2907 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2908 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2909 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2910 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2911 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2912 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2913 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2914 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2915 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2916 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2917 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2918 Replace "GNU CC" with "GCC".
2920 * include/backward/new.h: Replace "GNU CC" with "GCC".
2922 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2925 * configure.in: Switch target to host, don't assume newlib.
2926 (target_alias): Remove.
2927 * configure: Regenerate.
2928 * acinclude.m4: Same.
2929 * aclocal.m4: Regenerate.
2930 * configure.target: Same. Rename to...
2931 * configure.host: This.
2933 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2935 * include/std/std_fstream.h (_S_pback_size): Remove definition.
2936 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2938 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2939 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2940 of _S_pback_size for systems with no COMDAT or weak support.
2941 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2942 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2943 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2944 * testsuite/27_io/basic_fstream/3.cc: Likewise.
2945 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2946 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2947 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2948 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2949 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2951 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2953 * include/bits/fstream.tcc (_M_underflow): Simplify:
2954 !__testout implies _M_filepos == _M_in_end, therefore
2955 the first _M_file.seekoff call is never issued.
2957 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2959 * configure.in: Sort cross table.
2960 * configure: Regenerate.
2962 2003-05-22 Brad Spencer <spencer@infointeractive.com>
2965 * configure.in: Add Solaris cross bits.
2967 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2969 * libstdc++-v3/config/os/mingw32/os_defines.h
2970 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2971 (NOMINMAX): Define. Update copyright year.
2973 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
2975 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2977 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2979 * docs/html/faq/index.html: Fix typo.
2980 * docs/html/faq/index.txt: Regenerate.
2982 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2984 * docs/html/test.html: Fix markup.
2986 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2988 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2990 Update copyright year.
2992 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2994 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2996 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2998 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2999 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3001 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3003 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3004 Cast via void* to avoid -Wcast-align warnings.
3005 (__default_alloc_template::_S_refill): Likewise.
3007 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3009 * testsuite/README: Move to...
3010 * docs/html/test.html: ...here. Add documentation.
3011 * docs/html/install.html: Move testing bits out..
3012 * docs/html/documentation.html: Add separate testing link.
3013 * testsuite/performance: Add.
3014 * testsuite/performance/allocator.cc: New.
3015 * testsuite/performance/complex_norm.cc: New.
3016 * testsuite/performance/cout_insert_int.cc: New.
3017 * testsuite/performance/fstream_seek_write.cc: New.
3018 * testsuite/performance/ifstream_getline.cc: New.
3019 * testsuite/performance/map_create_fill.cc: New.
3020 * testsuite/performance/ofstream_insert_float.cc: New.
3021 * testsuite/performance/ofstream_insert_int.cc: New.
3022 * testsuite/performance/string_append.cc: New.
3023 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3026 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3029 * include/std/std_complex.h (pow): Tidy.
3031 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3033 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3034 that upon filebuf::close() 27.8.1.1,3 is enforced.
3036 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3038 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3040 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3041 Nathan Myers <ncm@cantrip.org>
3043 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3044 _M_convert_to_external only once (_M_buf_size is now the size of
3045 the put area + 1 for the overflow char of a full area); call
3046 _M_set_buffer instead of _M_set_indeterminate.
3047 (setbuf): Don't accept a buffer smaller than 2 chars.
3048 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3049 instead of _M_set_determinate.
3050 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3051 (seekoff): Likewise.
3052 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3053 std::ios_base::openmode, bool, size_t),
3054 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3056 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3057 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3059 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3060 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3061 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3062 the put area is now BUFSIZ - 1.
3063 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3064 that now the smallest _M_buf_size is 2 (still fails, for the same
3067 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3069 * testsuite/thread/pthread4.cc: Tweak test.
3071 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3073 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3074 excess errors dg marker, use dg-errors instead.
3075 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3076 * testsuite/20_util/auto_ptr_neg.cc: Same.
3078 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3080 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3082 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3083 Initialize _M_codecvt.
3084 (basic_filebuf::imbue): Same.
3085 (basic_filebuf::showmanyc): Use it.
3086 (basic_filebuf::underflow): Use it.
3087 (basic_filebuf::_M_convert_to_external): Use it.
3088 (basic_filebuf::seekoff): Use it.
3089 (basic_filebuf::imbue): Use it, tweaks.
3090 * include/bits/localefwd.h (__check_facet): New.
3091 * include/bits/locale_classes.h: Tweaks.
3092 * include/bits/locale_facets.tcc: Tweaks.
3093 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3094 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3095 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3096 * include/bits/basic_ios.tcc: Same.
3097 * include/bits/istream.tcc: Same.
3098 * include/bits/ostream.tcc: Same.
3099 * include/std/std_streambuf.h: Same.
3100 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3101 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3102 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3103 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3104 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3105 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3107 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3109 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3110 unnecessary includes and unused string literals.
3111 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3112 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3113 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3114 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3116 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3118 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3120 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3122 * include/std/std_fstream.h (_M_convert_to_external): Change
3123 to return bool, take two less streamsize parameters.
3124 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3125 consistently definition.
3126 (_M_overflow): Adjust call points.
3128 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3130 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3132 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3134 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3135 * testsuite/Makefile.in: Regenerate.
3137 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3139 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3140 * testsuite/Makefile.in: Regenerate.
3142 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3145 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3146 (acos): Handle integer argument.
3165 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3166 (__enable_if): Likewise.
3167 * testsuite/26_numerics/cmath/overloads.C: New test.
3169 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3174 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3175 implementation, based on old wchar_t specialization, add support
3176 for codecvt::in() return value of codecvt_base::noconv, remove
3177 _M_file.sys_ungetc() call.
3178 * include/std/std_fstream.h (basic_file::underflow,
3179 basic_file::uflow, basic_file::_M_underflow): Remove
3180 specialization declarations, call _M_underflow from generic versions
3181 of underflow and uflow.
3182 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3183 basic_file::_M_underflow): Remove specializations.
3184 * src/Makefile.am (sources): Remove fstream.cc.
3185 * src/Makefile.in: Regenerated.
3186 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3187 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3188 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3189 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3191 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3193 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3195 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3197 (__basic_file::xsputn): Same.
3198 (__basic_file::seekoff): Same.
3199 (__basic_file::seekpos): Same.
3200 (__basic_file::showmanyc): Same.
3201 * config/io/basic_file_stdio.cc: Same.
3202 * include/std/std_fstream.h: Same.
3203 * include/bits/fstream.tcc: Same.
3204 * src/fstream.cc: Same.
3205 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3207 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3212 * include/ext/stdio_sync_filebuf.h: New file.
3213 (basic_stdiobuf): New.
3214 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3215 * include/Makefile.in: Regenerate.
3216 * include/bits/ios_base.h (Init::_S_create_buffers,
3217 Init::_S_destroy_buffers): Remove declarations.
3218 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3219 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3220 * src/ios.cc (Init::_S_create_buffers,
3221 Init::_S_destroy_buffers): Remove.
3222 (Init::Init): Create and use syncronized buffers.
3223 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3224 create and install unsyncronized buffers.
3225 * testsuite/27_io/objects/char/10.cc: New test.
3226 * testsuite/27_io/objects/char/9.cc: New test.
3227 * testsuite/27_io/objects/char/9661-1.cc: New test.
3228 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3229 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3230 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3231 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3232 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3233 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3234 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3235 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3236 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3237 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3238 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3239 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3240 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3241 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3242 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3243 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3244 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3245 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3246 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3247 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3248 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3249 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3250 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3251 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3252 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3253 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3254 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3255 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3256 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3257 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3258 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3259 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3260 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3261 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3262 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3263 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3264 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3265 * testsuite/ext/stdiobuf_char.cc: New test.
3266 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3268 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3270 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3271 unnecessary includes and unused string literals.
3272 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3274 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3276 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3278 2003-05-07 Richard Henderson <rth@redhat.com>
3281 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3282 (__cxa_end_catch): Likewise.
3283 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3284 _Unwind_Resume_or_Rethrow.
3285 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3286 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3287 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3288 exceptions. Don't push terminate/unexpected to cxa functions.
3289 (__cxa_call_unexpected): Remove foreign exception fixmes.
3291 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3293 * testsuite/27_io/ios_base/cons: New.
3294 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3295 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3297 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3299 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3301 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3302 there is no buffer or __testget == !__testinit.
3305 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3306 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3308 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3309 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3311 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3313 * include/std/std_sstream.h (_M_sync): Minor tweak.
3315 * include/bits/fstream.tcc (close): No need to call
3316 _M_destroy_pback, setting _M_pback_init to false suffices
3319 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3321 * include/bits/stl_algo.h: Enums as _S_.
3322 * include/bits/stl_tree.h: Same.
3323 * include/bits/stl_bvector.h: Same.
3324 * include/bits/ios_base.h: Same.
3325 * include/bits/stl_alloc.h: Same.
3326 * include/ext/stl_hashtable.h: Same.
3327 * src/ios.cc: And here.
3329 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3330 * include/bits/sstream.tcc: Same.
3332 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3334 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3336 * include/bits/locale_facets.h (__num_base): Remove protected.
3337 Use _S_[io]* names for enumerations.
3338 (_S_format_int): Remove.
3339 * include/bits/locale_facets.tcc: Same.
3340 * src/locale.cc: Same.
3342 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3344 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3346 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3347 * docs/html/faq/index.txt: Regenerated.
3349 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3350 Matt Kraai <kraai@alumni.cmu.edu>
3352 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3355 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3357 * configure.target (mips*): Use the generic atomicity.h by default.
3359 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3360 (Inspired by an alternate patch from Danny Smith.)
3362 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3363 (_Swap_lock_struct<>): ...and the horse it rode in on.
3364 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3365 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3366 member to support...
3367 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3368 visibility rules related to POSIX threads.
3369 * testsuite/thread/pthread7-rope.cc: New test.
3371 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3373 * testsuite/21_strings/basic_string/find/char/3.cc: New
3374 file, testing basic_string<char>::find_first_not_of.
3375 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3376 Likewise for basic_string<wchar_t>.
3378 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3380 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3382 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3384 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3386 * include/Makefile.in: Regenerate.
3388 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3390 * include/std/std_sstream.h (str()): Tidy.
3392 2003-05-02 Nathan Myers <ncm@cantrip.org>
3393 Paolo Carlini <pcarlini@unitus.it>
3395 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3397 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3399 * include/bits/basic_string.h (swap): Remove redundant template
3400 parameters from declaration of non-template member function.
3402 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3404 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3405 * configure.in: Move libintl.h header test...
3406 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3407 the NLS-related test results into one symbol.
3408 * src/functexcept.cc: Use it here.
3409 * aclocal.m4, config.h.in, configure: Regenerated.
3411 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3413 * include/bits/sstream.tcc (overflow): Instead of calling
3414 str(), then _M_string.reserve, thus copying the contents
3415 of the current buffer two times, just copy the latter in
3416 a temporary, then use the 'swap trick'.
3418 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3420 * include/std/std_sstream.h (str()): Revert the best of the
3421 previous 'improvement', incorrect due to the COW nature of
3422 v3 basic_string; simplify.
3424 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3426 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3427 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3429 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3431 * testsuite/abi_check.cc (check_version): Update known versions.
3432 Check added symbols for version_name != base version. Add missing
3433 symbols to incompatible list.
3435 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3437 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3438 * aclocal.m4: Regenerated.
3439 * configure: Regenerated.
3441 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3443 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3444 Const-ify some variables.
3445 (basic_streambuf::xsputn): Likewise; change the type of some
3446 variables to size_t.
3447 (__copy_streambufs): Change some variables to size_t.
3449 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3451 * include/std/std_sstream.h (str()): Avoid constructing
3452 a basic_string temporary not only when it would turn out
3453 to be zero-sized but also when identical to the current
3456 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3458 * include/ext/stdio_filebuf.h
3459 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3460 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3461 Shorten a bit (-10 lines) by factoring out some code.
3463 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3465 * acinclude.m4: Add bit missing from previous patch.
3466 * aclocal.m4, configure: Regenerated.
3468 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3470 * docs/doxygen/mainpage.html: Bring up to date.
3471 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3473 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3474 breaks everything. Don't scan them.
3475 * docs/html/documentation.html: Point to "Write after approval"
3478 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3480 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3481 of libc if message translations are being used. Fix info text in
3482 xieee_1003.1-2001 case.
3483 * aclocal.m4, configure: Regenerate.
3485 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3486 Loren J. Rittle <ljrittle@acm.org>
3487 Martin v. Loewis <martin@v.loewis.de>
3489 * config/cpu/i386/atomicity.h: New file.
3491 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3493 * include/bits/fstream.tcc (open): Change to single return.
3495 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3497 * include/std/std_sstream.h (underflow): Change to single return.
3499 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3501 * include/std/std_streambuf.h (_M_buf): is currently
3502 used only for basic_filebuf, therefore move it there.
3503 (basic_streambuf(), ~basic_streambuf()): Adjust.
3504 * include/std/std_fstream.h (_M_buf): Moved here.
3505 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3506 is actually redundant for basic_stringbuf.
3507 (_M_really_sync): Likewise.
3508 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3509 * include/bits/sstream.tcc (seekoff): Adjust.
3511 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3513 * src/localename.cc: Standardize exception strings.
3514 * src/locale.cc: Same.
3516 * include/bits/basic_string.tcc: Same.
3517 * include/bits/basic_ios.tcc: Same.
3518 * include/std/std_bitset.h: Same.
3519 * include/ext/ropeimpl.h: Same.
3520 * include/bits/stl_vector.h: Same.
3521 * include/bits/stl_deque.h: Same.
3522 * include/bits/stl_bvector.h: Same.
3523 * config/locale/generic/c_locale.cc: Same.
3524 * config/locale/gnu/c_locale.cc: Same.
3525 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3527 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3529 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3531 * include/std/std_streambuf.h (_M_buf_size): is currently
3532 used only for basic_filebuf, therefore move it there.
3533 (basic_streambuf(), ~basic_streambuf()): Adjust.
3534 * include/std/std_fstream.h (_M_buf_size): Moved here.
3535 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3537 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3539 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3540 _M_buf_size (synced input is now correctly dealt with
3541 elsewhere); when the output buffer is full don't fall back
3542 to a snextc-sputc loop, call overflow instead.
3544 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3546 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3547 the innermost 'if' by factoring out some code.
3549 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3551 * configure.in: Test for libintl.h.
3552 * include/bits/c++config: Define __N for everybody.
3553 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3554 include/bits/stl_deque.h, include/bits/stl_vector.h,
3555 include/std/std_bitset.h: Wrap all __throw* text with __N.
3556 * po/Makefile.am (pot): New rule, mostly working.
3557 * src/functexcept.cc: Call gettext on all __throw* arguments when
3558 -fexceptions is in effect.
3559 * po/Makefile.in, config.h.in, configure: Regenerate.
3561 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3564 * include/bits/ios_base.h (Init::_S_ios_create,
3565 Init::_S_ios_destroy): Remove declarations.
3566 (Init::_S_create_buffers,
3567 Init::_S_destroy_buffers): Declare
3568 * src/ios.cc (Init::_S_ios_create): Remove
3569 (Init::_S_create_buffers): Create buffers and add to streams.
3570 (Init::_S_ios_destroy): Rename to...
3571 (Init::_S_destroy_buffers): this.
3572 (Init::Init): Only construct streams once.
3573 (Init::~Init): Flush streams, don't destroy them.
3574 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3575 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3576 * testsuite/27_io/objects/char/5.cc: New test.
3577 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3578 * testsuite/27_io/objects/char/6.cc: New test.
3579 * testsuite/27_io/objects/char/7.cc: New test.
3581 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3583 * testsuite/27_io/objects/char/8.cc: New test.
3585 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3587 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3588 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3590 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3592 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3593 _M_destroy_pback. _M_pback_create to
3594 _M_create_pback. _M_underflow_common to
3595 _M_underflow. _M_really_overflow to _M_overflow.
3596 * include/bits/fstream.tcc: Same.
3597 * src/fstream.cc: Same.
3598 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3599 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3600 * include/bits/streambuf.tcc: Same.
3601 * include/bits/fstream.tcc: Same.
3602 * include/bits/sstream.tcc: Same.
3604 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3606 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3607 from fixed size array.
3608 (locale): Change _S_categories as well.
3610 * include/bits/locale_facets.tcc: Tweak.
3611 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3612 * config/locale/generic/c_locale.cc: Same.
3613 * src/locale.cc: Tweak.
3614 * src/globals.cc: Change facet_name to name_vec, add names_c.
3615 * src/localename.cc: Use them.
3616 (locale::_Impl::~_Impl): Destroy _M_names.
3617 (locale::_Impl::_Impl): Create _M_names.
3619 2003-04-27 Andreas Schwab <schwab@suse.de>
3621 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3622 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3624 2003-04-27 Nathan Myers <ncm@cantrip.org>
3626 Move some basic_string members out of line because
3627 they are too big to reasonably be inline.
3628 * include/bits/basic_string.h
3629 (assign(const basic_string&, size_type, size_type),
3630 assign(const _CharT*, size_type),
3631 insert(size_type, const basic_string&, size_type, size_type),
3632 insert(size_type, const _CharT*, size_type),
3633 replace(size_type, size_type, const _CharT*, size_type)):
3634 Move from here to...
3635 * include/bits/basic_string.tcc: ...here.
3637 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3639 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3640 the innermost 'if' by factoring out some code.
3642 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3644 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3645 use in_avail(), simplify.
3647 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3649 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3650 in basic_stringbuf it's unused.
3652 * include/std/std_sstream.h (underflow): consistently use
3653 _M_in_cur, not gptr().
3655 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3656 Phil Edwards <pme@gcc.gnu.org>
3658 * testsuite_flags.in: Guard against the possibility
3659 of having "xgcc" as a part of a folder name in the
3660 path to the GCC build folder.
3661 * testsuite/Makefile.am: Likewise.
3662 * testsuite/Makefile.in: Regenerated.
3664 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3667 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3668 exception specifications.
3669 (basic_filebuf::close): Same.
3670 (basic_filebuf::_M_pback_destroy): Same.
3671 (basic_filebuf::_M_destroy_internal_buffer): Same.
3672 (basic_filebuf): Remove __res_type typedef.
3673 * src/fstream.cc: Same.
3674 * include/bits/fstream.tcc
3675 (basic_filebuf::_M_convert_to_external): Simplify.
3676 (basic_filebuf::seekoff): Use has_facet before use_facet.
3677 (basic_filebuf::close): Add exception specification of throw().
3678 * testsuite/27_io/basic_filebuf/cons: New.
3679 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3680 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3681 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3682 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3684 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3686 * include/bits/locale_classes.h
3687 (locale::_S_extra_categories_size): Remove.
3688 * src/locale.cc: Remove _S_extra_categories_size.
3689 * src/localename.cc: Same.
3690 * config/locale/gnu/c_locale.cc: Same.
3691 * config/locale/generic/c_locale.cc: Same.
3693 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3695 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3697 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3699 * docs/html/17_intro/howto.html: Update some links.
3700 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3701 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3702 * docs/html/ext/howto.html: Link to demangler notes and API.
3703 * docs/html/faq/index.html: Remove trailing whitespace.
3704 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3705 (5.6): Change to a bulleted list.
3707 * docs/html/faq/index.txt, docs/html/documentation.html,
3708 docs/html/17_intro/porting.html: Regenerate.
3710 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3712 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3713 belongs to basic_filebuf.
3714 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3715 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3716 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3717 instantiation (now belongs to basic_filebuf).
3718 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3719 * testsuite/27_io/basic_istream/3.cc: Likewise.
3720 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3721 _S_pback_size now belongs to basic_filebuf.
3722 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3723 instantiation (now belongs to basic_filebuf).
3724 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3725 belongs to basic_filebuf.
3726 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3727 instantiation (now belongs to basic_filebuf).
3728 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3729 _S_pback_size now belongs to basic_filebuf.
3730 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3731 instantiation (now belongs to basic_filebuf).
3732 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3734 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3735 instantiation (now belongs to basic_filebuf).
3736 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3738 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3740 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3741 * configure: Regenerated.
3743 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3745 * config/locale/generic/c_locale.h (__convert_from_v): Use
3748 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3750 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3751 implementation only.
3752 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3753 Comment and change to comply with DR 60 and the effect on gcount().
3754 * include/std/std_istream.h: Update comments.
3755 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3756 comments about reasons for tests. Test sync() against gcount().
3757 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3758 for effect on gcount().
3759 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3760 for effect on gcount().
3762 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3764 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3767 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3769 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3770 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3771 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3772 (basic_streambuf::basic_streambuf()): Adjust.
3773 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3774 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3775 _M_pback_create(), _M_pback_destroy()): Moved here
3776 from basic_streambuf.
3777 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3779 (basic_filebuf::_S_pback_size): Add declaration.
3780 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3783 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3785 Consistently use _M_in_beg instead of eback(), _M_in_cur
3786 instead of gptr(), and so on.
3787 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3788 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3789 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3790 __copy_streambufs): Ditto.
3791 * include/std/std_streambuf.h (sgetc): Ditto.
3793 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3795 * include/bits/sstream.tcc (pbackfail, overflow):
3798 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3800 * include/std/std_streambuf.h (uflow()): It's used only by
3801 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3802 therefore do not consider the _M_buf_unified == true case.
3804 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3806 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3808 * docs/html/ext/howto.html ('LWG Issues'):
3809 Add issues 19, 90, 171, 231, 271.
3811 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3813 * include/bits/sstream.tcc (pbackfail): Remove redundant
3814 NULL pointer check from test involving _M_in_*.
3815 (overflow, seekoff, seekpos): Const qualify bool variables.
3816 * include/std/std_sstream.h (underflow): Remove redundant
3817 NULL pointer check from test involving _M_in_*.
3818 (_M_really_sync): Const qualify bool variables.
3819 * src/fstream.cc (_M_underflow_common): Remove redundant
3820 NULL pointer check from test involving _M_in_*, const qualify
3823 * include/std/std_streambuf.h (sgetc): Remove redundant
3826 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3828 According to 5.9 para 2 (second bullet) for pointers p, q
3829 pointing to the same type, with p == 0 and q == 0, (p < q)
3831 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3832 seekoff): Remove redundant NULL pointer checks from tests
3833 involving _M_out_* and _M_in_*, const qualify bool variables.
3834 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3835 qualify bool variables.
3836 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3837 Remove redundant NULL pointer checks from tests involving
3838 _M_out_* and _M_in_*, const qualify bool variables.
3839 * include/std/std_fstream.h (sync): Likewise.
3840 (_M_is_indeterminate): Const qualify bool variables.
3841 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3842 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3843 const qualify bool variables.
3844 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3847 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3849 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3850 C99 FP macros, if actually captured.
3852 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3853 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3854 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3855 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3856 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3858 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3859 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3860 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3861 * include/c_std/std_cstdlib.h: Use new macros.
3862 * include/c_std/std_cstdio.h: Use new macros.
3863 * include/c_std/std_cwchar.h: Use new macros.
3865 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3868 * include/bits/ostream.tcc: Catch all exceptions for formatted
3869 output, instead of std::exception and derivatives.
3870 * include/bits/istream.tcc: Same.
3871 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3872 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3873 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3874 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3875 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3876 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3879 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3881 * include/bits/c++config: Minor cosmetic tweaks.
3883 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3885 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3886 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3887 (pch_output): Rename to...
3888 (pch_output_builddir): ..this. Find in ${target_builddir}.
3889 (pch_source): Tweak.
3890 (pch_build): Key off a built file.
3891 (pch_output rule): Rename to...
3892 (pch_input rule): ...this. Produce ${pch_output_builddir}
3893 instead of ${pch_output}.
3894 (install-pch rule): Install ${pch_output_builddir}.
3895 * include/Makefile.in: Regenerated.
3897 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3899 * include/std/std_streambuf.h (setp): _M_out_lim, being
3900 the end limit of used put area, is set equal to _M_out_beg.
3902 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3904 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3905 * aclocal.m4: Regenerated.
3906 * configure.in: Remove old demangler bits.
3908 * configure: Regenerate.
3909 * config.h.in: Regenerate.
3910 * include/Makefile.am (allstamps): Now allstamped.
3911 (allcreated): Define this.
3912 (all-local): Use 'em.
3913 Conditionally define pch_build, pch_install based on
3915 (${pch_output}): New rule.
3916 (install-pch): New rule.
3917 (install-headers): New rule.
3918 (install-data-local): Install headers and conditionally pch.
3919 * include/Makefile.in: Regenerate.
3920 * testsuite_flags.in (--build-cxx): Use pch file.
3922 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3924 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3926 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3927 Paolo Carlini <pcarlini at unitus dot it>
3930 * docs/html/27_io/howto.html
3931 ('The buffering is screwing up my program!'): Explain that
3932 opening counts as an I/O operation.
3934 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
3936 * testsuite/thread/pthread1.cc: Enable for darwin test.
3937 * testsuite/thread/pthread2.cc: Same.
3938 * testsuite/thread/pthread3.cc: Same.
3939 * testsuite/thread/pthread4.cc: Same.
3940 * testsuite/thread/pthread5.cc: Same.
3941 * testsuite/thread/pthread6.cc: Same.
3943 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
3946 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3947 Populate it with multiple legal ways to obtain the C99 float
3948 transcendentals. Use them instead of direct global reference.
3949 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3950 * docs/html/17_intro/porting.texi
3951 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3952 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3953 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3954 * config/os/bsd/freebsd/os_defines.h
3955 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3956 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3957 * testsuite/26_numerics/c_math_dynamic.cc: New file.
3959 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3960 Benjamin Kosnik <bkoz@redhat.com>
3962 * config/os/generic/ctype_inline.h: Fix.
3964 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
3966 * testsuite/testsuite_hooks.h
3967 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3968 Change to try_named_locale.
3969 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3971 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3973 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3974 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3975 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3976 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3977 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3978 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3979 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3980 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3981 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3982 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3983 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3984 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3985 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3986 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3987 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3988 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3989 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3990 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3991 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3992 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3993 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3994 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3995 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3996 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3997 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3998 * testsuite/22_locale/collate/compare/char/1.cc: Same.
3999 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4000 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4001 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4002 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4003 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4004 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4005 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4006 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4007 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4008 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4009 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4010 * testsuite/22_locale/collate_byname/1.cc: Same.
4011 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4012 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4013 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4014 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4015 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4016 * testsuite/22_locale/facet/2.cc: Same.
4017 * testsuite/22_locale/locale/cons/2.cc: Same.
4018 * testsuite/22_locale/locale/cons/4.cc: Same.
4019 * testsuite/22_locale/locale/cons/5.cc: Same.
4020 * testsuite/22_locale/locale/cons/7.cc: Same.
4021 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4022 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4023 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4024 * testsuite/22_locale/messages/members/char/1.cc: Same.
4025 * testsuite/22_locale/messages/members/char/2.cc: Same.
4026 * testsuite/22_locale/messages/members/char/3.cc: Same.
4027 * testsuite/22_locale/messages_byname/1.cc: Same.
4028 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4029 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4030 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4031 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4032 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4033 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4034 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4035 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4036 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4037 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4038 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4039 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4040 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4041 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4042 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4043 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4044 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4045 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4046 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4047 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4048 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4049 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4050 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4051 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4052 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4053 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4054 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4055 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4056 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4057 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4058 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4059 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4060 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4061 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4062 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4063 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4064 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4065 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4066 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4067 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4068 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4069 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4070 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4071 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4072 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4073 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4074 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4075 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4076 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4077 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4078 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4079 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4080 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4081 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4082 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4083 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4084 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4085 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4086 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4087 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4088 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4089 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4090 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4091 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4092 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4093 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4094 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4095 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4096 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4097 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4098 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4099 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4100 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4101 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4102 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4103 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4104 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4105 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4106 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4107 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4108 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4109 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4111 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4113 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4114 solaris includes, not generic.
4116 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4118 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4120 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4121 * include/bits/concept_check.h: Fix multi-line comment.
4122 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4123 when target is *-*-freebsd*.
4125 2003-04-14 Nathan Myers <ncm@cantrip.org>
4126 Paolo Carlini <pcarlini@unitus.it>
4128 PR libstdc++/9701 (in_avail())
4129 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4130 doesn't care if there is anything in some putback cell.
4131 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4133 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4134 unused string literals.
4136 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4138 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4139 _M_out_end, _M_set_indeterminate() does it.
4141 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4143 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4145 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4147 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4148 Change basic_streambuf instantiation to "unsigned char".
4149 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4151 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4153 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4154 * include/bits/fstream.tcc
4155 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4156 references to _M_buf_size_opt.
4157 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4158 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4159 __bufsize to __in_avail and __size_opt to __buf_size.
4160 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4161 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4162 * include/std/std_streambuf.h (~basic_streambuf(),
4163 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4164 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4165 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4166 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4167 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4168 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4169 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4170 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4171 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4172 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4173 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4174 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4175 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4177 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4179 * include/ext/stdio_filebuf.h
4180 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4181 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4182 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4183 since a stack-based buffer is used for small values of the size_t
4185 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4186 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4187 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4189 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4192 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4193 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4195 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4197 * testsuite/22_locale/locale/cons/3.cc: Split.
4198 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4199 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4200 Check before trying to create a locale from the environment.
4201 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4202 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4205 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4207 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4208 locale to construct this hybrid locale, not the global locale.
4210 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4212 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4213 instantiation for AIX.
4214 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4215 * testsuite/25_algorithms/min_max.cc: Same.
4217 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4219 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4220 twice. Always set _M_cfile to 0 when stream was open.
4222 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4224 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4225 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4226 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4227 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4228 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4229 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4230 ifstream_members.cc, instantiations.cc, ios.cc,
4231 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4232 ios_base_members_static.cc, ios_base_storage.cc,
4233 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4234 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4235 iostream.cc, iostream_members.cc, istream.cc,
4236 istream_exception.cc, istream_extractor_char.cc,
4237 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4238 istream_extractor_other-2.tst, istream_extractor_other.cc,
4239 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4240 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4241 istream_sentry.cc, istream_unformatted-1.tst,
4242 istream_unformatted-1.txt, istream_unformatted.cc,
4243 istringstream.cc, istringstream_members.cc,
4244 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4245 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4246 ostream_fail.cc, ostream_inserter_arith.cc,
4247 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4248 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4249 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4250 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4251 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4252 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4253 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4254 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4255 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4256 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4257 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4258 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4259 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4260 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4262 * 27_io/basic_filebuf/1.cc: New.
4263 * 27_io/basic_filebuf/2.cc: New.
4264 * 27_io/basic_filebuf/3.cc: New.
4265 * 27_io/basic_filebuf/4.cc: New.
4266 * 27_io/basic_filebuf/close/char/1.cc: New.
4267 * 27_io/basic_filebuf/close/char/2.cc: New.
4268 * 27_io/basic_filebuf/close/char/3.cc: New.
4269 * 27_io/basic_filebuf/close/char/4879.cc: New.
4270 * 27_io/basic_filebuf/close/char/9964.cc: New.
4271 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4272 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4273 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4274 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4275 * 27_io/basic_filebuf/open/char/1.cc: New.
4276 * 27_io/basic_filebuf/open/char/2.cc: New.
4277 * 27_io/basic_filebuf/open/char/3.cc: New.
4278 * 27_io/basic_filebuf/open/char/9507.cc: New.
4279 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4280 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4281 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4282 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4283 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4284 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4285 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4286 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4287 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4288 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4289 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4290 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4291 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4292 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4293 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4294 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4295 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4296 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4297 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4298 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4299 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4300 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4301 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4302 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4303 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4304 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4305 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4306 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4307 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4308 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4309 * 27_io/basic_fstream/1.cc: New.
4310 * 27_io/basic_fstream/2.cc: New.
4311 * 27_io/basic_fstream/3.cc: New.
4312 * 27_io/basic_fstream/4.cc: New.
4313 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4314 * 27_io/basic_ifstream/1.cc: New.
4315 * 27_io/basic_ifstream/2.cc: New.
4316 * 27_io/basic_ifstream/3.cc: New.
4317 * 27_io/basic_ifstream/4.cc: New.
4318 * 27_io/basic_ifstream/cons/char/1.cc: New.
4319 * 27_io/basic_ifstream/open/char/1.cc: New.
4320 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4321 * 27_io/basic_ios/1.cc: New.
4322 * 27_io/basic_ios/2.cc: New.
4323 * 27_io/basic_ios/3.cc: New.
4324 * 27_io/basic_ios/4.cc: New.
4325 * 27_io/basic_ios/clear/char/1.cc: New.
4326 * 27_io/basic_ios/cons/char/1.cc: New.
4327 * 27_io/basic_ios/cons/char/2.cc: New.
4328 * 27_io/basic_ios/cons/char/3.cc: New.
4329 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4330 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4331 * 27_io/basic_ios/exceptions/char/1.cc: New.
4332 * 27_io/basic_ios/locales/char/1.cc: New.
4333 * 27_io/basic_iostream/1.cc: New.
4334 * 27_io/basic_iostream/2.cc: New.
4335 * 27_io/basic_iostream/3.cc: New.
4336 * 27_io/basic_iostream/4.cc: New.
4337 * 27_io/basic_istream/1.cc: New.
4338 * 27_io/basic_istream/2.cc: New.
4339 * 27_io/basic_istream/3.cc: New.
4340 * 27_io/basic_istream/4.cc: New.
4341 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4342 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4343 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4344 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4345 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4346 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4347 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4348 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4349 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4350 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4351 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4352 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4353 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4354 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4355 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4356 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4357 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4358 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4359 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4360 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4361 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4362 * 27_io/basic_istream/get/char/1.cc: New.
4363 * 27_io/basic_istream/get/char/2.cc: New.
4364 * 27_io/basic_istream/getline/char/1.cc: New.
4365 * 27_io/basic_istream/getline/char/2.cc: New.
4366 * 27_io/basic_istream/getline/char/3.cc: New.
4367 * 27_io/basic_istream/ignore/char/1.cc: New.
4368 * 27_io/basic_istream/ignore/char/6360.cc: New.
4369 * 27_io/basic_istream/ignore/char/7220.cc: New.
4370 * 27_io/basic_istream/peek/char/1.cc: New.
4371 * 27_io/basic_istream/peek/char/6414.cc: New.
4372 * 27_io/basic_istream/putback/char/1.cc: New.
4373 * 27_io/basic_istream/read/char/1.cc: New.
4374 * 27_io/basic_istream/read/char/2.cc: New.
4375 * 27_io/basic_istream/read/char/3.cc: New.
4376 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4377 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4378 * 27_io/basic_istream/readsome/char/8258.cc: New.
4379 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4380 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4381 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4382 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4383 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4384 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4385 * 27_io/basic_istream/sentry/char/1.cc: New.
4386 * 27_io/basic_istream/sentry/char/2.cc: New.
4387 * 27_io/basic_istream/sentry/char/3.cc: New.
4388 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4389 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4390 * 27_io/basic_istream/tellg/char/1.cc: New.
4391 * 27_io/basic_istream/tellg/char/8348.cc: New.
4392 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4393 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4394 * 27_io/basic_istream/ws/char/1.cc: New.
4395 * 27_io/basic_istringstream/1.cc: New.
4396 * 27_io/basic_istringstream/2.cc: New.
4397 * 27_io/basic_istringstream/3.cc: New.
4398 * 27_io/basic_istringstream/4.cc: New.
4399 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4400 * 27_io/basic_istringstream/str/char/1.cc: New.
4401 * 27_io/basic_ofstream/1.cc: New.
4402 * 27_io/basic_ofstream/2.cc: New.
4403 * 27_io/basic_ofstream/3.cc: New.
4404 * 27_io/basic_ofstream/4.cc: New.
4405 * 27_io/basic_ofstream/cons/char/2.cc: New.
4406 * 27_io/basic_ofstream/open/char/1.cc: New.
4407 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4408 * 27_io/basic_ostream/1.cc: New.
4409 * 27_io/basic_ostream/2.cc: New.
4410 * 27_io/basic_ostream/3.cc: New.
4411 * 27_io/basic_ostream/4.cc: New.
4412 * 27_io/basic_ostream/cons/char/9827.cc: New.
4413 * 27_io/basic_ostream/endl/char/1.cc: New.
4414 * 27_io/basic_ostream/ends/char/1.cc: New.
4415 * 27_io/basic_ostream/ends/char/2.cc: New.
4416 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4417 * 27_io/basic_ostream/flush/char/1.cc: New.
4418 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4419 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4420 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4421 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4422 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4423 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4424 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4425 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4426 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4427 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4428 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4429 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4430 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4431 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4432 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4433 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4434 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4435 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4436 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4437 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4438 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4439 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4440 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4441 * 27_io/basic_ostream/sentry/char/1.cc: New.
4442 * 27_io/basic_ostream/sentry/char/2.cc: New.
4443 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4444 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4445 * 27_io/basic_ostream/tellp/char/1.cc: New.
4446 * 27_io/basic_ostream/tellp/char/2.cc: New.
4447 * 27_io/basic_ostringstream/1.cc: New.
4448 * 27_io/basic_ostringstream/2.cc: New.
4449 * 27_io/basic_ostringstream/3.cc: New.
4450 * 27_io/basic_ostringstream/4.cc: New.
4451 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4452 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4453 * 27_io/basic_ostringstream/str/char/1.cc: New.
4454 * 27_io/basic_ostringstream/str/char/2.cc: New.
4455 * 27_io/basic_streambuf/1.cc: New.
4456 * 27_io/basic_streambuf/2.cc: New.
4457 * 27_io/basic_streambuf/3.cc: New.
4458 * 27_io/basic_streambuf/cons/char/1.cc: New.
4459 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4460 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4461 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4462 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4463 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4464 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4465 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4466 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4467 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4468 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4469 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4470 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4471 * 27_io/basic_stringbuf/1.cc: New.
4472 * 27_io/basic_stringbuf/2.cc: New.
4473 * 27_io/basic_stringbuf/3.cc: New.
4474 * 27_io/basic_stringbuf/4.cc: New.
4475 * 27_io/basic_stringbuf/5.cc: New.
4476 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4477 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4478 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4479 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4480 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4481 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4482 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4483 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4484 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4485 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4486 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4487 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4488 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4489 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4490 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4491 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4492 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4493 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4494 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4495 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4496 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4497 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4498 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4499 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4500 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4501 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4502 * 27_io/basic_stringbuf/str/char/1.cc: New.
4503 * 27_io/basic_stringbuf/str/char/2.cc: New.
4504 * 27_io/basic_stringbuf/str/char/3.cc: New.
4505 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4506 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4507 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4508 * 27_io/basic_stringstream/1.cc: New.
4509 * 27_io/basic_stringstream/2.cc: New.
4510 * 27_io/basic_stringstream/3.cc: New.
4511 * 27_io/basic_stringstream/4.cc: New.
4512 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4513 * 27_io/basic_stringstream/str/char/1.cc: New.
4514 * 27_io/basic_stringstream/str/char/2.cc: New.
4515 * 27_io/basic_stringstream/str/char/3.cc: New.
4516 * 27_io/basic_stringstream/str/char/4.cc: New.
4517 * 27_io/fpos/1.cc: New.
4518 * 27_io/fpos/2.cc: New.
4519 * 27_io/fpos/3.cc: New.
4520 * 27_io/ios_base/callbacks/1.cc: New.
4521 * 27_io/ios_base/state/1.cc: New.
4522 * 27_io/ios_base/storage/1.cc: New.
4523 * 27_io/ios_base/storage/2.cc: New.
4524 * 27_io/ios_base/storage/3.cc: New.
4525 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4526 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4527 * 27_io/manipulators/adjustfield/char/1.cc: New.
4528 * 27_io/manipulators/adjustfield/char/2.cc: New.
4529 * 27_io/manipulators/basefield/char/1.cc: New.
4530 * 27_io/manipulators/standard/char/1.cc: New.
4531 * 27_io/manipulators/standard/char/2.cc: New.
4532 * 27_io/objects/char/1.cc: New.
4533 * 27_io/objects/char/2.cc: New.
4534 * 27_io/objects/char/2523-1_xin.cc: New.
4535 * 27_io/objects/char/2523-1_xin.in: New.
4536 * 27_io/objects/char/2523-2_xin.cc: New.
4537 * 27_io/objects/char/2523-2_xin.in: New.
4538 * 27_io/objects/char/3045.cc: New.
4539 * 27_io/objects/char/3647.cc: New.
4540 * 27_io/objects/char/3_xin.cc: New.
4541 * 27_io/objects/char/3_xin.in: New.
4542 * 27_io/objects/char/4_xin.cc: New.
4543 * 27_io/objects/char/4_xin.in: New.
4544 * 27_io/objects/char/5268.cc: New.
4545 * 27_io/objects/char/5280_xin.cc: New.
4546 * 27_io/objects/char/5280_xin.in: New.
4547 * 27_io/objects/char/6548_xin.cc: New.
4548 * 27_io/objects/char/6548_xin.in: New.
4549 * 27_io/objects/char/6648-1_xin.cc: New.
4550 * 27_io/objects/char/6648-1_xin.in: New.
4551 * 27_io/objects/char/6648-2_xin.cc: New.
4552 * 27_io/objects/char/6648-2_xin.in: New.
4553 * 27_io/objects/char/7744_xin.cc: New.
4554 * 27_io/objects/char/7744_xin.in: New.
4555 * 27_io/objects/wchar_t/1.cc: New.
4556 * 27_io/types/1.cc: New.
4557 * 27_io/types/2.cc: New.
4558 * data/filebuf_members-1.tst: New.
4559 * data/filebuf_members-1.txt: New.
4560 * data/filebuf_virtuals-1.tst: New.
4561 * data/filebuf_virtuals-1.txt: New.
4562 * data/filebuf_virtuals-2.tst: New.
4563 * data/filebuf_virtuals-3.tst: New.
4564 * data/ifstream_members-1.tst: New.
4565 * data/ifstream_members-1.txt: New.
4566 * data/ios_base_members_static-1.tst: New.
4567 * data/istream_extractor_other-1.tst: New.
4568 * data/istream_extractor_other-1.txt: New.
4569 * data/istream_extractor_other-2.tst: New.
4570 * data/istream_seeks-1.tst: New.
4571 * data/istream_seeks-1.txt: New.
4572 * data/istream_seeks-2.tst: New.
4573 * data/istream_seeks-3.tst: New.
4574 * data/istream_unformatted-1.tst: New.
4575 * data/istream_unformatted-1.txt: New.
4576 * data/ofstream_members-1.tst: New.
4577 * data/ostream_inserter_char-1.tst: New.
4578 * data/ostream_inserter_char-1.txt: New.
4579 * data/ostream_inserter_other-1.tst: New.
4580 * data/ostream_inserter_other-2.tst: New.
4581 * data/ostream_seeks-1.tst: New.
4583 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4585 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4586 requirement that __mode must be strict input or output.
4588 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4591 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4592 output string shouldn't core.
4593 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4595 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4597 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4600 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4602 * testsuite/data: New directory.
4603 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4604 to copy files from the testsuite data directory.
4605 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4606 testfiles containing _xin, which now means this is an interactive
4607 test and should be run with the interactive dejagnu hooks.
4608 * testsuite/Makefile.am: Remove testsuite_* files.
4609 * testsuite/Makefile.in: Regenerate.
4611 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4613 * docs/html/install.html: Document complete list of locales
4614 required by test suite. Document procedure for installing
4615 said locales under Debian. Solicit instructions for other
4618 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4620 * include/bits/sstream.tcc (overflow): Make sure operands of min
4621 and max have the same type.
4623 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4626 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4629 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4631 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4632 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4633 Don't set _M_out_end.
4634 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4635 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4636 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4637 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4638 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4639 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4640 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4641 _M_out_end - _M_out_cur.
4642 (__copy_streambufs): Likewise.
4643 * include/std/std_fstream.h (_M_set_determinate): Set
4646 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4648 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4649 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4650 test for synced buffer.
4651 * include/std/std_fstream.h (sync): Likewise.
4652 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4653 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4655 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4657 * include/std/std_sstream.h (basic_istringstream): Adjust
4659 (basic_ostringstream): Same.
4660 (basic_stringstream): Same.
4661 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4662 (basic_ofstream): Same.
4663 (basic_fstream): Same.
4664 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4665 that does not call init.
4666 * include/std/std_istream.h (basic_istream): Same.
4667 (basic_iostream): Construct istream, ostream uninitialized, use
4668 init to initialize just once. Add protected ctor that does not
4671 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4672 Nathan Myers <ncm@cantrip.org>
4675 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4677 (basic_filebuf<>::showmanyc): Use the information provided
4678 by codecvt and __basic_file<>::showmanyc_helper to implement
4679 a non-trivial showmanyc.
4680 * config/io/basic_file_stdio.h
4681 (__basic_file<>::showmanyc_helper): New, declare.
4682 * config/io/basic_file_stdio.cc
4683 (__basic_file<>::showmanyc_helper): Define.
4684 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4685 (__basic_file<char>::open): Don't call fcntl().
4686 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4687 GLIBCPP_CHECK_POLL): New macros.
4688 * configure.in: Call here.
4689 * acconfig.h: Add #undefs for the corresponding symbols.
4690 * aclocal.m4: Regenerate.
4691 * configure: Regenerate.
4692 * config.h.in: Regenerate.
4694 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4696 * config/linker-map.gnu: Remove string export restrictions.
4698 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4700 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4701 find_first_of, find_last_of and find_last_not_of tests.
4702 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4703 tests here, new file.
4704 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4705 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4706 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4707 wchar_t find_first_of tests here, new file.
4708 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4710 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4712 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4713 wchar_t find_last_of tests here.
4714 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4715 wchar_t find_last_not_of tests here.
4717 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4719 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4720 Correct return value.
4722 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4725 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4726 * include/std/std_complex.h (norm): Use faster,
4727 less accurate computation for builtin float types under --fast-math.
4729 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4731 * testsuite/testsuite_hooks.h: Fix warning nits.
4733 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4735 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4736 Only .set mips2 for the o32 ABI.
4738 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4740 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4741 Test char not wchar_t.
4743 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4745 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4746 Correct size, taking into account sizeof(wchar_t).
4748 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4750 Reshuffle 21_strings testsuite.
4751 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4752 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4753 element_access.cc, operations.cc, char_traits_requirements.cc,
4754 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4755 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4756 wchar_t tests as follows.
4757 * 21_strings/basic_string/append/char/1.cc: New.
4758 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4759 * 21_strings/basic_string/assign/char/1.cc: New.
4760 * 21_strings/basic_string/assign/char/2.cc: New.
4761 * 21_strings/basic_string/assign/char/3.cc: New.
4762 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4763 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4764 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4765 * 21_strings/basic_string/capacity/1.cc: New.
4766 * 21_strings/basic_string/capacity/char/1.cc: New.
4767 * 21_strings/basic_string/capacity/char/2.cc: New.
4768 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4769 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4770 * 21_strings/basic_string/compare/char/1.cc: New.
4771 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4772 * 21_strings/basic_string/cons/char/1.cc: New.
4773 * 21_strings/basic_string/cons/char/2.cc: New.
4774 * 21_strings/basic_string/cons/char/3.cc: New.
4775 * 21_strings/basic_string/cons/char/4.cc: New.
4776 * 21_strings/basic_string/cons/char/5.cc: New.
4777 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4778 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4779 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4780 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4781 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4782 * 21_strings/basic_string/element_access/char/1.cc: New.
4783 * 21_strings/basic_string/element_access/char/2.cc: New.
4784 * 21_strings/basic_string/element_access/char/3.cc: New.
4785 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4786 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4787 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4788 * 21_strings/basic_string/find/char/1.cc: New.
4789 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4790 * 21_strings/basic_string/insert/char/1.cc: New.
4791 * 21_strings/basic_string/insert/char/2.cc: New.
4792 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4793 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4794 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4795 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4796 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4797 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4798 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4799 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4800 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4801 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4802 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4803 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4804 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4805 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4806 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4807 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4808 * 21_strings/basic_string/operators/char/1.cc: New.
4809 * 21_strings/basic_string/operators/char/2.cc: New.
4810 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4811 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4812 * 21_strings/basic_string/replace/char/1.cc: New.
4813 * 21_strings/basic_string/replace/char/2.cc: New.
4814 * 21_strings/basic_string/replace/char/3.cc: New.
4815 * 21_strings/basic_string/replace/char/4.cc: New.
4816 * 21_strings/basic_string/replace/char/5.cc: New.
4817 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4818 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4819 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4820 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4821 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4822 * 21_strings/basic_string/rfind/char/1.cc: New.
4823 * 21_strings/basic_string/rfind/char/2.cc: New.
4824 * 21_strings/basic_string/rfind/char/3.cc: New.
4825 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4826 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4827 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4828 * 21_strings/basic_string/substr/char/1.cc: New.
4829 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4830 * 21_strings/c_strings/char/1.cc: New.
4831 * 21_strings/c_strings/char/2.cc: New.
4832 * 21_strings/c_strings/wchar_t/1.cc: New.
4833 * 21_strings/c_strings/wchar_t/2.cc: New.
4834 * 21_strings/char_traits/requirements/char/1.cc: New.
4835 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4836 * 21_strings/char_traits/typedefs/char/1.cc: New.
4838 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4839 Petur Runolfsson <peturr02@ru.is>
4842 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4843 basic_filebuf<wchar_t>::_M_underflow_common):
4844 if (gptr() < egptr()) return *gptr().
4845 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4847 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4848 changes: unlink fifo before making it, fix spelling error.
4850 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4852 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4853 * testsuite/Makefile.in: Regenerate.
4854 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4857 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4860 * include/bits/fstream.tcc (basic_filebuf::close):
4861 Always close file, even when write fails.
4862 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4864 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4866 * libsupc++/Makefile.am (C_COMPILE): Remove.
4867 (LTCOMPILE): Likewise.
4868 * libsupc++/Makefile.in: Regenerate.
4870 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4872 * testsuite/23_containers/bitset_members.cc: Add test variable.
4873 * testsuite/23_containers/map_insert.cc: Same.
4874 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4875 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4876 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4877 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4878 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4879 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4880 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4881 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4882 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4883 * testsuite/27_io/istream_exception.cc: Same.
4884 * testsuite/27_io/filebuf_virtuals.cc: Same.
4885 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4886 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4887 * testsuite/26_numerics/valarray_operators.cc: Same.
4888 * testsuite/26_numerics/slice.cc: Same.
4889 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4890 * testsuite/24_iterators/istream_iterator.cc: Same.
4891 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4893 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4897 * config/locale/generic/ctype_members.cc,
4898 * config/locale/gnu/ctype_members.cc
4899 (ctype<wchar_t>::do_widen(char)): Cast argument to
4900 unsigned char before passing to btowc.
4901 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4902 Convert characters with btowc instead of mbsrtowcs.
4903 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4905 Convert characters with wctob instead of wcsrtombs.
4906 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4907 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4908 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4910 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4912 * include/stdc++.h: New.
4913 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4914 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4915 * include/Makefile.in: Regenerate.
4916 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4917 (--cxxflags): Put -g -O2 here.
4918 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4920 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4922 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4923 missing named locale.
4925 2003-03-14 Andreas Schwab <schwab@suse.de>
4927 * configure.in: Only append to makefiles that are newly created to
4928 avoid multiple multi-do/multi-clean rules.
4929 * configure: Rebuilt.
4931 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
4933 * docs/html/configopts.html, docs/html/documentation.html,
4934 docs/html/explanations.html, docs/html/install.html,
4935 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
4936 invalid XHTML and make page header style consistent.
4938 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
4940 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
4941 * docs/html/faq/index.txt: Regenerate.
4942 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
4944 2003-03-12 Andreas Schwab <schwab@suse.de>
4946 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
4947 glibcpp_toolexeclibdir.
4948 * aclocal.m4, configure: Rebuilt.
4950 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
4952 * docs/html/faq/index.html: Update text about location of headers.
4953 * docs/html/faq/index.txt: Regenerate.
4955 2003-03-11 Carlo Wood <carlo@alinoe.com>
4957 * include/bits/demangle.h: Prepend accessors of
4958 class qualifier with 'get_' in order to fix warnings
4959 when compiling with -Wshadow.
4961 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
4963 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
4965 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
4967 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
4968 report lack of setenv().
4970 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4972 * config/io/basic_file_stdio.cc: include <unistd.h>.
4974 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4975 Nathan Myers <ncm@cantrip.org>
4978 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
4979 seekoff, seekpos): Add a boolean parameter __stdio.
4980 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
4981 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
4982 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
4984 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
4985 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
4986 * include/std/std_fstream.h (sync): Likewise.
4987 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
4988 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
4989 libstdc++/8399 commit involving isatty(0).
4990 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
4991 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
4992 * configure.in: Remove call.
4993 * aclocal.m4: Regenerate.
4994 * config.h.in: Regenerate.
4995 * configure: Regenerate.
4996 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
4998 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5001 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5002 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5004 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5007 * include/bits/basic_ios.h (_M_setstate): New.
5008 * include/bits/ostream.tcc (operator<<): Use it.
5009 * include/bits/istream.tcc (operator>>): Use it.
5010 * include/std/std_ostream.h (operator<<): Make friends.
5011 * include/std/std_istream.h (operator>>): Make friends.
5012 * testsuite/27_io/ostream_exception.cc,
5013 testsuite/27_io/istream_exception.cc: New tests.
5015 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5017 * include/bits/locale_facets.tcc: Fix typo.
5019 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5021 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5023 * config/locale/generic/c_locale.cc
5024 (locale::facet::_S_create_c_locale): Throw runtime exception when
5025 unsupported language is specified.
5026 * testsuite/testsuite_hooks.h
5027 (run_test_wrapped_generic_locale_exception_catcher): New function.
5028 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5029 Suppress runtime exception thrown by generic implementation.
5030 (run_tests_wrapped_env): Likewise.
5031 (run_test_wrapped_generic_locale_exception_catcher): New function.
5032 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5033 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5034 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5035 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5036 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5037 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5038 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5039 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5040 * testsuite/22_locale/facet/2.cc: New test wrap.
5041 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5042 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5043 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5044 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5045 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5046 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5047 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5048 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5049 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5050 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5051 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5052 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5053 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5054 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5055 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5056 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5057 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5058 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5059 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5060 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5061 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5062 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5063 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5064 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5065 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5066 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5067 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5068 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5069 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5070 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5071 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5072 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5073 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5074 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5075 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5076 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5077 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5078 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5079 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5080 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5081 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5082 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5083 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5084 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5085 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5086 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5087 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5088 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5089 * testsuite/27_io/ios_members.cc: New test wrap.
5090 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5092 * testsuite/27_io/streambuf_members.cc: New test wrap.
5093 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5095 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5096 Petur Runolfsson <peturr02@ru.is>
5099 * include/bits/streambuf.tcc (__copy_streambufs): Use
5100 sgetn-sputn only when sputn cannot fail, otherwise fall back
5101 to safe snextc-sputc.
5102 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5104 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5106 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5107 locale cache for truename and falsename.
5109 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5111 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5112 _M_word_size initialization.
5114 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5116 * include/bits/fstream.tcc (_M_convert_to_external):
5117 Set __elen to zero if codecvt::out eventually fails.
5119 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5122 * include/bits/fstream.tcc (_M_really_overflow): Check
5123 for _M_convert_to_external possible failures.
5124 * include/std/std_fstream.h (sync): Check _M_really_overflow
5125 return value and return -1 in case of failure.
5126 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5128 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5131 * include/bits/istream.tcc (operator>>(_CharT*),
5132 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5133 * testsuite/27_io/stringstream.cc (test02): Add.
5135 * include/bits/istream.tcc (operator>>(_CharT*)):
5136 Assign a char_type to *__s.
5138 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5141 * include/bits/locale_facets.tcc
5142 (collate::do_compare, collate::do_transform):
5143 Handle nul characters in input.
5144 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5145 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5146 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5147 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5149 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5151 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5153 * testsuite/27_io/ostream_fail.cc: New test.
5155 2003-03-07 Matthias Klose <doko@debian.org>
5157 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5158 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5159 * Makefile.in: Regenerate.
5160 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5162 AM_MAKEFLAGS: Pass gxx_include_dir.
5163 * libsupc++/Makefile.in: Regenerate.
5165 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5167 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5168 mask. Test setting small-numbered pword and iword slots. Test
5169 behavior at limit of numeric_limits::max. Check that values are
5170 still good after failures.
5172 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5174 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5175 (ios_base::ios_base): Set _M_word, _M_word_size.
5176 (ios_base::~ios_base): Remove redundant test.
5177 * testsuite/27_io/ios_base_storage.cc (test03): New.
5179 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5181 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5182 incorrect whitespace added in my previous change.
5184 2003-03-05 Carlo Wood <carlo@alinoe.com>
5186 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5187 _S_initialized() in order to allow debugging libraries to detect
5188 when the std streams are initialized from an overloaded operator
5191 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5193 * libsupc++/demangle.h: Move to..
5194 * include/bits/demangle.h: ...here.
5195 * src/demangle.cc: Adjust include.
5196 * include/Makefile.am (bits_headers): Add.
5197 * include/Makefile.in: Regenerate.
5199 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5201 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5203 * config/linker-map.gnu: Filter typeinfo and vtable info.
5205 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5207 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5208 new failure. Throw exception if badbit and exception mask when ix
5209 >= numeric_limits<int>::max().
5211 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5213 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5214 min and max have the same type.
5215 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5217 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5219 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5220 * include/Makefile.in: Regenerate.
5222 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5224 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5226 * config/linker-map.gnu: Hide more stuff.
5227 * include/Makefile.am: Cleanups.
5228 * include/Makefile.in: Regenerate.
5230 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5232 * config/locale/generic/messages_members.h (messages::messages):
5233 Remove name from unused parameter.
5235 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5237 * src/Makefile.am (sources): Add demangle.cc.
5240 * src/Makefile.in: Regenerate.
5241 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5242 * libsupc++/Makefile.in: Regenerate.
5244 * testsuite/testsuite_hooks.h
5245 (__gnu_cxx_test::verify_demangle): New.
5246 * testsuite/testsuite_hooks.cc: Define.
5248 2003-02-27 Carlo Wood <carlo@alinoe.com>
5250 * src/demangle.cc: New.
5251 * libsupc++/demangle.h: New.
5253 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5254 Carlo Wood <carlo@alinoe.com>
5256 * testsuite/demangle/abi_examples/01.cc: New.
5257 * testsuite/demangle/abi_examples/02.cc: New.
5258 * testsuite/demangle/abi_examples/03.cc: New.
5259 * testsuite/demangle/abi_examples/04.cc: New.
5260 * testsuite/demangle/abi_examples/05.cc: New.
5261 * testsuite/demangle/abi_examples/06.cc: New.
5262 * testsuite/demangle/abi_examples/07.cc: New.
5263 * testsuite/demangle/abi_examples/08.cc: New.
5264 * testsuite/demangle/abi_examples/09.cc: New.
5265 * testsuite/demangle/abi_examples/10.cc: New.
5266 * testsuite/demangle/abi_examples/11.cc: New.
5267 * testsuite/demangle/abi_examples/12.cc: New.
5268 * testsuite/demangle/abi_examples/13.cc: New.
5269 * testsuite/demangle/abi_examples/14.cc: New.
5270 * testsuite/demangle/abi_examples/15.cc: New.
5271 * testsuite/demangle/abi_examples/16.cc: New.
5272 * testsuite/demangle/abi_examples/17.cc: New.
5273 * testsuite/demangle/abi_examples/18.cc: New.
5274 * testsuite/demangle/abi_examples/19.cc: New.
5275 * testsuite/demangle/abi_examples/20.cc: New.
5276 * testsuite/demangle/abi_examples/21.cc: New.
5277 * testsuite/demangle/abi_examples/22.cc: New.
5278 * testsuite/demangle/abi_examples/23.cc: New.
5279 * testsuite/demangle/abi_examples/24.cc: New.
5280 * testsuite/demangle/abi_examples/25.cc: New.
5281 * testsuite/demangle/abi_examples/26.cc: New.
5282 * testsuite/demangle/abi_text/01.cc: New.
5283 * testsuite/demangle/abi_text/02.cc: New.
5284 * testsuite/demangle/abi_text/03.cc: New.
5285 * testsuite/demangle/abi_text/04.cc: New.
5286 * testsuite/demangle/abi_text/05.cc: New.
5287 * testsuite/demangle/abi_text/06.cc: New.
5288 * testsuite/demangle/abi_text/07.cc: New.
5289 * testsuite/demangle/abi_text/08.cc: New.
5290 * testsuite/demangle/abi_text/09.cc: New.
5291 * testsuite/demangle/abi_text/10.cc: New.
5292 * testsuite/demangle/abi_text/11.cc: New.
5293 * testsuite/demangle/abi_text/12.cc: New.
5294 * testsuite/demangle/abi_text/13.cc: New.
5295 * testsuite/demangle/abi_text/14.cc: New.
5296 * testsuite/demangle/regression/3111-1.cc: New.
5297 * testsuite/demangle/regression/3111-2.cc: New.
5298 * testsuite/demangle/regression/7986-01.cc: New.
5299 * testsuite/demangle/regression/7986-02.cc: New.
5300 * testsuite/demangle/regression/7986-03.cc: New.
5301 * testsuite/demangle/regression/7986-04.cc: New.
5302 * testsuite/demangle/regression/7986-05.cc: New.
5303 * testsuite/demangle/regression/7986-06.cc: New.
5304 * testsuite/demangle/regression/7986-07.cc: New.
5305 * testsuite/demangle/regression/7986-08.cc: New.
5306 * testsuite/demangle/regression/7986-09.cc: New.
5307 * testsuite/demangle/regression/7986-10.cc: New.
5308 * testsuite/demangle/regression/7986-11.cc: New.
5309 * testsuite/demangle/regression/7986-12.cc: New.
5310 * testsuite/demangle/regression/7986.cc: New.
5311 * testsuite/demangle/regression/8897.cc: New.
5312 * testsuite/demangle/regression/cw-01.cc: New.
5313 * testsuite/demangle/regression/cw-02.cc: New.
5314 * testsuite/demangle/regression/cw-03.cc: New.
5315 * testsuite/demangle/regression/cw-04.cc: New.
5316 * testsuite/demangle/regression/cw-05.cc: New.
5317 * testsuite/demangle/regression/cw-06.cc: New.
5318 * testsuite/demangle/regression/cw-07.cc: New.
5319 * testsuite/demangle/regression/cw-08.cc: New.
5320 * testsuite/demangle/regression/cw-09.cc: New.
5321 * testsuite/demangle/regression/cw-10.cc: New.
5322 * testsuite/demangle/regression/cw-11.cc: New.
5323 * testsuite/demangle/regression/cw-12.cc: New.
5324 * testsuite/demangle/regression/cw-13.cc: New.
5325 * testsuite/demangle/regression/cw-14.cc: New.
5326 * testsuite/demangle/regression/old.cc: New.
5328 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5330 * docs/doxygen/Intro.3: Update with new (proper) names.
5331 * docs/doxygen/TODO: Update.
5332 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5333 Fake entries for standard typedefs.
5334 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5335 * docs/html/documentation.html: Top-level man page is now called
5337 * include/std/std_limits.h: Doxygenate.
5339 2003-02-25 Scott Snyder <snyder@fnal.gov>
5342 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5343 Correct documentation.
5344 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5345 equal_range): Likewise.
5347 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5351 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5352 __bump is true (uflow), always increment the read pointer
5353 (_M_in_cur) before returning successfully.
5354 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5356 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5357 Nathan Myers <ncm@cantrip.org>
5359 PR libstdc++/9404, PR libstdc++/9701 (partial)
5360 (aka pptr == epptr implies overflow)
5361 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5362 Consistently, _M_out_end points to the end of the buffer just
5364 (overflow): Tweak to use _M_out_buf_size().
5365 (_M_convert_to_external): The role of the old _M_out_end is
5366 now played by _M_out_lim.
5367 (_M_really_overflow): Likewise.
5368 (seekoff): Likewise.
5369 (setbuf): _M_out_end points to the end of the external buffer.
5370 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5371 account the resolution of DR 169 (TC).
5372 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5373 (seekpos): Use _M_string.capacity(); tweak.
5374 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5375 * include/std/std_fstream.h (sync): The role of the old
5376 _M_out_end is now played by _M_out_lim.
5377 (_M_set_indeterminate): Use _M_set_determinate.
5378 (_M_set_determinate): _M_out_end is now _M_out_lim.
5379 (_M_is_indeterminate): Likewise.
5380 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5381 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5382 which have the information readily available as _M_string.capacity();
5383 for ate and app modes, pass the string size to _M_really_sync.
5384 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5385 point to the end of the buffer (i.e., epptr) and to the string end,
5387 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5388 which points to the right limit of the used put area.
5389 (_M_out_cur_move): The role of the old _M_out_end is now played
5391 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5392 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5394 (basic_streambuf()): Initialize _M_out_lim too.
5395 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5396 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5397 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5399 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5401 * testsuite/27_io/ios_base_storage.cc (main): Call
5404 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5406 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5407 numpunct facet accesses with data from __locale_cache.
5409 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5411 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5412 * docs/html/faq/index.txt: Regenerate.
5414 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5416 * config/linker-map.gnu: Also export locking symbols needed for the
5417 generic atomicity.h case.
5419 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5421 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5423 * configure: Rebuilt.
5425 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5427 * include/bits/sstream.tcc (overflow): According to
5428 27.7.1.3, p5, actual output is performed by sputc(c).
5430 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5433 * include/bits/stl_alloc.h: Remove all traces of assert().
5435 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5437 * include/std/std_sstream.h (str()): the size of the
5438 current string may be different from the initial one
5439 whenever _M_out_end > _M_out_beg.
5440 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5442 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5445 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5447 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5449 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5450 * testsuite/27_io/ios_members.cc (test03): New.
5452 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5454 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5455 (basic_ios::_M_cache_facets): Move into above.
5456 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5458 (basic_ios::imbue): Force locale cache to be built.
5459 (basic_ios::_M_init): Create and initialize locale cache.
5460 * include/bits/ios_base.h (__locale_cache_base): Declare.
5461 (ios_base::_M_locale_cache): New.
5462 (ios_base::_M_cache): Define.
5463 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5465 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5466 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5467 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5468 cache literal string, grouping flag, thousands separator.
5469 (__locale_cache<_CharT>::__locale_cache): New.
5470 (__locale_cache<_CharT>::_M_init): New.
5471 * src/ios.cc: Clear _M_locale_cache in constructor.
5472 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5475 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5477 * src/locale-inst.cc: Do not include <cassert>.
5478 * src/locale.cc: Likewise.
5480 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5483 * include/std/std_fstream.h: Declare underflow and uflow
5484 specializations, change generic definitions to do nothing.
5485 * src/fstream.cc: Add underflow and uflow specializations.
5487 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5490 * include/bits/fstream.tcc (_M_convert_to_external):
5491 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5492 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5494 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5496 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5497 * include/bits/basic_ios.tcc: Guard use of extern template.
5498 * include/std/std_iomanip.h: Same.
5499 * include/bits/streambuf.tcc: Same.
5500 * include/bits/stl_alloc.h: Same.
5501 * include/bits/locale_facets.tcc: Same.
5502 * include/bits/ostream.tcc: Same.
5503 * include/bits/istream.tcc: Same.
5504 * include/bits/fstream.tcc: Same.
5505 * include/bits/basic_string.tcc: Same.
5507 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5509 * include/bits/ostream.tcc (sentry::sentry): Improve
5510 performance-wise the fix for libstdc++/9563.
5512 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5514 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5515 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5516 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5517 when we don't have static mutex initialization.
5518 (__exchange_and_add): Use _Atomic_add_mutex_once.
5519 * src/misc-inst.cc: Definitions of all the above.
5521 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5524 * include/bits/ostream.tcc (sentry::sentry): Check
5525 the state of the stream after the preparation.
5526 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5528 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5530 * include/Makefile.am (stamp-std-precompile): Add rule.
5531 * include/Makefile.in: Regenerated.
5533 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5534 Benjamin Kosnik <benjamin@redhat.com>
5536 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5537 Add indexes into this array.
5538 (__num_base::_S_atoms): To _S_atoms_in.
5539 (num_put::_M_insert): Rename to _M_pad.
5540 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5541 (num_put::_M_widen_int): Rename to _M_group_int.
5542 (num_put::_M_widen_float): Rename to _M_group_float.
5543 * include/bits/locale_facets.tcc (__int_to_char): New inline
5544 function and adapter functions.
5545 (num_put::_M_group_int): Streamline.
5546 (num_put::_M_group_float): Streamline.
5547 (num_put::_M_convert_int): Remove unused parameter names. Choose
5548 large enough buffer for text. Use __int_to_char instead of
5549 __convert_from_v. Formatted text is now at the end of the buffer.
5550 (num_put::_M_convert_float): Preliminary fixups.
5551 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5552 (__int_to_char<unsigned long long>): Same.
5553 (__int_to_char<char, unsigned long>): New.
5554 (__int_to_char<char, unsigned long long>): New.
5555 (__int_to_char<wchar_t, unsigned long>): New.
5556 (__int_to_char<wchar_t, unsigned long long>): New.
5558 2003-02-11 Scott Snyder <snyder@fnal.gov>
5561 * include/bits/fstream.tcc (seekoff): Avoid operator+
5564 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5567 * include/ext/stdio_filebuf.h
5568 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5569 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5570 Change to take a __size parameter of type size_t, not
5571 of type (template parameter dependent) int_type.
5572 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5573 size vars to size_t.
5574 * testsuite/ext/stdio_filebuf.cc: Add.
5576 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5577 Petur Runolfsson <peturr02@ru.is>
5580 * include/bits/streambuf.tcc (__copy_streambufs):
5581 Don't conditionalize the copy to __testput.
5582 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5584 2002-02-11 DJ Delorie <dj@redhat.com>
5586 * acinclude.m4: Check for native targets that can't link at
5587 this point in the build.
5588 * aclocal.m4: Regenerate.
5589 * configure: Regenerate.
5591 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5593 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5595 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5598 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5600 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5601 unsigned char platforms.
5603 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5606 * include/std/std_istream.h
5607 (basic_istream::sentry::operator bool()): Make const.
5608 * include/std/std_ostream.h
5609 (basic_ostream::sentry::operator bool()): Likewise.
5610 * testsuite/27_io/istream_sentry.cc (test03): Add.
5611 * testsuite/27_io/ostream_sentry.cc: Add.
5613 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5616 Implement resolution of DR 231 (Ready)
5617 * include/bits/locale_facets.h (__num_base::_S_format_float):
5618 Change declaration: return void, remove __prec parameter.
5619 * src/locale.cc (__num_base::_S_format_float): Implement
5620 resolution of DR 231.
5621 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5622 Tweak uses. Check for negative precision.
5623 * testsuite/22_locale/num_put/put/char/6.cc: Add
5624 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5626 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5628 * config/io/basic_file_libio.h: Fixups.
5629 * config/io/c_io_libio.h: Same.
5630 * libio/Makefile.am: Same.
5631 * libio/Makefile.in: Regenerated.
5633 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5635 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5636 Explicitly use the "C" locale.
5637 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5639 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5643 PR libstdc++/9028 (partial)
5649 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5650 codecvt<wchar_t, char, mbstate_t>::do_length,
5651 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5653 * config/locale/generic/codecvt_members.cc: ...here.
5654 * config/locale/gnu/codecvt_members.cc: ...and here.
5656 * config/locale/generic/codecvt_members.cc,
5657 * config/locale/gnu/codecvt_members.cc
5658 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5659 codecvt<wchar_t, char, mbstate_t>::do_in,
5660 codecvt<wchar_t, char, mbstate_t>::do_length,
5661 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5662 codecvt<wchar_t, char, mbstate_t>::do_out):
5663 New implementation that handles stateless encodings,
5666 * config/locale/generic/codecvt_members.cc,
5667 * config/locale/gnu/codecvt_members.cc,
5668 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5669 * include/bits/codecvt.h,
5671 (codecvt::length, codecvt::do_length):
5672 Change type of first argument of length and do_length from
5673 'const state_type&' to 'state_type&' according to DR 75.
5675 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5676 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5677 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5678 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5679 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5680 Cleanup and check for correct return value from encoding
5682 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5683 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5684 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5685 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5686 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5687 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5688 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5689 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5690 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5691 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5692 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5693 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5694 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5695 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5696 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5697 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5698 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5699 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5700 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5701 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5702 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5703 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5704 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5705 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5706 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5707 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5708 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5709 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5710 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5711 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5712 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5713 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5714 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5715 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5716 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5717 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5718 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5720 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5722 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5723 (money_put::do_put): Same.
5725 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5727 * include/bits/ios_base.h (ios_base): Document reserved storage.
5729 * include/bits/locale_facets.h: (struct __pad): Comment on
5731 (__verify_grouping): Same.
5732 (__add_grouping): Same.
5733 * include/bits/locale_facets.tcc (__verify_grouping): Move
5734 comments to declaration.
5735 (__add_grouping): Same.
5737 * include/bits/locale_facets.tcc:
5738 (__write<_CharT, _OutIter>): New function.
5739 (__write<_CharT>): New function specialization.
5740 (num_put::_M_insert): Remove explicit loop over iterator. Use
5742 (num_put::_M_widen_float): Remove __basefield.
5743 (num_put::_M_widen_int): Move __basefield to within grouping block.
5745 * include/bits/streambuf_iterator.h: Include <streambuf>.
5746 (ostreambuf_iterator::_M_put): Add.
5748 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5750 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5752 2003-02-04 Nathan Myers <ncm@cantrip.org>
5754 * testsuite/25_algorithms/min_max.cc (test02): Add.
5756 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5758 PR libstdc++/9439, PR libstdc++/9425
5759 * config/io/basic_file_stdio.cc
5760 (__basic_file<char>::seekoff, seekpos): Return -1L if
5762 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5763 Check _M_file.seekoff return value; always return
5764 pos_type(off_type(-1)) in case of failure.
5765 (basic_filebuf::pbackfail): Check this->seekoff return
5766 value and return traits_type::eof() in case of failure.
5767 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5769 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5771 * include/std/std_ostream.h (ostream::_M_write): Declare.
5772 * ostream.tcc (ostream::_M_write): Define.
5773 (basic_ostream::write): Use it.
5774 (operator<<(basic_ostream, _CharT)): Ditto.
5775 (operator<<(basic_ostream, char)): Ditto.
5776 (operator<<(basic_ostream, _CharT*)): Ditto.
5777 (operator<<(basic_ostream, char*)): Ditto.
5778 (operator<<(basic_ostream, basic_string)): Ditto.
5780 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5782 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5784 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5786 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5787 add HTML comment about updating links if numbering changes.
5789 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5792 * include/bits/streambuf.tcc (sputbackc): Access
5793 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5794 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5796 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5799 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5800 operation fails, calls close _and_ returns a null pointer
5801 to indicate failure (27.8.1.3,4).
5802 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5804 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5806 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5808 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5810 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5811 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5812 * docs/html/documentation.html: Regenerate.
5814 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5816 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5817 * docs/html/17_intro/porting.html: Regenerate.
5819 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5820 Phil Edwards <pme@gcc.gnu.org>
5822 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5823 numeric_limits for bits-per-word values.
5824 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5825 Use __builtin_popcountl instead.
5826 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5827 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5828 Use __builtin_ctzl instead.
5829 (_S_bit_count, _S_first_one): Remove.
5830 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5831 * src/Makefile.am (sources): Remove bitset.cc.
5832 * src/bitset.cc: Delete file.
5833 * src/Makefile.in: Regenerate.
5835 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5837 PR libstdc++/9527, PR libstdc++/8713
5838 * docs/html/install.html: Mention glibc version requirement.
5839 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5840 with 3.2.1+ (formatting bugfixes).
5841 * docs/html/faq/index.txt: Regenerate.
5843 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5846 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5849 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5852 * testsuite/26_numerics/valarray_operators.cc: New test.
5854 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5856 * docs/html/faq/index.html: Correct link to libg++ information.
5857 * docs/html/faq/index.txt: Regenerated.
5859 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5860 Benjamin Kosnik <bkoz@redhat.com>
5862 Const correctness issue:
5863 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5864 * include/bits/locale_classes.h
5865 (locale::_Impl::_M_facets): Change type to const facet**.
5866 (locale::_Impl::_M_install_facet): Change declaration to
5868 (locale::facet::_M_references): Make mutable.
5869 (locale::facet::_M_add_reference): Declare const.
5870 (locale::facet::_M_remove_reference): Likewise.
5871 * include/bits/locale_facets.tcc
5872 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5873 (has_facet(const locale&)): Likewise.
5875 (locale::facet::_M_add_reference): Adjust definition.
5876 (locale::facet::_M_remove_reference): Likewise.
5878 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5879 const facet** _M_facets.
5880 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5881 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5882 (locale::_Impl::_M_install_facet): Adjust definition to take
5883 const facet* and for const facet** _M_facets.
5884 * testsuite/22_locale/locale/cons/8.cc: Add.
5886 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5888 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5889 Use __FLT_HAS_INIFINITY__ to initialize.
5890 (numeric_limits<float>::has_quiet_NaN): Likewise.
5891 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5893 (numeric_limits<double>::has_quiet_NaN): Likewise.
5894 (numeric_limits<long double>::has_infinity): Use
5895 __LDBL_HAS_INIFINITY__ to initialize.
5896 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5898 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5901 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5902 with bases which are very ambiguous.
5904 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5906 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5907 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5908 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5909 * src/Makefile.in: Regenerate.
5910 * libsupc++/Makefile.in: Regenerate.
5912 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5914 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5915 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5916 version_specific_libs is enabled.
5917 * aclocal.m4, configure: Rebuilt.
5919 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5921 * include/bits/valarray_meta.h: Remove, split into ...
5922 * include/bits/valarray_before.h: ... this, and ...
5923 * include/bits/valarray_after.h: ... this.
5924 * include/std/std_valarray.h: Adjust.
5925 * include/Makefile.am (bits_headers): Adjust.
5926 * include/Makefile.in: Regenerate.
5928 2003-01-24 Andreas Schwab <schwab@suse.de>
5930 * config/linker-map.gnu: Fix for size_t variance.
5932 2003-01-23 Petur Runolfsson <peturr02@ru.is>
5935 * include/std/std_streambuf.h
5936 (basic_streambuf::basic_streambuf,
5937 basic_streambuf::~basic_streambuf,
5938 basic_streambuf::getloc, basic_streambuf::imbue):
5939 Remove _M_buf_locale_init
5940 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
5941 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5942 * testsuite/27_io/streambuf_members.cc (test08): Add.
5943 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
5945 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5947 Revert include ordering.
5948 * config/locale/generic/c_locale.h: Add include guards.
5949 * config/locale/gnu/c_locale.h: Same.
5950 * include/bits/locale_classes.h: Remove cctype include.
5951 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
5952 * include/std/std_fstream.h: Remove streambuf include.
5953 * include/std/std_sstream.h: Remove streambuf include.
5955 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5957 * configure.in (libtool_VERSION): To 6:0:0.
5958 * configure: Regenerated.
5959 * config/linker-map.gnu: Clean.
5961 * src/misc-inst.cc: Remove instantiations.
5963 * include/bits/stl_alloc.h (__malloc_alloc_template):
5965 (__default_alloc_template): To __pool_alloc.
5966 * src/stl-inst.cc: Same.
5967 * include/backward/alloc.h: Update.
5968 * testsuite/ext/allocators.cc: Update.
5970 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
5971 really try to remove these if possible.
5972 * src/locale.cc (std): Same.
5974 * testsuite/abi_check.cc (check_version): Add.
5976 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5977 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
5978 Mark Mitchell <mark@codesourcery.com>
5981 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
5982 (basic_filebuf::underflow): Declare.
5985 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5987 * include/bits/locale_facets.h: Move non-facet classes requiring
5989 * include/bits/locale_classes.h: New.
5990 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
5991 * include/bits/Makefile.in: Regenerate.
5993 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
5994 * config/locale/gnu/c_locale.h: ...here.
5995 * config/locale/generic/c_locale.h: Same.
5997 * include/bits/locale_facets.tcc: Move declarations to...
5998 * include/bits/locale_facets.h: ...here.
5999 * include/bits/basic_ios.h: Tweak includes accordingly.
6000 * include/std/std_sstream.h: Add streambuf include.
6001 * include/std/std_fstream.h: Ditto.
6002 * include/std/std_locale.h: Add locale_classes.h include.
6003 * include/std/std_iosfwd.h: Tweak.
6004 * src/concept-inst.cc: Add iterator include.
6006 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6007 bits as unexported in the future.
6009 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6011 Reshuffle 22_locale testsuite.
6012 * 22_locale/(codecvt.cc money_get.cc
6013 codecvt_members_char_char.cc money_get_members_char.cc
6014 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6015 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6016 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6017 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6018 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6019 money_put_members_char.cc ctor_copy_dtor.cc
6020 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6021 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6022 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6023 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6024 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6025 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6026 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6027 operators.cc ctype_widen_char.cc static_members.cc
6028 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6029 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6030 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6031 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6032 Split up into individual test cases...
6033 * 22_locale/codecvt/1.cc: New.
6034 * 22_locale/codecvt/2.cc: New.
6035 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6036 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6037 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6038 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6039 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6040 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6041 * 22_locale/codecvt/encoding/char/1.cc: New.
6042 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6043 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6044 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6045 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6046 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6047 * 22_locale/codecvt/in/char/1.cc: New.
6048 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6049 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6050 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6051 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6052 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6053 * 22_locale/codecvt/length/char/1.cc: New.
6054 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6055 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6056 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6057 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6058 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6059 * 22_locale/codecvt/max_length/char/1.cc: New.
6060 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6061 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6062 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6063 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6064 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6065 * 22_locale/codecvt/out/char/1.cc: New.
6066 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6067 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6068 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6069 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6070 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6071 * 22_locale/codecvt/unicode/char.cc: New.
6072 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6073 * 22_locale/codecvt/unshift/char/1.cc: New.
6074 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6075 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6076 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6077 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6078 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6079 * 22_locale/collate/1.cc: New.
6080 * 22_locale/collate/2.cc: New.
6081 * 22_locale/collate/compare/char/1.cc: New.
6082 * 22_locale/collate/compare/char/2.cc: New.
6083 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6084 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6085 * 22_locale/collate/compare/wchar_t/1.cc: New.
6086 * 22_locale/collate/compare/wchar_t/2.cc: New.
6087 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6088 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6089 * 22_locale/collate/hash/char/1.cc: New.
6090 * 22_locale/collate/hash/char/2.cc: New.
6091 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6092 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6093 * 22_locale/collate/hash/wchar_t/1.cc: New.
6094 * 22_locale/collate/hash/wchar_t/2.cc: New.
6095 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6096 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6097 * 22_locale/collate/transform/char/2.cc: New.
6098 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6099 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6100 * 22_locale/collate/transform/wchar_t/2.cc: New.
6101 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6102 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6103 * 22_locale/collate_byname/1.cc: New.
6104 * 22_locale/ctype/1.cc: New.
6105 * 22_locale/ctype/2.cc: New.
6106 * 22_locale/ctype/cons/char/1.cc: New.
6107 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6108 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6109 * 22_locale/ctype/is/char/1.cc: New.
6110 * 22_locale/ctype/is/char/2.cc: New.
6111 * 22_locale/ctype/is/char/3.cc: New.
6112 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6113 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6114 * 22_locale/ctype/is/wchar_t/1.cc: New.
6115 * 22_locale/ctype/is/wchar_t/2.cc: New.
6116 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6117 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6118 * 22_locale/ctype/narrow/char/1.cc: New.
6119 * 22_locale/ctype/narrow/char/2.cc: New.
6120 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6121 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6122 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6123 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6124 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6125 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6126 * 22_locale/ctype/scan/char/1.cc: New.
6127 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6128 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6129 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6130 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6131 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6132 * 22_locale/ctype/to/char/1.cc: New.
6133 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6134 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6135 * 22_locale/ctype/to/wchar_t/1.cc: New.
6136 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6137 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6138 * 22_locale/ctype/widen/char/1.cc: New.
6139 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6140 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6141 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6142 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6143 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6144 * 22_locale/facet/1.cc: New.
6145 * 22_locale/facet/2.cc: New.
6146 * 22_locale/global_templates/1.cc: New.
6147 * 22_locale/locale/cons/1.cc: New.
6148 * 22_locale/locale/cons/2.cc: New.
6149 * 22_locale/locale/cons/3.cc: New.
6150 * 22_locale/locale/cons/4.cc: New.
6151 * 22_locale/locale/cons/5.cc: New.
6152 * 22_locale/locale/cons/6.cc: New.
6153 * 22_locale/locale/cons/7.cc: New.
6154 * 22_locale/locale/global_locale_objects/1.cc: New.
6155 * 22_locale/locale/global_locale_objects/2.cc: New.
6156 * 22_locale/locale/global_locale_objects/3.cc: New.
6157 * 22_locale/locale/operations/1.cc: New.
6158 * 22_locale/locale/operations/2.cc: New.
6159 * 22_locale/messages/1.cc: New.
6160 * 22_locale/messages/2.cc: New.
6161 * 22_locale/messages/members/char/1.cc: New.
6162 * 22_locale/messages/members/char/2.cc: New.
6163 * 22_locale/messages/members/char/3.cc: New.
6164 * 22_locale/messages/members/char/wrapped_env.cc: New.
6165 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6166 * 22_locale/messages_byname/1.cc: New.
6167 * 22_locale/money_get/1.cc: New.
6168 * 22_locale/money_get/2.cc: New.
6169 * 22_locale/money_get/get/char/1.cc: New.
6170 * 22_locale/money_get/get/char/2.cc: New.
6171 * 22_locale/money_get/get/char/3.cc: New.
6172 * 22_locale/money_get/get/char/4.cc: New.
6173 * 22_locale/money_get/get/char/5.cc: New.
6174 * 22_locale/money_get/get/char/6.cc: New.
6175 * 22_locale/money_get/get/char/7.cc: New.
6176 * 22_locale/money_get/get/char/8.cc: New.
6177 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6178 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6179 * 22_locale/money_get/get/wchar_t/1.cc: New.
6180 * 22_locale/money_get/get/wchar_t/2.cc: New.
6181 * 22_locale/money_get/get/wchar_t/3.cc: New.
6182 * 22_locale/money_get/get/wchar_t/4.cc: New.
6183 * 22_locale/money_get/get/wchar_t/5.cc: New.
6184 * 22_locale/money_get/get/wchar_t/6.cc: New.
6185 * 22_locale/money_get/get/wchar_t/7.cc: New.
6186 * 22_locale/money_get/get/wchar_t/8.cc: New.
6187 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6188 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6189 * 22_locale/money_put/1.cc: New.
6190 * 22_locale/money_put/2.cc: New.
6191 * 22_locale/money_put/put/char/1.cc: New.
6192 * 22_locale/money_put/put/char/2.cc: New.
6193 * 22_locale/money_put/put/char/3.cc: New.
6194 * 22_locale/money_put/put/char/4.cc: New.
6195 * 22_locale/money_put/put/char/5.cc: New.
6196 * 22_locale/money_put/put/char/6.cc: New.
6197 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6198 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6199 * 22_locale/money_put/put/wchar_t/1.cc: New.
6200 * 22_locale/money_put/put/wchar_t/2.cc: New.
6201 * 22_locale/money_put/put/wchar_t/3.cc: New.
6202 * 22_locale/money_put/put/wchar_t/4.cc: New.
6203 * 22_locale/money_put/put/wchar_t/5.cc: New.
6204 * 22_locale/money_put/put/wchar_t/6.cc: New.
6205 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6206 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6207 * 22_locale/moneypunct/1.cc: New.
6208 * 22_locale/moneypunct/2.cc: New.
6209 * 22_locale/moneypunct/3.cc: New.
6210 * 22_locale/moneypunct/members/char/1.cc: New.
6211 * 22_locale/moneypunct/members/char/2.cc: New.
6212 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6213 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6214 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6215 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6216 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6217 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6218 * 22_locale/moneypunct_byname/1.cc: New.
6219 * 22_locale/num_get/1.cc: New.
6220 * 22_locale/num_get/2.cc: New.
6221 * 22_locale/num_get/get/char/1.cc: New.
6222 * 22_locale/num_get/get/char/2.cc: New.
6223 * 22_locale/num_get/get/char/3.cc: New.
6224 * 22_locale/num_get/get/char/4.cc: New.
6225 * 22_locale/num_get/get/char/5.cc: New.
6226 * 22_locale/num_get/get/char/6.cc: New.
6227 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6228 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6229 * 22_locale/num_get/get/wchar_t/1.cc: New.
6230 * 22_locale/num_get/get/wchar_t/2.cc: New.
6231 * 22_locale/num_get/get/wchar_t/3.cc: New.
6232 * 22_locale/num_get/get/wchar_t/4.cc: New.
6233 * 22_locale/num_get/get/wchar_t/5.cc: New.
6234 * 22_locale/num_get/get/wchar_t/6.cc: New.
6235 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6236 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6237 * 22_locale/num_put/1.cc: New.
6238 * 22_locale/num_put/2.cc: New.
6239 * 22_locale/num_put/put/char/1.cc: New.
6240 * 22_locale/num_put/put/char/2.cc: New.
6241 * 22_locale/num_put/put/char/3.cc: New.
6242 * 22_locale/num_put/put/char/4.cc: New.
6243 * 22_locale/num_put/put/char/5.cc: New.
6244 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6245 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6246 * 22_locale/num_put/put/wchar_t/1.cc: New.
6247 * 22_locale/num_put/put/wchar_t/2.cc: New.
6248 * 22_locale/num_put/put/wchar_t/3.cc: New.
6249 * 22_locale/num_put/put/wchar_t/4.cc: New.
6250 * 22_locale/num_put/put/wchar_t/5.cc: New.
6251 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6252 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6253 * 22_locale/numpunct/1.cc: New.
6254 * 22_locale/numpunct/2.cc: New.
6255 * 22_locale/numpunct/members/char/1.cc: New.
6256 * 22_locale/numpunct/members/char/2.cc: New.
6257 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6258 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6259 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6260 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6261 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6262 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6263 * 22_locale/numpunct_byname/1.cc: New.
6264 * 22_locale/numpunct_byname/2.cc: New.
6265 * 22_locale/time_get/1.cc: New.
6266 * 22_locale/time_get/2.cc: New.
6267 * 22_locale/time_get/date_order/char/1.cc: New.
6268 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6269 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6270 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6271 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6272 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6273 * 22_locale/time_get/get_date/char/1.cc: New.
6274 * 22_locale/time_get/get_date/char/2.cc: New.
6275 * 22_locale/time_get/get_date/char/3.cc: New.
6276 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6277 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6278 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6279 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6280 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6281 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6282 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6283 * 22_locale/time_get/get_monthname/char/1.cc: New.
6284 * 22_locale/time_get/get_monthname/char/2.cc: New.
6285 * 22_locale/time_get/get_monthname/char/3.cc: New.
6286 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6287 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6288 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6289 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6290 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6291 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6292 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6293 * 22_locale/time_get/get_time/char/1.cc: New.
6294 * 22_locale/time_get/get_time/char/2.cc: New.
6295 * 22_locale/time_get/get_time/char/3.cc: New.
6296 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6297 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6298 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6299 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6300 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6301 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6302 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6303 * 22_locale/time_get/get_weekday/char/1.cc: New.
6304 * 22_locale/time_get/get_weekday/char/2.cc: New.
6305 * 22_locale/time_get/get_weekday/char/3.cc: New.
6306 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6307 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6308 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6309 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6310 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6311 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6312 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6313 * 22_locale/time_get/get_year/char/1.cc: New.
6314 * 22_locale/time_get/get_year/char/3.cc: New.
6315 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6316 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6317 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6318 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6319 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6320 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6321 * 22_locale/time_put/1.cc: New.
6322 * 22_locale/time_put/2.cc: New.
6323 * 22_locale/time_put/put/char/1.cc: New.
6324 * 22_locale/time_put/put/char/10.cc: New.
6325 * 22_locale/time_put/put/char/2.cc: New.
6326 * 22_locale/time_put/put/char/3.cc: New.
6327 * 22_locale/time_put/put/char/4.cc: New.
6328 * 22_locale/time_put/put/char/5.cc: New.
6329 * 22_locale/time_put/put/char/6.cc: New.
6330 * 22_locale/time_put/put/char/7.cc: New.
6331 * 22_locale/time_put/put/char/8.cc: New.
6332 * 22_locale/time_put/put/char/9.cc: New.
6333 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6334 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6335 * 22_locale/time_put/put/wchar_t/1.cc: New.
6336 * 22_locale/time_put/put/wchar_t/10.cc: New.
6337 * 22_locale/time_put/put/wchar_t/2.cc: New.
6338 * 22_locale/time_put/put/wchar_t/3.cc: New.
6339 * 22_locale/time_put/put/wchar_t/4.cc: New.
6340 * 22_locale/time_put/put/wchar_t/5.cc: New.
6341 * 22_locale/time_put/put/wchar_t/6.cc: New.
6342 * 22_locale/time_put/put/wchar_t/7.cc: New.
6343 * 22_locale/time_put/put/wchar_t/8.cc: New.
6344 * 22_locale/time_put/put/wchar_t/9.cc: New.
6345 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6346 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6348 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6350 * config/locale/generic/messages_members.h
6351 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6352 unqualified members of base clasess.
6354 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6355 Jeffrey Oldham <oldham@codesourcery.com>
6357 * config/locale/gnu/messages_members.h: Use this-> to refer to
6358 unqualified members of base clasess.
6359 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6360 * include/bits/codecvt.h: Likewise.
6361 * include/bits/deque.tcc: Likewise.
6362 * include/bits/fstream.tcc: Likewise.
6363 * include/bits/istream.tcc: Likewise.
6364 * include/bits/list.tcc: Likewise.
6365 * include/bits/locale_facets.h: Likewise.
6366 * include/bits/ostream.tcc: Likewise.
6367 * include/bits/sstream.tcc: Likewise.
6368 * include/bits/stl_bvector.h: Likewise.
6369 * include/bits/stl_deque.h: Likewise.
6370 * include/bits/stl_list.h: Likewise.
6371 * include/bits/stl_tree.h: Likewise.
6372 * include/bits/stl_vector.h: Likewise.
6373 * include/bits/vector.tcc: Likewise.
6374 * include/ext/ropeimpl.h: Likewise.
6375 * include/ext/stdio_filebuf.h: Likewise.
6376 * include/ext/stl_rope.h: Likewise.
6377 * include/std/std_fstream.h: Likewise.
6378 * include/std/std_sstream.h: Likewise.
6380 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6382 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6384 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6386 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6387 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6388 * aclocal.m4: Regenerate.
6389 * configure: Regenerate.
6390 * testsuite/Makefile.am (all-local): Add conditional rule to
6391 generate testsuite_wchar_t.
6392 * testsuite/Makefile.in: Regenerate.
6393 * testsuite/lib/libstdc++-v3-dg.exp
6394 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6395 testsuite_wchar_t is not present in the build directory.
6396 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6397 Remove setulimit bits.
6398 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6399 * testsuite/Makefile.am (CLEANFILES): Add.
6400 * testsuite/Makefile.in: Regenerate.
6402 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6404 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6407 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6409 Further conform g++'s __vmi_class_type_info to the C++ ABI
6411 * libsupc++/cxxabi.h
6412 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6413 required by the specification.
6415 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6417 Renames, namespaces for testsuite utilities.
6418 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6419 (gnu_allocator_tracker): Rename to allocation_tracker.
6420 (gnu_new_allocator): Rename to tracker_alloc.
6421 (__set_testsuite_memlimit): Rename to set_memory_limits.
6422 (gnu_assignment_operator): Rename to assignment_operator.
6423 (gnu_destructor): Rename to destructor.
6424 (gnu_copy_tracker): Rename to copy_tracker.
6425 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6426 (run_tests_wrapped_locale): New.
6427 (run_tests_wrapped_env): New.
6428 * testsuite/testsuite_hooks.cc: Same.
6429 (class locale_data): Add.
6430 (class enviornment_variable): Add.
6431 (class not_found): Add.
6432 * testsuite/testsuite_allocator.h: Same.
6433 * testsuite/testsuite_allocator.cc: Same.
6434 * testsuite/23_containers/deque_ctor.cc
6435 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6437 Change gnu_new_allocator to tracker_alloc.
6438 Change gnu_counting_struct to counter.
6439 Change gnu_copy_tracker to copy_tracker.
6440 Change gnu_copy_constructor to copy_constructor.
6441 Change gnu_assignment_operator to assignment_operator.
6443 * testsuite/23_containers/vector_capacity.cc: Same.
6444 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6445 * testsuite/23_containers/list_modifiers.cc: Change
6446 gnu_copy_tracker to copy_tracker.
6447 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6448 __set_testsuite_memlimit to set_memory_limits.
6449 * testsuite/21_strings/insert.cc (main): Same.
6450 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6451 * testsuite/27_io/stringstream.cc: Same.
6452 * testsuite/27_io/stringbuf.cc: Same.
6453 * testsuite/27_io/streambuf.cc: Same.
6454 * testsuite/27_io/ostream.cc: Same.
6455 * testsuite/27_io/istream.cc: Same.
6456 * testsuite/27_io/fstream.cc: Same.
6457 * testsuite/lib/libstdc++-v3-dg.exp
6458 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6459 three levels deeper in glob patterns.
6461 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6463 * docs/doxygen/tables.html: Finished now.
6464 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6465 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6468 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6469 include/bits/stl_deque.h, include/bits/stl_list.h,
6470 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6473 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6475 * configure.in: Revert.
6476 * configure: Regenerate.
6478 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6480 * include/Makefile.am (install-data-local): Prepend
6481 $(DESTDIR) to destination paths in all (un)installation
6482 commands. Use ${c_base_builddir} and ${std_builddir}
6483 as destination subdirectories to achieve consistency with
6484 preceding mkinstalldirs commands. No effect because both
6485 variables contain "." only.
6486 * include/Makefile.in: Regenerate.
6488 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6490 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6491 * include/Makefile.in: Regenerate.
6493 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6494 * aclocal.m4: Regenerate.
6496 * configure.in: Don't add new multi-do rules every time the
6497 directory is reconfigured.
6498 * configure: Regenerate.
6500 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6501 Nathan Myers <ncm@cantrip.org>
6503 * src/Makefile.am (stamp-debug): Clean.
6504 * src/Makefile.in: Regenerate.
6506 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6509 * Makefile.am (distclean-multi): Fix.
6510 * Makefile.in: Regenerate.
6512 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6514 * include/bits/locale_facets.h (messages): Move ctor, dtor
6516 (__timepunct): Same.
6517 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6518 definitions. Conditionalize for GNU systems.
6519 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6521 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6522 definitions. Conditionalize for GNU systems.
6523 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6525 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6526 * src/locale.cc: Define.
6527 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6529 * config/locale/gnu/time_members.h: Use it.
6530 * config/locale/gnu/messages_members.h: Use it.
6531 * config/linker-map.gnu: Add locale::facets details.
6532 * include/Makefile.am (target_headers_extra): Add time_members.h.
6533 * include/Makefile.in: Regenerate.
6534 * acinclude.m4: Export CTIME_H.
6535 * aclocal.m4: Regenerate.
6536 * configure: Regnerate.
6538 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6541 (codecvt<char, char, mbstate_t>::do_in, do_out):
6542 Tweak parameters to avoid unused parameter warnings.
6544 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6547 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6548 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6549 account the possibility of %{g,G} conversion specifiers
6550 inside _S_format_float.
6551 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6553 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6555 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6556 libstdc++-v3-list-sourcefiles): Additionally handle files one
6557 level deeper in glob patterns.
6559 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6560 * testsuite/27_io/istream_extractor_arith/01.cc,
6561 testsuite/27_io/istream_extractor_arith/02.cc,
6562 testsuite/27_io/istream_extractor_arith/03.cc,
6563 testsuite/27_io/istream_extractor_arith/06.cc,
6564 testsuite/27_io/istream_extractor_arith/07.cc,
6565 testsuite/27_io/istream_extractor_arith/08.cc,
6566 testsuite/27_io/istream_extractor_arith/09.cc,
6567 testsuite/27_io/istream_extractor_arith/10.cc,
6568 testsuite/27_io/istream_extractor_arith/11.cc,
6569 testsuite/27_io/istream_extractor_arith/12.cc,
6570 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6571 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6574 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6578 (codecvt<char, char, mbstate_t>::do_in, do_out):
6579 Implement the resolution of DR19 (TC).
6580 * testsuite/22_locale/codecvt_members_char_char.cc
6583 2003-01-02 Jason Merrill <jason@redhat.com>
6585 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6586 *__mem is also an output.
6587 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.