1 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
3 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
4 Avoid unnecessarily calling __builtin_alloca and dealing
5 explicitly with width() smaller than zero.
6 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
7 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
8 const char*), operator<<(basic_ostream<char, _Traits>&,
9 const char*), operator<<(basic_ostream, const basic_string&)):
12 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
14 * config/linker-map.gnu: Make more *_type_info bits visible.
15 Move new/delete bits back into GLIBCXX space.
17 * include/bits/locale_classes.h: Move _M_id out of line, so that
18 locale::id::_S_highwater can be removed from the export list.
19 * src/locale.cc (locale::id::_M_id): Define.
21 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
23 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
26 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
29 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
30 to conform to the requirements of 22.2.1.
31 * config/os/bsd/freebsd/ctype_base.h: Likewise.
32 * config/os/djgpp/ctype_base.h: Likewise.
33 * config/os/generic/ctype_base.h: Likewise.
34 * config/os/gnu-linux/ctype_base.h: Likewise.
35 * config/os/hpux/ctype_base.h: Likewise.
36 * config/os/irix/irix6.5/ctype_base.h: Likewise.
37 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
38 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
39 * testsuite/22_locale/ctype/11844.cc: New.
41 * config/locale/generic/ctype_members.cc (do_is):
42 Generically, use a bitmasksize of 15 (instead of 10), since
43 we don't know the numerical encoding of the various categories
44 in the underlying /usr/include/ctype.h.
46 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
48 * src/string-inst.cc: Prune.
49 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
50 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
52 2003-10-09 Petur Runolfsson <peturr02@ru.is>
54 * src/io-inst.cc: Don't include iostream.
55 * include/bits/ios_base.h (ios_base::failure): Use string.
56 * src/Makefile.am: Add ios_failure.cc.
57 * src/Makefile.in: Regenerate.
58 * src/ios.cc: Move ios_base::failure definitions to...
59 * src/ios_failure.cc: ...here. New.
61 2003-10-09 Petur Runolfsson <peturr02@ru.is>
64 * include/bits/fstream.tcc (basic_filebuf::seekoff):
65 Move code needed for both seekoff and seekpos...
66 (basic_filebuf::_M_seek): ...here. New function.
67 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
68 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
69 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
71 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
73 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
75 * include/bits/locale_facets.tcc: More minor cosmetic
76 changes and const-ifications of some variables.
78 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
80 * include/bits/locale_facets.tcc: Minor cosmetic changes
81 and const-ifications of some variables.
83 * include/bits/locale_facets.tcc
84 (money_get::do_get(..., string_type&)): Simplify an if-else.
86 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
89 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
90 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
91 * config/locale/generic/ctype_members.cc: Same.
92 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
94 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
96 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
97 Improve performance-wise: avoid one traits::copy, avoid
98 the __builtin_alloca, streamline.
100 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
102 * include/bits/locale_facets.tcc
103 (num_put::do_put(..., bool)): Prefer ?: to if-else.
104 (time_get::_M_extract_name): Qualify min with std::.
105 (__pad<>::_S_pad): Constify two variables; simplify an
106 if-else statement factoring out some code.
108 * include/bits/locale_facets.tcc: Minor cosmetic changes.
110 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
112 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
113 Constify a couple of variables.
114 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
117 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
118 Petur Runolfsson <peturr02@ru.is>
120 * include/ext/stdio_sync_filebuf.h: Don't include the whole
121 <fstream>, only <streambuf> and <cstdio>.
123 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
126 * include/bits/fstream.tcc (imbue): In case a codecvt facet
127 is not available, set _M_codecvt = 0.
128 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
130 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
133 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
135 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
137 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
138 * src/locale.cc: Define.
139 * src/localename.cc: Use it.
140 * config/locale/generic/time_members.h: Same.
141 * config/locale/gnu/messages_members.h: Same.
142 * config/locale/gnu/time_members.h: Same.
144 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
147 * include/bits/fstream.tcc (seekoff): Ignore the openmode
149 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
150 seekpos): Remove the openmode argument.
151 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
152 seekpos): Remove redundant placeholder for the openmode argument.
153 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
154 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
155 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
156 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
157 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
159 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
161 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
162 (locale::facet::_S_get_c_locale): Same.
164 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
166 * config/linker-map.gnu: Export _S_get_c_locale instead of
169 2003-10-02 Petur Runolfsson <peturr02@ru.is>
171 * config/locale/generic/c_locale.cc
172 (category_names, locale::_S_categories): Const qualify.
173 * config/locale/gnu/c_locale.cc: Same.
174 * config/locale/generic/time_members.h (__timepunct::__timepunct):
175 Copy string contents before assigning to _M_name_timepunct,
176 qualify strcpy and strlen with std::.
177 * config/locale/gnu/time_members.h: Same.
178 * config/locale/gnu/messages_members.h (messages::messages):
179 Copy string contents before assigning to _M_name_messages,
180 qualify strcpy and strlen with std::.
181 * config/os/gnu-linux/ctype_noninline.h
182 (ctype<char>::classic_table()): Don't call locale::classic().
183 * include/bits/locale_classes.h
184 (locale::_S_categories): Const qualify.
185 (locale::_S_once, locale::_S_initialize_once,
186 locale::facet::_S_once, locale::facet::_S_initialize_once,
187 locale::facet::_S_get_c_locale): Declare.
188 (locale::_S_initialize): Don't define.
189 (locale::facet::_S_c_locale): Make private.
190 (locale::facet::_S_c_name): Same, const qualify.
191 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
192 parameters, add throw() specifier.
193 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
194 messages::_M_name_messages): Const qualify.
196 (locale::_S_once, locale::facet::_S_once): Define.
197 (locale::classic): Move initialization code...
198 (locale::_S_initialize_once): ...here.
199 (locale::_S_initialize): Call _S_initialize_once through
201 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
202 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
203 __gthread_once before returning _S_c_locale.
204 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
205 Drop unused parameters, add throw() specifier, don't initialize
206 locale::facet::_S_c_locale and _S_c_name.
208 * config/locale/generic/messages_members.h:
209 Replace _S_c_locale with _S_get_c_locale().
210 * config/locale/gnu/c_locale.cc: Same.
211 * config/locale/gnu/messages_members.h: Same.
212 * config/locale/gnu/numeric_members.cc: Same.
213 * config/locale/gnu/time_members.cc: Same.
214 * config/os/gnu-linux/ctype_noninline.h: Same.
215 * include/bits/locale_facets.h: Same.
216 * include/bits/locale_facets.tcc: Same.
217 * src/codecvt.cc: Same.
218 * src/ctype.cc: Same.
220 2003-10-02 Carlo Wood <carlo@alinoe.com>
222 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
223 Decode symbols that start with _GLOBAL_[ID]_ differently: the
224 trailing part ends with a terminating zero and is not necessarily an
226 * src/demangle.cc (): Same.
227 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
229 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
231 * testsuite/22_locale/locale/cons/12438.cc: Use
232 __gnu_test::try_named_locale("").
234 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
236 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
237 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
239 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
240 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
242 * config.h.in, configure: Regenerate.
243 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
246 2003-10-01 Nathan Myers <ncm@cantrip.org>
248 * include/bits/locale_facets.tcc (time_put::put): Avoid
249 expensive *__s++, in favor of *__s, ++__s.
251 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
253 * include/bits/locale_facets.tcc (time_put::put): Minor
254 tweak to the previous commit.
256 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
259 * include/bits/locale_facets.tcc (time_put::put): Deal
260 with the three issues pointed out by the PR.
261 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
262 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
263 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
264 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
265 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
267 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
269 * include/bits/stl_algo.h: Minor cosmetic reformattings.
271 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
273 * include/bits/stl_algo.h (search_n): Tweak, to spare the
276 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
278 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
279 qualify exception name.
281 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
284 * include/bits/locale_facets.tcc (locale::combine): Don't
285 leak memory if _M_replace_facet throws.
286 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
288 * include/bits/locale_classes.h (locale::locale(const locale&,
289 _Facet*)): Tweak, use consistently _M_remove_reference.
291 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
293 PR libstdc++/12352 (cont)
294 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
295 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
297 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
298 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
299 !_M_caches, !_M_names.
301 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
303 * configure.host: Handle Solaris 2.5 micro releases explicitly.
304 Remove wildcards from Solaris 2.6, 7-9: there were no
306 Treat Solaris 10 and up like 7-9.
308 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
310 * include/bits/stl_algo.h (search_n): Improve the previous
311 fix as suggested by Martin.
313 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
316 * include/bits/istream.tcc (peek): Set eofbit if sgetc
318 * testsuite/27_io/basic_istream/peek/char/12296.cc:
321 2003-09-29 Nathan Myers <ncm@cantrip.org>
322 Paolo Carlini <pcarlini@unitus.it>
325 * include/bits/stl_algo.h (search_n):
326 Use iterator_traits<>::difference_type for __n.
327 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
329 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
331 * testsuite/22_locale/locale/cons/12352.cc:
332 Use __attribute__((unused)) for test.
334 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
336 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
337 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
338 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
340 2003-09-26 Brad Spencer <spencer@infointeractive.com>
342 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
343 Explicitly qualify exceptions.
344 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
345 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
346 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
347 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
349 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
352 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
353 size_t)): Don't leak if memory allocations for _M_facets,
354 _M_caches, and _M_names fail.
355 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
356 (locale::_Impl::_M_replace_categories(const _Impl*,
358 (locale::_Impl::_M_install_facet(const locale::id*,
359 const facet*)): Ditto.
360 * include/bits/locale_classes.h (locale::locale(const locale&,
361 _Facet*)): Don't leak memory.
362 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
364 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
365 bool)): Qualify with std:: strcpy, tweak.
366 * include/bits/locale_classes.h
367 (locale::_Impl::_M_check_same_name): Qualify strcmp.
369 2003-09-25 Brad Spencer <spencer@infointeractive.com>
372 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
374 * aclocal.m4: Regenerate.
375 * config.h.in: Regenerate.
376 * configure: Regenerate.
377 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
378 * config/io/basic_file_stdio.cc: Guard unistd.h.
379 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
380 * include/c_std/std_cwchar.h: Same.
381 * include/c_std/std_cwctype.h: Same.
383 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
386 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
387 * config/locale/generic/ctype_members.cc: Same.
388 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
389 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
391 * config/os/generic/ctype_inline.h: Update.
393 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
395 * src/Makefile.am (version_dep): New variable.
396 (libstdc___la_DEPENDENCIES): Use it to add dependency on
397 libstdc++-symbol.ver only when using symbol versioning.
398 * src/Makefile.in: Regenerate.
400 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
402 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
403 * testsuite/testsuite_hooks.h: Same.
404 * testsuite/*/*.cc: Same.
406 2003-09-22 Petur Runolfsson <peturr02@ru.is>
408 * include/bits/istream.tcc (basic_istream::read,
409 basic_istream::readsome, basic_istream::putback,
410 basic_istream::unget, operator>>(basic_istream, CharT)):
411 Avoid redundant setstate(failbit) calls when sentry::operator bool()
414 2003-09-22 Carlo Wood <carlo@alinoe.com>
417 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
418 char const*, int, int)): Remove unused identifier
419 cv_qualifier for overloaded constructor.
421 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
424 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
425 WARN_FLAGS, remove -Wno-format.
426 * aclocal.m4: Regenerate.
427 * configure: Regenerate.
429 2003-09-18 Petur Runolfsson <peturr02@ru.is>
431 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
432 * config/io/basic_file_stdio.h: Same.
433 * include/std/std_fstream.h (__ctype_type): Delete.
434 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
436 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
439 * configure.host (abi_baseline_pair): Error out on solaris2
440 configurations without a minor version number.
442 2003-09-13 Phil Edwards <phil@codesourcery.com>
444 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
446 * docs/doxygen/user.cfg.in: And here.
448 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
449 Andreas Jaeger <aj@suse.de>
452 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
453 abi_check if cross compiling.
454 * aclocal.m4: Regenerated.
455 * configure: Regenerated.
457 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
459 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
460 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
461 (__cxa_vec_new3): Likewise.
463 2003-09-10 Petur Runolfsson <peturr02@ru.is>
465 * include/bits/fstream.tcc (basic_filebuf::seekoff):
466 Use codecvt::length to handle variable-width stateless encodings
468 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
469 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
471 2003-09-10 Alan Modra <amodra@bigpond.net.au>
473 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
476 2003-09-09 Alan Modra <amodra@bigpond.net.au>
478 * configure: Regenerate.
480 2003-09-09 David Edelsohn <edelsohn@gnu.org>
482 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
483 qualifier from _S_synced_with_stdio.
485 2003-09-09 Bernardo Innocenti <bernie@develer.com>
487 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
489 2003-09-04 Petur Runolfsson <peturr02@ru.is>
492 * include/bits/fstream.tcc
493 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
494 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
495 _M_ext_buf_size, _M_ext_next and _M_ext_end.
496 (basic_filebuf::underflow): Handle variable-width stateless
497 encodings (codecvt::encoding() == 0), including UTF-8.
498 * include/std/std_fstream.h (basic_filebuf):
499 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
500 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
501 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
502 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
503 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
504 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
505 * testsuite/27_io/objects/wchar_t/12.cc: New test.
506 * testsuite/27_io/objects/wchar_t/13.cc: New test.
508 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
510 * docs/html/faq/index.html: Note that a namespace alias can't be
511 used when specialising templates in extension namespace.
512 * docs/html/faq/index.txt: Regenerate.
514 2003-09-03 Petur Runolfsson <peturr02@ru.is>
517 * include/ext/stdio_sync_filebuf.h
518 (stdio_sync_filebuf::_M_unget_buf): Declare it.
519 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
520 (stdio_sync_filebuf::uflow): Store the returned character in
522 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
523 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
524 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
525 _M_unget_buf, if any, else eof().
526 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
527 _M_unget_buf, if any, else eof().
528 * testsuite/27_io/objects/char/12048.cc: Rename to...
529 * testsuite/27_io/objects/char/12048-1.cc: ...this.
530 * testsuite/27_io/objects/char/12048-2.cc: New test.
531 * testsuite/27_io/objects/char/12048-3.cc: New test.
532 * testsuite/27_io/objects/char/12048-4.cc: New test.
533 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
534 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
535 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
536 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
537 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
538 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
539 * testsuite/ext/stdio_sync_filebuf_char.cc
540 (test02, test03, test04, test05): New tests.
541 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
542 (test02, test03, test04, test05): New tests.
544 2003-09-03 Petur Runolfsson <peturr02@ru.is>
546 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
547 stringbuf or strstreambuf. Fix typos.
549 2003-09-02 Phil Edwards <phil@codesourcery.com>
551 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
553 * config.h.in: Add _GLIBCXX_HOSTED.
554 * libsupc++/eh_term_handler.cc: Test it here; initialize
555 __terminate_handler to std::abort if freestanding.
556 * aclocal.m4, configure: Regenerated.
557 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
559 2003-08-29 Nathan Myers <ncm@cantrip.org>
562 * include/bits/locale_facets.tcc (__pad): delete dead code.
564 2003-08-28 Alan Modra <amodra@bigpond.net.au>
566 * configure.ac: Test $with_cross_host against $build_alias, not $build.
567 * configure: Regenerate.
569 2003-08-27 Petur Runolfsson <peturr02@ru.is>
571 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
572 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
574 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
576 * Makefile.am: Remove trailing whitespace. Remove needless
577 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
578 * include/Makefile.am: Likewise.
579 * libmath/Makefile.am: Likewise.
580 * libsupc++/Makefile.am: Likewise.
581 * po/Makefile.am: Likewise.
582 * src/Makefile.am: Likewise.
583 * testsuite/Makefile.am: Likewise.
585 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
586 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
587 testsuite/Makefile.in: Regenerated.
589 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
591 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
593 * aclocal.m4, configure: Regenerate.
595 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
597 * acinclude.m4: Include no-executables.m4.
598 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
599 * aclocal.m4: Regenerated.
600 * configure: Regenerated.
602 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
604 * acinclude.m4: Don't call AC_ISC_POSIX.
605 * aclocal.m4: Regenerated.
606 * configure: Regenerated.
608 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
610 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
611 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
612 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
613 used elsewhere in this file.
614 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
615 * configure.ac: ...called here to expand all conditionals.
616 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
617 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
618 (install-freestanding-headers): New target, a subset of
619 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
621 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
622 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
623 src/Makefile.in, testsuite/Makefile.in: Regenerated.
625 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
627 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
628 pathnames from generated tag file.
630 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
632 * Makefile.am: Add comment.
633 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
635 * configure.ac: Use them both here, instead of hardcoded lists.
637 * fragment.am: Add STAMP varaible.
638 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
640 (stamp-*): Move file creation rule outside of 'if' branches to
641 ensure the stamp-* files are actually updated. Use $(STAMP).
642 * src/Makefile.am: Remove now-nonexistant variable.
643 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
645 * po/Makefile.am: Include same fragment as all the others.
647 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
648 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
650 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
652 * testsuite/data/cin_unget-1.txt: New.
653 * testsuite/27_io/objects/char/12048.cc: New.
655 2003-08-25 Zack Weinberg <zack@codesourcery.com>
657 * config/os/hpux/os_defines.h: Unconditionally define
658 _GLIBCXX_GTHREAD_USE_WEAK to 0.
660 2003-08-19 Geoffrey Keating <geoffk@apple.com>
662 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
663 crosses to Darwin targets.
664 * configure: Regenerate.
666 2003-08-19 Petur Runolfsson <peturr02@ru.is>
668 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
670 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
672 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
673 in the patch from 3 minutes ago. Boy, is my face red.
674 * configure: At least I remembered to regenerate this.
676 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
678 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
679 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
680 things from the top level.
681 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
682 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
683 (currently unused). Strip the fake-VPATH shell fragment from
684 automake-generated rules, if present.
685 * linkage.m4: Add comment.
687 * fragment.am: New file, containing factored-out common settings.
688 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
689 * Makefile.am: Include fragment.am. Remove common variables.
690 * include/Makefile.am: Likewise.
691 * libmath/Makefile.am: Likewise.
692 * libsupc++/Makefile.am: Likewise.
693 * po/Makefile.am: Likewise. Print rules during check.
694 * src/Makefile.am: Likewise.
695 * testsuite/Makefile.am: Likewise.
697 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
698 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
699 src/Makefile.in, testsuite/Makefile.in: Regenerate.
701 2003-08-11 John Levon <levon@movementarian.org>
703 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
704 remaining places for the name change from GLIBCPP_FORCE_NEW
707 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
709 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
711 * include/bits/basic_ios.tcc: Same.
712 * include/bits/istream.tcc: Same.
713 * include/bits/locale_facets.h: Same.
714 * include/bits/ostream.tcc: Same.
715 * include/std/std_istream.h: Same.
716 * include/std/std_ostream.h: Same.
717 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
719 * include/ext/rope: Remove build warning.
721 2003-08-11 Andreas Jaeger <aj@suse.de>
723 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
725 * include/Makefile.in: Regenerated.
727 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
729 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
730 when calling AC_PROG_CC.
731 * aclocal.m4, configure: Regenerate.
733 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
735 * acinclude.m4: Properly quote variable which will be expanded
736 inside makefiles. Use CXX instead of CC to extract compiler info.
737 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
738 correct form in PACKAGE.
739 * aclocal.m4, configure: Regenerate.
741 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
743 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
744 (check-abi-verbose): Same.
745 * testsuite/testsuite_performance.h (report_performance): Same.
747 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
749 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
751 2003-08-07 Doug Gregor <dgregor@apple.com>
753 * include/bits/char_traits.h (char_traits::not_eof): Match operand
756 2003-08-07 Bernardo Innocenti <bernie@develer.com>
759 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
760 Replace variants with new BSET-based version.
762 2003-08-07 Carlo Wood <carlo@alinoe.com>
764 * include/bits/demangle.h: Do not use cctype functions that depend
767 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
769 * configure.in: Rename...
770 * configure.ac: ...to this.
771 * docs/html/17_intro/porting.texi: Update name.
773 * docs/html/17_intro/porting.html: Regenerate.
774 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
775 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
776 testsuite/Makefile.in: Regenerate (picks up new dependancy).
778 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
780 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
781 pipe, open the window to let out the fumes, redo the option-handling
782 logic to properly execute the detection test.
783 * aclocal.m4, configure: Regenerate.
785 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
787 Convert to new autotools.
788 * acconfig.h: Update with correct names.
789 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
790 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
791 * configure.in: Update. Split hardcoded cross-configury settings
793 * crossconfig.m4: ...here. New file. Contents untouched.
794 * acinclude.m4: Reorganize and rewrite as needed. Split large
796 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
798 * scripts/testsuite_flags.in: Update.
800 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
801 variables (already generated by automake).
802 * include/Makefile.am: Ditto.
803 * libmath/Makefile.am: Ditto.
804 * libsupc++/Makefile.am: Ditto.
805 * po/Makefile.am: Ditto.
806 * src/Makefile.am: Ditto.
808 * aclocal.m4: Regenerate using new versions.
809 * config.h.in: Ditto.
811 * Makefile.in: Ditto.
812 * include/Makefile.in: Ditto.
813 * libmath/Makefile.in: Ditto.
814 * libsupc++/Makefile.in: Ditto.
815 * po/Makefile.in: Ditto.
816 * src/Makefile.in: Ditto.
817 * testsuite/Makefile.in: Ditto.
819 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
821 * po/libstdc++.pot: Re-extract/regenerate.
823 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
825 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
826 Remove unneeded variable assignments. Leave them for automake.
827 * testsuite/lib/libstdc++-v3.exp: Rename...
828 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
830 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
831 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
834 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
836 * docs/doxygen/guide.html: run_doxygen uses bash.
837 * docs/doxygen/mainpage.html: We'll be shipping tag files.
838 * docs/doxygen/run_doxygen: Tweaks and improvements.
839 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
840 * docs/html/install.html: Update autoconf/automake requirements.
841 * docs/html/test.html: Add section describing DejaGNU support.
842 * docs/html/17_intro/confdeps.dot: New file, generates...
843 * docs/html/17_intro/confdeps.png: ...this new file.
844 * docs/html/Makefile: Generated here.
845 * docs/html/17_intro/configury.html: New file.
847 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
849 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
850 * testsuite/lib/libstdc++-v3.exp: ...to this.
851 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
853 2003-07-31 Doug Gregor <dgregor@apple.com>
855 Add user specialization tests.
856 * testsuite/23_containers/deque/1.cc: New.
857 * testsuite/23_containers/list/1.cc: New.
858 * testsuite/23_containers/map/1.cc: New.
859 * testsuite/23_containers/multimap/1.cc: New.
860 * testsuite/23_containers/multiset/1.cc: New.
861 * testsuite/23_containers/set/1.cc: New.
862 * testsuite/23_containers/vector/1.cc: New.
864 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
866 Reshuffle 23_containers testsuite.
867 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
868 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
869 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
870 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
871 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
872 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
873 vector_resize.cc: Split into...
874 * 23_containers/bitset/cons/1.cc: New.
875 * 23_containers/bitset/cons/6282.cc: New.
876 * 23_containers/bitset/count/6124.cc: New.
877 * 23_containers/bitset/operations/1.cc: New.
878 * 23_containers/bitset/operations/2.cc: New.
879 * 23_containers/bitset/test/1.cc: New.
880 * 23_containers/bitset/to_ulong/1.cc: New.
881 * 23_containers/deque/cons/1.cc: New.
882 * 23_containers/deque/cons/2.cc: New.
883 * 23_containers/deque/operators/1.cc: New.
884 * 23_containers/list/capacity/1.cc: New.
885 * 23_containers/list/cons/1.cc: New.
886 * 23_containers/list/cons/2.cc: New.
887 * 23_containers/list/cons/3.cc: New.
888 * 23_containers/list/cons/4.cc: New.
889 * 23_containers/list/cons/5.cc: New.
890 * 23_containers/list/cons/6.cc: New.
891 * 23_containers/list/cons/7.cc: New.
892 * 23_containers/list/cons/8.cc: New.
893 * 23_containers/list/cons/9.cc: New.
894 * 23_containers/list/modifiers/1.cc: New.
895 * 23_containers/list/modifiers/2.cc: New.
896 * 23_containers/list/modifiers/3.cc: New.
897 * 23_containers/list/operators/1.cc: New.
898 * 23_containers/list/operators/2.cc: New.
899 * 23_containers/list/operators/3.cc: New.
900 * 23_containers/list/operators/4.cc: New.
901 * 23_containers/map/insert/1.cc: New.
902 * 23_containers/map/operators/1.cc: New.
903 * 23_containers/map/operators/1_neg.cc: New.
904 * 23_containers/multiset/insert/1.cc: New.
905 * 23_containers/priority_queue/members/7161.cc: New.
906 * 23_containers/queue/members/7157.cc: New.
907 * 23_containers/set/operators/1_neg.cc: New.
908 * 23_containers/stack/members/7158.cc: New.
909 * 23_containers/vector/bool/1.cc: New.
910 * 23_containers/vector/bool/6886.cc: New.
911 * 23_containers/vector/capacity/1.cc: New.
912 * 23_containers/vector/capacity/2.cc: New.
913 * 23_containers/vector/capacity/8230.cc: New.
914 * 23_containers/vector/cons/1.cc: New.
915 * 23_containers/vector/cons/2.cc: New.
916 * 23_containers/vector/cons/3.cc: New.
917 * 23_containers/vector/cons/4.cc: New.
918 * 23_containers/vector/cons/6513.cc: New.
919 * 23_containers/vector/element_access/1.cc: New.
920 * 23_containers/vector/modifiers/1.cc: New.
921 * 23_containers/vector/modifiers/2.cc: New.
922 * 23_containers/vector/resize/1.cc: New.
924 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
926 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
928 * testsuite/thread/pthread2.cc: Likewise.
929 * testsuite/thread/pthread3.cc: Likewise.
930 * testsuite/thread/pthread4.cc: Likewise.
931 * testsuite/thread/pthread5.cc: Likewise.
932 * testsuite/thread/pthread6.cc: Likewise.
933 * testsuite/thread/pthread7-rope.cc: Likewise.
935 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
937 * include/bits/c++config: Partial reversion (comment placement) of
940 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
942 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
943 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
944 (_GLIBCXX_AT_AT): Remove.
945 (__USE_MALLOC): Remove.
946 * include/std/std_fstream.h: Modify.
947 * include/bits/basic_ios.h: Same.
948 * include/bits/valarray_array.h: Same.
949 * include/c_std/std_cmath.h: Same.
950 * include/c_std/cmath.tcc: Same.
951 * include/std/std_vector.h: Same.
952 * include/std/std_string.h: Same.
953 * include/std/std_stack.h: Same.
954 * include/std/std_queue.h: Same.
955 * include/std/std_list.h: Same.
956 * include/std/std_deque.h: Same.
957 * include/std/std_streambuf.h: Same.
958 * include/std/std_sstream.h: Same.
959 * include/std/std_ostream.h: Same.
960 * include/std/std_istream.h: Same.
961 * include/bits/valarray_array.tcc: Same, format.
963 * include/c/std_cctype.h: Fix include guards.
964 * include/c/std_cerrno.h: Same.
965 * include/c/std_cfloat.h: Same.
966 * include/c/std_climits.h: Same.
967 * include/c/std_clocale.h: Same.
968 * include/c/std_cmath.h: Same.
969 * include/c/std_csetjmp.h: Same.
970 * include/c/std_csignal.h: Same.
971 * include/c/std_cstdarg.h: Same.
972 * include/c/std_cstddef.h: Same.
973 * include/c/std_cstdio.h: Same.
974 * include/c/std_cstdlib.h: Same.
975 * include/c/std_cstring.h: Same.
976 * include/c/std_ctime.h: Same.
977 * include/c/std_cwchar.h: Same.
978 * include/c/std_cwctype.h: Same.
979 * include/c_std/cmath.tcc: Same.
980 * include/c_std/std_cmath.h: Same.
982 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
985 * include/bits/stl_tree.h: Replace C-style casts with C++-style
986 casts. Changes to avoid casting away constness. Eliminate
987 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
988 initialization lists. Move out implementation of __black_count()
990 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
991 Rename_Rb_tree_base_iterator::_M_increment() to
992 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
994 * config/linker-map.gnu: Add and change symbols here.
996 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
998 * docs/html/22_locale/howto.html: Use locale::classic() instead
1001 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1003 * testsuite/testsuite_hooks.h: Remove list include.
1004 (func_callback): Define as unique type, not std::list.
1005 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1006 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1007 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1008 * testsuite/23_containers/bitset_ctor.cc:
1009 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1010 * testsuite/18_support/numeric_limits.cc: Same.
1011 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1012 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1013 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1014 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1015 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1016 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1017 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1018 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1019 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1020 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1021 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1022 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1023 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1024 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1025 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1026 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1027 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1028 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1029 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1030 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1031 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1032 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1033 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1034 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1035 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1036 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1037 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1038 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1039 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1040 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1041 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1042 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1043 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1044 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1045 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1046 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1047 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1048 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1049 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1050 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1051 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1052 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1053 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1054 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1055 * testsuite/23_containers/bitset_ctor.cc: Same.
1056 * testsuite/23_containers/bitset_shift.cc: Same.
1057 * testsuite/23_containers/vector_ctor.cc: Same.
1058 * testsuite/23_containers/vector_element_access.cc: Same.
1059 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1060 * testsuite/24_iterators/iterator.cc: Same.
1061 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1062 * testsuite/25_algorithms/lower_bound.cc: Same.
1063 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1064 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1065 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1066 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1067 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1068 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1069 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1070 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1071 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1072 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1073 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1076 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1078 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1079 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1080 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1081 GLIBCPP to GLIBCXX (and explain as needed).
1083 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1087 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1089 * testsuite/22_locale/messages/members/char/1.cc,
1090 testsuite/22_locale/messages/members/char/2.cc,
1091 testsuite/22_locale/messages/members/char/3.cc,
1092 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1093 the origin of LOCALEDIR.
1094 * testsuite/lib/libstdc++-v3.exp: New file.
1096 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1098 * include/bits/char_traits.h: Update copyright, tweak.
1099 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1102 2003-07-24 Matt Austern <austern@apple.com>
1104 * /include/bits/char_traits.h (class char_traits): Put all the
1105 real work into the new class template __gnu_cxx::char_traits.
1106 Gave generic definitions for member functions. Types are taken
1107 from the new class template __gnu_cxx::_Char_types.
1108 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1109 file. Test of std::char_traits<short>, which serves as a test of
1110 the char_traits primary template.
1112 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1114 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1116 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1118 * testsuite/23_containers/map_operators.cc: Conform to
1119 container requirement as value must be Assignable.
1121 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1123 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1124 tests not only generation of pch files, but also their use.
1125 * aclocal.m4, configure: Rebuilt.
1127 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1129 * config/cpu/hppa/atomicity.h: Change
1130 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1131 to match misc-inst.cc
1133 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1135 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1136 * include/c_std/std_cctype.h: Ditto.
1137 * include/c_std/std_cerrno.h: Ditto.
1138 * include/c_std/std_cfloat.h: Ditto.
1139 * include/c_std/std_climits.h: Ditto.
1140 * include/c_std/std_clocale.h: Ditto.
1141 * include/c_std/std_cmath.h: Ditto.
1142 * include/c_std/std_csetjmp.h: Ditto.
1143 * include/c_std/std_csignal.h: Ditto.
1144 * include/c_std/std_cstdarg.h: Ditto.
1145 * include/c_std/std_cstddef.h: Ditto.
1146 * include/c_std/std_cstdio.h: Ditto.
1147 * include/c_std/std_cstdlib.h: Ditto.
1148 * include/c_std/std_cstring.h: Ditto.
1149 * include/c_std/std_ctime.h: Ditto.
1150 * include/c_std/std_cwchar.h: Ditto.
1151 * include/c_std/std_cwctype.h: Ditto.
1152 * include/std/std_algorithm.h: Ditto.
1153 * include/std/std_bitset.h: Ditto.
1154 * include/std/std_complex.h: Ditto.
1155 * include/std/std_deque.h: Ditto.
1156 * include/std/std_fstream.h: Ditto.
1157 * include/std/std_functional.h: Ditto.
1158 * include/std/std_iomanip.h: Ditto.
1159 * include/std/std_ios.h: Ditto.
1160 * include/std/std_iosfwd.h: Ditto.
1161 * include/std/std_iostream.h: Ditto.
1162 * include/std/std_istream.h: Ditto.
1163 * include/std/std_iterator.h: Ditto.
1164 * include/std/std_limits.h: Ditto.
1165 * include/std/std_list.h: Ditto.
1166 * include/std/std_locale.h: Ditto.
1167 * include/std/std_map.h: Ditto.
1168 * include/std/std_memory.h: Ditto.
1169 * include/std/std_numeric.h: Ditto.
1170 * include/std/std_ostream.h: Ditto.
1171 * include/std/std_queue.h: Ditto.
1172 * include/std/std_set.h: Ditto.
1173 * include/std/std_sstream.h: Ditto.
1174 * include/std/std_stack.h: Ditto.
1175 * include/std/std_stdexcept.h: Ditto.
1176 * include/std/std_streambuf.h: Ditto.
1177 * include/std/std_string.h: Ditto.
1178 * include/std/std_utility.h: Ditto.
1179 * include/std/std_valarray.h: Ditto.
1180 * include/std/std_vector.h: Ditto.
1182 2003-07-22 Doug Gregor <dgregor@apple.com>
1184 * include/bits/basic_string.h (basic_string::insert): Deprecate
1187 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1189 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1191 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1192 (test03): Include typeinfo for bad_cast.
1193 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1194 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1195 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1197 2003-07-21 Doug Gregor <dgregor@apple.com>
1199 * include/bits/boost_concept_check.h:
1200 (_EqualityComparableConcept::__constraints): Remove != from the
1201 list of constraints; it is not listed in Table 28 of the C++98
1204 2003-07-18 Andreas Jaeger <aj@suse.de>
1206 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1207 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1208 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1209 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1211 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1213 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1214 * config/locale/generic/messages_members.h: Tweaks.
1215 * config/locale/generic/monetary_members.cc
1216 (moneypunct::_M_initialize_moneypunct): Use cache.
1217 (moneypunct::~moneypunct): Delete cache.
1218 * config/locale/generic/time_members.cc:
1219 (__timepunct::_M_initialize_timepunct): Use cache.
1220 * config/locale/generic/time_members.h:
1221 (__timepunct::~__timepunct): Delete cache.
1222 (__timepunct::__timepunct): Set cache.
1223 * config/locale/gnu/messages_members.h: Tweaks.
1224 * config/locale/gnu/monetary_members.cc:
1225 (moneypunct::_M_initialize_moneypunct): Use cache.
1226 (moneypunct::~moneypunct): Delete cache.
1227 * config/locale/gnu/time_members.cc:
1228 (__timepunct::_M_initialize_timepunct): Use cache.
1229 * config/locale/gnu/time_members.h:
1230 (__timepunct::~__timepunct): Delete cache.
1231 (__timepunct::__timepunct): Set cache.
1232 * include/bits/locale_facets.h (__timepunct_cache): New.
1233 (__moneypunct_cache): New.
1234 * include/bits/locale_facets.tcc: Tweak.
1235 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1236 * src/locale-inst.cc: Instantiate caches.
1237 * src/globals.cc: Add "C" caches.
1238 * src/localename.cc: Use external "C" caches.
1240 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1242 * docs/doxygen/guide.html: Fix typo.
1244 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1246 * include/ext/pod_char_traits.h: Add state template argument.
1248 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1250 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1251 (num_get::_M_convert_int): To _M_insert_int.
1252 (num_get::_M_convert_float): To _M_insert_float.
1253 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1254 Use caches for ctype, num_get.
1255 (num_get::_M_extract_int): Same.
1256 (num_get::get(bool)): Same.
1257 (__verify_grouping): Use size_t.
1258 * src/locale-inst.cc: Update.
1259 * src/locale.cc: Adjust _S_atoms_in.
1261 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1263 * docs/doxygen/mainpage.html: Move building/writing instructions...
1264 * docs/doxygen/guide.html: ...to here. New file.
1266 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1268 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1269 * docs/html/faq/index.html: Same.
1270 * docs/html/faq/index.txt: Regenerate.
1272 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1275 * include/bits/locale_facets.tcc (money_get::do_get):
1276 Strip only _leading_ zeros.
1277 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1278 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1280 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1282 * include/ext/hash_map (class hash_multimap): Remove extra
1283 semicolons from __glibcxx_class_requires3 entries.
1284 * include/ext/hash_set (class hash_set): Ditto.
1285 (class hash_multiset): Ditto.
1287 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1289 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1290 Change last parameter from int_type to size_t.
1292 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1294 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1295 set_difference, set_symmetric_difference, max_element, min_element,
1296 next_permutation, prev_permutation, find_first_of, find_end):
1298 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1299 restrictions in docs.
1300 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1302 * docs/doxygen/doxygroups.cc (setoperations): New group.
1304 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1306 * include/bits/basic_string.h: Document public functions.
1307 * docs/doxygen/TODO: Update c21 todo.
1309 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1311 * include/bits/stl_list.h: Document more functions.
1312 * docs/doxygen/TODO: Update c23 todo.
1314 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1316 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1319 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1321 * include/bits/stl_tempbuf.h: Qualify free with std::.
1322 * src/locale.cc: Include <cstdlib>, qualify getenv.
1324 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1326 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1327 <cstdio>. Qualify names.
1328 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1330 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1331 Nathan C. Myers <ncm-nospam@cantrip.org>
1334 * include/std/std_fstream.h (xsputn): Declare only.
1335 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1336 always_noconv() case: when __n is sufficiently large flush
1337 the buffer and issue a direct write, if possible combining the
1338 two with writev in __basic_file<>::xsputn_2.
1339 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1341 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1343 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1344 the availability of writev in <sys/uio.h>.
1345 * configure.in: Call here.
1346 * acconfig.h: Add undef for the corresponding symbol.
1347 * aclocal.m4: Regenerate.
1348 * configure: Regenerate.
1349 * config.h.in: Regenerate.
1350 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1352 * include/std/std_fstream.h (sync): Constify a variable.
1354 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1356 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1357 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1359 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1361 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1362 <cstring> and <cstdlib>. Qualify names.
1364 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1366 * config/locale/generic/c_locale.h: Include <cstdlib> and
1368 * include/bits/boost_concept_check.h: Add this-> to unqualified
1370 * include/bits/deque.tcc: Likewise.
1371 * include/bits/locale_facets.h : Likewise.
1372 * include/bits/ostream.tcc: Likewise.
1373 * include/bits/stl_algo.h: Likewise.
1374 * include/bits/stl_bvector.h: Likewise.
1375 * include/bits/stl_deque.h: Likewise.
1376 * include/bits/stl_list.h: Likewise.
1377 * include/bits/stl_tree.h: Likewise.
1378 * include/bits/stl_vector.h: Likewise.
1379 * include/bits/vector.tcc: Likewise.
1380 * include/ext/rope: Likewise.
1381 * include/ext/ropeimpl.h: Likewise.
1382 * include/ext/stdio_filebuf.h: Likewise.
1384 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1386 * include/bits/basic_ios.h (copyfmt): Document.
1387 * include/bits/ios_base.h (event, event_callback, register_callback,
1388 xalloc, iword, pword): Document.
1389 (imbue, ~ios_base): Update docs on callbacks.
1391 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1393 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1394 warning messages if the environment cannot support symbol versioning.
1395 (port_specific_symbol_file): It's plural, add an 's' on the end.
1396 * configure.host: Likewise.
1397 * src/Makefile.am: Likewise.
1398 * config/linker-map.gnu: Remove one semicolon, heh.
1399 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1400 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1401 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1403 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1405 * include/bits/locale_facets.tcc: Use function object for
1406 __use_cache instead of template function. Partially specialize for
1408 * include/bits/locale_classes.h: Update friend declaration for
1410 (_M_install_cache): No throw exception specs.
1411 * src/locale.cc: Remove __use_cache specializations.
1412 * include/ext/pod_char_traits.h (length): Tweak.
1413 * include/bits/locale_facets.h (__numpunct_cache): Remove
1415 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1417 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1418 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1419 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1420 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1421 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1422 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1424 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1426 * src/ios.cc (_M_grow_words): Fix spelling.
1428 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1430 * include/bits/stl_tree.h: Move larger member functions in
1431 _Rb_tree_base_iterator and _Rb_tree_node to...
1432 * src/stl_tree.cc: Here.
1433 * src/Makefile.in: Add stl_tree.cc.
1434 * src/Makefile.in: Regenerated.
1435 * config/linker-map.gnu: Add symbols here.
1437 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1439 * testsuite/ext/pod_char_traits.cc: New.
1440 * include/ext/pod_char_traits.h: New.
1441 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1442 * include/Makefile.in: Regenerate.
1443 * docs/html/21_strings/howto.html: Update.
1445 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1447 * testsuite/performance/list_create_fill_sort.cc: New.
1449 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1451 * config/locale/generic/numeric_members.cc: Correct type info.
1452 * config/locale/gnu/numeric_members.cc: Same.
1453 * include/bits/locale_facets.h: Same.
1455 * include/bits/char_traits.h: Correct spacing.
1457 * src/locale.cc: Wrap to 80 col.
1459 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1461 * include/std/std_complex.h: Partially revert last
1462 changes: cmath functions must not be qualified.
1464 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1466 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1467 2.11 with globbing backport fix.
1468 * aclocal.m4, configure: Regenerated.
1470 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1472 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1473 if output is at all possible (!_M_reading), cannot be active.
1475 * include/std/std_fstream.h: Tweak comments to doxygen style.
1477 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1479 * include/bits/locale_classes.h: Fully qualify standard
1480 functions with std::, thus avoiding Koenig lookup.
1481 * include/bits/locale_facets.tcc: Likewise.
1482 * src/locale.cc: Likewise.
1483 * src/localename.cc: Likewise.
1485 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1487 * include/bits/allocator_traits.h: Fix doxygen markup.
1488 * include/ext/mt_allocator.h: Likewise.
1490 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1492 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1494 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1496 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1497 requirement. Add port_specific_symbol_file variable.
1498 * configure.host: Add docs for port_specific_symbol_file.
1499 Clean up try_cpu block for x86.
1500 * config/linker-map.gnu: No more "last symbol can't have a
1501 semicolon" kaka. Add hook for port-specific symbols.
1502 * src/Makefile.am: Remove trailing whitespace.
1503 (libstdc++-symbol.ver): Detect the presence of port-specific
1504 symbols, and add them accordingly.
1506 * docs/html/17_intro/porting.texi: Bring up to date.
1508 * src/Makefile.in, aclocal.m4, configure,
1509 docs/html/17_intro/porting.html: Regenerated.
1511 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1513 * scripts/create_testsuite_files: New file.
1514 * testsuite/Makefile.am (all-local, check-performance): Use it.
1515 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1516 * testsuite/Makefile.in: Regenerated.
1518 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1520 * testsuite/performance/fstream_seek_write.cc: Likewise.
1521 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1522 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1523 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1525 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1527 * include/bits/stl_list.h: Performance and memory usage
1528 improvements. In particular, the behaviour of the constructor and
1529 destructor as the list header node is no longer dynamically
1530 allocated/de-allocated.
1531 * include/bits/list.tcc: Likewise.
1533 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1535 * include/std/std_complex.h: Fully qualify standard
1536 functions with std::, thus avoiding Koenig lookup.
1537 * include/std/std_memory.h: Likewise.
1538 * include/std/std_valarray.h: Likewise.
1540 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1542 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1543 variable for grandparent and use const
1545 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1547 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1548 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1549 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1550 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1551 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1552 * testsuite/27_io/objects/char/7.cc: Ditto
1553 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1555 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1557 * include/std/std_bitset.h: Fully qualify standard
1558 functions with std::, thus avoiding Koenig lookup.
1560 * include/std/std_fstream.h: Change comment to doxygen style.
1562 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1564 * include/std/std_limits.h: More CPP->CXX changes.
1565 * scripts/check_survey.in: Likewise.
1567 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1569 Move from CPP to CXX.
1570 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1571 * testsuite/Makefile.am: Same.
1572 * testsuite/Makefile.in: Regenerate.
1573 * po/Makefile.am: Same.
1574 * po/Makefile.in: Regenerate.
1575 * libsupc++/Makefile.am: Same.
1576 * libsupc++/Makefile.in: Regenerate.
1577 * libmath/Makefile.am: Same.
1578 * libmath/Makefile.in: Regenerate.
1579 * include/Makefile.am: Same.
1580 * include/Makefile.in: Regenerate.
1581 * src/Makefile.am: Same.
1582 * src/Makefile.in: Regenerate.
1584 * configure.host: Same.
1585 * configure.in: Same.
1586 * configure: Regenerate.
1587 * acinclude.m4: Same.
1589 * src: Change all files in this directory.
1591 * include: Same, standardize include guards.
1595 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1597 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1598 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1599 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1600 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1601 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1602 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1603 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1604 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1605 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1606 XFAIL on all targets.
1608 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1610 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1611 * aclocal.m4: Regenerate.
1612 * configure: Regenerate.
1614 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1616 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1619 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1620 Petur Runolfsson <peturr02@ru.is>
1622 * config/io/basic_file_stdio.cc: Revert.
1624 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1626 * include/bits/deque.tcc: Fully qualify standard
1627 functions with std::, thus avoiding Koenig lookup.
1628 * include/bits/gslice_array.h: Likewise.
1629 * include/bits/indirect_array.h: Likewise.
1630 * include/bits/list.tcc: Likewise.
1631 * include/bits/mask_array.h: Likewise.
1632 * include/bits/slice_array.h: Likewise.
1634 2003-07-04 Gawain Bolton <gbolton@free.fr>
1636 * include/bits/stl_tree.h: Performance and memory usage
1639 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1641 * Makefile.am: Replace PWD with PWD_COMMAND.
1642 * Makefile.in: Regenerated.
1643 * docs/html/Makefile: Likewise.
1645 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1647 * include/bits/valarray_array.h: Fully qualify standard
1648 functions with std::, thus avoiding Koenig lookup.
1649 * include/bits/vector.tcc: Likewise.
1651 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1653 * include/Makefile.am: Update target_ to host_.
1654 * include/Makefile.in: Regenerate.
1655 * src/Makefile.am: Same.
1656 * src/Makefile.in: Regenerate.
1658 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1660 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1662 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1663 --enable-libstdcxx-debug-flags.
1664 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1665 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1666 * aclocal.m4: Regenerate.
1668 * docs/html/configopts.html: Update.
1670 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1672 Revert the fix for libstdc++/11378.
1674 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1677 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1678 provided always_noconv(), issue directly _M_file.xsputn.
1679 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1681 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1683 * include/bits/stl_list.h: Fully qualify standard
1684 functions with std::, thus avoiding Koenig lookup.
1685 * include/bits/stl_queue.h: Likewise.
1686 * include/bits/stl_raw_storage_iter.h: Likewise.
1687 * include/bits/stl_tempbuf.h: Likewise.
1688 * include/bits/stl_tree.h: Likewise.
1689 * include/bits/stl_uninitialized.h: Likewise.
1690 * include/bits/stl_vector.h: Likewise.
1691 * include/ext/rope: Change includes order.
1693 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1695 * configure.host (fpos_include_dir): Fix.
1697 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1699 * include/bits/stl_heap.h: Fully qualify standard
1700 functions with std::, thus avoiding Koenig lookup.
1701 * include/bits/stl_iterator_base_funcs.h: Likewise.
1703 * include/bits/stl_algo.h: Qualify __iterator_category too.
1704 * include/bits/stl_algobase.h: Likewise.
1705 * include/bits/stl_bvector.h: Likewise.
1707 * include/bits/stl_algo.h: Don't qualify the pair type.
1709 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1711 * include/Makefile.am (target_headers): Add fpos.h
1712 (bits_headers): Remove.
1713 * include/Makefile.in: Regenerate.
1714 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1715 * configure: Regenerate.
1716 * configure.host: Add fpos_include_dir.
1717 * config/os/gnu-linux/fpos.h: New.
1718 * config/os/generic/fpos.h: Add.
1719 * include/bits/fpos.h: Remove.
1721 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1723 * include/bits/fstream.tcc: Tweaks.
1724 * include/std/std_fstream.h: Same.
1726 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1727 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1728 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1729 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1730 * testsuite/27_io/fpos/1.cc: New.
1732 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1733 Petur Runolfsson <peturr02@ru.is>
1735 * include/std/std_streambuf.h: Remove _M_pos.
1736 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1737 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1738 use fread/fwrite instead of read/write.
1739 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1740 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1741 before reading again.
1742 * testsuite/27_io/objects/char/6.cc: Tweak.
1744 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1746 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1747 _GLIBCPP_USE_WCHAR_T.
1749 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1751 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1754 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1756 * include/bits/stl_bvector.h: Fully qualify standard
1757 functions with std::, thus avoiding Koenig lookup.
1758 * include/bits/stl_construct.h: Likewise.
1759 * include/bits/stl_deque.h: Likewise.
1761 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1763 * testsuite/22_locale/num_put/put/char/7.cc: Include
1764 <testsuite_hooks.h>, tweak.
1765 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1767 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1769 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1770 check* targets, but not libs/programs).
1771 * testsuite/Makefile.in: Regenerate.
1773 2003-07-01 Roger Sayle <roger@eyesopen.com>
1775 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1776 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1777 * aclocal.m4: Regenerate.
1778 * configure: Regenerate.
1780 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1782 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1783 * aclocal.m4: Regenerated.
1784 * configure: Regenerated.
1786 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1789 * include/bits/fstream.tcc (underflow): For encoding() == 0
1790 don't read more than __buflen chars.
1791 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1792 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1793 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1794 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1796 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1798 * 22_locale/num_put/put/char/7.cc: New.
1799 * 22_locale/num_put/put/wchar_t/7.cc: New.
1801 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1803 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1804 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1806 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1808 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1809 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1810 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1811 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1812 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1813 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1814 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1815 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1816 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1817 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1818 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1819 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1820 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1821 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1822 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1823 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1824 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1825 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1826 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1827 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1828 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1829 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1830 * data/seekoff-1.tst: Remove.
1831 * data/seekoff-1io.tst: New.
1832 * data/seekoff-1out.tst: New.
1833 * data/seekoff-2.tst: Remove.
1834 * data/seekoff-2io.tst: New.
1835 * data/seekoff-2out.tst: New.
1837 * data/seekpos-1.tst: Remove.
1838 * data/seekpos-1io.tst: New.
1839 * data/seekpos-1out.tst: New.
1840 * data/seekpos-2.tst: Remove.
1841 * data/seekpos-2io.tst: New.
1842 * data/seekpos-2out.tst: New.
1843 * data/seekpos.txt: New.
1845 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1847 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1848 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1851 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1853 * include/bits/stl_algobase.h: Fully qualify standard
1854 functions with std::, thus avoiding Koenig lookup.
1856 2003-06-30 Doug Gregor <dgregor@apple.com>
1858 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
1859 subscripting empty string.
1861 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1863 * testsuite/Makefile.am (check-am): Do not override.
1864 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1865 * testsuite/Makefile.in: Regenerate.
1867 2003-06-30 Doug Gregor <dgregor@apple.com>
1869 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1870 Don't initialize an insert_iterator with a singular iterator.
1872 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1874 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1875 * aclocal.m4: Regenerate.
1876 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1877 GLIBCPP_ENABLE_PCH, default to yes.
1878 * configure: Regenerate.
1879 * docs/html/configopts.html: Add --enable-pch.
1881 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
1883 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1884 (libstdc++-v3-init): Also set LD_RUN_PATH.
1886 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1888 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1889 from here to filebuf and stringbuf.
1890 (~basic_streambuf()): Don't set _M_mode.
1891 (basic_streambuf()): Don't set _M_mode.
1892 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1893 (~basic_filebuf()): Clean up.
1894 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1895 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1896 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1897 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1898 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1899 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1900 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1902 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
1904 * include/std/std_fstream.h (_M_underflow): Remove.
1905 (uflow): Remove, inherited from streambuf.
1906 (underflow): Only declare.
1907 * include/bits/fstream.tcc (_M_underflow): Rename to
1908 underflow, to which is equivalent for __bump == false,
1910 * include/std/std_sstream.h (_M_underflow): Remove.
1911 (uflow): Remove, inherited from streambuf.
1912 (underflow): Only declare.
1913 * include/bits/sstream.tcc (_M_underflow): Rename to
1914 underflow, to which is equivalent for __bump == false,
1917 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1919 * include/bits/stl_algo.h: Fully qualify standard functions
1920 with std::, thus avoiding Koenig lookup.
1922 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1924 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1925 Improve type correctness-wise.
1926 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1928 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1930 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1933 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
1935 * include/std/std_streambuf.h (uflow): According to
1936 27.5.2.4.3,p16, don't check gptr() < egptr().
1938 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
1941 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1942 (seekpos): Likewise.
1943 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1945 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1948 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1950 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1951 output name to libstdc++-v3-performance.sum.
1952 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1953 * testsuite/Makefile.in: Regenerate.
1955 2003-06-27 Matthias Klose <doko@debian.org>
1957 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1958 output of abi-check in libstdc++-v3-abi.sum.
1959 * testsuite/Makefile.in: Regenerate.
1961 2003-06-27 Krister Walfridsson <cato@df.lth.se>
1963 * config/os/bsd/netbsd/ctype_noninline.h
1964 (_C_ctype_): Declare.
1965 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1966 (ctype<char>::ctype): Use classic_table.
1968 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1969 Nathan C. Myers <ncm-nospam@cantrip.org>
1972 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1973 the worst-case number of external bytes for a given get area.
1974 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1976 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
1977 Petur Runolfsson <peturr02@ru.is>
1980 * include/bits/fstream.tcc (overflow): Properly estimate the
1981 worst-case number of external bytes for a given put area
1982 (by using codecvt::max_length()).
1983 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1984 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1985 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1986 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1988 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1990 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1992 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1994 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1995 to the imbued locale.
1996 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1998 (num_put::_M_convert_float): Use.
2000 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2001 Jerry Quinn <jlquinn@optonline.net>
2003 * config/linker-map.gnu: Add __numpunct_cache.
2004 * config/locale/gnu/numeric_members.cc
2005 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2006 all elements for "C" locale.
2007 (numpunct::~numpunct): Delete _M_data.
2008 * config/locale/generic/numeric_members.cc: Same.
2009 * include/bits/basic_ios.tcc
2010 (basic_ios::init): Remove __locale_cache bits.
2011 (basic_ios::_M_cache_locale): Same.
2012 * include/bits/ios_base.h: Same. Tweaks.
2013 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2014 (__use_cache): Make friends with _Impl, locale.
2015 (_Impl::_M_caches): Add.
2016 (_Impl::_M_install_cache): Add.
2017 * include/bits/locale_facets.h (__numpunct_cache): New.
2018 (numpunct): Encapsulate data members in __numpunct_cache member,
2019 _M_data. Adjust virtuals.
2020 (numpunct::numpunct): New ctor for the same.
2021 (__locale_cache_base): Remove.
2022 (__locale_cache): Remove.
2023 * include/bits/locale_facets.tcc (__use_cache): New function,
2025 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2026 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2027 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2028 * src/locale-inst.cc: Same. Add __numpunct_cache.
2029 * src/locale.cc: Tweak inlines.
2030 (__use_cache): Define specializations.
2031 * src/localename.cc: Use global bits.
2032 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2033 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2034 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2035 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2036 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2038 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2039 Paolo Carlini <pcarlini@unitus.it>
2041 * testsuite/performance/filebuf_copy.cc: New, testing char
2044 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2045 Nathan C. Myers <ncm-nospam@cantrip.org>
2047 * include/bits/fstream.tcc (_M_underflow): When the actual
2048 end of file is reached, set 'uncommitted' mode to allow a
2049 next write without an intervening seek (see C++98 27.8.1.1,2
2051 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2053 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2055 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2056 sputc): Move inline, from here...
2057 * include/std/std_streambuf.h: ... to here.
2059 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2060 sputbackc, sungetc, sputc): Use __builtin_expect.
2062 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2064 * docs/doxygen/mainpage.html: Use a useful title.
2066 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2068 * docs/html/documentation.html: Remove assignment info.
2069 * docs/html/17_intro/contribute.html: Edits.
2070 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2072 * docs/html/test.html: Update.
2076 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2077 Ulrich Drepper <drepper@redhat.com>
2079 * testsuite/testsuite_performance.h: Tweak mallinfo.
2081 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2082 Nathan C. Myers <ncm-nospam@cantrip.org>
2084 * include/std/std_fstream.h (_M_filepos): Remove.
2085 (_M_reading, _M_writing): New, encode the various I/O modes:
2086 'read', 'write' and 'uncommitted'.
2087 (sync): If there is something to flush, do it, then go to
2089 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2090 with three different cases: __off > 0 (upon underflow),
2091 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2093 (_M_underflow): Don't call overflow, set _M_reading to true
2095 (pbackfail): Set _M_reading to true on pback creation, tweak.
2096 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2097 set _M_writing to true on success, tweak.
2098 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2099 _M_set_buffer(-1) ('uncommitted').
2100 (open, close, setbuf): Set _M_reading, _M_writing to false and
2101 call _M_set_buffer(-1), tweak.
2102 (basic_filebuf): Don't set _M_buf_unified.
2103 (_M_destroy_internal_buffer): Don't call setg and setp.
2104 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2105 _M_writing and _M_set_buffer(-1).
2106 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2107 _M_out_lim, _M_buf_unified): Remove.
2108 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2109 (setp): Don't set _M_out_lim.
2110 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2111 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2112 upon open the mode is 'uncommitted' and therefore the put area
2114 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2115 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2116 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2117 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2118 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2119 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2120 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2121 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2122 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2123 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2124 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2125 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2126 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2127 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2128 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2129 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2130 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2131 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2132 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2133 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2135 * include/bits/fstream.tcc (showmanyc): Use only the
2136 documented derivation interface to basic_streambuf (gptr(),
2137 setg(), etc.) to work right with user specializations.
2138 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2139 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2140 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2142 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2145 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2147 * configure.host (freebsd*): Set abi_baseline_pair.
2148 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2149 (at or near first release) to 3.3.
2150 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2151 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2152 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2154 * include/ext/mt_allocator.h: Portability.
2155 * testsuite/testsuite_performance.h: Likewise.
2157 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2159 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2161 * testsuite/performance/ifstream_getline.cc: Fix.
2163 2003-06-23 Doug Gregor <dgregor@apple.com>
2165 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2168 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2169 Nathan C. Myers <ncm-nospam@cantrip.org>
2171 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2172 is now used only for filebuf, when _M_buf_unified is true.
2173 epgtr() plays the role of _M_out_lim but it's only updated
2174 upon overflow, underflow, uflow, seekoff/pos.
2175 * include/bits/sstream.tcc (_M_underflow): New, implements
2176 stringbuf::underflow and uflow.
2177 (seekoff, seekpos): Tweak, use _M_update_egptr.
2178 * include/std/std_sstream.h (str): Rewrote, deal correctly
2179 with the new logic, in particular, when pptr() > egptr().
2180 (_M_sync): When __testout && !__testin set all the get area
2181 pointers to the current string end.
2182 (_M_update_egptr): New, internal function updating egptr()
2183 to the actual string end.
2184 (_M_underflow): New, declare.
2185 (underflow): Dispatch to _M_underflow(false).
2186 (uflow): Dispatch to _M_underflow(true).
2188 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2189 seekpos): Use only the documented derivation interface to
2190 basic_streambuf (gptr(), setg(), etc.) to work right with
2191 user specializations.
2192 * include/std/std_sstream.h (str, _M_sync): Likewise.
2194 2003-06-20 Doug Gregor <dgregor@apple.com>
2196 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2197 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2198 dereference end iterator.
2199 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2200 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2201 index equal to the length of a string.
2202 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2203 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2204 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2205 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2206 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2207 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2208 singular reverse iterator.
2209 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2211 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2213 2003-06-20 Doug Gregor <dgregor@apple.com>
2215 * include/bits/basic_string.h (basic_string::replace): Dispatch
2216 _InputIterator version based on _Is_integer.
2217 * include/bits/basic_string.tcc (basic_string::replace):
2218 Renamed replace(iterator, iterator, size_type, _CharT) to
2220 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2221 Test basic_string::assign(_InputIterator, _InputIterator),
2222 which calls basic_string::replace(iterator, iterator,
2223 _Input_iterator, _InputIterator).
2225 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2227 * testsuite/testsuite_performance.h (resource_counter): Don't use
2228 mallinfo at the moment.
2230 2003-06-20 Matthias Klose <doko@debian.org>
2232 * configure.host: Set try_cpu to target_cpu for existing
2235 2003-06-19 Andreas Jaeger <aj@suse.de>
2237 * testsuite/Makefile.am (extract_symvers): Revert accidental
2239 * testsuite/Makefile.in: Regenerate.
2241 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2242 * configure: Regenerated.
2244 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2246 * include/std/std_sstream.h (_M_sync): Make non virtual.
2248 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2250 * testsuite/testsuite_performance.h (time_counter): New.
2251 (resource_counter): New.
2252 (report_performance): New.
2253 (start_counters): New.
2254 (stop_counters): New.
2255 (clear_counters): New.
2256 * testsuite/performance/allocator.cc: Instrument.
2257 * testsuite/performance/cout_insert_int.cc: Same.
2258 * testsuite/performance/complex_norm.cc: Same.
2259 * testsuite/performance/filebuf_sputc.cc: New.
2260 * testsuite/performance/fstream_seek_write.cc: Same.
2261 * testsuite/performance/ifstream_getline.cc: Same.
2262 * testsuite/performance/map_create_fill.cc: Same.
2263 * testsuite/performance/ofstream_insert_float.cc: Same.
2264 * testsuite/performance/ofstream_insert_int.cc: Same.
2265 * testsuite/performance/string_append.cc: Convert.
2266 * scripts/check_performance: New.
2267 * testsuite/Makefile.am (check-performance): New.
2270 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2271 Benjamin Kosnik <bkoz@redhat.com>
2273 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2274 * include/bits/fstream.tcc (setbuf): Tweak.
2276 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2278 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2279 _M_out_lim, therefore _M_move_out_cur boils down to simply
2280 updating _M_out_cur.
2281 (seekpos): Likewise, clean up.
2283 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2284 Paolo Carlini <pcarlini@unitus.it>
2286 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2287 simply equivalent to the unbuffered case (0, 0) as far as
2288 _M_buf_size is concerned.
2290 2003-06-18 Andreas Jaeger <aj@suse.de>
2292 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2294 (baseline_file): Use baseline_dir.
2295 (baseline_dir): New.
2296 (mkinstalldirs): New.
2298 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2299 filename from baseline_dir.
2301 * testsuite/Makefile.in: Regenerated.
2302 * Makefile.in: Regenerated.
2303 * aclocal.m4: Regenerated.
2304 * configure: Regenerated.
2306 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2308 * configure.in: Missed check_survey bit.
2309 * configure: Regenerated.
2311 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2314 * config/abi/extract_symvers: Move to...
2315 * scripts/extract_symvers: ...here.
2316 * mkcheck.in: Move to..
2317 * scripts/check_survey.in: ...here.
2318 * testsuite_flags.in: Move to..
2319 * scripts/testsuite_flags.in: ...here.
2320 * configure.in: Change check and testsuite_flags locations.
2321 * configure: Regenerate.
2322 * testsuite/Makefile.am (current_symbols.txt): Change location.
2323 * testsuite/Makefile.in: Regenerate.
2324 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2325 location of testsuite_flags.
2326 * Makefile.am (check-script): Move..
2327 (check-script-install): Move...
2328 * testsuite/Makefile.am: ... here.
2329 * testsuite/Makefile.in: Regenerate.
2330 * Makefile.in: Regenerate.
2332 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2334 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2336 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2338 * Makefile.am (check-abi): Move...
2339 (new-abi-baseline): Move...
2340 * testsuite/Makefile.am: ...here.
2341 (new-abi-baseline): Conditionalize.
2342 (check-abi): Conditionalize.
2343 (check-abi-verbose): New.
2344 * Makefile.in: Regenerate.
2345 * testsuite/Makefile.in: Regenerate.
2346 * configure.in: Consolidate testsuite configure bits.
2347 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2348 * configure: Regenerate.
2349 * aclocal.m4: Regenerate.
2350 * testsuite/abi_check.cc: Add --check-verbose.
2351 Only output detailed information if --check-verbose.
2353 2003-06-16 Andreas Jaeger <aj@suse.de>
2355 * testsuite/abi_check.cc: Create summary report.
2357 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2359 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2360 for systems with BUFSIZ != 8192.
2361 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2362 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2365 2003-06-16 Andreas Jaeger <aj@suse.de>
2367 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2368 check-abi multilib aware.
2369 * aclocal.m4: Regenerate.
2370 * configure: Regenerate.
2372 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2373 Andreas Jaeger <aj@suse.de>
2375 * configure.host: Set x86_64 abi_baseline pair correctly.
2377 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2379 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2380 fix for missing seeks between gets and puts into...
2381 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2382 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2383 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2384 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2385 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2386 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2388 2003-06-15 Richard Henderson <rth@redhat.com>
2390 * config/linker-map.gnu: Export virtual function thunks for
2393 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2395 * config/abi/i686-pc-linux-gnu: To..
2396 * config/abi/i486-linux-gnu: ...this.
2397 * config/abi/alphaev67-unknown-linux-gnu: To..
2398 * config/abi/alpha-linux-gnu: ...this.
2399 * config/abi/ia64-unknown-linux-gnu: To...
2400 * config/abi/ia64-linux-gnu: ...this.
2401 * config/abi/x86_64-unknown-linux-gnu: To...
2402 * config/abi/x86_64-linux-gnu: ...this.
2403 * config/abi/i386-unknown-freebsd4: To...
2404 * config/abi/i386-freebsd4: ...this.
2405 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2407 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2408 Simplify cpu bits so that abi_baseline_pair can use the same
2410 * acinclude.m4: Same.
2411 * aclocal.m4: Regenerate.
2412 * configure.in: Can't get enable_abi_check to yes unless native.
2413 * configure: Regenerate.
2415 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2417 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2418 fix for missing seeks between gets and puts into...
2419 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2420 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2421 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2422 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2423 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2424 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2425 for missing seeks between gets and puts.
2426 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2427 * testsuite/data/seekoff-1.tst: New.
2428 * testsuite/data/seekoff-2.tst: New.
2429 * testsuite/data/seekpos-1.tst: New.
2430 * testsuite/data/seekpos-2.tst: New.
2432 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2434 Avoid multi-processor bus contention on increment/decrement-and-
2435 test of the reference count in the empty-string object, by comparing
2436 addresses first, and never touching the reference count of the empty-
2438 * include/bits/basic_string.h:
2439 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2441 (_Rep::_S_empty_rep()): New accessor.
2442 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2443 a base class _Rep_base.
2444 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2445 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2446 since no longer must increment its refcount.
2447 * include/bits/basic_string.tcc:
2448 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2449 return immediately. The former might be unnecessary. The latter
2450 prevents begin() and end() from cloning it unnecessarily.
2451 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2452 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2453 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2454 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2455 (_M_mutate): Check for the empty string and treat it as shared.
2456 This is necessary here because _M_mutate is sometimes called with
2457 all-zero arguments; in all other uses of _M_is_shared, the test comes
2460 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2462 * src/allocator-inst.cc: Explicitly instantiate.
2463 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2465 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2467 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2469 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2470 * aclocal.m4: Regenerate.
2471 * Makefile.am (SUBDIRS): Remove libio.
2472 * Makefile.in: Regenerate.
2473 * configure.in: Same.
2474 * configure: Regenerate.
2475 * config/io/basic_file_libio.cc: Remove.
2476 * config/io/basic_file_libio.h: Remove.
2477 * config/io/c_io_libio_codecvt.c: Remove.
2478 * config/io/c_io_libio.h: Remove.
2480 * src/Makefile.am: Same.
2481 * src/Makefile.in: Regenerate.
2482 * docs/html/configopts.html: Edits.
2483 * docs/html/explanations.html: Edits.
2485 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2487 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2488 (__malloc_alloc): Same.
2489 (__pool_alloc): Same.
2490 (__new_alloc): Same.
2492 * include/bits/allocator.h: ...this.
2493 * include/bits/stl_deque.h: Modify comment.
2494 * include/bits/stl_tree.h: Modify include.
2495 * include/std/std_memory.h: Same.
2496 * include/ext/rope: Same.
2497 * include/ext/slist: Same.
2498 * include/std/std_vector.h: Same.
2499 * include/std/std_stack.h: Same.
2500 * include/std/std_queue.h: Same.
2501 * include/std/std_list.h: Same.
2502 * include/std/std_deque.h: Same.
2503 * include/backward/alloc.h: Same.
2504 * include/ext/debug_allocator.h: New.
2505 * include/ext/malloc_allocator.h: New.
2506 * include/ext/pool_allocator.h: New.
2507 * include/ext/new_allocator.h: New.
2508 * include/bits/pthread_allocimpl.h: Remove.
2509 * include/bits/stl_pthread_alloc.h: Remove.
2510 * include/Makefile.am (ext_headers): Add.
2511 * include/Makefile.in: Regenerate.
2512 * src/stl-inst.cc: Use __gnu_cxx namespace.
2513 * src/stl-inst.cc: Move to...
2514 * src/allocator-inst.cc: Here.
2515 * src/Makefile.am (sources): Update.
2516 * src/Makefile.in: Regenerate.
2517 * config/linker-map.gnu: Remove __pool_alloc bits.
2518 * testsuite/ext/headers.cc: Add.
2519 * testsuite/ext/allocators.cc: Fixup.
2521 2003-06-11 Stefan Olsson <stefan@snon.net>
2522 Ola Rönnerup <fnolis@home.se>
2524 * include/Makefile.am (ext_headers): Add.
2525 * include/Makefile.in: Regenerate.
2526 * include/ext/mt_allocator.h: New file.
2528 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2530 * include/bits/fstream.tcc (close): Clean up a bit.
2532 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2534 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2535 - the saved _M_in_cur, that is - cannot be null.
2536 (sync): Constify a variable.
2538 * include/std/std_streambuf.h: Tweak a comment.
2539 (in_avail): Constify a variable.
2541 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2543 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2544 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2545 correctness of container::iterator typedefs. Fix whitespace.
2546 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2548 * docs/html/documentation.html: Regenerate.
2550 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2551 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2552 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2553 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2554 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2555 include/bits/stl_vector.h, include/bits/vector.tcc,
2556 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2557 Change _Iter names to _Iterator, and __pos to __position.
2559 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2560 include/bits/stl_multiset.h, include/bits/stl_set.h:
2561 Remove emacs markers.
2563 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2565 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2567 * include/bits/fstream.tcc (overflow): According to
2568 27.5.2.4.5, overflow() returns not_eof(eof()).
2569 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2570 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2572 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2574 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2575 value; tweak slightly.
2577 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2579 * include/bits/fstream.tcc (_M_underflow): Do not special
2580 case the unbuffered case, which really means simply a one char
2582 (basic_filebuf): Initialize _M_buf_size.
2583 (setbuf): Unbuffered means _M_buf_size == 1, since only
2584 _M_buf_size - 1 == 0 chars are going to be used for the
2585 put area and 1 for the get area.
2586 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2587 (~basic_streambuf): Tweak.
2588 (basic_streambuf): Do not initialize _M_buf_size.
2589 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2590 (~basic_filebuf): Tweak.
2591 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2592 unbuffered situation (i.e., put area pointers NULL).
2593 * include/bits/streambuf.tcc (sbumpc): Clean up.
2594 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2595 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2596 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2597 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2598 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2599 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2600 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2602 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2604 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2605 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2607 * configure.in: Centralize AM_CONDITIONALs so that they are always
2608 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2609 * aclocal.m4, configure: Regenerated.
2611 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2613 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2615 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2617 * include/bits/stl_iterator.h
2618 (reverse_iterator::reverse_iterator()): Apply DR235: default
2619 constructor default-initializes data member. Instantiated on a
2620 pointer type, the member has to end up equal to zero.
2622 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2624 * include/bits/stl_alloc.h: Cleanups.
2625 * include/ext/functional: Same.
2626 * include/ext/hash_map: Same.
2627 * include/ext/hash_set: Same.
2628 * include/ext/iterator: Same.
2629 * include/ext/memory: Same.
2630 * include/ext/numeric: Same.
2631 * include/ext/rb_tree: Same.
2632 * include/ext/ropeimpl.h: Same.
2633 * include/ext/slist: Same.
2634 * include/ext/stdio_filebuf.h: Same.
2635 * include/ext/stdio_sync_filebuf.h: Same.
2636 * include/ext/stl_rope.h: Move to...
2637 * include/ext/rope: ...here.
2638 * include/ext/stl_hash_fun.h: Move to...
2639 * include/ext/hash_fun.h: ...here.
2640 * include/ext/stl_hashtable.h: Move to...
2641 * include/ext/hashtable.h: ...here.
2642 * include/backward/hashtable.h: Reflect new names.
2643 * include/Makefile.am: Same.
2644 * include/Makefile.in: Regenerated.
2646 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2649 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2650 * include/bits/stl_algobase.h: Tweak.
2651 * include/std/std_fstream.h: Move _M_buf_size to...
2652 * include/std/std_streambuf.h: ...here. Modify.
2653 * include/bits/streambuf.tcc: Same.
2654 * testsuite/testsuite_hooks.h: Tweak.
2655 * testsuite/testsuite_io.h (constraint_filebuf): New.
2656 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2657 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2658 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2659 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2660 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2661 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2662 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2663 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2664 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2665 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2666 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2667 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2668 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2669 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2670 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2671 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2672 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2673 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2674 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2675 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2676 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2677 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2678 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2679 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2680 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2681 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2682 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2683 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2684 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2685 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2686 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2687 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2688 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2689 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2690 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2691 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2692 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2693 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2694 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2695 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2696 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2697 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2698 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2699 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2700 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2701 * testsuite/data/sgetc.txt: New.
2702 * testsuite/data/sgetn.txt: New.
2704 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2707 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2708 Deal with width() smaller than zero.
2709 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2710 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2711 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2712 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2713 operator<<(basic_ostream, const basic_string&)): Likewise.
2715 * testsuite/27_io/basic_istream/extractors_character/char/
2716 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2717 * testsuite/27_io/basic_ostream/inserters_character/char/
2718 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2719 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2720 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2722 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2724 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2725 .gch compilation works.
2726 * aclocal.m4, configure: Regenerate.
2727 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2728 initialize PCHFLAGS.
2730 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2732 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2733 erase(iterator), erase(iterator, iterator), c_str,
2734 compare(const basic_string&)): Constify various variables.
2735 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2736 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2737 _S_create, resize, _M_replace, _M_replace_safe,
2738 append(const basic_string&), append(const basic_string&, size_type,
2739 size_type), append(const _CharT*, size_type), append(size_type,
2740 _CharT), operator+(const _CharT*, const basic_string&),
2741 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2742 size_type, _CharT), find(const _CharT*, size_type, size_type),
2743 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2744 rfind(_CharT, size_type), compare(size_type, size_type,
2745 const basic_string&), compare(size_type, size_type,
2746 const basic_string&, size_type, size_type), compare(const _CharT*),
2747 compare(size_type, size_type, const _CharT*), compare(size_type,
2748 size_type, const _CharT*, size_type)): Likewise.
2750 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2752 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2753 'if' branch less obscure.
2755 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2758 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2760 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2761 (__atomic_add): likewise.
2763 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2765 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2766 reformatting, consistent with basic_filebuf::pbackfail.
2768 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2771 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2772 __attribute__ ((__unused__)).
2773 * config/os/aix/atomicity.h: Likewise.
2775 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2778 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2779 is already active don't try to store in it a second char.
2780 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2782 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2784 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2786 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2789 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2791 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2792 instead of unnecessarily taking the address of _M_pback.
2793 (xsgetn): Simplify slightly for a single char pback buffer.
2795 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2797 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2798 variables and two 'if', clean up.
2800 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2802 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2803 not _M_out_end, since the former actually points to the string
2804 end (vs buffer end).
2805 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2807 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2809 * docs/doxygen/filter: New file.
2810 * docs/doxygen/filter.sed: New file.
2811 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2812 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2813 * docs/html/documentation.html: Fix links to doxygen pages.
2815 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
2817 * include/bits/fstream.tcc (_M_convert_to_external): Don't
2818 check for __ilen > 0.
2820 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
2823 * include/bits/stl_iterator.h (class __normal_iterator):
2824 Don't inherit from iterator, add missing typedefs.
2826 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
2828 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
2829 * testsuite/24_iterators/reverse_iterator/1.cc: New.
2830 * testsuite/24_iterators/reverse_iterator/2.cc: New.
2831 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
2834 2003-05-27 Steve Ellcey <sje@cup.hp.com>
2836 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
2838 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
2839 _LIBUNWIND_STD_ABI is set.
2841 2003-05-26 Brendan Kehoe <brendan@zen.org>
2843 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
2844 make sure the number of digits required after the decimal-point
2845 (if any) is exactly the value returned by frac_digits().
2846 * testsuite/22_locale/money_get/get/char/9.cc: New.
2847 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
2849 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
2851 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
2854 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
2857 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
2858 (_M_pback): No array necessary.
2859 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
2860 unbuffered case, coalesec into ...
2861 (basic_filebuf::overflow): ...this.
2862 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
2863 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
2865 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
2867 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
2868 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
2869 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
2870 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
2871 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
2872 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
2873 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
2874 libsupc++/eh_unex_handler.cc, libsupc++/exception,
2875 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
2876 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
2877 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
2878 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
2879 Replace "GNU CC" with "GCC".
2881 * include/backward/new.h: Replace "GNU CC" with "GCC".
2883 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2886 * configure.in: Switch target to host, don't assume newlib.
2887 (target_alias): Remove.
2888 * configure: Regenerate.
2889 * acinclude.m4: Same.
2890 * aclocal.m4: Regenerate.
2891 * configure.target: Same. Rename to...
2892 * configure.host: This.
2894 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2896 * include/std/std_fstream.h (_S_pback_size): Remove definition.
2897 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
2899 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
2900 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
2901 of _S_pback_size for systems with no COMDAT or weak support.
2902 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
2903 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
2904 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
2905 * testsuite/27_io/basic_fstream/3.cc: Likewise.
2906 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
2907 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
2908 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
2909 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
2910 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
2912 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
2914 * include/bits/fstream.tcc (_M_underflow): Simplify:
2915 !__testout implies _M_filepos == _M_in_end, therefore
2916 the first _M_file.seekoff call is never issued.
2918 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
2920 * configure.in: Sort cross table.
2921 * configure: Regenerate.
2923 2003-05-22 Brad Spencer <spencer@infointeractive.com>
2926 * configure.in: Add Solaris cross bits.
2928 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2930 * libstdc++-v3/config/os/mingw32/os_defines.h
2931 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
2932 (NOMINMAX): Define. Update copyright year.
2934 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
2936 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
2938 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2940 * docs/html/faq/index.html: Fix typo.
2941 * docs/html/faq/index.txt: Regenerate.
2943 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
2945 * docs/html/test.html: Fix markup.
2947 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
2949 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
2951 Update copyright year.
2953 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2955 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
2957 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
2959 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
2960 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
2962 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2964 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
2965 Cast via void* to avoid -Wcast-align warnings.
2966 (__default_alloc_template::_S_refill): Likewise.
2968 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
2970 * testsuite/README: Move to...
2971 * docs/html/test.html: ...here. Add documentation.
2972 * docs/html/install.html: Move testing bits out..
2973 * docs/html/documentation.html: Add separate testing link.
2974 * testsuite/performance: Add.
2975 * testsuite/performance/allocator.cc: New.
2976 * testsuite/performance/complex_norm.cc: New.
2977 * testsuite/performance/cout_insert_int.cc: New.
2978 * testsuite/performance/fstream_seek_write.cc: New.
2979 * testsuite/performance/ifstream_getline.cc: New.
2980 * testsuite/performance/map_create_fill.cc: New.
2981 * testsuite/performance/ofstream_insert_float.cc: New.
2982 * testsuite/performance/ofstream_insert_int.cc: New.
2983 * testsuite/performance/string_append.cc: New.
2984 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
2987 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
2990 * include/std/std_complex.h (pow): Tidy.
2992 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
2994 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
2995 that upon filebuf::close() 27.8.1.1,3 is enforced.
2997 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
2999 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3001 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3002 Nathan Myers <ncm@cantrip.org>
3004 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3005 _M_convert_to_external only once (_M_buf_size is now the size of
3006 the put area + 1 for the overflow char of a full area); call
3007 _M_set_buffer instead of _M_set_indeterminate.
3008 (setbuf): Don't accept a buffer smaller than 2 chars.
3009 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3010 instead of _M_set_determinate.
3011 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3012 (seekoff): Likewise.
3013 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3014 std::ios_base::openmode, bool, size_t),
3015 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3017 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3018 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3020 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3021 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3022 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3023 the put area is now BUFSIZ - 1.
3024 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3025 that now the smallest _M_buf_size is 2 (still fails, for the same
3028 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3030 * testsuite/thread/pthread4.cc: Tweak test.
3032 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3034 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3035 excess errors dg marker, use dg-errors instead.
3036 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3037 * testsuite/20_util/auto_ptr_neg.cc: Same.
3039 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3041 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3043 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3044 Initialize _M_codecvt.
3045 (basic_filebuf::imbue): Same.
3046 (basic_filebuf::showmanyc): Use it.
3047 (basic_filebuf::underflow): Use it.
3048 (basic_filebuf::_M_convert_to_external): Use it.
3049 (basic_filebuf::seekoff): Use it.
3050 (basic_filebuf::imbue): Use it, tweaks.
3051 * include/bits/localefwd.h (__check_facet): New.
3052 * include/bits/locale_classes.h: Tweaks.
3053 * include/bits/locale_facets.tcc: Tweaks.
3054 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3055 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3056 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3057 * include/bits/basic_ios.tcc: Same.
3058 * include/bits/istream.tcc: Same.
3059 * include/bits/ostream.tcc: Same.
3060 * include/std/std_streambuf.h: Same.
3061 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3062 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3063 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3064 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3065 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3066 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3068 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3070 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3071 unnecessary includes and unused string literals.
3072 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3073 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3074 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3075 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3077 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3079 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3081 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3083 * include/std/std_fstream.h (_M_convert_to_external): Change
3084 to return bool, take two less streamsize parameters.
3085 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3086 consistently definition.
3087 (_M_overflow): Adjust call points.
3089 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3091 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3093 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3095 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3096 * testsuite/Makefile.in: Regenerate.
3098 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3100 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3101 * testsuite/Makefile.in: Regenerate.
3103 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3106 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3107 (acos): Handle integer argument.
3126 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3127 (__enable_if): Likewise.
3128 * testsuite/26_numerics/cmath/overloads.C: New test.
3130 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3135 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3136 implementation, based on old wchar_t specialization, add support
3137 for codecvt::in() return value of codecvt_base::noconv, remove
3138 _M_file.sys_ungetc() call.
3139 * include/std/std_fstream.h (basic_file::underflow,
3140 basic_file::uflow, basic_file::_M_underflow): Remove
3141 specialization declarations, call _M_underflow from generic versions
3142 of underflow and uflow.
3143 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3144 basic_file::_M_underflow): Remove specializations.
3145 * src/Makefile.am (sources): Remove fstream.cc.
3146 * src/Makefile.in: Regenerated.
3147 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3148 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3149 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3150 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3152 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3154 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3156 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3158 (__basic_file::xsputn): Same.
3159 (__basic_file::seekoff): Same.
3160 (__basic_file::seekpos): Same.
3161 (__basic_file::showmanyc): Same.
3162 * config/io/basic_file_stdio.cc: Same.
3163 * include/std/std_fstream.h: Same.
3164 * include/bits/fstream.tcc: Same.
3165 * src/fstream.cc: Same.
3166 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3168 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3173 * include/ext/stdio_sync_filebuf.h: New file.
3174 (basic_stdiobuf): New.
3175 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3176 * include/Makefile.in: Regenerate.
3177 * include/bits/ios_base.h (Init::_S_create_buffers,
3178 Init::_S_destroy_buffers): Remove declarations.
3179 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3180 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3181 * src/ios.cc (Init::_S_create_buffers,
3182 Init::_S_destroy_buffers): Remove.
3183 (Init::Init): Create and use syncronized buffers.
3184 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3185 create and install unsyncronized buffers.
3186 * testsuite/27_io/objects/char/10.cc: New test.
3187 * testsuite/27_io/objects/char/9.cc: New test.
3188 * testsuite/27_io/objects/char/9661-1.cc: New test.
3189 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3190 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3191 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3192 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3193 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3194 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3195 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3196 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3197 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3198 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3199 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3200 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3201 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3202 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3203 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3204 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3205 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3206 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3207 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3208 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3209 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3210 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3211 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3212 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3213 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3214 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3215 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3216 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3217 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3218 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3219 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3220 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3221 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3222 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3223 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3224 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3225 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3226 * testsuite/ext/stdiobuf_char.cc: New test.
3227 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3229 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3231 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3232 unnecessary includes and unused string literals.
3233 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3235 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3237 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3239 2003-05-07 Richard Henderson <rth@redhat.com>
3242 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3243 (__cxa_end_catch): Likewise.
3244 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3245 _Unwind_Resume_or_Rethrow.
3246 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3247 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3248 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3249 exceptions. Don't push terminate/unexpected to cxa functions.
3250 (__cxa_call_unexpected): Remove foreign exception fixmes.
3252 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3254 * testsuite/27_io/ios_base/cons: New.
3255 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3256 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3258 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3260 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3262 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3263 there is no buffer or __testget == !__testinit.
3266 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3267 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3269 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3270 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3272 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3274 * include/std/std_sstream.h (_M_sync): Minor tweak.
3276 * include/bits/fstream.tcc (close): No need to call
3277 _M_destroy_pback, setting _M_pback_init to false suffices
3280 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3282 * include/bits/stl_algo.h: Enums as _S_.
3283 * include/bits/stl_tree.h: Same.
3284 * include/bits/stl_bvector.h: Same.
3285 * include/bits/ios_base.h: Same.
3286 * include/bits/stl_alloc.h: Same.
3287 * include/ext/stl_hashtable.h: Same.
3288 * src/ios.cc: And here.
3290 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3291 * include/bits/sstream.tcc: Same.
3293 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3295 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3297 * include/bits/locale_facets.h (__num_base): Remove protected.
3298 Use _S_[io]* names for enumerations.
3299 (_S_format_int): Remove.
3300 * include/bits/locale_facets.tcc: Same.
3301 * src/locale.cc: Same.
3303 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3305 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3307 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3308 * docs/html/faq/index.txt: Regenerated.
3310 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3311 Matt Kraai <kraai@alumni.cmu.edu>
3313 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3316 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3318 * configure.target (mips*): Use the generic atomicity.h by default.
3320 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3321 (Inspired by an alternate patch from Danny Smith.)
3323 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3324 (_Swap_lock_struct<>): ...and the horse it rode in on.
3325 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3326 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3327 member to support...
3328 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3329 visibility rules related to POSIX threads.
3330 * testsuite/thread/pthread7-rope.cc: New test.
3332 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3334 * testsuite/21_strings/basic_string/find/char/3.cc: New
3335 file, testing basic_string<char>::find_first_not_of.
3336 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3337 Likewise for basic_string<wchar_t>.
3339 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3341 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3343 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3345 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3347 * include/Makefile.in: Regenerate.
3349 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3351 * include/std/std_sstream.h (str()): Tidy.
3353 2003-05-02 Nathan Myers <ncm@cantrip.org>
3354 Paolo Carlini <pcarlini@unitus.it>
3356 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3358 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3360 * include/bits/basic_string.h (swap): Remove redundant template
3361 parameters from declaration of non-template member function.
3363 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3365 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3366 * configure.in: Move libintl.h header test...
3367 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3368 the NLS-related test results into one symbol.
3369 * src/functexcept.cc: Use it here.
3370 * aclocal.m4, config.h.in, configure: Regenerated.
3372 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3374 * include/bits/sstream.tcc (overflow): Instead of calling
3375 str(), then _M_string.reserve, thus copying the contents
3376 of the current buffer two times, just copy the latter in
3377 a temporary, then use the 'swap trick'.
3379 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3381 * include/std/std_sstream.h (str()): Revert the best of the
3382 previous 'improvement', incorrect due to the COW nature of
3383 v3 basic_string; simplify.
3385 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3387 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3388 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3390 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3392 * testsuite/abi_check.cc (check_version): Update known versions.
3393 Check added symbols for version_name != base version. Add missing
3394 symbols to incompatible list.
3396 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3398 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3399 * aclocal.m4: Regenerated.
3400 * configure: Regenerated.
3402 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3404 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3405 Const-ify some variables.
3406 (basic_streambuf::xsputn): Likewise; change the type of some
3407 variables to size_t.
3408 (__copy_streambufs): Change some variables to size_t.
3410 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3412 * include/std/std_sstream.h (str()): Avoid constructing
3413 a basic_string temporary not only when it would turn out
3414 to be zero-sized but also when identical to the current
3417 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3419 * include/ext/stdio_filebuf.h
3420 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3421 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3422 Shorten a bit (-10 lines) by factoring out some code.
3424 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3426 * acinclude.m4: Add bit missing from previous patch.
3427 * aclocal.m4, configure: Regenerated.
3429 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3431 * docs/doxygen/mainpage.html: Bring up to date.
3432 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3434 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3435 breaks everything. Don't scan them.
3436 * docs/html/documentation.html: Point to "Write after approval"
3439 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3441 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3442 of libc if message translations are being used. Fix info text in
3443 xieee_1003.1-2001 case.
3444 * aclocal.m4, configure: Regenerate.
3446 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3447 Loren J. Rittle <ljrittle@acm.org>
3448 Martin v. Loewis <martin@v.loewis.de>
3450 * config/cpu/i386/atomicity.h: New file.
3452 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3454 * include/bits/fstream.tcc (open): Change to single return.
3456 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3458 * include/std/std_sstream.h (underflow): Change to single return.
3460 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3462 * include/std/std_streambuf.h (_M_buf): is currently
3463 used only for basic_filebuf, therefore move it there.
3464 (basic_streambuf(), ~basic_streambuf()): Adjust.
3465 * include/std/std_fstream.h (_M_buf): Moved here.
3466 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3467 is actually redundant for basic_stringbuf.
3468 (_M_really_sync): Likewise.
3469 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3470 * include/bits/sstream.tcc (seekoff): Adjust.
3472 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3474 * src/localename.cc: Standardize exception strings.
3475 * src/locale.cc: Same.
3477 * include/bits/basic_string.tcc: Same.
3478 * include/bits/basic_ios.tcc: Same.
3479 * include/std/std_bitset.h: Same.
3480 * include/ext/ropeimpl.h: Same.
3481 * include/bits/stl_vector.h: Same.
3482 * include/bits/stl_deque.h: Same.
3483 * include/bits/stl_bvector.h: Same.
3484 * config/locale/generic/c_locale.cc: Same.
3485 * config/locale/gnu/c_locale.cc: Same.
3486 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3488 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3490 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3492 * include/std/std_streambuf.h (_M_buf_size): is currently
3493 used only for basic_filebuf, therefore move it there.
3494 (basic_streambuf(), ~basic_streambuf()): Adjust.
3495 * include/std/std_fstream.h (_M_buf_size): Moved here.
3496 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3498 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3500 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3501 _M_buf_size (synced input is now correctly dealt with
3502 elsewhere); when the output buffer is full don't fall back
3503 to a snextc-sputc loop, call overflow instead.
3505 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3507 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3508 the innermost 'if' by factoring out some code.
3510 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3512 * configure.in: Test for libintl.h.
3513 * include/bits/c++config: Define __N for everybody.
3514 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3515 include/bits/stl_deque.h, include/bits/stl_vector.h,
3516 include/std/std_bitset.h: Wrap all __throw* text with __N.
3517 * po/Makefile.am (pot): New rule, mostly working.
3518 * src/functexcept.cc: Call gettext on all __throw* arguments when
3519 -fexceptions is in effect.
3520 * po/Makefile.in, config.h.in, configure: Regenerate.
3522 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3525 * include/bits/ios_base.h (Init::_S_ios_create,
3526 Init::_S_ios_destroy): Remove declarations.
3527 (Init::_S_create_buffers,
3528 Init::_S_destroy_buffers): Declare
3529 * src/ios.cc (Init::_S_ios_create): Remove
3530 (Init::_S_create_buffers): Create buffers and add to streams.
3531 (Init::_S_ios_destroy): Rename to...
3532 (Init::_S_destroy_buffers): this.
3533 (Init::Init): Only construct streams once.
3534 (Init::~Init): Flush streams, don't destroy them.
3535 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3536 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3537 * testsuite/27_io/objects/char/5.cc: New test.
3538 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3539 * testsuite/27_io/objects/char/6.cc: New test.
3540 * testsuite/27_io/objects/char/7.cc: New test.
3542 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3544 * testsuite/27_io/objects/char/8.cc: New test.
3546 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3548 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3549 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3551 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3553 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3554 _M_destroy_pback. _M_pback_create to
3555 _M_create_pback. _M_underflow_common to
3556 _M_underflow. _M_really_overflow to _M_overflow.
3557 * include/bits/fstream.tcc: Same.
3558 * src/fstream.cc: Same.
3559 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3560 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3561 * include/bits/streambuf.tcc: Same.
3562 * include/bits/fstream.tcc: Same.
3563 * include/bits/sstream.tcc: Same.
3565 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3567 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3568 from fixed size array.
3569 (locale): Change _S_categories as well.
3571 * include/bits/locale_facets.tcc: Tweak.
3572 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3573 * config/locale/generic/c_locale.cc: Same.
3574 * src/locale.cc: Tweak.
3575 * src/globals.cc: Change facet_name to name_vec, add names_c.
3576 * src/localename.cc: Use them.
3577 (locale::_Impl::~_Impl): Destroy _M_names.
3578 (locale::_Impl::_Impl): Create _M_names.
3580 2003-04-27 Andreas Schwab <schwab@suse.de>
3582 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3583 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3585 2003-04-27 Nathan Myers <ncm@cantrip.org>
3587 Move some basic_string members out of line because
3588 they are too big to reasonably be inline.
3589 * include/bits/basic_string.h
3590 (assign(const basic_string&, size_type, size_type),
3591 assign(const _CharT*, size_type),
3592 insert(size_type, const basic_string&, size_type, size_type),
3593 insert(size_type, const _CharT*, size_type),
3594 replace(size_type, size_type, const _CharT*, size_type)):
3595 Move from here to...
3596 * include/bits/basic_string.tcc: ...here.
3598 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3600 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3601 the innermost 'if' by factoring out some code.
3603 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3605 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3606 use in_avail(), simplify.
3608 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3610 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3611 in basic_stringbuf it's unused.
3613 * include/std/std_sstream.h (underflow): consistently use
3614 _M_in_cur, not gptr().
3616 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3617 Phil Edwards <pme@gcc.gnu.org>
3619 * testsuite_flags.in: Guard against the possibility
3620 of having "xgcc" as a part of a folder name in the
3621 path to the GCC build folder.
3622 * testsuite/Makefile.am: Likewise.
3623 * testsuite/Makefile.in: Regenerated.
3625 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3628 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3629 exception specifications.
3630 (basic_filebuf::close): Same.
3631 (basic_filebuf::_M_pback_destroy): Same.
3632 (basic_filebuf::_M_destroy_internal_buffer): Same.
3633 (basic_filebuf): Remove __res_type typedef.
3634 * src/fstream.cc: Same.
3635 * include/bits/fstream.tcc
3636 (basic_filebuf::_M_convert_to_external): Simplify.
3637 (basic_filebuf::seekoff): Use has_facet before use_facet.
3638 (basic_filebuf::close): Add exception specification of throw().
3639 * testsuite/27_io/basic_filebuf/cons: New.
3640 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3641 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3642 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3643 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3645 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3647 * include/bits/locale_classes.h
3648 (locale::_S_extra_categories_size): Remove.
3649 * src/locale.cc: Remove _S_extra_categories_size.
3650 * src/localename.cc: Same.
3651 * config/locale/gnu/c_locale.cc: Same.
3652 * config/locale/generic/c_locale.cc: Same.
3654 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3656 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3658 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3660 * docs/html/17_intro/howto.html: Update some links.
3661 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3662 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3663 * docs/html/ext/howto.html: Link to demangler notes and API.
3664 * docs/html/faq/index.html: Remove trailing whitespace.
3665 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3666 (5.6): Change to a bulleted list.
3668 * docs/html/faq/index.txt, docs/html/documentation.html,
3669 docs/html/17_intro/porting.html: Regenerate.
3671 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3673 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3674 belongs to basic_filebuf.
3675 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3676 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3677 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3678 instantiation (now belongs to basic_filebuf).
3679 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3680 * testsuite/27_io/basic_istream/3.cc: Likewise.
3681 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3682 _S_pback_size now belongs to basic_filebuf.
3683 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3684 instantiation (now belongs to basic_filebuf).
3685 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3686 belongs to basic_filebuf.
3687 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3688 instantiation (now belongs to basic_filebuf).
3689 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3690 _S_pback_size now belongs to basic_filebuf.
3691 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3692 instantiation (now belongs to basic_filebuf).
3693 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3695 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3696 instantiation (now belongs to basic_filebuf).
3697 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3699 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3701 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3702 * configure: Regenerated.
3704 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3706 * config/locale/generic/c_locale.h (__convert_from_v): Use
3709 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3711 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3712 implementation only.
3713 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3714 Comment and change to comply with DR 60 and the effect on gcount().
3715 * include/std/std_istream.h: Update comments.
3716 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3717 comments about reasons for tests. Test sync() against gcount().
3718 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3719 for effect on gcount().
3720 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3721 for effect on gcount().
3723 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3725 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3728 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3730 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3731 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3732 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3733 (basic_streambuf::basic_streambuf()): Adjust.
3734 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3735 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3736 _M_pback_create(), _M_pback_destroy()): Moved here
3737 from basic_streambuf.
3738 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3740 (basic_filebuf::_S_pback_size): Add declaration.
3741 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3744 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3746 Consistently use _M_in_beg instead of eback(), _M_in_cur
3747 instead of gptr(), and so on.
3748 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3749 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3750 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3751 __copy_streambufs): Ditto.
3752 * include/std/std_streambuf.h (sgetc): Ditto.
3754 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3756 * include/bits/sstream.tcc (pbackfail, overflow):
3759 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3761 * include/std/std_streambuf.h (uflow()): It's used only by
3762 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3763 therefore do not consider the _M_buf_unified == true case.
3765 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3767 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3769 * docs/html/ext/howto.html ('LWG Issues'):
3770 Add issues 19, 90, 171, 231, 271.
3772 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3774 * include/bits/sstream.tcc (pbackfail): Remove redundant
3775 NULL pointer check from test involving _M_in_*.
3776 (overflow, seekoff, seekpos): Const qualify bool variables.
3777 * include/std/std_sstream.h (underflow): Remove redundant
3778 NULL pointer check from test involving _M_in_*.
3779 (_M_really_sync): Const qualify bool variables.
3780 * src/fstream.cc (_M_underflow_common): Remove redundant
3781 NULL pointer check from test involving _M_in_*, const qualify
3784 * include/std/std_streambuf.h (sgetc): Remove redundant
3787 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3789 According to 5.9 para 2 (second bullet) for pointers p, q
3790 pointing to the same type, with p == 0 and q == 0, (p < q)
3792 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3793 seekoff): Remove redundant NULL pointer checks from tests
3794 involving _M_out_* and _M_in_*, const qualify bool variables.
3795 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3796 qualify bool variables.
3797 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3798 Remove redundant NULL pointer checks from tests involving
3799 _M_out_* and _M_in_*, const qualify bool variables.
3800 * include/std/std_fstream.h (sync): Likewise.
3801 (_M_is_indeterminate): Const qualify bool variables.
3802 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3803 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3804 const qualify bool variables.
3805 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3808 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3810 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3811 C99 FP macros, if actually captured.
3813 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3814 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3815 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3816 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3817 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
3819 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3820 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
3821 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
3822 * include/c_std/std_cstdlib.h: Use new macros.
3823 * include/c_std/std_cstdio.h: Use new macros.
3824 * include/c_std/std_cwchar.h: Use new macros.
3826 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
3829 * include/bits/ostream.tcc: Catch all exceptions for formatted
3830 output, instead of std::exception and derivatives.
3831 * include/bits/istream.tcc: Same.
3832 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
3833 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
3834 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
3835 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
3836 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
3837 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
3840 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
3842 * include/bits/c++config: Minor cosmetic tweaks.
3844 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
3846 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
3847 * include/Makefile.am (pch_input): Find in ${target_builddir}.
3848 (pch_output): Rename to...
3849 (pch_output_builddir): ..this. Find in ${target_builddir}.
3850 (pch_source): Tweak.
3851 (pch_build): Key off a built file.
3852 (pch_output rule): Rename to...
3853 (pch_input rule): ...this. Produce ${pch_output_builddir}
3854 instead of ${pch_output}.
3855 (install-pch rule): Install ${pch_output_builddir}.
3856 * include/Makefile.in: Regenerated.
3858 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
3860 * include/std/std_streambuf.h (setp): _M_out_lim, being
3861 the end limit of used put area, is set equal to _M_out_beg.
3863 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
3865 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
3866 * aclocal.m4: Regenerated.
3867 * configure.in: Remove old demangler bits.
3869 * configure: Regenerate.
3870 * config.h.in: Regenerate.
3871 * include/Makefile.am (allstamps): Now allstamped.
3872 (allcreated): Define this.
3873 (all-local): Use 'em.
3874 Conditionally define pch_build, pch_install based on
3876 (${pch_output}): New rule.
3877 (install-pch): New rule.
3878 (install-headers): New rule.
3879 (install-data-local): Install headers and conditionally pch.
3880 * include/Makefile.in: Regenerate.
3881 * testsuite_flags.in (--build-cxx): Use pch file.
3883 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
3885 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
3887 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
3888 Paolo Carlini <pcarlini at unitus dot it>
3891 * docs/html/27_io/howto.html
3892 ('The buffering is screwing up my program!'): Explain that
3893 opening counts as an I/O operation.
3895 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
3897 * testsuite/thread/pthread1.cc: Enable for darwin test.
3898 * testsuite/thread/pthread2.cc: Same.
3899 * testsuite/thread/pthread3.cc: Same.
3900 * testsuite/thread/pthread4.cc: Same.
3901 * testsuite/thread/pthread5.cc: Same.
3902 * testsuite/thread/pthread6.cc: Same.
3904 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
3907 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
3908 Populate it with multiple legal ways to obtain the C99 float
3909 transcendentals. Use them instead of direct global reference.
3910 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
3911 * docs/html/17_intro/porting.texi
3912 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3913 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3914 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
3915 * config/os/bsd/freebsd/os_defines.h
3916 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
3917 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
3918 * testsuite/26_numerics/c_math_dynamic.cc: New file.
3920 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
3921 Benjamin Kosnik <bkoz@redhat.com>
3923 * config/os/generic/ctype_inline.h: Fix.
3925 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
3927 * testsuite/testsuite_hooks.h
3928 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
3929 Change to try_named_locale.
3930 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
3932 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
3934 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
3935 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
3936 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
3937 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
3938 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
3939 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
3940 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
3941 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
3942 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
3943 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
3944 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
3945 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
3946 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
3947 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
3948 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
3949 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
3950 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
3951 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
3952 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
3953 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
3954 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
3955 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
3956 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
3957 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
3958 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
3959 * testsuite/22_locale/collate/compare/char/1.cc: Same.
3960 * testsuite/22_locale/collate/compare/char/2.cc: Same.
3961 * testsuite/22_locale/collate/compare/char/3.cc: Same.
3962 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
3963 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
3964 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
3965 * testsuite/22_locale/collate/hash/char/2.cc: Same.
3966 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
3967 * testsuite/22_locale/collate/transform/char/2.cc: Same.
3968 * testsuite/22_locale/collate/transform/char/3.cc: Same.
3969 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
3970 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
3971 * testsuite/22_locale/collate_byname/1.cc: Same.
3972 * testsuite/22_locale/ctype/is/char/2.cc: Same.
3973 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
3974 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
3975 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
3976 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
3977 * testsuite/22_locale/facet/2.cc: Same.
3978 * testsuite/22_locale/locale/cons/2.cc: Same.
3979 * testsuite/22_locale/locale/cons/4.cc: Same.
3980 * testsuite/22_locale/locale/cons/5.cc: Same.
3981 * testsuite/22_locale/locale/cons/7.cc: Same.
3982 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
3983 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
3984 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
3985 * testsuite/22_locale/messages/members/char/1.cc: Same.
3986 * testsuite/22_locale/messages/members/char/2.cc: Same.
3987 * testsuite/22_locale/messages/members/char/3.cc: Same.
3988 * testsuite/22_locale/messages_byname/1.cc: Same.
3989 * testsuite/22_locale/money_get/get/char/1.cc: Same.
3990 * testsuite/22_locale/money_get/get/char/2.cc: Same.
3991 * testsuite/22_locale/money_get/get/char/3.cc: Same.
3992 * testsuite/22_locale/money_get/get/char/4.cc: Same.
3993 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
3994 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
3995 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
3996 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
3997 * testsuite/22_locale/money_put/put/char/1.cc: Same.
3998 * testsuite/22_locale/money_put/put/char/2.cc: Same.
3999 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4000 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4001 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4002 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4003 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4004 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4005 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4006 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4007 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4008 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4009 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4010 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4011 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4012 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4013 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4014 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4015 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4016 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4017 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4018 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4019 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4020 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4021 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4022 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4023 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4024 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4025 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4026 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4027 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4028 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4029 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4030 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4031 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4032 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4033 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4034 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4035 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4036 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4037 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4038 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4039 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4040 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4041 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4042 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4043 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4044 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4045 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4046 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4047 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4048 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4049 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4050 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4051 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4052 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4053 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4054 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4055 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4056 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4057 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4058 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4059 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4060 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4061 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4062 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4063 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4064 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4065 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4066 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4067 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4068 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4069 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4070 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4072 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4074 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4075 solaris includes, not generic.
4077 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4079 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4081 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4082 * include/bits/concept_check.h: Fix multi-line comment.
4083 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4084 when target is *-*-freebsd*.
4086 2003-04-14 Nathan Myers <ncm@cantrip.org>
4087 Paolo Carlini <pcarlini@unitus.it>
4089 PR libstdc++/9701 (in_avail())
4090 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4091 doesn't care if there is anything in some putback cell.
4092 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4094 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4095 unused string literals.
4097 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4099 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4100 _M_out_end, _M_set_indeterminate() does it.
4102 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4104 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4106 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4108 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4109 Change basic_streambuf instantiation to "unsigned char".
4110 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4112 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4114 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4115 * include/bits/fstream.tcc
4116 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4117 references to _M_buf_size_opt.
4118 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4119 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4120 __bufsize to __in_avail and __size_opt to __buf_size.
4121 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4122 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4123 * include/std/std_streambuf.h (~basic_streambuf(),
4124 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4125 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4126 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4127 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4128 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4129 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4130 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4131 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4132 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4133 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4134 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4135 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4136 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4138 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4140 * include/ext/stdio_filebuf.h
4141 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4142 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4143 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4144 since a stack-based buffer is used for small values of the size_t
4146 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4147 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4148 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4150 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4153 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4154 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4156 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4158 * testsuite/22_locale/locale/cons/3.cc: Split.
4159 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4160 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4161 Check before trying to create a locale from the environment.
4162 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4163 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4166 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4168 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4169 locale to construct this hybrid locale, not the global locale.
4171 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4173 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4174 instantiation for AIX.
4175 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4176 * testsuite/25_algorithms/min_max.cc: Same.
4178 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4180 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4181 twice. Always set _M_cfile to 0 when stream was open.
4183 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4185 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4186 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4187 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4188 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4189 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4190 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4191 ifstream_members.cc, instantiations.cc, ios.cc,
4192 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4193 ios_base_members_static.cc, ios_base_storage.cc,
4194 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4195 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4196 iostream.cc, iostream_members.cc, istream.cc,
4197 istream_exception.cc, istream_extractor_char.cc,
4198 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4199 istream_extractor_other-2.tst, istream_extractor_other.cc,
4200 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4201 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4202 istream_sentry.cc, istream_unformatted-1.tst,
4203 istream_unformatted-1.txt, istream_unformatted.cc,
4204 istringstream.cc, istringstream_members.cc,
4205 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4206 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4207 ostream_fail.cc, ostream_inserter_arith.cc,
4208 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4209 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4210 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4211 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4212 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4213 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4214 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4215 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4216 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4217 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4218 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4219 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4220 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4221 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4223 * 27_io/basic_filebuf/1.cc: New.
4224 * 27_io/basic_filebuf/2.cc: New.
4225 * 27_io/basic_filebuf/3.cc: New.
4226 * 27_io/basic_filebuf/4.cc: New.
4227 * 27_io/basic_filebuf/close/char/1.cc: New.
4228 * 27_io/basic_filebuf/close/char/2.cc: New.
4229 * 27_io/basic_filebuf/close/char/3.cc: New.
4230 * 27_io/basic_filebuf/close/char/4879.cc: New.
4231 * 27_io/basic_filebuf/close/char/9964.cc: New.
4232 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4233 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4234 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4235 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4236 * 27_io/basic_filebuf/open/char/1.cc: New.
4237 * 27_io/basic_filebuf/open/char/2.cc: New.
4238 * 27_io/basic_filebuf/open/char/3.cc: New.
4239 * 27_io/basic_filebuf/open/char/9507.cc: New.
4240 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4241 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4242 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4243 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4244 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4245 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4246 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4247 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4248 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4249 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4250 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4251 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4252 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4253 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4254 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4255 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4256 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4257 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4258 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4259 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4260 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4261 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4262 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4263 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4264 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4265 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4266 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4267 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4268 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4269 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4270 * 27_io/basic_fstream/1.cc: New.
4271 * 27_io/basic_fstream/2.cc: New.
4272 * 27_io/basic_fstream/3.cc: New.
4273 * 27_io/basic_fstream/4.cc: New.
4274 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4275 * 27_io/basic_ifstream/1.cc: New.
4276 * 27_io/basic_ifstream/2.cc: New.
4277 * 27_io/basic_ifstream/3.cc: New.
4278 * 27_io/basic_ifstream/4.cc: New.
4279 * 27_io/basic_ifstream/cons/char/1.cc: New.
4280 * 27_io/basic_ifstream/open/char/1.cc: New.
4281 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4282 * 27_io/basic_ios/1.cc: New.
4283 * 27_io/basic_ios/2.cc: New.
4284 * 27_io/basic_ios/3.cc: New.
4285 * 27_io/basic_ios/4.cc: New.
4286 * 27_io/basic_ios/clear/char/1.cc: New.
4287 * 27_io/basic_ios/cons/char/1.cc: New.
4288 * 27_io/basic_ios/cons/char/2.cc: New.
4289 * 27_io/basic_ios/cons/char/3.cc: New.
4290 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4291 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4292 * 27_io/basic_ios/exceptions/char/1.cc: New.
4293 * 27_io/basic_ios/locales/char/1.cc: New.
4294 * 27_io/basic_iostream/1.cc: New.
4295 * 27_io/basic_iostream/2.cc: New.
4296 * 27_io/basic_iostream/3.cc: New.
4297 * 27_io/basic_iostream/4.cc: New.
4298 * 27_io/basic_istream/1.cc: New.
4299 * 27_io/basic_istream/2.cc: New.
4300 * 27_io/basic_istream/3.cc: New.
4301 * 27_io/basic_istream/4.cc: New.
4302 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4303 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4304 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4305 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4306 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4307 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4308 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4309 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4310 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4311 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4312 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4313 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4314 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4315 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4316 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4317 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4318 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4319 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4320 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4321 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4322 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4323 * 27_io/basic_istream/get/char/1.cc: New.
4324 * 27_io/basic_istream/get/char/2.cc: New.
4325 * 27_io/basic_istream/getline/char/1.cc: New.
4326 * 27_io/basic_istream/getline/char/2.cc: New.
4327 * 27_io/basic_istream/getline/char/3.cc: New.
4328 * 27_io/basic_istream/ignore/char/1.cc: New.
4329 * 27_io/basic_istream/ignore/char/6360.cc: New.
4330 * 27_io/basic_istream/ignore/char/7220.cc: New.
4331 * 27_io/basic_istream/peek/char/1.cc: New.
4332 * 27_io/basic_istream/peek/char/6414.cc: New.
4333 * 27_io/basic_istream/putback/char/1.cc: New.
4334 * 27_io/basic_istream/read/char/1.cc: New.
4335 * 27_io/basic_istream/read/char/2.cc: New.
4336 * 27_io/basic_istream/read/char/3.cc: New.
4337 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4338 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4339 * 27_io/basic_istream/readsome/char/8258.cc: New.
4340 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4341 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4342 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4343 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4344 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4345 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4346 * 27_io/basic_istream/sentry/char/1.cc: New.
4347 * 27_io/basic_istream/sentry/char/2.cc: New.
4348 * 27_io/basic_istream/sentry/char/3.cc: New.
4349 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4350 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4351 * 27_io/basic_istream/tellg/char/1.cc: New.
4352 * 27_io/basic_istream/tellg/char/8348.cc: New.
4353 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4354 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4355 * 27_io/basic_istream/ws/char/1.cc: New.
4356 * 27_io/basic_istringstream/1.cc: New.
4357 * 27_io/basic_istringstream/2.cc: New.
4358 * 27_io/basic_istringstream/3.cc: New.
4359 * 27_io/basic_istringstream/4.cc: New.
4360 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4361 * 27_io/basic_istringstream/str/char/1.cc: New.
4362 * 27_io/basic_ofstream/1.cc: New.
4363 * 27_io/basic_ofstream/2.cc: New.
4364 * 27_io/basic_ofstream/3.cc: New.
4365 * 27_io/basic_ofstream/4.cc: New.
4366 * 27_io/basic_ofstream/cons/char/2.cc: New.
4367 * 27_io/basic_ofstream/open/char/1.cc: New.
4368 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4369 * 27_io/basic_ostream/1.cc: New.
4370 * 27_io/basic_ostream/2.cc: New.
4371 * 27_io/basic_ostream/3.cc: New.
4372 * 27_io/basic_ostream/4.cc: New.
4373 * 27_io/basic_ostream/cons/char/9827.cc: New.
4374 * 27_io/basic_ostream/endl/char/1.cc: New.
4375 * 27_io/basic_ostream/ends/char/1.cc: New.
4376 * 27_io/basic_ostream/ends/char/2.cc: New.
4377 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4378 * 27_io/basic_ostream/flush/char/1.cc: New.
4379 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4380 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4381 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4382 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4383 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4384 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4385 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4386 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4387 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4388 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4389 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4390 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4391 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4392 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4393 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4394 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4395 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4396 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4397 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4398 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4399 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4400 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4401 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4402 * 27_io/basic_ostream/sentry/char/1.cc: New.
4403 * 27_io/basic_ostream/sentry/char/2.cc: New.
4404 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4405 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4406 * 27_io/basic_ostream/tellp/char/1.cc: New.
4407 * 27_io/basic_ostream/tellp/char/2.cc: New.
4408 * 27_io/basic_ostringstream/1.cc: New.
4409 * 27_io/basic_ostringstream/2.cc: New.
4410 * 27_io/basic_ostringstream/3.cc: New.
4411 * 27_io/basic_ostringstream/4.cc: New.
4412 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4413 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4414 * 27_io/basic_ostringstream/str/char/1.cc: New.
4415 * 27_io/basic_ostringstream/str/char/2.cc: New.
4416 * 27_io/basic_streambuf/1.cc: New.
4417 * 27_io/basic_streambuf/2.cc: New.
4418 * 27_io/basic_streambuf/3.cc: New.
4419 * 27_io/basic_streambuf/cons/char/1.cc: New.
4420 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4421 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4422 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4423 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4424 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4425 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4426 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4427 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4428 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4429 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4430 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4431 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4432 * 27_io/basic_stringbuf/1.cc: New.
4433 * 27_io/basic_stringbuf/2.cc: New.
4434 * 27_io/basic_stringbuf/3.cc: New.
4435 * 27_io/basic_stringbuf/4.cc: New.
4436 * 27_io/basic_stringbuf/5.cc: New.
4437 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4438 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4439 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4440 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4441 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4442 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4443 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4444 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4445 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4446 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4447 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4448 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4449 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4450 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4451 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4452 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4453 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4454 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4455 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4456 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4457 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4458 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4459 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4460 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4461 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4462 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4463 * 27_io/basic_stringbuf/str/char/1.cc: New.
4464 * 27_io/basic_stringbuf/str/char/2.cc: New.
4465 * 27_io/basic_stringbuf/str/char/3.cc: New.
4466 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4467 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4468 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4469 * 27_io/basic_stringstream/1.cc: New.
4470 * 27_io/basic_stringstream/2.cc: New.
4471 * 27_io/basic_stringstream/3.cc: New.
4472 * 27_io/basic_stringstream/4.cc: New.
4473 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4474 * 27_io/basic_stringstream/str/char/1.cc: New.
4475 * 27_io/basic_stringstream/str/char/2.cc: New.
4476 * 27_io/basic_stringstream/str/char/3.cc: New.
4477 * 27_io/basic_stringstream/str/char/4.cc: New.
4478 * 27_io/fpos/1.cc: New.
4479 * 27_io/fpos/2.cc: New.
4480 * 27_io/fpos/3.cc: New.
4481 * 27_io/ios_base/callbacks/1.cc: New.
4482 * 27_io/ios_base/state/1.cc: New.
4483 * 27_io/ios_base/storage/1.cc: New.
4484 * 27_io/ios_base/storage/2.cc: New.
4485 * 27_io/ios_base/storage/3.cc: New.
4486 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4487 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4488 * 27_io/manipulators/adjustfield/char/1.cc: New.
4489 * 27_io/manipulators/adjustfield/char/2.cc: New.
4490 * 27_io/manipulators/basefield/char/1.cc: New.
4491 * 27_io/manipulators/standard/char/1.cc: New.
4492 * 27_io/manipulators/standard/char/2.cc: New.
4493 * 27_io/objects/char/1.cc: New.
4494 * 27_io/objects/char/2.cc: New.
4495 * 27_io/objects/char/2523-1_xin.cc: New.
4496 * 27_io/objects/char/2523-1_xin.in: New.
4497 * 27_io/objects/char/2523-2_xin.cc: New.
4498 * 27_io/objects/char/2523-2_xin.in: New.
4499 * 27_io/objects/char/3045.cc: New.
4500 * 27_io/objects/char/3647.cc: New.
4501 * 27_io/objects/char/3_xin.cc: New.
4502 * 27_io/objects/char/3_xin.in: New.
4503 * 27_io/objects/char/4_xin.cc: New.
4504 * 27_io/objects/char/4_xin.in: New.
4505 * 27_io/objects/char/5268.cc: New.
4506 * 27_io/objects/char/5280_xin.cc: New.
4507 * 27_io/objects/char/5280_xin.in: New.
4508 * 27_io/objects/char/6548_xin.cc: New.
4509 * 27_io/objects/char/6548_xin.in: New.
4510 * 27_io/objects/char/6648-1_xin.cc: New.
4511 * 27_io/objects/char/6648-1_xin.in: New.
4512 * 27_io/objects/char/6648-2_xin.cc: New.
4513 * 27_io/objects/char/6648-2_xin.in: New.
4514 * 27_io/objects/char/7744_xin.cc: New.
4515 * 27_io/objects/char/7744_xin.in: New.
4516 * 27_io/objects/wchar_t/1.cc: New.
4517 * 27_io/types/1.cc: New.
4518 * 27_io/types/2.cc: New.
4519 * data/filebuf_members-1.tst: New.
4520 * data/filebuf_members-1.txt: New.
4521 * data/filebuf_virtuals-1.tst: New.
4522 * data/filebuf_virtuals-1.txt: New.
4523 * data/filebuf_virtuals-2.tst: New.
4524 * data/filebuf_virtuals-3.tst: New.
4525 * data/ifstream_members-1.tst: New.
4526 * data/ifstream_members-1.txt: New.
4527 * data/ios_base_members_static-1.tst: New.
4528 * data/istream_extractor_other-1.tst: New.
4529 * data/istream_extractor_other-1.txt: New.
4530 * data/istream_extractor_other-2.tst: New.
4531 * data/istream_seeks-1.tst: New.
4532 * data/istream_seeks-1.txt: New.
4533 * data/istream_seeks-2.tst: New.
4534 * data/istream_seeks-3.tst: New.
4535 * data/istream_unformatted-1.tst: New.
4536 * data/istream_unformatted-1.txt: New.
4537 * data/ofstream_members-1.tst: New.
4538 * data/ostream_inserter_char-1.tst: New.
4539 * data/ostream_inserter_char-1.txt: New.
4540 * data/ostream_inserter_other-1.tst: New.
4541 * data/ostream_inserter_other-2.tst: New.
4542 * data/ostream_seeks-1.tst: New.
4544 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4546 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4547 requirement that __mode must be strict input or output.
4549 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4552 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4553 output string shouldn't core.
4554 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4556 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4558 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4561 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4563 * testsuite/data: New directory.
4564 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4565 to copy files from the testsuite data directory.
4566 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4567 testfiles containing _xin, which now means this is an interactive
4568 test and should be run with the interactive dejagnu hooks.
4569 * testsuite/Makefile.am: Remove testsuite_* files.
4570 * testsuite/Makefile.in: Regenerate.
4572 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4574 * docs/html/install.html: Document complete list of locales
4575 required by test suite. Document procedure for installing
4576 said locales under Debian. Solicit instructions for other
4579 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4581 * include/bits/sstream.tcc (overflow): Make sure operands of min
4582 and max have the same type.
4584 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4587 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4590 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4592 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4593 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4594 Don't set _M_out_end.
4595 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4596 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4597 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4598 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4599 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4600 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4601 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4602 _M_out_end - _M_out_cur.
4603 (__copy_streambufs): Likewise.
4604 * include/std/std_fstream.h (_M_set_determinate): Set
4607 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4609 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4610 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4611 test for synced buffer.
4612 * include/std/std_fstream.h (sync): Likewise.
4613 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4614 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4616 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4618 * include/std/std_sstream.h (basic_istringstream): Adjust
4620 (basic_ostringstream): Same.
4621 (basic_stringstream): Same.
4622 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4623 (basic_ofstream): Same.
4624 (basic_fstream): Same.
4625 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4626 that does not call init.
4627 * include/std/std_istream.h (basic_istream): Same.
4628 (basic_iostream): Construct istream, ostream uninitialized, use
4629 init to initialize just once. Add protected ctor that does not
4632 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4633 Nathan Myers <ncm@cantrip.org>
4636 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4638 (basic_filebuf<>::showmanyc): Use the information provided
4639 by codecvt and __basic_file<>::showmanyc_helper to implement
4640 a non-trivial showmanyc.
4641 * config/io/basic_file_stdio.h
4642 (__basic_file<>::showmanyc_helper): New, declare.
4643 * config/io/basic_file_stdio.cc
4644 (__basic_file<>::showmanyc_helper): Define.
4645 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4646 (__basic_file<char>::open): Don't call fcntl().
4647 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4648 GLIBCPP_CHECK_POLL): New macros.
4649 * configure.in: Call here.
4650 * acconfig.h: Add #undefs for the corresponding symbols.
4651 * aclocal.m4: Regenerate.
4652 * configure: Regenerate.
4653 * config.h.in: Regenerate.
4655 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4657 * config/linker-map.gnu: Remove string export restrictions.
4659 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4661 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4662 find_first_of, find_last_of and find_last_not_of tests.
4663 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4664 tests here, new file.
4665 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4666 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4667 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4668 wchar_t find_first_of tests here, new file.
4669 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4671 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4673 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4674 wchar_t find_last_of tests here.
4675 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4676 wchar_t find_last_not_of tests here.
4678 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4680 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4681 Correct return value.
4683 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4686 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4687 * include/std/std_complex.h (norm): Use faster,
4688 less accurate computation for builtin float types under --fast-math.
4690 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4692 * testsuite/testsuite_hooks.h: Fix warning nits.
4694 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4696 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4697 Only .set mips2 for the o32 ABI.
4699 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4701 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4702 Test char not wchar_t.
4704 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4706 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4707 Correct size, taking into account sizeof(wchar_t).
4709 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4711 Reshuffle 21_strings testsuite.
4712 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4713 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4714 element_access.cc, operations.cc, char_traits_requirements.cc,
4715 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4716 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4717 wchar_t tests as follows.
4718 * 21_strings/basic_string/append/char/1.cc: New.
4719 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4720 * 21_strings/basic_string/assign/char/1.cc: New.
4721 * 21_strings/basic_string/assign/char/2.cc: New.
4722 * 21_strings/basic_string/assign/char/3.cc: New.
4723 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4724 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4725 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4726 * 21_strings/basic_string/capacity/1.cc: New.
4727 * 21_strings/basic_string/capacity/char/1.cc: New.
4728 * 21_strings/basic_string/capacity/char/2.cc: New.
4729 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4730 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4731 * 21_strings/basic_string/compare/char/1.cc: New.
4732 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4733 * 21_strings/basic_string/cons/char/1.cc: New.
4734 * 21_strings/basic_string/cons/char/2.cc: New.
4735 * 21_strings/basic_string/cons/char/3.cc: New.
4736 * 21_strings/basic_string/cons/char/4.cc: New.
4737 * 21_strings/basic_string/cons/char/5.cc: New.
4738 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4739 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4740 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4741 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4742 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4743 * 21_strings/basic_string/element_access/char/1.cc: New.
4744 * 21_strings/basic_string/element_access/char/2.cc: New.
4745 * 21_strings/basic_string/element_access/char/3.cc: New.
4746 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4747 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4748 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4749 * 21_strings/basic_string/find/char/1.cc: New.
4750 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4751 * 21_strings/basic_string/insert/char/1.cc: New.
4752 * 21_strings/basic_string/insert/char/2.cc: New.
4753 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4754 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4755 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4756 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4757 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4758 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4759 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4760 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4761 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4762 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4763 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4764 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4765 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4766 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4767 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4768 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4769 * 21_strings/basic_string/operators/char/1.cc: New.
4770 * 21_strings/basic_string/operators/char/2.cc: New.
4771 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4772 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4773 * 21_strings/basic_string/replace/char/1.cc: New.
4774 * 21_strings/basic_string/replace/char/2.cc: New.
4775 * 21_strings/basic_string/replace/char/3.cc: New.
4776 * 21_strings/basic_string/replace/char/4.cc: New.
4777 * 21_strings/basic_string/replace/char/5.cc: New.
4778 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4779 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4780 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4781 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4782 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4783 * 21_strings/basic_string/rfind/char/1.cc: New.
4784 * 21_strings/basic_string/rfind/char/2.cc: New.
4785 * 21_strings/basic_string/rfind/char/3.cc: New.
4786 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4787 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4788 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4789 * 21_strings/basic_string/substr/char/1.cc: New.
4790 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4791 * 21_strings/c_strings/char/1.cc: New.
4792 * 21_strings/c_strings/char/2.cc: New.
4793 * 21_strings/c_strings/wchar_t/1.cc: New.
4794 * 21_strings/c_strings/wchar_t/2.cc: New.
4795 * 21_strings/char_traits/requirements/char/1.cc: New.
4796 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4797 * 21_strings/char_traits/typedefs/char/1.cc: New.
4799 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4800 Petur Runolfsson <peturr02@ru.is>
4803 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4804 basic_filebuf<wchar_t>::_M_underflow_common):
4805 if (gptr() < egptr()) return *gptr().
4806 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4808 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4809 changes: unlink fifo before making it, fix spelling error.
4811 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4813 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4814 * testsuite/Makefile.in: Regenerate.
4815 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
4818 2003-03-17 Petur Runolfsson <peturr02@ru.is>
4821 * include/bits/fstream.tcc (basic_filebuf::close):
4822 Always close file, even when write fails.
4823 * testsuite/27_io/filebuf_members.cc (test_07): New test.
4825 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
4827 * libsupc++/Makefile.am (C_COMPILE): Remove.
4828 (LTCOMPILE): Likewise.
4829 * libsupc++/Makefile.in: Regenerate.
4831 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4833 * testsuite/23_containers/bitset_members.cc: Add test variable.
4834 * testsuite/23_containers/map_insert.cc: Same.
4835 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
4836 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
4837 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4838 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4839 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4840 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
4841 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
4842 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4843 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4844 * testsuite/27_io/istream_exception.cc: Same.
4845 * testsuite/27_io/filebuf_virtuals.cc: Same.
4846 * testsuite/27_io/stringbuf_virtuals.cc: Same.
4847 * testsuite/27_io/ostream_inserter_arith.cc: Same.
4848 * testsuite/26_numerics/valarray_operators.cc: Same.
4849 * testsuite/26_numerics/slice.cc: Same.
4850 * testsuite/26_numerics/slice_array_assignment.cc: Same.
4851 * testsuite/24_iterators/istream_iterator.cc: Same.
4852 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
4854 2003-03-14 Petur Runolfsson <peturr02@ru.is>
4858 * config/locale/generic/ctype_members.cc,
4859 * config/locale/gnu/ctype_members.cc
4860 (ctype<wchar_t>::do_widen(char)): Cast argument to
4861 unsigned char before passing to btowc.
4862 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
4863 Convert characters with btowc instead of mbsrtowcs.
4864 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
4866 Convert characters with wctob instead of wcsrtombs.
4867 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
4868 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
4869 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
4871 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
4873 * include/stdc++.h: New.
4874 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
4875 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
4876 * include/Makefile.in: Regenerate.
4877 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
4878 (--cxxflags): Put -g -O2 here.
4879 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
4881 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
4883 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
4884 missing named locale.
4886 2003-03-14 Andreas Schwab <schwab@suse.de>
4888 * configure.in: Only append to makefiles that are newly created to
4889 avoid multiple multi-do/multi-clean rules.
4890 * configure: Rebuilt.
4892 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
4894 * docs/html/configopts.html, docs/html/documentation.html,
4895 docs/html/explanations.html, docs/html/install.html,
4896 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
4897 invalid XHTML and make page header style consistent.
4899 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
4901 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
4902 * docs/html/faq/index.txt: Regenerate.
4903 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
4905 2003-03-12 Andreas Schwab <schwab@suse.de>
4907 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
4908 glibcpp_toolexeclibdir.
4909 * aclocal.m4, configure: Rebuilt.
4911 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
4913 * docs/html/faq/index.html: Update text about location of headers.
4914 * docs/html/faq/index.txt: Regenerate.
4916 2003-03-11 Carlo Wood <carlo@alinoe.com>
4918 * include/bits/demangle.h: Prepend accessors of
4919 class qualifier with 'get_' in order to fix warnings
4920 when compiling with -Wshadow.
4922 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
4924 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
4926 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
4928 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
4929 report lack of setenv().
4931 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4933 * config/io/basic_file_stdio.cc: include <unistd.h>.
4935 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4936 Nathan Myers <ncm@cantrip.org>
4939 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
4940 seekoff, seekpos): Add a boolean parameter __stdio.
4941 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
4942 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
4943 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
4945 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
4946 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
4947 * include/std/std_fstream.h (sync): Likewise.
4948 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
4949 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
4950 libstdc++/8399 commit involving isatty(0).
4951 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
4952 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
4953 * configure.in: Remove call.
4954 * aclocal.m4: Regenerate.
4955 * config.h.in: Regenerate.
4956 * configure: Regenerate.
4957 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
4959 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
4962 * include/bits/fstream.tcc (overflow): don't write EOF to file.
4963 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
4965 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
4968 * include/bits/basic_ios.h (_M_setstate): New.
4969 * include/bits/ostream.tcc (operator<<): Use it.
4970 * include/bits/istream.tcc (operator>>): Use it.
4971 * include/std/std_ostream.h (operator<<): Make friends.
4972 * include/std/std_istream.h (operator>>): Make friends.
4973 * testsuite/27_io/ostream_exception.cc,
4974 testsuite/27_io/istream_exception.cc: New tests.
4976 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
4978 * include/bits/locale_facets.tcc: Fix typo.
4980 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
4982 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
4984 * config/locale/generic/c_locale.cc
4985 (locale::facet::_S_create_c_locale): Throw runtime exception when
4986 unsupported language is specified.
4987 * testsuite/testsuite_hooks.h
4988 (run_test_wrapped_generic_locale_exception_catcher): New function.
4989 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
4990 Suppress runtime exception thrown by generic implementation.
4991 (run_tests_wrapped_env): Likewise.
4992 (run_test_wrapped_generic_locale_exception_catcher): New function.
4993 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
4994 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
4995 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
4996 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
4997 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
4998 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
4999 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5000 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5001 * testsuite/22_locale/facet/2.cc: New test wrap.
5002 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5003 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5004 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5005 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5006 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5007 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5008 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5009 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5010 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5011 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5012 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5013 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5014 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5015 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5016 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5017 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5018 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5019 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5020 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5021 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5022 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5023 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5024 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5025 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5026 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5027 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5028 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5029 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5030 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5031 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5032 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5033 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5034 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5035 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5036 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5037 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5038 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5039 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5040 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5041 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5042 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5043 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5044 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5045 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5046 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5047 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5048 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5049 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5050 * testsuite/27_io/ios_members.cc: New test wrap.
5051 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5053 * testsuite/27_io/streambuf_members.cc: New test wrap.
5054 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5056 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5057 Petur Runolfsson <peturr02@ru.is>
5060 * include/bits/streambuf.tcc (__copy_streambufs): Use
5061 sgetn-sputn only when sputn cannot fail, otherwise fall back
5062 to safe snextc-sputc.
5063 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5065 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5067 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5068 locale cache for truename and falsename.
5070 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5072 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5073 _M_word_size initialization.
5075 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5077 * include/bits/fstream.tcc (_M_convert_to_external):
5078 Set __elen to zero if codecvt::out eventually fails.
5080 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5083 * include/bits/fstream.tcc (_M_really_overflow): Check
5084 for _M_convert_to_external possible failures.
5085 * include/std/std_fstream.h (sync): Check _M_really_overflow
5086 return value and return -1 in case of failure.
5087 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5089 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5092 * include/bits/istream.tcc (operator>>(_CharT*),
5093 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5094 * testsuite/27_io/stringstream.cc (test02): Add.
5096 * include/bits/istream.tcc (operator>>(_CharT*)):
5097 Assign a char_type to *__s.
5099 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5102 * include/bits/locale_facets.tcc
5103 (collate::do_compare, collate::do_transform):
5104 Handle nul characters in input.
5105 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5106 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5107 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5108 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5110 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5112 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5114 * testsuite/27_io/ostream_fail.cc: New test.
5116 2003-03-07 Matthias Klose <doko@debian.org>
5118 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5119 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5120 * Makefile.in: Regenerate.
5121 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5123 AM_MAKEFLAGS: Pass gxx_include_dir.
5124 * libsupc++/Makefile.in: Regenerate.
5126 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5128 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5129 mask. Test setting small-numbered pword and iword slots. Test
5130 behavior at limit of numeric_limits::max. Check that values are
5131 still good after failures.
5133 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5135 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5136 (ios_base::ios_base): Set _M_word, _M_word_size.
5137 (ios_base::~ios_base): Remove redundant test.
5138 * testsuite/27_io/ios_base_storage.cc (test03): New.
5140 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5142 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5143 incorrect whitespace added in my previous change.
5145 2003-03-05 Carlo Wood <carlo@alinoe.com>
5147 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5148 _S_initialized() in order to allow debugging libraries to detect
5149 when the std streams are initialized from an overloaded operator
5152 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5154 * libsupc++/demangle.h: Move to..
5155 * include/bits/demangle.h: ...here.
5156 * src/demangle.cc: Adjust include.
5157 * include/Makefile.am (bits_headers): Add.
5158 * include/Makefile.in: Regenerate.
5160 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5162 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5164 * config/linker-map.gnu: Filter typeinfo and vtable info.
5166 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5168 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5169 new failure. Throw exception if badbit and exception mask when ix
5170 >= numeric_limits<int>::max().
5172 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5174 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5175 min and max have the same type.
5176 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5178 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5180 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5181 * include/Makefile.in: Regenerate.
5183 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5185 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5187 * config/linker-map.gnu: Hide more stuff.
5188 * include/Makefile.am: Cleanups.
5189 * include/Makefile.in: Regenerate.
5191 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5193 * config/locale/generic/messages_members.h (messages::messages):
5194 Remove name from unused parameter.
5196 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5198 * src/Makefile.am (sources): Add demangle.cc.
5201 * src/Makefile.in: Regenerate.
5202 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5203 * libsupc++/Makefile.in: Regenerate.
5205 * testsuite/testsuite_hooks.h
5206 (__gnu_cxx_test::verify_demangle): New.
5207 * testsuite/testsuite_hooks.cc: Define.
5209 2003-02-27 Carlo Wood <carlo@alinoe.com>
5211 * src/demangle.cc: New.
5212 * libsupc++/demangle.h: New.
5214 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5215 Carlo Wood <carlo@alinoe.com>
5217 * testsuite/demangle/abi_examples/01.cc: New.
5218 * testsuite/demangle/abi_examples/02.cc: New.
5219 * testsuite/demangle/abi_examples/03.cc: New.
5220 * testsuite/demangle/abi_examples/04.cc: New.
5221 * testsuite/demangle/abi_examples/05.cc: New.
5222 * testsuite/demangle/abi_examples/06.cc: New.
5223 * testsuite/demangle/abi_examples/07.cc: New.
5224 * testsuite/demangle/abi_examples/08.cc: New.
5225 * testsuite/demangle/abi_examples/09.cc: New.
5226 * testsuite/demangle/abi_examples/10.cc: New.
5227 * testsuite/demangle/abi_examples/11.cc: New.
5228 * testsuite/demangle/abi_examples/12.cc: New.
5229 * testsuite/demangle/abi_examples/13.cc: New.
5230 * testsuite/demangle/abi_examples/14.cc: New.
5231 * testsuite/demangle/abi_examples/15.cc: New.
5232 * testsuite/demangle/abi_examples/16.cc: New.
5233 * testsuite/demangle/abi_examples/17.cc: New.
5234 * testsuite/demangle/abi_examples/18.cc: New.
5235 * testsuite/demangle/abi_examples/19.cc: New.
5236 * testsuite/demangle/abi_examples/20.cc: New.
5237 * testsuite/demangle/abi_examples/21.cc: New.
5238 * testsuite/demangle/abi_examples/22.cc: New.
5239 * testsuite/demangle/abi_examples/23.cc: New.
5240 * testsuite/demangle/abi_examples/24.cc: New.
5241 * testsuite/demangle/abi_examples/25.cc: New.
5242 * testsuite/demangle/abi_examples/26.cc: New.
5243 * testsuite/demangle/abi_text/01.cc: New.
5244 * testsuite/demangle/abi_text/02.cc: New.
5245 * testsuite/demangle/abi_text/03.cc: New.
5246 * testsuite/demangle/abi_text/04.cc: New.
5247 * testsuite/demangle/abi_text/05.cc: New.
5248 * testsuite/demangle/abi_text/06.cc: New.
5249 * testsuite/demangle/abi_text/07.cc: New.
5250 * testsuite/demangle/abi_text/08.cc: New.
5251 * testsuite/demangle/abi_text/09.cc: New.
5252 * testsuite/demangle/abi_text/10.cc: New.
5253 * testsuite/demangle/abi_text/11.cc: New.
5254 * testsuite/demangle/abi_text/12.cc: New.
5255 * testsuite/demangle/abi_text/13.cc: New.
5256 * testsuite/demangle/abi_text/14.cc: New.
5257 * testsuite/demangle/regression/3111-1.cc: New.
5258 * testsuite/demangle/regression/3111-2.cc: New.
5259 * testsuite/demangle/regression/7986-01.cc: New.
5260 * testsuite/demangle/regression/7986-02.cc: New.
5261 * testsuite/demangle/regression/7986-03.cc: New.
5262 * testsuite/demangle/regression/7986-04.cc: New.
5263 * testsuite/demangle/regression/7986-05.cc: New.
5264 * testsuite/demangle/regression/7986-06.cc: New.
5265 * testsuite/demangle/regression/7986-07.cc: New.
5266 * testsuite/demangle/regression/7986-08.cc: New.
5267 * testsuite/demangle/regression/7986-09.cc: New.
5268 * testsuite/demangle/regression/7986-10.cc: New.
5269 * testsuite/demangle/regression/7986-11.cc: New.
5270 * testsuite/demangle/regression/7986-12.cc: New.
5271 * testsuite/demangle/regression/7986.cc: New.
5272 * testsuite/demangle/regression/8897.cc: New.
5273 * testsuite/demangle/regression/cw-01.cc: New.
5274 * testsuite/demangle/regression/cw-02.cc: New.
5275 * testsuite/demangle/regression/cw-03.cc: New.
5276 * testsuite/demangle/regression/cw-04.cc: New.
5277 * testsuite/demangle/regression/cw-05.cc: New.
5278 * testsuite/demangle/regression/cw-06.cc: New.
5279 * testsuite/demangle/regression/cw-07.cc: New.
5280 * testsuite/demangle/regression/cw-08.cc: New.
5281 * testsuite/demangle/regression/cw-09.cc: New.
5282 * testsuite/demangle/regression/cw-10.cc: New.
5283 * testsuite/demangle/regression/cw-11.cc: New.
5284 * testsuite/demangle/regression/cw-12.cc: New.
5285 * testsuite/demangle/regression/cw-13.cc: New.
5286 * testsuite/demangle/regression/cw-14.cc: New.
5287 * testsuite/demangle/regression/old.cc: New.
5289 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5291 * docs/doxygen/Intro.3: Update with new (proper) names.
5292 * docs/doxygen/TODO: Update.
5293 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5294 Fake entries for standard typedefs.
5295 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5296 * docs/html/documentation.html: Top-level man page is now called
5298 * include/std/std_limits.h: Doxygenate.
5300 2003-02-25 Scott Snyder <snyder@fnal.gov>
5303 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5304 Correct documentation.
5305 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5306 equal_range): Likewise.
5308 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5312 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5313 __bump is true (uflow), always increment the read pointer
5314 (_M_in_cur) before returning successfully.
5315 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5317 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5318 Nathan Myers <ncm@cantrip.org>
5320 PR libstdc++/9404, PR libstdc++/9701 (partial)
5321 (aka pptr == epptr implies overflow)
5322 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5323 Consistently, _M_out_end points to the end of the buffer just
5325 (overflow): Tweak to use _M_out_buf_size().
5326 (_M_convert_to_external): The role of the old _M_out_end is
5327 now played by _M_out_lim.
5328 (_M_really_overflow): Likewise.
5329 (seekoff): Likewise.
5330 (setbuf): _M_out_end points to the end of the external buffer.
5331 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5332 account the resolution of DR 169 (TC).
5333 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5334 (seekpos): Use _M_string.capacity(); tweak.
5335 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5336 * include/std/std_fstream.h (sync): The role of the old
5337 _M_out_end is now played by _M_out_lim.
5338 (_M_set_indeterminate): Use _M_set_determinate.
5339 (_M_set_determinate): _M_out_end is now _M_out_lim.
5340 (_M_is_indeterminate): Likewise.
5341 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5342 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5343 which have the information readily available as _M_string.capacity();
5344 for ate and app modes, pass the string size to _M_really_sync.
5345 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5346 point to the end of the buffer (i.e., epptr) and to the string end,
5348 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5349 which points to the right limit of the used put area.
5350 (_M_out_cur_move): The role of the old _M_out_end is now played
5352 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5353 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5355 (basic_streambuf()): Initialize _M_out_lim too.
5356 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5357 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5358 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5360 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5362 * testsuite/27_io/ios_base_storage.cc (main): Call
5365 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5367 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5368 numpunct facet accesses with data from __locale_cache.
5370 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5372 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5373 * docs/html/faq/index.txt: Regenerate.
5375 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5377 * config/linker-map.gnu: Also export locking symbols needed for the
5378 generic atomicity.h case.
5380 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5382 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5384 * configure: Rebuilt.
5386 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5388 * include/bits/sstream.tcc (overflow): According to
5389 27.7.1.3, p5, actual output is performed by sputc(c).
5391 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5394 * include/bits/stl_alloc.h: Remove all traces of assert().
5396 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5398 * include/std/std_sstream.h (str()): the size of the
5399 current string may be different from the initial one
5400 whenever _M_out_end > _M_out_beg.
5401 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5403 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5406 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5408 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5410 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5411 * testsuite/27_io/ios_members.cc (test03): New.
5413 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5415 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5416 (basic_ios::_M_cache_facets): Move into above.
5417 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5419 (basic_ios::imbue): Force locale cache to be built.
5420 (basic_ios::_M_init): Create and initialize locale cache.
5421 * include/bits/ios_base.h (__locale_cache_base): Declare.
5422 (ios_base::_M_locale_cache): New.
5423 (ios_base::_M_cache): Define.
5424 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5426 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5427 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5428 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5429 cache literal string, grouping flag, thousands separator.
5430 (__locale_cache<_CharT>::__locale_cache): New.
5431 (__locale_cache<_CharT>::_M_init): New.
5432 * src/ios.cc: Clear _M_locale_cache in constructor.
5433 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5436 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5438 * src/locale-inst.cc: Do not include <cassert>.
5439 * src/locale.cc: Likewise.
5441 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5444 * include/std/std_fstream.h: Declare underflow and uflow
5445 specializations, change generic definitions to do nothing.
5446 * src/fstream.cc: Add underflow and uflow specializations.
5448 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5451 * include/bits/fstream.tcc (_M_convert_to_external):
5452 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5453 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5455 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5457 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5458 * include/bits/basic_ios.tcc: Guard use of extern template.
5459 * include/std/std_iomanip.h: Same.
5460 * include/bits/streambuf.tcc: Same.
5461 * include/bits/stl_alloc.h: Same.
5462 * include/bits/locale_facets.tcc: Same.
5463 * include/bits/ostream.tcc: Same.
5464 * include/bits/istream.tcc: Same.
5465 * include/bits/fstream.tcc: Same.
5466 * include/bits/basic_string.tcc: Same.
5468 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5470 * include/bits/ostream.tcc (sentry::sentry): Improve
5471 performance-wise the fix for libstdc++/9563.
5473 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5475 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5476 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5477 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5478 when we don't have static mutex initialization.
5479 (__exchange_and_add): Use _Atomic_add_mutex_once.
5480 * src/misc-inst.cc: Definitions of all the above.
5482 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5485 * include/bits/ostream.tcc (sentry::sentry): Check
5486 the state of the stream after the preparation.
5487 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5489 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5491 * include/Makefile.am (stamp-std-precompile): Add rule.
5492 * include/Makefile.in: Regenerated.
5494 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5495 Benjamin Kosnik <benjamin@redhat.com>
5497 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5498 Add indexes into this array.
5499 (__num_base::_S_atoms): To _S_atoms_in.
5500 (num_put::_M_insert): Rename to _M_pad.
5501 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5502 (num_put::_M_widen_int): Rename to _M_group_int.
5503 (num_put::_M_widen_float): Rename to _M_group_float.
5504 * include/bits/locale_facets.tcc (__int_to_char): New inline
5505 function and adapter functions.
5506 (num_put::_M_group_int): Streamline.
5507 (num_put::_M_group_float): Streamline.
5508 (num_put::_M_convert_int): Remove unused parameter names. Choose
5509 large enough buffer for text. Use __int_to_char instead of
5510 __convert_from_v. Formatted text is now at the end of the buffer.
5511 (num_put::_M_convert_float): Preliminary fixups.
5512 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5513 (__int_to_char<unsigned long long>): Same.
5514 (__int_to_char<char, unsigned long>): New.
5515 (__int_to_char<char, unsigned long long>): New.
5516 (__int_to_char<wchar_t, unsigned long>): New.
5517 (__int_to_char<wchar_t, unsigned long long>): New.
5519 2003-02-11 Scott Snyder <snyder@fnal.gov>
5522 * include/bits/fstream.tcc (seekoff): Avoid operator+
5525 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5528 * include/ext/stdio_filebuf.h
5529 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5530 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5531 Change to take a __size parameter of type size_t, not
5532 of type (template parameter dependent) int_type.
5533 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5534 size vars to size_t.
5535 * testsuite/ext/stdio_filebuf.cc: Add.
5537 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5538 Petur Runolfsson <peturr02@ru.is>
5541 * include/bits/streambuf.tcc (__copy_streambufs):
5542 Don't conditionalize the copy to __testput.
5543 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5545 2002-02-11 DJ Delorie <dj@redhat.com>
5547 * acinclude.m4: Check for native targets that can't link at
5548 this point in the build.
5549 * aclocal.m4: Regenerate.
5550 * configure: Regenerate.
5552 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5554 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5556 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5559 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5561 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5562 unsigned char platforms.
5564 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5567 * include/std/std_istream.h
5568 (basic_istream::sentry::operator bool()): Make const.
5569 * include/std/std_ostream.h
5570 (basic_ostream::sentry::operator bool()): Likewise.
5571 * testsuite/27_io/istream_sentry.cc (test03): Add.
5572 * testsuite/27_io/ostream_sentry.cc: Add.
5574 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5577 Implement resolution of DR 231 (Ready)
5578 * include/bits/locale_facets.h (__num_base::_S_format_float):
5579 Change declaration: return void, remove __prec parameter.
5580 * src/locale.cc (__num_base::_S_format_float): Implement
5581 resolution of DR 231.
5582 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5583 Tweak uses. Check for negative precision.
5584 * testsuite/22_locale/num_put/put/char/6.cc: Add
5585 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5587 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5589 * config/io/basic_file_libio.h: Fixups.
5590 * config/io/c_io_libio.h: Same.
5591 * libio/Makefile.am: Same.
5592 * libio/Makefile.in: Regenerated.
5594 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5596 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5597 Explicitly use the "C" locale.
5598 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5600 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5604 PR libstdc++/9028 (partial)
5610 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5611 codecvt<wchar_t, char, mbstate_t>::do_length,
5612 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5614 * config/locale/generic/codecvt_members.cc: ...here.
5615 * config/locale/gnu/codecvt_members.cc: ...and here.
5617 * config/locale/generic/codecvt_members.cc,
5618 * config/locale/gnu/codecvt_members.cc
5619 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5620 codecvt<wchar_t, char, mbstate_t>::do_in,
5621 codecvt<wchar_t, char, mbstate_t>::do_length,
5622 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5623 codecvt<wchar_t, char, mbstate_t>::do_out):
5624 New implementation that handles stateless encodings,
5627 * config/locale/generic/codecvt_members.cc,
5628 * config/locale/gnu/codecvt_members.cc,
5629 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5630 * include/bits/codecvt.h,
5632 (codecvt::length, codecvt::do_length):
5633 Change type of first argument of length and do_length from
5634 'const state_type&' to 'state_type&' according to DR 75.
5636 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5637 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5638 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5639 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5640 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5641 Cleanup and check for correct return value from encoding
5643 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5644 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5645 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5646 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5647 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5648 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5649 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5650 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5651 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5652 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5653 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5654 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5655 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5656 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5657 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5658 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5659 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5660 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5661 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5662 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5663 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5664 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5665 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5666 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5667 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5668 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5669 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5670 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5671 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5672 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5673 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5674 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5675 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5676 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5677 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5678 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5679 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5681 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5683 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5684 (money_put::do_put): Same.
5686 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5688 * include/bits/ios_base.h (ios_base): Document reserved storage.
5690 * include/bits/locale_facets.h: (struct __pad): Comment on
5692 (__verify_grouping): Same.
5693 (__add_grouping): Same.
5694 * include/bits/locale_facets.tcc (__verify_grouping): Move
5695 comments to declaration.
5696 (__add_grouping): Same.
5698 * include/bits/locale_facets.tcc:
5699 (__write<_CharT, _OutIter>): New function.
5700 (__write<_CharT>): New function specialization.
5701 (num_put::_M_insert): Remove explicit loop over iterator. Use
5703 (num_put::_M_widen_float): Remove __basefield.
5704 (num_put::_M_widen_int): Move __basefield to within grouping block.
5706 * include/bits/streambuf_iterator.h: Include <streambuf>.
5707 (ostreambuf_iterator::_M_put): Add.
5709 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5711 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5713 2003-02-04 Nathan Myers <ncm@cantrip.org>
5715 * testsuite/25_algorithms/min_max.cc (test02): Add.
5717 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5719 PR libstdc++/9439, PR libstdc++/9425
5720 * config/io/basic_file_stdio.cc
5721 (__basic_file<char>::seekoff, seekpos): Return -1L if
5723 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5724 Check _M_file.seekoff return value; always return
5725 pos_type(off_type(-1)) in case of failure.
5726 (basic_filebuf::pbackfail): Check this->seekoff return
5727 value and return traits_type::eof() in case of failure.
5728 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5730 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5732 * include/std/std_ostream.h (ostream::_M_write): Declare.
5733 * ostream.tcc (ostream::_M_write): Define.
5734 (basic_ostream::write): Use it.
5735 (operator<<(basic_ostream, _CharT)): Ditto.
5736 (operator<<(basic_ostream, char)): Ditto.
5737 (operator<<(basic_ostream, _CharT*)): Ditto.
5738 (operator<<(basic_ostream, char*)): Ditto.
5739 (operator<<(basic_ostream, basic_string)): Ditto.
5741 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5743 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5745 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5747 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5748 add HTML comment about updating links if numbering changes.
5750 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5753 * include/bits/streambuf.tcc (sputbackc): Access
5754 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5755 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5757 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5760 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5761 operation fails, calls close _and_ returns a null pointer
5762 to indicate failure (27.8.1.3,4).
5763 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5765 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5767 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5769 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5771 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5772 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5773 * docs/html/documentation.html: Regenerate.
5775 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5777 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5778 * docs/html/17_intro/porting.html: Regenerate.
5780 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5781 Phil Edwards <pme@gcc.gnu.org>
5783 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5784 numeric_limits for bits-per-word values.
5785 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5786 Use __builtin_popcountl instead.
5787 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5788 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5789 Use __builtin_ctzl instead.
5790 (_S_bit_count, _S_first_one): Remove.
5791 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5792 * src/Makefile.am (sources): Remove bitset.cc.
5793 * src/bitset.cc: Delete file.
5794 * src/Makefile.in: Regenerate.
5796 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5798 PR libstdc++/9527, PR libstdc++/8713
5799 * docs/html/install.html: Mention glibc version requirement.
5800 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5801 with 3.2.1+ (formatting bugfixes).
5802 * docs/html/faq/index.txt: Regenerate.
5804 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5807 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5810 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5813 * testsuite/26_numerics/valarray_operators.cc: New test.
5815 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
5817 * docs/html/faq/index.html: Correct link to libg++ information.
5818 * docs/html/faq/index.txt: Regenerated.
5820 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
5821 Benjamin Kosnik <bkoz@redhat.com>
5823 Const correctness issue:
5824 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
5825 * include/bits/locale_classes.h
5826 (locale::_Impl::_M_facets): Change type to const facet**.
5827 (locale::_Impl::_M_install_facet): Change declaration to
5829 (locale::facet::_M_references): Make mutable.
5830 (locale::facet::_M_add_reference): Declare const.
5831 (locale::facet::_M_remove_reference): Likewise.
5832 * include/bits/locale_facets.tcc
5833 (use_facet(const locale&)): Tweak for const facet** _M_facets.
5834 (has_facet(const locale&)): Likewise.
5836 (locale::facet::_M_add_reference): Adjust definition.
5837 (locale::facet::_M_remove_reference): Likewise.
5839 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
5840 const facet** _M_facets.
5841 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
5842 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
5843 (locale::_Impl::_M_install_facet): Adjust definition to take
5844 const facet* and for const facet** _M_facets.
5845 * testsuite/22_locale/locale/cons/8.cc: Add.
5847 2003-01-29 Mark Mitchell <mark@codesourcery.com>
5849 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
5850 Use __FLT_HAS_INIFINITY__ to initialize.
5851 (numeric_limits<float>::has_quiet_NaN): Likewise.
5852 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
5854 (numeric_limits<double>::has_quiet_NaN): Likewise.
5855 (numeric_limits<long double>::has_infinity): Use
5856 __LDBL_HAS_INIFINITY__ to initialize.
5857 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
5859 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
5862 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
5863 with bases which are very ambiguous.
5865 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
5867 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
5868 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
5869 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
5870 * src/Makefile.in: Regenerate.
5871 * libsupc++/Makefile.in: Regenerate.
5873 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5875 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
5876 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
5877 version_specific_libs is enabled.
5878 * aclocal.m4, configure: Rebuilt.
5880 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
5882 * include/bits/valarray_meta.h: Remove, split into ...
5883 * include/bits/valarray_before.h: ... this, and ...
5884 * include/bits/valarray_after.h: ... this.
5885 * include/std/std_valarray.h: Adjust.
5886 * include/Makefile.am (bits_headers): Adjust.
5887 * include/Makefile.in: Regenerate.
5889 2003-01-24 Andreas Schwab <schwab@suse.de>
5891 * config/linker-map.gnu: Fix for size_t variance.
5893 2003-01-23 Petur Runolfsson <peturr02@ru.is>
5896 * include/std/std_streambuf.h
5897 (basic_streambuf::basic_streambuf,
5898 basic_streambuf::~basic_streambuf,
5899 basic_streambuf::getloc, basic_streambuf::imbue):
5900 Remove _M_buf_locale_init
5901 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
5902 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5903 * testsuite/27_io/streambuf_members.cc (test08): Add.
5904 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
5906 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5908 Revert include ordering.
5909 * config/locale/generic/c_locale.h: Add include guards.
5910 * config/locale/gnu/c_locale.h: Same.
5911 * include/bits/locale_classes.h: Remove cctype include.
5912 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
5913 * include/std/std_fstream.h: Remove streambuf include.
5914 * include/std/std_sstream.h: Remove streambuf include.
5916 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
5918 * configure.in (libtool_VERSION): To 6:0:0.
5919 * configure: Regenerated.
5920 * config/linker-map.gnu: Clean.
5922 * src/misc-inst.cc: Remove instantiations.
5924 * include/bits/stl_alloc.h (__malloc_alloc_template):
5926 (__default_alloc_template): To __pool_alloc.
5927 * src/stl-inst.cc: Same.
5928 * include/backward/alloc.h: Update.
5929 * testsuite/ext/allocators.cc: Update.
5931 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
5932 really try to remove these if possible.
5933 * src/locale.cc (std): Same.
5935 * testsuite/abi_check.cc (check_version): Add.
5937 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5938 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
5939 Mark Mitchell <mark@codesourcery.com>
5942 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
5943 (basic_filebuf::underflow): Declare.
5946 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
5948 * include/bits/locale_facets.h: Move non-facet classes requiring
5950 * include/bits/locale_classes.h: New.
5951 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
5952 * include/bits/Makefile.in: Regenerate.
5954 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
5955 * config/locale/gnu/c_locale.h: ...here.
5956 * config/locale/generic/c_locale.h: Same.
5958 * include/bits/locale_facets.tcc: Move declarations to...
5959 * include/bits/locale_facets.h: ...here.
5960 * include/bits/basic_ios.h: Tweak includes accordingly.
5961 * include/std/std_sstream.h: Add streambuf include.
5962 * include/std/std_fstream.h: Ditto.
5963 * include/std/std_locale.h: Add locale_classes.h include.
5964 * include/std/std_iosfwd.h: Tweak.
5965 * src/concept-inst.cc: Add iterator include.
5967 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
5968 bits as unexported in the future.
5970 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
5972 Reshuffle 22_locale testsuite.
5973 * 22_locale/(codecvt.cc money_get.cc
5974 codecvt_members_char_char.cc money_get_members_char.cc
5975 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
5976 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
5977 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
5978 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
5979 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
5980 money_put_members_char.cc ctor_copy_dtor.cc
5981 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
5982 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
5983 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
5984 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
5985 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
5986 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
5987 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
5988 operators.cc ctype_widen_char.cc static_members.cc
5989 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
5990 global_templates.cc time_get_members_wchar_t.cc, members.cc,
5991 time_put.cc, messages_byname.cc, time_put_members_char.cc,
5992 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
5993 Split up into individual test cases...
5994 * 22_locale/codecvt/1.cc: New.
5995 * 22_locale/codecvt/2.cc: New.
5996 * 22_locale/codecvt/always_noconv/char/1.cc: New.
5997 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
5998 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
5999 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6000 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6001 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6002 * 22_locale/codecvt/encoding/char/1.cc: New.
6003 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6004 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6005 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6006 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6007 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6008 * 22_locale/codecvt/in/char/1.cc: New.
6009 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6010 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6011 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6012 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6013 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6014 * 22_locale/codecvt/length/char/1.cc: New.
6015 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6016 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6017 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6018 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6019 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6020 * 22_locale/codecvt/max_length/char/1.cc: New.
6021 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6022 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6023 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6024 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6025 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6026 * 22_locale/codecvt/out/char/1.cc: New.
6027 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6028 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6029 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6030 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6031 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6032 * 22_locale/codecvt/unicode/char.cc: New.
6033 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6034 * 22_locale/codecvt/unshift/char/1.cc: New.
6035 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6036 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6037 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6038 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6039 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6040 * 22_locale/collate/1.cc: New.
6041 * 22_locale/collate/2.cc: New.
6042 * 22_locale/collate/compare/char/1.cc: New.
6043 * 22_locale/collate/compare/char/2.cc: New.
6044 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6045 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6046 * 22_locale/collate/compare/wchar_t/1.cc: New.
6047 * 22_locale/collate/compare/wchar_t/2.cc: New.
6048 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6049 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6050 * 22_locale/collate/hash/char/1.cc: New.
6051 * 22_locale/collate/hash/char/2.cc: New.
6052 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6053 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6054 * 22_locale/collate/hash/wchar_t/1.cc: New.
6055 * 22_locale/collate/hash/wchar_t/2.cc: New.
6056 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6057 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6058 * 22_locale/collate/transform/char/2.cc: New.
6059 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6060 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6061 * 22_locale/collate/transform/wchar_t/2.cc: New.
6062 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6063 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6064 * 22_locale/collate_byname/1.cc: New.
6065 * 22_locale/ctype/1.cc: New.
6066 * 22_locale/ctype/2.cc: New.
6067 * 22_locale/ctype/cons/char/1.cc: New.
6068 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6069 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6070 * 22_locale/ctype/is/char/1.cc: New.
6071 * 22_locale/ctype/is/char/2.cc: New.
6072 * 22_locale/ctype/is/char/3.cc: New.
6073 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6074 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6075 * 22_locale/ctype/is/wchar_t/1.cc: New.
6076 * 22_locale/ctype/is/wchar_t/2.cc: New.
6077 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6078 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6079 * 22_locale/ctype/narrow/char/1.cc: New.
6080 * 22_locale/ctype/narrow/char/2.cc: New.
6081 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6082 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6083 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6084 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6085 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6086 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6087 * 22_locale/ctype/scan/char/1.cc: New.
6088 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6089 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6090 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6091 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6092 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6093 * 22_locale/ctype/to/char/1.cc: New.
6094 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6095 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6096 * 22_locale/ctype/to/wchar_t/1.cc: New.
6097 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6098 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6099 * 22_locale/ctype/widen/char/1.cc: New.
6100 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6101 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6102 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6103 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6104 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6105 * 22_locale/facet/1.cc: New.
6106 * 22_locale/facet/2.cc: New.
6107 * 22_locale/global_templates/1.cc: New.
6108 * 22_locale/locale/cons/1.cc: New.
6109 * 22_locale/locale/cons/2.cc: New.
6110 * 22_locale/locale/cons/3.cc: New.
6111 * 22_locale/locale/cons/4.cc: New.
6112 * 22_locale/locale/cons/5.cc: New.
6113 * 22_locale/locale/cons/6.cc: New.
6114 * 22_locale/locale/cons/7.cc: New.
6115 * 22_locale/locale/global_locale_objects/1.cc: New.
6116 * 22_locale/locale/global_locale_objects/2.cc: New.
6117 * 22_locale/locale/global_locale_objects/3.cc: New.
6118 * 22_locale/locale/operations/1.cc: New.
6119 * 22_locale/locale/operations/2.cc: New.
6120 * 22_locale/messages/1.cc: New.
6121 * 22_locale/messages/2.cc: New.
6122 * 22_locale/messages/members/char/1.cc: New.
6123 * 22_locale/messages/members/char/2.cc: New.
6124 * 22_locale/messages/members/char/3.cc: New.
6125 * 22_locale/messages/members/char/wrapped_env.cc: New.
6126 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6127 * 22_locale/messages_byname/1.cc: New.
6128 * 22_locale/money_get/1.cc: New.
6129 * 22_locale/money_get/2.cc: New.
6130 * 22_locale/money_get/get/char/1.cc: New.
6131 * 22_locale/money_get/get/char/2.cc: New.
6132 * 22_locale/money_get/get/char/3.cc: New.
6133 * 22_locale/money_get/get/char/4.cc: New.
6134 * 22_locale/money_get/get/char/5.cc: New.
6135 * 22_locale/money_get/get/char/6.cc: New.
6136 * 22_locale/money_get/get/char/7.cc: New.
6137 * 22_locale/money_get/get/char/8.cc: New.
6138 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6139 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6140 * 22_locale/money_get/get/wchar_t/1.cc: New.
6141 * 22_locale/money_get/get/wchar_t/2.cc: New.
6142 * 22_locale/money_get/get/wchar_t/3.cc: New.
6143 * 22_locale/money_get/get/wchar_t/4.cc: New.
6144 * 22_locale/money_get/get/wchar_t/5.cc: New.
6145 * 22_locale/money_get/get/wchar_t/6.cc: New.
6146 * 22_locale/money_get/get/wchar_t/7.cc: New.
6147 * 22_locale/money_get/get/wchar_t/8.cc: New.
6148 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6149 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6150 * 22_locale/money_put/1.cc: New.
6151 * 22_locale/money_put/2.cc: New.
6152 * 22_locale/money_put/put/char/1.cc: New.
6153 * 22_locale/money_put/put/char/2.cc: New.
6154 * 22_locale/money_put/put/char/3.cc: New.
6155 * 22_locale/money_put/put/char/4.cc: New.
6156 * 22_locale/money_put/put/char/5.cc: New.
6157 * 22_locale/money_put/put/char/6.cc: New.
6158 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6159 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6160 * 22_locale/money_put/put/wchar_t/1.cc: New.
6161 * 22_locale/money_put/put/wchar_t/2.cc: New.
6162 * 22_locale/money_put/put/wchar_t/3.cc: New.
6163 * 22_locale/money_put/put/wchar_t/4.cc: New.
6164 * 22_locale/money_put/put/wchar_t/5.cc: New.
6165 * 22_locale/money_put/put/wchar_t/6.cc: New.
6166 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6167 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6168 * 22_locale/moneypunct/1.cc: New.
6169 * 22_locale/moneypunct/2.cc: New.
6170 * 22_locale/moneypunct/3.cc: New.
6171 * 22_locale/moneypunct/members/char/1.cc: New.
6172 * 22_locale/moneypunct/members/char/2.cc: New.
6173 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6174 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6175 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6176 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6177 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6178 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6179 * 22_locale/moneypunct_byname/1.cc: New.
6180 * 22_locale/num_get/1.cc: New.
6181 * 22_locale/num_get/2.cc: New.
6182 * 22_locale/num_get/get/char/1.cc: New.
6183 * 22_locale/num_get/get/char/2.cc: New.
6184 * 22_locale/num_get/get/char/3.cc: New.
6185 * 22_locale/num_get/get/char/4.cc: New.
6186 * 22_locale/num_get/get/char/5.cc: New.
6187 * 22_locale/num_get/get/char/6.cc: New.
6188 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6189 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6190 * 22_locale/num_get/get/wchar_t/1.cc: New.
6191 * 22_locale/num_get/get/wchar_t/2.cc: New.
6192 * 22_locale/num_get/get/wchar_t/3.cc: New.
6193 * 22_locale/num_get/get/wchar_t/4.cc: New.
6194 * 22_locale/num_get/get/wchar_t/5.cc: New.
6195 * 22_locale/num_get/get/wchar_t/6.cc: New.
6196 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6197 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6198 * 22_locale/num_put/1.cc: New.
6199 * 22_locale/num_put/2.cc: New.
6200 * 22_locale/num_put/put/char/1.cc: New.
6201 * 22_locale/num_put/put/char/2.cc: New.
6202 * 22_locale/num_put/put/char/3.cc: New.
6203 * 22_locale/num_put/put/char/4.cc: New.
6204 * 22_locale/num_put/put/char/5.cc: New.
6205 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6206 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6207 * 22_locale/num_put/put/wchar_t/1.cc: New.
6208 * 22_locale/num_put/put/wchar_t/2.cc: New.
6209 * 22_locale/num_put/put/wchar_t/3.cc: New.
6210 * 22_locale/num_put/put/wchar_t/4.cc: New.
6211 * 22_locale/num_put/put/wchar_t/5.cc: New.
6212 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6213 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6214 * 22_locale/numpunct/1.cc: New.
6215 * 22_locale/numpunct/2.cc: New.
6216 * 22_locale/numpunct/members/char/1.cc: New.
6217 * 22_locale/numpunct/members/char/2.cc: New.
6218 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6219 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6220 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6221 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6222 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6223 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6224 * 22_locale/numpunct_byname/1.cc: New.
6225 * 22_locale/numpunct_byname/2.cc: New.
6226 * 22_locale/time_get/1.cc: New.
6227 * 22_locale/time_get/2.cc: New.
6228 * 22_locale/time_get/date_order/char/1.cc: New.
6229 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6230 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6231 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6232 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6233 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6234 * 22_locale/time_get/get_date/char/1.cc: New.
6235 * 22_locale/time_get/get_date/char/2.cc: New.
6236 * 22_locale/time_get/get_date/char/3.cc: New.
6237 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6238 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6239 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6240 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6241 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6242 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6243 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6244 * 22_locale/time_get/get_monthname/char/1.cc: New.
6245 * 22_locale/time_get/get_monthname/char/2.cc: New.
6246 * 22_locale/time_get/get_monthname/char/3.cc: New.
6247 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6248 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6249 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6250 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6251 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6252 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6253 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6254 * 22_locale/time_get/get_time/char/1.cc: New.
6255 * 22_locale/time_get/get_time/char/2.cc: New.
6256 * 22_locale/time_get/get_time/char/3.cc: New.
6257 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6258 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6259 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6260 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6261 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6262 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6263 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6264 * 22_locale/time_get/get_weekday/char/1.cc: New.
6265 * 22_locale/time_get/get_weekday/char/2.cc: New.
6266 * 22_locale/time_get/get_weekday/char/3.cc: New.
6267 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6268 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6269 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6270 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6271 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6272 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6273 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6274 * 22_locale/time_get/get_year/char/1.cc: New.
6275 * 22_locale/time_get/get_year/char/3.cc: New.
6276 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6277 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6278 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6279 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6280 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6281 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6282 * 22_locale/time_put/1.cc: New.
6283 * 22_locale/time_put/2.cc: New.
6284 * 22_locale/time_put/put/char/1.cc: New.
6285 * 22_locale/time_put/put/char/10.cc: New.
6286 * 22_locale/time_put/put/char/2.cc: New.
6287 * 22_locale/time_put/put/char/3.cc: New.
6288 * 22_locale/time_put/put/char/4.cc: New.
6289 * 22_locale/time_put/put/char/5.cc: New.
6290 * 22_locale/time_put/put/char/6.cc: New.
6291 * 22_locale/time_put/put/char/7.cc: New.
6292 * 22_locale/time_put/put/char/8.cc: New.
6293 * 22_locale/time_put/put/char/9.cc: New.
6294 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6295 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6296 * 22_locale/time_put/put/wchar_t/1.cc: New.
6297 * 22_locale/time_put/put/wchar_t/10.cc: New.
6298 * 22_locale/time_put/put/wchar_t/2.cc: New.
6299 * 22_locale/time_put/put/wchar_t/3.cc: New.
6300 * 22_locale/time_put/put/wchar_t/4.cc: New.
6301 * 22_locale/time_put/put/wchar_t/5.cc: New.
6302 * 22_locale/time_put/put/wchar_t/6.cc: New.
6303 * 22_locale/time_put/put/wchar_t/7.cc: New.
6304 * 22_locale/time_put/put/wchar_t/8.cc: New.
6305 * 22_locale/time_put/put/wchar_t/9.cc: New.
6306 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6307 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6309 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6311 * config/locale/generic/messages_members.h
6312 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6313 unqualified members of base clasess.
6315 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6316 Jeffrey Oldham <oldham@codesourcery.com>
6318 * config/locale/gnu/messages_members.h: Use this-> to refer to
6319 unqualified members of base clasess.
6320 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6321 * include/bits/codecvt.h: Likewise.
6322 * include/bits/deque.tcc: Likewise.
6323 * include/bits/fstream.tcc: Likewise.
6324 * include/bits/istream.tcc: Likewise.
6325 * include/bits/list.tcc: Likewise.
6326 * include/bits/locale_facets.h: Likewise.
6327 * include/bits/ostream.tcc: Likewise.
6328 * include/bits/sstream.tcc: Likewise.
6329 * include/bits/stl_bvector.h: Likewise.
6330 * include/bits/stl_deque.h: Likewise.
6331 * include/bits/stl_list.h: Likewise.
6332 * include/bits/stl_tree.h: Likewise.
6333 * include/bits/stl_vector.h: Likewise.
6334 * include/bits/vector.tcc: Likewise.
6335 * include/ext/ropeimpl.h: Likewise.
6336 * include/ext/stdio_filebuf.h: Likewise.
6337 * include/ext/stl_rope.h: Likewise.
6338 * include/std/std_fstream.h: Likewise.
6339 * include/std/std_sstream.h: Likewise.
6341 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6343 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6345 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6347 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6348 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6349 * aclocal.m4: Regenerate.
6350 * configure: Regenerate.
6351 * testsuite/Makefile.am (all-local): Add conditional rule to
6352 generate testsuite_wchar_t.
6353 * testsuite/Makefile.in: Regenerate.
6354 * testsuite/lib/libstdc++-v3-dg.exp
6355 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6356 testsuite_wchar_t is not present in the build directory.
6357 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6358 Remove setulimit bits.
6359 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6360 * testsuite/Makefile.am (CLEANFILES): Add.
6361 * testsuite/Makefile.in: Regenerate.
6363 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6365 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6368 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6370 Further conform g++'s __vmi_class_type_info to the C++ ABI
6372 * libsupc++/cxxabi.h
6373 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6374 required by the specification.
6376 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6378 Renames, namespaces for testsuite utilities.
6379 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6380 (gnu_allocator_tracker): Rename to allocation_tracker.
6381 (gnu_new_allocator): Rename to tracker_alloc.
6382 (__set_testsuite_memlimit): Rename to set_memory_limits.
6383 (gnu_assignment_operator): Rename to assignment_operator.
6384 (gnu_destructor): Rename to destructor.
6385 (gnu_copy_tracker): Rename to copy_tracker.
6386 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6387 (run_tests_wrapped_locale): New.
6388 (run_tests_wrapped_env): New.
6389 * testsuite/testsuite_hooks.cc: Same.
6390 (class locale_data): Add.
6391 (class enviornment_variable): Add.
6392 (class not_found): Add.
6393 * testsuite/testsuite_allocator.h: Same.
6394 * testsuite/testsuite_allocator.cc: Same.
6395 * testsuite/23_containers/deque_ctor.cc
6396 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6398 Change gnu_new_allocator to tracker_alloc.
6399 Change gnu_counting_struct to counter.
6400 Change gnu_copy_tracker to copy_tracker.
6401 Change gnu_copy_constructor to copy_constructor.
6402 Change gnu_assignment_operator to assignment_operator.
6404 * testsuite/23_containers/vector_capacity.cc: Same.
6405 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6406 * testsuite/23_containers/list_modifiers.cc: Change
6407 gnu_copy_tracker to copy_tracker.
6408 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6409 __set_testsuite_memlimit to set_memory_limits.
6410 * testsuite/21_strings/insert.cc (main): Same.
6411 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6412 * testsuite/27_io/stringstream.cc: Same.
6413 * testsuite/27_io/stringbuf.cc: Same.
6414 * testsuite/27_io/streambuf.cc: Same.
6415 * testsuite/27_io/ostream.cc: Same.
6416 * testsuite/27_io/istream.cc: Same.
6417 * testsuite/27_io/fstream.cc: Same.
6418 * testsuite/lib/libstdc++-v3-dg.exp
6419 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6420 three levels deeper in glob patterns.
6422 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6424 * docs/doxygen/tables.html: Finished now.
6425 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6426 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6429 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6430 include/bits/stl_deque.h, include/bits/stl_list.h,
6431 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6434 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6436 * configure.in: Revert.
6437 * configure: Regenerate.
6439 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6441 * include/Makefile.am (install-data-local): Prepend
6442 $(DESTDIR) to destination paths in all (un)installation
6443 commands. Use ${c_base_builddir} and ${std_builddir}
6444 as destination subdirectories to achieve consistency with
6445 preceding mkinstalldirs commands. No effect because both
6446 variables contain "." only.
6447 * include/Makefile.in: Regenerate.
6449 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6451 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6452 * include/Makefile.in: Regenerate.
6454 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6455 * aclocal.m4: Regenerate.
6457 * configure.in: Don't add new multi-do rules every time the
6458 directory is reconfigured.
6459 * configure: Regenerate.
6461 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6462 Nathan Myers <ncm@cantrip.org>
6464 * src/Makefile.am (stamp-debug): Clean.
6465 * src/Makefile.in: Regenerate.
6467 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6470 * Makefile.am (distclean-multi): Fix.
6471 * Makefile.in: Regenerate.
6473 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6475 * include/bits/locale_facets.h (messages): Move ctor, dtor
6477 (__timepunct): Same.
6478 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6479 definitions. Conditionalize for GNU systems.
6480 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6482 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6483 definitions. Conditionalize for GNU systems.
6484 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6486 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6487 * src/locale.cc: Define.
6488 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6490 * config/locale/gnu/time_members.h: Use it.
6491 * config/locale/gnu/messages_members.h: Use it.
6492 * config/linker-map.gnu: Add locale::facets details.
6493 * include/Makefile.am (target_headers_extra): Add time_members.h.
6494 * include/Makefile.in: Regenerate.
6495 * acinclude.m4: Export CTIME_H.
6496 * aclocal.m4: Regenerate.
6497 * configure: Regnerate.
6499 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6502 (codecvt<char, char, mbstate_t>::do_in, do_out):
6503 Tweak parameters to avoid unused parameter warnings.
6505 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6508 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6509 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6510 account the possibility of %{g,G} conversion specifiers
6511 inside _S_format_float.
6512 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6514 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6516 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6517 libstdc++-v3-list-sourcefiles): Additionally handle files one
6518 level deeper in glob patterns.
6520 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6521 * testsuite/27_io/istream_extractor_arith/01.cc,
6522 testsuite/27_io/istream_extractor_arith/02.cc,
6523 testsuite/27_io/istream_extractor_arith/03.cc,
6524 testsuite/27_io/istream_extractor_arith/06.cc,
6525 testsuite/27_io/istream_extractor_arith/07.cc,
6526 testsuite/27_io/istream_extractor_arith/08.cc,
6527 testsuite/27_io/istream_extractor_arith/09.cc,
6528 testsuite/27_io/istream_extractor_arith/10.cc,
6529 testsuite/27_io/istream_extractor_arith/11.cc,
6530 testsuite/27_io/istream_extractor_arith/12.cc,
6531 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6532 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6535 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6539 (codecvt<char, char, mbstate_t>::do_in, do_out):
6540 Implement the resolution of DR19 (TC).
6541 * testsuite/22_locale/codecvt_members_char_char.cc
6544 2003-01-02 Jason Merrill <jason@redhat.com>
6546 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6547 *__mem is also an output.
6548 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.