1 2003-10-16 Petur Runolfsson <peturr02@ru.is>
7 * config/io/basic_file_stdio.cc (__basic_file::seekoff):
8 Change return value from streampos to streamoff.
9 (__basic_file::seekpos): Delete.
10 * config/io/basic_file_stdio.h: Same.
11 * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
12 * include/Makefile.am (bits_headers): Add bits/postypes.h.
13 * include/bits/char_traits.h: Include bits/postypes.h instead of
15 * include/bits/fstream.tcc (basic_filebuf::open,
16 basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
17 values, use == and != instead.
18 (basic_filebuf::_M_seek): Use explicit conversion from streamoff
20 (basic_filebuf::imbue): Don't use ! on pos_type values, use
21 == instead. Don't use __check_facet(_M_codecvt) unless is_open().
22 * include/bits/postypes.h: New file.
23 Add __streamoff_base_type typedef, streamsize.
24 (streamoff, streampos, wstreampos): Define typedefs, with
25 streamoff defined as...
26 (streamoff): New class. Document implementation defined
28 (fpos): New implementation. Document implementation defined
30 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
31 explicit conversion from pos_type to off_type.
32 * include/std/std_iosfwd.h: Include bits/postypes.h instead
34 * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
35 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
36 * testsuite/27_io/fpos/11450.cc: New test.
37 * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
38 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
39 * testsuite/27_io/types/3.cc: New test.
41 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
43 * configure.host: Remove fpos_include_dir.
44 * configure.ac: Remove FPOS_INC_SRCDIR.
45 * configure: Regenerate.
46 * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
47 * aclocal.m4: Regenerate.
48 * include/Makefile.am (host_headers): Remove fpos.h.
49 (bits_headers): Add postypes.h.
50 * include/Makefile.in: Regenerate.
51 * config/os/gnu-linux/fposh: Remove.
52 * config/os/generic/fpos.h: Remove.
54 * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
55 * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
56 * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
57 * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
58 * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
59 * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
60 * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
61 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
62 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
63 * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
64 * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
65 * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
66 * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
67 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
68 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
69 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
70 * testsuite/27_io/objects/char/10.cc: Same.
72 2003-10-16 Paolo Carlini <pcarlini@suse.de>
74 * src/locale.cc (locale::locale(const char*)): ... one
75 more comparison missed in the previous commit.
77 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
79 * acconfig.h: Add HAVE_DRAND48.
80 * crossconfig.m4: Remove ISATTY.
81 * aclocal.m4: Regenerated.
82 * config.h.in: Regenerated.
83 * configure: Regenerated.
85 2003-10-16 Bernardo Innocenti <bernie@develer.com>
87 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
88 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
89 Document SMP safeness of asm macros.
91 2003-10-16 Paolo Carlini <pcarlini@suse.de>
93 * src/locale.cc (locale::locale(const char*)): Tweak
94 a couple of comparisons to use basic_string operators.
96 2003-10-16 Paolo Carlini <pcarlini@suse.de>
99 * config/locale/gnu/monetary_members.cc
100 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
101 Don't leak memory if new throws.
102 * src/locale.cc (locale::locale(const char*)): In order not
103 to leak memory in case new throws, use a basic_string type
104 for __res too and avoid strdup.
106 2003-10-14 Jeff Bailey <jbailey@nisa.net>
109 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
110 * configure: Regenerate.
112 2003-10-14 Carlo Wood <carlo@alinoe.com>
115 * include/bits/demangle.h (session<Allocator>::
116 decode_unqualified_name(string_type& output)): Fail on a
117 <operator-name> when decoding <template-argument>.
118 * testsuite/demangle/regression/cw-15.cc: New.
120 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
123 * include/bits/stl_algo.h (unique): Fix.
124 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
125 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
126 * testsuite/25_algorithms/unique/2.cc: New.
128 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
130 * src/localename.cc (_M_replace_categories, M_replace_facet):
131 Const-ify a couple of variables.
133 2003-10-14 Petur Runolfsson <peturr02@ru.is>
134 Andreas Tobler <a.tobler@schweiz.ch>
136 * src/locale.cc (locale::_S_initialize): Workaround a confusion
137 of the use of the gthr API when __gthread_active_p() returns true.
139 2003-10-12 Petur Runolfsson <peturr02@ru.is>
140 Paolo Carlini <pcarlini@unitus.it>
143 * src/strstream.cc (pbackfail): Fix to use to_int_type.
144 * testsuite/backward/11460.cc: New, from the PR.
146 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
148 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
149 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
150 * include/bits/basic_string.tcc: Likewise.
151 * include/bits/ios_base.h: Likewise.
152 * include/bits/istream.tcc: Likewise.
153 * include/bits/locale_facets.tcc: Likewise.
154 * include/bits/ostream.tcc: Likewise.
155 * include/bits/stl_function.h: Likewise.
156 * include/bits/stl_multiset.h: Likewise.
157 * include/bits/stl_pair.h: Likewise.
158 * include/bits/stl_set.h: Likewise.
159 * include/bits/streambuf_iterator.h
160 * include/std/std_iosfwd.h: Likewise.
161 * include/std/std_istream.h: Likewise.
162 * include/std/std_sstream.h: Likewise.
163 * include/std/std_streambuf.h: Likewise.
164 * src/ios.cc: Likewise.
165 * include/bits/c++config:
166 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
167 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
168 dg-error directive due to removal of a blank line.
169 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
171 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
172 Paolo Carlini <pcarlini@unitus.it>
174 PR libstdc++/11844/11740 (cont)
175 * config/os/generic/ctype_inline.h (ctype<char>::is):
176 Generically, use a bitmasksize of 15 (instead of 10);
177 Fix the logic to actually return (M & m) != 0 as per
180 2003-10-11 Bernardo Innocenti <bernie@develer.com>
182 * crossconfig.m4 (*-uclinux*): New target.
183 * configure: Regenerate.
185 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
187 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
188 Avoid unnecessarily calling __builtin_alloca and dealing
189 explicitly with width() smaller than zero.
190 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
191 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
192 const char*), operator<<(basic_ostream<char, _Traits>&,
193 const char*), operator<<(basic_ostream, const basic_string&)):
196 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
198 * config/linker-map.gnu: Make more *_type_info bits visible.
199 Move new/delete bits back into GLIBCXX space.
201 * include/bits/locale_classes.h: Move _M_id out of line, so that
202 locale::id::_S_highwater can be removed from the export list.
203 * src/locale.cc (locale::id::_M_id): Define.
205 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
207 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
210 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
213 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
214 to conform to the requirements of 22.2.1.
215 * config/os/bsd/freebsd/ctype_base.h: Likewise.
216 * config/os/djgpp/ctype_base.h: Likewise.
217 * config/os/generic/ctype_base.h: Likewise.
218 * config/os/gnu-linux/ctype_base.h: Likewise.
219 * config/os/hpux/ctype_base.h: Likewise.
220 * config/os/irix/irix6.5/ctype_base.h: Likewise.
221 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
222 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
223 * testsuite/22_locale/ctype/11844.cc: New.
225 * config/locale/generic/ctype_members.cc (do_is):
226 Generically, use a bitmasksize of 15 (instead of 10), since
227 we don't know the numerical encoding of the various categories
228 in the underlying /usr/include/ctype.h.
230 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
232 * src/string-inst.cc: Prune.
233 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
234 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
236 2003-10-09 Petur Runolfsson <peturr02@ru.is>
238 * src/io-inst.cc: Don't include iostream.
239 * include/bits/ios_base.h (ios_base::failure): Use string.
240 * src/Makefile.am: Add ios_failure.cc.
241 * src/Makefile.in: Regenerate.
242 * src/ios.cc: Move ios_base::failure definitions to...
243 * src/ios_failure.cc: ...here. New.
245 2003-10-09 Petur Runolfsson <peturr02@ru.is>
248 * include/bits/fstream.tcc (basic_filebuf::seekoff):
249 Move code needed for both seekoff and seekpos...
250 (basic_filebuf::_M_seek): ...here. New function.
251 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
252 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
253 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
255 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
257 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
259 * include/bits/locale_facets.tcc: More minor cosmetic
260 changes and const-ifications of some variables.
262 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
264 * include/bits/locale_facets.tcc: Minor cosmetic changes
265 and const-ifications of some variables.
267 * include/bits/locale_facets.tcc
268 (money_get::do_get(..., string_type&)): Simplify an if-else.
270 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
273 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
274 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
275 * config/locale/generic/ctype_members.cc: Same.
276 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
278 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
280 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
281 Improve performance-wise: avoid one traits::copy, avoid
282 the __builtin_alloca, streamline.
284 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
286 * include/bits/locale_facets.tcc
287 (num_put::do_put(..., bool)): Prefer ?: to if-else.
288 (time_get::_M_extract_name): Qualify min with std::.
289 (__pad<>::_S_pad): Constify two variables; simplify an
290 if-else statement factoring out some code.
292 * include/bits/locale_facets.tcc: Minor cosmetic changes.
294 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
296 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
297 Constify a couple of variables.
298 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
301 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
302 Petur Runolfsson <peturr02@ru.is>
304 * include/ext/stdio_sync_filebuf.h: Don't include the whole
305 <fstream>, only <streambuf> and <cstdio>.
307 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
310 * include/bits/fstream.tcc (imbue): In case a codecvt facet
311 is not available, set _M_codecvt = 0.
312 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
314 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
317 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
319 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
321 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
322 * src/locale.cc: Define.
323 * src/localename.cc: Use it.
324 * config/locale/generic/time_members.h: Same.
325 * config/locale/gnu/messages_members.h: Same.
326 * config/locale/gnu/time_members.h: Same.
328 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
331 * include/bits/fstream.tcc (seekoff): Ignore the openmode
333 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
334 seekpos): Remove the openmode argument.
335 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
336 seekpos): Remove redundant placeholder for the openmode argument.
337 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
338 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
339 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
340 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
341 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
343 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
345 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
346 (locale::facet::_S_get_c_locale): Same.
348 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
350 * config/linker-map.gnu: Export _S_get_c_locale instead of
353 2003-10-02 Petur Runolfsson <peturr02@ru.is>
355 * config/locale/generic/c_locale.cc
356 (category_names, locale::_S_categories): Const qualify.
357 * config/locale/gnu/c_locale.cc: Same.
358 * config/locale/generic/time_members.h (__timepunct::__timepunct):
359 Copy string contents before assigning to _M_name_timepunct,
360 qualify strcpy and strlen with std::.
361 * config/locale/gnu/time_members.h: Same.
362 * config/locale/gnu/messages_members.h (messages::messages):
363 Copy string contents before assigning to _M_name_messages,
364 qualify strcpy and strlen with std::.
365 * config/os/gnu-linux/ctype_noninline.h
366 (ctype<char>::classic_table()): Don't call locale::classic().
367 * include/bits/locale_classes.h
368 (locale::_S_categories): Const qualify.
369 (locale::_S_once, locale::_S_initialize_once,
370 locale::facet::_S_once, locale::facet::_S_initialize_once,
371 locale::facet::_S_get_c_locale): Declare.
372 (locale::_S_initialize): Don't define.
373 (locale::facet::_S_c_locale): Make private.
374 (locale::facet::_S_c_name): Same, const qualify.
375 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
376 parameters, add throw() specifier.
377 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
378 messages::_M_name_messages): Const qualify.
380 (locale::_S_once, locale::facet::_S_once): Define.
381 (locale::classic): Move initialization code...
382 (locale::_S_initialize_once): ...here.
383 (locale::_S_initialize): Call _S_initialize_once through
385 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
386 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
387 __gthread_once before returning _S_c_locale.
388 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
389 Drop unused parameters, add throw() specifier, don't initialize
390 locale::facet::_S_c_locale and _S_c_name.
392 * config/locale/generic/messages_members.h:
393 Replace _S_c_locale with _S_get_c_locale().
394 * config/locale/gnu/c_locale.cc: Same.
395 * config/locale/gnu/messages_members.h: Same.
396 * config/locale/gnu/numeric_members.cc: Same.
397 * config/locale/gnu/time_members.cc: Same.
398 * config/os/gnu-linux/ctype_noninline.h: Same.
399 * include/bits/locale_facets.h: Same.
400 * include/bits/locale_facets.tcc: Same.
401 * src/codecvt.cc: Same.
402 * src/ctype.cc: Same.
404 2003-10-02 Carlo Wood <carlo@alinoe.com>
406 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
407 Decode symbols that start with _GLOBAL_[ID]_ differently: the
408 trailing part ends with a terminating zero and is not necessarily an
410 * src/demangle.cc (): Same.
411 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
413 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
415 * testsuite/22_locale/locale/cons/12438.cc: Use
416 __gnu_test::try_named_locale("").
418 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
420 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
421 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
423 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
424 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
426 * config.h.in, configure: Regenerate.
427 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
430 2003-10-01 Nathan Myers <ncm@cantrip.org>
432 * include/bits/locale_facets.tcc (time_put::put): Avoid
433 expensive *__s++, in favor of *__s, ++__s.
435 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
437 * include/bits/locale_facets.tcc (time_put::put): Minor
438 tweak to the previous commit.
440 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
443 * include/bits/locale_facets.tcc (time_put::put): Deal
444 with the three issues pointed out by the PR.
445 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
446 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
447 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
448 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
449 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
451 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
453 * include/bits/stl_algo.h: Minor cosmetic reformattings.
455 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
457 * include/bits/stl_algo.h (search_n): Tweak, to spare the
460 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
462 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
463 qualify exception name.
465 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
468 * include/bits/locale_facets.tcc (locale::combine): Don't
469 leak memory if _M_replace_facet throws.
470 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
472 * include/bits/locale_classes.h (locale::locale(const locale&,
473 _Facet*)): Tweak, use consistently _M_remove_reference.
475 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
477 PR libstdc++/12352 (cont)
478 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
479 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
481 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
482 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
483 !_M_caches, !_M_names.
485 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
487 * configure.host: Handle Solaris 2.5 micro releases explicitly.
488 Remove wildcards from Solaris 2.6, 7-9: there were no
490 Treat Solaris 10 and up like 7-9.
492 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
494 * include/bits/stl_algo.h (search_n): Improve the previous
495 fix as suggested by Martin.
497 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
500 * include/bits/istream.tcc (peek): Set eofbit if sgetc
502 * testsuite/27_io/basic_istream/peek/char/12296.cc:
505 2003-09-29 Nathan Myers <ncm@cantrip.org>
506 Paolo Carlini <pcarlini@unitus.it>
509 * include/bits/stl_algo.h (search_n):
510 Use iterator_traits<>::difference_type for __n.
511 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
513 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
515 * testsuite/22_locale/locale/cons/12352.cc:
516 Use __attribute__((unused)) for test.
518 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
520 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
521 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
522 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
524 2003-09-26 Brad Spencer <spencer@infointeractive.com>
526 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
527 Explicitly qualify exceptions.
528 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
529 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
530 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
531 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
533 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
536 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
537 size_t)): Don't leak if memory allocations for _M_facets,
538 _M_caches, and _M_names fail.
539 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
540 (locale::_Impl::_M_replace_categories(const _Impl*,
542 (locale::_Impl::_M_install_facet(const locale::id*,
543 const facet*)): Ditto.
544 * include/bits/locale_classes.h (locale::locale(const locale&,
545 _Facet*)): Don't leak memory.
546 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
548 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
549 bool)): Qualify with std:: strcpy, tweak.
550 * include/bits/locale_classes.h
551 (locale::_Impl::_M_check_same_name): Qualify strcmp.
553 2003-09-25 Brad Spencer <spencer@infointeractive.com>
556 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
558 * aclocal.m4: Regenerate.
559 * config.h.in: Regenerate.
560 * configure: Regenerate.
561 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
562 * config/io/basic_file_stdio.cc: Guard unistd.h.
563 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
564 * include/c_std/std_cwchar.h: Same.
565 * include/c_std/std_cwctype.h: Same.
567 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
570 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
571 * config/locale/generic/ctype_members.cc: Same.
572 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
573 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
575 * config/os/generic/ctype_inline.h: Update.
577 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
579 * src/Makefile.am (version_dep): New variable.
580 (libstdc___la_DEPENDENCIES): Use it to add dependency on
581 libstdc++-symbol.ver only when using symbol versioning.
582 * src/Makefile.in: Regenerate.
584 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
586 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
587 * testsuite/testsuite_hooks.h: Same.
588 * testsuite/*/*.cc: Same.
590 2003-09-22 Petur Runolfsson <peturr02@ru.is>
592 * include/bits/istream.tcc (basic_istream::read,
593 basic_istream::readsome, basic_istream::putback,
594 basic_istream::unget, operator>>(basic_istream, CharT)):
595 Avoid redundant setstate(failbit) calls when sentry::operator bool()
598 2003-09-22 Carlo Wood <carlo@alinoe.com>
601 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
602 char const*, int, int)): Remove unused identifier
603 cv_qualifier for overloaded constructor.
605 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
608 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
609 WARN_FLAGS, remove -Wno-format.
610 * aclocal.m4: Regenerate.
611 * configure: Regenerate.
613 2003-09-18 Petur Runolfsson <peturr02@ru.is>
615 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
616 * config/io/basic_file_stdio.h: Same.
617 * include/std/std_fstream.h (__ctype_type): Delete.
618 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
620 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
623 * configure.host (abi_baseline_pair): Error out on solaris2
624 configurations without a minor version number.
626 2003-09-13 Phil Edwards <phil@codesourcery.com>
628 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
630 * docs/doxygen/user.cfg.in: And here.
632 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
633 Andreas Jaeger <aj@suse.de>
636 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
637 abi_check if cross compiling.
638 * aclocal.m4: Regenerated.
639 * configure: Regenerated.
641 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
643 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
644 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
645 (__cxa_vec_new3): Likewise.
647 2003-09-10 Petur Runolfsson <peturr02@ru.is>
649 * include/bits/fstream.tcc (basic_filebuf::seekoff):
650 Use codecvt::length to handle variable-width stateless encodings
652 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
653 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
655 2003-09-10 Alan Modra <amodra@bigpond.net.au>
657 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
660 2003-09-09 Alan Modra <amodra@bigpond.net.au>
662 * configure: Regenerate.
664 2003-09-09 David Edelsohn <edelsohn@gnu.org>
666 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
667 qualifier from _S_synced_with_stdio.
669 2003-09-09 Bernardo Innocenti <bernie@develer.com>
671 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
673 2003-09-04 Petur Runolfsson <peturr02@ru.is>
676 * include/bits/fstream.tcc
677 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
678 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
679 _M_ext_buf_size, _M_ext_next and _M_ext_end.
680 (basic_filebuf::underflow): Handle variable-width stateless
681 encodings (codecvt::encoding() == 0), including UTF-8.
682 * include/std/std_fstream.h (basic_filebuf):
683 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
684 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
685 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
686 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
687 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
688 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
689 * testsuite/27_io/objects/wchar_t/12.cc: New test.
690 * testsuite/27_io/objects/wchar_t/13.cc: New test.
692 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
694 * docs/html/faq/index.html: Note that a namespace alias can't be
695 used when specialising templates in extension namespace.
696 * docs/html/faq/index.txt: Regenerate.
698 2003-09-03 Petur Runolfsson <peturr02@ru.is>
701 * include/ext/stdio_sync_filebuf.h
702 (stdio_sync_filebuf::_M_unget_buf): Declare it.
703 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
704 (stdio_sync_filebuf::uflow): Store the returned character in
706 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
707 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
708 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
709 _M_unget_buf, if any, else eof().
710 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
711 _M_unget_buf, if any, else eof().
712 * testsuite/27_io/objects/char/12048.cc: Rename to...
713 * testsuite/27_io/objects/char/12048-1.cc: ...this.
714 * testsuite/27_io/objects/char/12048-2.cc: New test.
715 * testsuite/27_io/objects/char/12048-3.cc: New test.
716 * testsuite/27_io/objects/char/12048-4.cc: New test.
717 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
718 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
719 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
720 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
721 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
722 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
723 * testsuite/ext/stdio_sync_filebuf_char.cc
724 (test02, test03, test04, test05): New tests.
725 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
726 (test02, test03, test04, test05): New tests.
728 2003-09-03 Petur Runolfsson <peturr02@ru.is>
730 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
731 stringbuf or strstreambuf. Fix typos.
733 2003-09-02 Phil Edwards <phil@codesourcery.com>
735 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
737 * config.h.in: Add _GLIBCXX_HOSTED.
738 * libsupc++/eh_term_handler.cc: Test it here; initialize
739 __terminate_handler to std::abort if freestanding.
740 * aclocal.m4, configure: Regenerated.
741 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
743 2003-08-29 Nathan Myers <ncm@cantrip.org>
746 * include/bits/locale_facets.tcc (__pad): delete dead code.
748 2003-08-28 Alan Modra <amodra@bigpond.net.au>
750 * configure.ac: Test $with_cross_host against $build_alias, not $build.
751 * configure: Regenerate.
753 2003-08-27 Petur Runolfsson <peturr02@ru.is>
755 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
756 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
758 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
760 * Makefile.am: Remove trailing whitespace. Remove needless
761 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
762 * include/Makefile.am: Likewise.
763 * libmath/Makefile.am: Likewise.
764 * libsupc++/Makefile.am: Likewise.
765 * po/Makefile.am: Likewise.
766 * src/Makefile.am: Likewise.
767 * testsuite/Makefile.am: Likewise.
769 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
770 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
771 testsuite/Makefile.in: Regenerated.
773 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
775 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
777 * aclocal.m4, configure: Regenerate.
779 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
781 * acinclude.m4: Include no-executables.m4.
782 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
783 * aclocal.m4: Regenerated.
784 * configure: Regenerated.
786 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
788 * acinclude.m4: Don't call AC_ISC_POSIX.
789 * aclocal.m4: Regenerated.
790 * configure: Regenerated.
792 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
794 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
795 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
796 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
797 used elsewhere in this file.
798 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
799 * configure.ac: ...called here to expand all conditionals.
800 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
801 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
802 (install-freestanding-headers): New target, a subset of
803 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
805 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
806 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
807 src/Makefile.in, testsuite/Makefile.in: Regenerated.
809 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
811 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
812 pathnames from generated tag file.
814 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
816 * Makefile.am: Add comment.
817 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
819 * configure.ac: Use them both here, instead of hardcoded lists.
821 * fragment.am: Add STAMP varaible.
822 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
824 (stamp-*): Move file creation rule outside of 'if' branches to
825 ensure the stamp-* files are actually updated. Use $(STAMP).
826 * src/Makefile.am: Remove now-nonexistant variable.
827 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
829 * po/Makefile.am: Include same fragment as all the others.
831 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
832 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
834 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
836 * testsuite/data/cin_unget-1.txt: New.
837 * testsuite/27_io/objects/char/12048.cc: New.
839 2003-08-25 Zack Weinberg <zack@codesourcery.com>
841 * config/os/hpux/os_defines.h: Unconditionally define
842 _GLIBCXX_GTHREAD_USE_WEAK to 0.
844 2003-08-19 Geoffrey Keating <geoffk@apple.com>
846 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
847 crosses to Darwin targets.
848 * configure: Regenerate.
850 2003-08-19 Petur Runolfsson <peturr02@ru.is>
852 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
854 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
856 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
857 in the patch from 3 minutes ago. Boy, is my face red.
858 * configure: At least I remembered to regenerate this.
860 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
862 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
863 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
864 things from the top level.
865 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
866 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
867 (currently unused). Strip the fake-VPATH shell fragment from
868 automake-generated rules, if present.
869 * linkage.m4: Add comment.
871 * fragment.am: New file, containing factored-out common settings.
872 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
873 * Makefile.am: Include fragment.am. Remove common variables.
874 * include/Makefile.am: Likewise.
875 * libmath/Makefile.am: Likewise.
876 * libsupc++/Makefile.am: Likewise.
877 * po/Makefile.am: Likewise. Print rules during check.
878 * src/Makefile.am: Likewise.
879 * testsuite/Makefile.am: Likewise.
881 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
882 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
883 src/Makefile.in, testsuite/Makefile.in: Regenerate.
885 2003-08-11 John Levon <levon@movementarian.org>
887 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
888 remaining places for the name change from GLIBCPP_FORCE_NEW
891 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
893 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
895 * include/bits/basic_ios.tcc: Same.
896 * include/bits/istream.tcc: Same.
897 * include/bits/locale_facets.h: Same.
898 * include/bits/ostream.tcc: Same.
899 * include/std/std_istream.h: Same.
900 * include/std/std_ostream.h: Same.
901 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
903 * include/ext/rope: Remove build warning.
905 2003-08-11 Andreas Jaeger <aj@suse.de>
907 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
909 * include/Makefile.in: Regenerated.
911 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
913 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
914 when calling AC_PROG_CC.
915 * aclocal.m4, configure: Regenerate.
917 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
919 * acinclude.m4: Properly quote variable which will be expanded
920 inside makefiles. Use CXX instead of CC to extract compiler info.
921 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
922 correct form in PACKAGE.
923 * aclocal.m4, configure: Regenerate.
925 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
927 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
928 (check-abi-verbose): Same.
929 * testsuite/testsuite_performance.h (report_performance): Same.
931 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
933 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
935 2003-08-07 Doug Gregor <dgregor@apple.com>
937 * include/bits/char_traits.h (char_traits::not_eof): Match operand
940 2003-08-07 Bernardo Innocenti <bernie@develer.com>
943 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
944 Replace variants with new BSET-based version.
946 2003-08-07 Carlo Wood <carlo@alinoe.com>
948 * include/bits/demangle.h: Do not use cctype functions that depend
951 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
953 * configure.in: Rename...
954 * configure.ac: ...to this.
955 * docs/html/17_intro/porting.texi: Update name.
957 * docs/html/17_intro/porting.html: Regenerate.
958 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
959 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
960 testsuite/Makefile.in: Regenerate (picks up new dependancy).
962 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
964 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
965 pipe, open the window to let out the fumes, redo the option-handling
966 logic to properly execute the detection test.
967 * aclocal.m4, configure: Regenerate.
969 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
971 Convert to new autotools.
972 * acconfig.h: Update with correct names.
973 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
974 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
975 * configure.in: Update. Split hardcoded cross-configury settings
977 * crossconfig.m4: ...here. New file. Contents untouched.
978 * acinclude.m4: Reorganize and rewrite as needed. Split large
980 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
982 * scripts/testsuite_flags.in: Update.
984 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
985 variables (already generated by automake).
986 * include/Makefile.am: Ditto.
987 * libmath/Makefile.am: Ditto.
988 * libsupc++/Makefile.am: Ditto.
989 * po/Makefile.am: Ditto.
990 * src/Makefile.am: Ditto.
992 * aclocal.m4: Regenerate using new versions.
993 * config.h.in: Ditto.
995 * Makefile.in: Ditto.
996 * include/Makefile.in: Ditto.
997 * libmath/Makefile.in: Ditto.
998 * libsupc++/Makefile.in: Ditto.
999 * po/Makefile.in: Ditto.
1000 * src/Makefile.in: Ditto.
1001 * testsuite/Makefile.in: Ditto.
1003 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1005 * po/libstdc++.pot: Re-extract/regenerate.
1007 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1009 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
1010 Remove unneeded variable assignments. Leave them for automake.
1011 * testsuite/lib/libstdc++-v3.exp: Rename...
1012 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
1014 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
1015 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
1018 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1020 * docs/doxygen/guide.html: run_doxygen uses bash.
1021 * docs/doxygen/mainpage.html: We'll be shipping tag files.
1022 * docs/doxygen/run_doxygen: Tweaks and improvements.
1023 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
1024 * docs/html/install.html: Update autoconf/automake requirements.
1025 * docs/html/test.html: Add section describing DejaGNU support.
1026 * docs/html/17_intro/confdeps.dot: New file, generates...
1027 * docs/html/17_intro/confdeps.png: ...this new file.
1028 * docs/html/Makefile: Generated here.
1029 * docs/html/17_intro/configury.html: New file.
1031 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
1033 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
1034 * testsuite/lib/libstdc++-v3.exp: ...to this.
1035 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
1037 2003-07-31 Doug Gregor <dgregor@apple.com>
1039 Add user specialization tests.
1040 * testsuite/23_containers/deque/1.cc: New.
1041 * testsuite/23_containers/list/1.cc: New.
1042 * testsuite/23_containers/map/1.cc: New.
1043 * testsuite/23_containers/multimap/1.cc: New.
1044 * testsuite/23_containers/multiset/1.cc: New.
1045 * testsuite/23_containers/set/1.cc: New.
1046 * testsuite/23_containers/vector/1.cc: New.
1048 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
1050 Reshuffle 23_containers testsuite.
1051 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
1052 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
1053 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
1054 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
1055 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
1056 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
1057 vector_resize.cc: Split into...
1058 * 23_containers/bitset/cons/1.cc: New.
1059 * 23_containers/bitset/cons/6282.cc: New.
1060 * 23_containers/bitset/count/6124.cc: New.
1061 * 23_containers/bitset/operations/1.cc: New.
1062 * 23_containers/bitset/operations/2.cc: New.
1063 * 23_containers/bitset/test/1.cc: New.
1064 * 23_containers/bitset/to_ulong/1.cc: New.
1065 * 23_containers/deque/cons/1.cc: New.
1066 * 23_containers/deque/cons/2.cc: New.
1067 * 23_containers/deque/operators/1.cc: New.
1068 * 23_containers/list/capacity/1.cc: New.
1069 * 23_containers/list/cons/1.cc: New.
1070 * 23_containers/list/cons/2.cc: New.
1071 * 23_containers/list/cons/3.cc: New.
1072 * 23_containers/list/cons/4.cc: New.
1073 * 23_containers/list/cons/5.cc: New.
1074 * 23_containers/list/cons/6.cc: New.
1075 * 23_containers/list/cons/7.cc: New.
1076 * 23_containers/list/cons/8.cc: New.
1077 * 23_containers/list/cons/9.cc: New.
1078 * 23_containers/list/modifiers/1.cc: New.
1079 * 23_containers/list/modifiers/2.cc: New.
1080 * 23_containers/list/modifiers/3.cc: New.
1081 * 23_containers/list/operators/1.cc: New.
1082 * 23_containers/list/operators/2.cc: New.
1083 * 23_containers/list/operators/3.cc: New.
1084 * 23_containers/list/operators/4.cc: New.
1085 * 23_containers/map/insert/1.cc: New.
1086 * 23_containers/map/operators/1.cc: New.
1087 * 23_containers/map/operators/1_neg.cc: New.
1088 * 23_containers/multiset/insert/1.cc: New.
1089 * 23_containers/priority_queue/members/7161.cc: New.
1090 * 23_containers/queue/members/7157.cc: New.
1091 * 23_containers/set/operators/1_neg.cc: New.
1092 * 23_containers/stack/members/7158.cc: New.
1093 * 23_containers/vector/bool/1.cc: New.
1094 * 23_containers/vector/bool/6886.cc: New.
1095 * 23_containers/vector/capacity/1.cc: New.
1096 * 23_containers/vector/capacity/2.cc: New.
1097 * 23_containers/vector/capacity/8230.cc: New.
1098 * 23_containers/vector/cons/1.cc: New.
1099 * 23_containers/vector/cons/2.cc: New.
1100 * 23_containers/vector/cons/3.cc: New.
1101 * 23_containers/vector/cons/4.cc: New.
1102 * 23_containers/vector/cons/6513.cc: New.
1103 * 23_containers/vector/element_access/1.cc: New.
1104 * 23_containers/vector/modifiers/1.cc: New.
1105 * 23_containers/vector/modifiers/2.cc: New.
1106 * 23_containers/vector/resize/1.cc: New.
1108 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1110 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1112 * testsuite/thread/pthread2.cc: Likewise.
1113 * testsuite/thread/pthread3.cc: Likewise.
1114 * testsuite/thread/pthread4.cc: Likewise.
1115 * testsuite/thread/pthread5.cc: Likewise.
1116 * testsuite/thread/pthread6.cc: Likewise.
1117 * testsuite/thread/pthread7-rope.cc: Likewise.
1119 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1121 * include/bits/c++config: Partial reversion (comment placement) of
1124 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1126 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1127 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1128 (_GLIBCXX_AT_AT): Remove.
1129 (__USE_MALLOC): Remove.
1130 * include/std/std_fstream.h: Modify.
1131 * include/bits/basic_ios.h: Same.
1132 * include/bits/valarray_array.h: Same.
1133 * include/c_std/std_cmath.h: Same.
1134 * include/c_std/cmath.tcc: Same.
1135 * include/std/std_vector.h: Same.
1136 * include/std/std_string.h: Same.
1137 * include/std/std_stack.h: Same.
1138 * include/std/std_queue.h: Same.
1139 * include/std/std_list.h: Same.
1140 * include/std/std_deque.h: Same.
1141 * include/std/std_streambuf.h: Same.
1142 * include/std/std_sstream.h: Same.
1143 * include/std/std_ostream.h: Same.
1144 * include/std/std_istream.h: Same.
1145 * include/bits/valarray_array.tcc: Same, format.
1147 * include/c/std_cctype.h: Fix include guards.
1148 * include/c/std_cerrno.h: Same.
1149 * include/c/std_cfloat.h: Same.
1150 * include/c/std_climits.h: Same.
1151 * include/c/std_clocale.h: Same.
1152 * include/c/std_cmath.h: Same.
1153 * include/c/std_csetjmp.h: Same.
1154 * include/c/std_csignal.h: Same.
1155 * include/c/std_cstdarg.h: Same.
1156 * include/c/std_cstddef.h: Same.
1157 * include/c/std_cstdio.h: Same.
1158 * include/c/std_cstdlib.h: Same.
1159 * include/c/std_cstring.h: Same.
1160 * include/c/std_ctime.h: Same.
1161 * include/c/std_cwchar.h: Same.
1162 * include/c/std_cwctype.h: Same.
1163 * include/c_std/cmath.tcc: Same.
1164 * include/c_std/std_cmath.h: Same.
1166 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1169 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1170 casts. Changes to avoid casting away constness. Eliminate
1171 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1172 initialization lists. Move out implementation of __black_count()
1174 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1175 Rename_Rb_tree_base_iterator::_M_increment() to
1176 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1178 * config/linker-map.gnu: Add and change symbols here.
1180 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1182 * docs/html/22_locale/howto.html: Use locale::classic() instead
1185 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1187 * testsuite/testsuite_hooks.h: Remove list include.
1188 (func_callback): Define as unique type, not std::list.
1189 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1190 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1191 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1192 * testsuite/23_containers/bitset_ctor.cc:
1193 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1194 * testsuite/18_support/numeric_limits.cc: Same.
1195 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1196 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1197 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1198 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1199 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1200 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1201 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1202 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1203 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1204 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1205 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1206 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1207 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1208 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1209 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1210 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1211 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1212 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1213 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1214 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1215 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1216 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1217 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1218 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1219 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1220 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1221 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1222 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1223 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1224 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1225 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1226 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1227 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1228 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1229 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1230 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1231 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1232 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1233 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1234 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1235 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1236 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1237 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1238 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1239 * testsuite/23_containers/bitset_ctor.cc: Same.
1240 * testsuite/23_containers/bitset_shift.cc: Same.
1241 * testsuite/23_containers/vector_ctor.cc: Same.
1242 * testsuite/23_containers/vector_element_access.cc: Same.
1243 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1244 * testsuite/24_iterators/iterator.cc: Same.
1245 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1246 * testsuite/25_algorithms/lower_bound.cc: Same.
1247 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1248 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1249 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1250 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1251 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1252 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1253 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1254 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1255 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1256 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1257 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1260 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1262 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1263 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1264 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1265 GLIBCPP to GLIBCXX (and explain as needed).
1267 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1271 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1273 * testsuite/22_locale/messages/members/char/1.cc,
1274 testsuite/22_locale/messages/members/char/2.cc,
1275 testsuite/22_locale/messages/members/char/3.cc,
1276 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1277 the origin of LOCALEDIR.
1278 * testsuite/lib/libstdc++-v3.exp: New file.
1280 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1282 * include/bits/char_traits.h: Update copyright, tweak.
1283 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1286 2003-07-24 Matt Austern <austern@apple.com>
1288 * /include/bits/char_traits.h (class char_traits): Put all the
1289 real work into the new class template __gnu_cxx::char_traits.
1290 Gave generic definitions for member functions. Types are taken
1291 from the new class template __gnu_cxx::_Char_types.
1292 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1293 file. Test of std::char_traits<short>, which serves as a test of
1294 the char_traits primary template.
1296 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1298 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1300 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1302 * testsuite/23_containers/map_operators.cc: Conform to
1303 container requirement as value must be Assignable.
1305 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1307 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1308 tests not only generation of pch files, but also their use.
1309 * aclocal.m4, configure: Rebuilt.
1311 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1313 * config/cpu/hppa/atomicity.h: Change
1314 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1315 to match misc-inst.cc
1317 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1319 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1320 * include/c_std/std_cctype.h: Ditto.
1321 * include/c_std/std_cerrno.h: Ditto.
1322 * include/c_std/std_cfloat.h: Ditto.
1323 * include/c_std/std_climits.h: Ditto.
1324 * include/c_std/std_clocale.h: Ditto.
1325 * include/c_std/std_cmath.h: Ditto.
1326 * include/c_std/std_csetjmp.h: Ditto.
1327 * include/c_std/std_csignal.h: Ditto.
1328 * include/c_std/std_cstdarg.h: Ditto.
1329 * include/c_std/std_cstddef.h: Ditto.
1330 * include/c_std/std_cstdio.h: Ditto.
1331 * include/c_std/std_cstdlib.h: Ditto.
1332 * include/c_std/std_cstring.h: Ditto.
1333 * include/c_std/std_ctime.h: Ditto.
1334 * include/c_std/std_cwchar.h: Ditto.
1335 * include/c_std/std_cwctype.h: Ditto.
1336 * include/std/std_algorithm.h: Ditto.
1337 * include/std/std_bitset.h: Ditto.
1338 * include/std/std_complex.h: Ditto.
1339 * include/std/std_deque.h: Ditto.
1340 * include/std/std_fstream.h: Ditto.
1341 * include/std/std_functional.h: Ditto.
1342 * include/std/std_iomanip.h: Ditto.
1343 * include/std/std_ios.h: Ditto.
1344 * include/std/std_iosfwd.h: Ditto.
1345 * include/std/std_iostream.h: Ditto.
1346 * include/std/std_istream.h: Ditto.
1347 * include/std/std_iterator.h: Ditto.
1348 * include/std/std_limits.h: Ditto.
1349 * include/std/std_list.h: Ditto.
1350 * include/std/std_locale.h: Ditto.
1351 * include/std/std_map.h: Ditto.
1352 * include/std/std_memory.h: Ditto.
1353 * include/std/std_numeric.h: Ditto.
1354 * include/std/std_ostream.h: Ditto.
1355 * include/std/std_queue.h: Ditto.
1356 * include/std/std_set.h: Ditto.
1357 * include/std/std_sstream.h: Ditto.
1358 * include/std/std_stack.h: Ditto.
1359 * include/std/std_stdexcept.h: Ditto.
1360 * include/std/std_streambuf.h: Ditto.
1361 * include/std/std_string.h: Ditto.
1362 * include/std/std_utility.h: Ditto.
1363 * include/std/std_valarray.h: Ditto.
1364 * include/std/std_vector.h: Ditto.
1366 2003-07-22 Doug Gregor <dgregor@apple.com>
1368 * include/bits/basic_string.h (basic_string::insert): Deprecate
1371 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1373 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1375 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1376 (test03): Include typeinfo for bad_cast.
1377 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1378 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1379 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1381 2003-07-21 Doug Gregor <dgregor@apple.com>
1383 * include/bits/boost_concept_check.h:
1384 (_EqualityComparableConcept::__constraints): Remove != from the
1385 list of constraints; it is not listed in Table 28 of the C++98
1388 2003-07-18 Andreas Jaeger <aj@suse.de>
1390 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1391 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1392 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1393 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1395 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1397 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1398 * config/locale/generic/messages_members.h: Tweaks.
1399 * config/locale/generic/monetary_members.cc
1400 (moneypunct::_M_initialize_moneypunct): Use cache.
1401 (moneypunct::~moneypunct): Delete cache.
1402 * config/locale/generic/time_members.cc:
1403 (__timepunct::_M_initialize_timepunct): Use cache.
1404 * config/locale/generic/time_members.h:
1405 (__timepunct::~__timepunct): Delete cache.
1406 (__timepunct::__timepunct): Set cache.
1407 * config/locale/gnu/messages_members.h: Tweaks.
1408 * config/locale/gnu/monetary_members.cc:
1409 (moneypunct::_M_initialize_moneypunct): Use cache.
1410 (moneypunct::~moneypunct): Delete cache.
1411 * config/locale/gnu/time_members.cc:
1412 (__timepunct::_M_initialize_timepunct): Use cache.
1413 * config/locale/gnu/time_members.h:
1414 (__timepunct::~__timepunct): Delete cache.
1415 (__timepunct::__timepunct): Set cache.
1416 * include/bits/locale_facets.h (__timepunct_cache): New.
1417 (__moneypunct_cache): New.
1418 * include/bits/locale_facets.tcc: Tweak.
1419 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1420 * src/locale-inst.cc: Instantiate caches.
1421 * src/globals.cc: Add "C" caches.
1422 * src/localename.cc: Use external "C" caches.
1424 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1426 * docs/doxygen/guide.html: Fix typo.
1428 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1430 * include/ext/pod_char_traits.h: Add state template argument.
1432 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1434 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1435 (num_get::_M_convert_int): To _M_insert_int.
1436 (num_get::_M_convert_float): To _M_insert_float.
1437 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1438 Use caches for ctype, num_get.
1439 (num_get::_M_extract_int): Same.
1440 (num_get::get(bool)): Same.
1441 (__verify_grouping): Use size_t.
1442 * src/locale-inst.cc: Update.
1443 * src/locale.cc: Adjust _S_atoms_in.
1445 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1447 * docs/doxygen/mainpage.html: Move building/writing instructions...
1448 * docs/doxygen/guide.html: ...to here. New file.
1450 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1452 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1453 * docs/html/faq/index.html: Same.
1454 * docs/html/faq/index.txt: Regenerate.
1456 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1459 * include/bits/locale_facets.tcc (money_get::do_get):
1460 Strip only _leading_ zeros.
1461 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1462 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1464 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1466 * include/ext/hash_map (class hash_multimap): Remove extra
1467 semicolons from __glibcxx_class_requires3 entries.
1468 * include/ext/hash_set (class hash_set): Ditto.
1469 (class hash_multiset): Ditto.
1471 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1473 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1474 Change last parameter from int_type to size_t.
1476 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1478 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1479 set_difference, set_symmetric_difference, max_element, min_element,
1480 next_permutation, prev_permutation, find_first_of, find_end):
1482 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1483 restrictions in docs.
1484 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1486 * docs/doxygen/doxygroups.cc (setoperations): New group.
1488 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1490 * include/bits/basic_string.h: Document public functions.
1491 * docs/doxygen/TODO: Update c21 todo.
1493 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1495 * include/bits/stl_list.h: Document more functions.
1496 * docs/doxygen/TODO: Update c23 todo.
1498 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1500 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1503 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1505 * include/bits/stl_tempbuf.h: Qualify free with std::.
1506 * src/locale.cc: Include <cstdlib>, qualify getenv.
1508 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1510 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1511 <cstdio>. Qualify names.
1512 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1514 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1515 Nathan C. Myers <ncm-nospam@cantrip.org>
1518 * include/std/std_fstream.h (xsputn): Declare only.
1519 * include/bits/fstream.tcc (xsputn): Define, optimize for the
1520 always_noconv() case: when __n is sufficiently large flush
1521 the buffer and issue a direct write, if possible combining the
1522 two with writev in __basic_file<>::xsputn_2.
1523 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1525 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1527 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1528 the availability of writev in <sys/uio.h>.
1529 * configure.in: Call here.
1530 * acconfig.h: Add undef for the corresponding symbol.
1531 * aclocal.m4: Regenerate.
1532 * configure: Regenerate.
1533 * config.h.in: Regenerate.
1534 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1536 * include/std/std_fstream.h (sync): Constify a variable.
1538 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1540 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1541 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1543 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1545 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1546 <cstring> and <cstdlib>. Qualify names.
1548 2003-07-13 Mark Mitchell <mark@codesourcery.com>
1550 * config/locale/generic/c_locale.h: Include <cstdlib> and
1552 * include/bits/boost_concept_check.h: Add this-> to unqualified
1554 * include/bits/deque.tcc: Likewise.
1555 * include/bits/locale_facets.h : Likewise.
1556 * include/bits/ostream.tcc: Likewise.
1557 * include/bits/stl_algo.h: Likewise.
1558 * include/bits/stl_bvector.h: Likewise.
1559 * include/bits/stl_deque.h: Likewise.
1560 * include/bits/stl_list.h: Likewise.
1561 * include/bits/stl_tree.h: Likewise.
1562 * include/bits/stl_vector.h: Likewise.
1563 * include/bits/vector.tcc: Likewise.
1564 * include/ext/rope: Likewise.
1565 * include/ext/ropeimpl.h: Likewise.
1566 * include/ext/stdio_filebuf.h: Likewise.
1568 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
1570 * include/bits/basic_ios.h (copyfmt): Document.
1571 * include/bits/ios_base.h (event, event_callback, register_callback,
1572 xalloc, iword, pword): Document.
1573 (imbue, ~ios_base): Update docs on callbacks.
1575 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
1577 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1578 warning messages if the environment cannot support symbol versioning.
1579 (port_specific_symbol_file): It's plural, add an 's' on the end.
1580 * configure.host: Likewise.
1581 * src/Makefile.am: Likewise.
1582 * config/linker-map.gnu: Remove one semicolon, heh.
1583 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1584 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1585 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1587 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1589 * include/bits/locale_facets.tcc: Use function object for
1590 __use_cache instead of template function. Partially specialize for
1592 * include/bits/locale_classes.h: Update friend declaration for
1594 (_M_install_cache): No throw exception specs.
1595 * src/locale.cc: Remove __use_cache specializations.
1596 * include/ext/pod_char_traits.h (length): Tweak.
1597 * include/bits/locale_facets.h (__numpunct_cache): Remove
1599 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1601 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1602 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1603 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1604 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1605 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1606 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
1608 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
1610 * src/ios.cc (_M_grow_words): Fix spelling.
1612 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
1614 * include/bits/stl_tree.h: Move larger member functions in
1615 _Rb_tree_base_iterator and _Rb_tree_node to...
1616 * src/stl_tree.cc: Here.
1617 * src/Makefile.in: Add stl_tree.cc.
1618 * src/Makefile.in: Regenerated.
1619 * config/linker-map.gnu: Add symbols here.
1621 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1623 * testsuite/ext/pod_char_traits.cc: New.
1624 * include/ext/pod_char_traits.h: New.
1625 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1626 * include/Makefile.in: Regenerate.
1627 * docs/html/21_strings/howto.html: Update.
1629 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
1631 * testsuite/performance/list_create_fill_sort.cc: New.
1633 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1635 * config/locale/generic/numeric_members.cc: Correct type info.
1636 * config/locale/gnu/numeric_members.cc: Same.
1637 * include/bits/locale_facets.h: Same.
1639 * include/bits/char_traits.h: Correct spacing.
1641 * src/locale.cc: Wrap to 80 col.
1643 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
1645 * include/std/std_complex.h: Partially revert last
1646 changes: cmath functions must not be qualified.
1648 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1650 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1651 2.11 with globbing backport fix.
1652 * aclocal.m4, configure: Regenerated.
1654 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1656 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1657 if output is at all possible (!_M_reading), cannot be active.
1659 * include/std/std_fstream.h: Tweak comments to doxygen style.
1661 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
1663 * include/bits/locale_classes.h: Fully qualify standard
1664 functions with std::, thus avoiding Koenig lookup.
1665 * include/bits/locale_facets.tcc: Likewise.
1666 * src/locale.cc: Likewise.
1667 * src/localename.cc: Likewise.
1669 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1671 * include/bits/allocator_traits.h: Fix doxygen markup.
1672 * include/ext/mt_allocator.h: Likewise.
1674 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
1676 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1678 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1680 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1681 requirement. Add port_specific_symbol_file variable.
1682 * configure.host: Add docs for port_specific_symbol_file.
1683 Clean up try_cpu block for x86.
1684 * config/linker-map.gnu: No more "last symbol can't have a
1685 semicolon" kaka. Add hook for port-specific symbols.
1686 * src/Makefile.am: Remove trailing whitespace.
1687 (libstdc++-symbol.ver): Detect the presence of port-specific
1688 symbols, and add them accordingly.
1690 * docs/html/17_intro/porting.texi: Bring up to date.
1692 * src/Makefile.in, aclocal.m4, configure,
1693 docs/html/17_intro/porting.html: Regenerated.
1695 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1697 * scripts/create_testsuite_files: New file.
1698 * testsuite/Makefile.am (all-local, check-performance): Use it.
1699 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1700 * testsuite/Makefile.in: Regenerated.
1702 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1704 * testsuite/performance/fstream_seek_write.cc: Likewise.
1705 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1706 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1707 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1709 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1711 * include/bits/stl_list.h: Performance and memory usage
1712 improvements. In particular, the behaviour of the constructor and
1713 destructor as the list header node is no longer dynamically
1714 allocated/de-allocated.
1715 * include/bits/list.tcc: Likewise.
1717 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1719 * include/std/std_complex.h: Fully qualify standard
1720 functions with std::, thus avoiding Koenig lookup.
1721 * include/std/std_memory.h: Likewise.
1722 * include/std/std_valarray.h: Likewise.
1724 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
1726 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
1727 variable for grandparent and use const
1729 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1731 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1732 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1733 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1734 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1735 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1736 * testsuite/27_io/objects/char/7.cc: Ditto
1737 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1739 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
1741 * include/std/std_bitset.h: Fully qualify standard
1742 functions with std::, thus avoiding Koenig lookup.
1744 * include/std/std_fstream.h: Change comment to doxygen style.
1746 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
1748 * include/std/std_limits.h: More CPP->CXX changes.
1749 * scripts/check_survey.in: Likewise.
1751 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1753 Move from CPP to CXX.
1754 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1755 * testsuite/Makefile.am: Same.
1756 * testsuite/Makefile.in: Regenerate.
1757 * po/Makefile.am: Same.
1758 * po/Makefile.in: Regenerate.
1759 * libsupc++/Makefile.am: Same.
1760 * libsupc++/Makefile.in: Regenerate.
1761 * libmath/Makefile.am: Same.
1762 * libmath/Makefile.in: Regenerate.
1763 * include/Makefile.am: Same.
1764 * include/Makefile.in: Regenerate.
1765 * src/Makefile.am: Same.
1766 * src/Makefile.in: Regenerate.
1768 * configure.host: Same.
1769 * configure.in: Same.
1770 * configure: Regenerate.
1771 * acinclude.m4: Same.
1773 * src: Change all files in this directory.
1775 * include: Same, standardize include guards.
1779 2003-07-04 Zack Weinberg <zack@codesourcery.com>
1781 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1782 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1783 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1784 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1785 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1786 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1787 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1788 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1789 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1790 XFAIL on all targets.
1792 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1794 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1795 * aclocal.m4: Regenerate.
1796 * configure: Regenerate.
1798 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
1800 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1803 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1804 Petur Runolfsson <peturr02@ru.is>
1806 * config/io/basic_file_stdio.cc: Revert.
1808 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1810 * include/bits/deque.tcc: Fully qualify standard
1811 functions with std::, thus avoiding Koenig lookup.
1812 * include/bits/gslice_array.h: Likewise.
1813 * include/bits/indirect_array.h: Likewise.
1814 * include/bits/list.tcc: Likewise.
1815 * include/bits/mask_array.h: Likewise.
1816 * include/bits/slice_array.h: Likewise.
1818 2003-07-04 Gawain Bolton <gbolton@free.fr>
1820 * include/bits/stl_tree.h: Performance and memory usage
1823 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1825 * Makefile.am: Replace PWD with PWD_COMMAND.
1826 * Makefile.in: Regenerated.
1827 * docs/html/Makefile: Likewise.
1829 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1831 * include/bits/valarray_array.h: Fully qualify standard
1832 functions with std::, thus avoiding Koenig lookup.
1833 * include/bits/vector.tcc: Likewise.
1835 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1837 * include/Makefile.am: Update target_ to host_.
1838 * include/Makefile.in: Regenerate.
1839 * src/Makefile.am: Same.
1840 * src/Makefile.in: Regenerate.
1842 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
1844 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1846 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1847 --enable-libstdcxx-debug-flags.
1848 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1849 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1850 * aclocal.m4: Regenerate.
1852 * docs/html/configopts.html: Update.
1854 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1856 Revert the fix for libstdc++/11378.
1858 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1861 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1862 provided always_noconv(), issue directly _M_file.xsputn.
1863 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1865 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1867 * include/bits/stl_list.h: Fully qualify standard
1868 functions with std::, thus avoiding Koenig lookup.
1869 * include/bits/stl_queue.h: Likewise.
1870 * include/bits/stl_raw_storage_iter.h: Likewise.
1871 * include/bits/stl_tempbuf.h: Likewise.
1872 * include/bits/stl_tree.h: Likewise.
1873 * include/bits/stl_uninitialized.h: Likewise.
1874 * include/bits/stl_vector.h: Likewise.
1875 * include/ext/rope: Change includes order.
1877 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1879 * configure.host (fpos_include_dir): Fix.
1881 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
1883 * include/bits/stl_heap.h: Fully qualify standard
1884 functions with std::, thus avoiding Koenig lookup.
1885 * include/bits/stl_iterator_base_funcs.h: Likewise.
1887 * include/bits/stl_algo.h: Qualify __iterator_category too.
1888 * include/bits/stl_algobase.h: Likewise.
1889 * include/bits/stl_bvector.h: Likewise.
1891 * include/bits/stl_algo.h: Don't qualify the pair type.
1893 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1895 * include/Makefile.am (target_headers): Add fpos.h
1896 (bits_headers): Remove.
1897 * include/Makefile.in: Regenerate.
1898 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1899 * configure: Regenerate.
1900 * configure.host: Add fpos_include_dir.
1901 * config/os/gnu-linux/fpos.h: New.
1902 * config/os/generic/fpos.h: Add.
1903 * include/bits/fpos.h: Remove.
1905 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1907 * include/bits/fstream.tcc: Tweaks.
1908 * include/std/std_fstream.h: Same.
1910 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1911 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1912 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1913 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1914 * testsuite/27_io/fpos/1.cc: New.
1916 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1917 Petur Runolfsson <peturr02@ru.is>
1919 * include/std/std_streambuf.h: Remove _M_pos.
1920 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1921 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1922 use fread/fwrite instead of read/write.
1923 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1924 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1925 before reading again.
1926 * testsuite/27_io/objects/char/6.cc: Tweak.
1928 2003-07-03 David Edelsohn <edelsohn@gnu.org>
1930 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1931 _GLIBCPP_USE_WCHAR_T.
1933 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1935 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1938 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1940 * include/bits/stl_bvector.h: Fully qualify standard
1941 functions with std::, thus avoiding Koenig lookup.
1942 * include/bits/stl_construct.h: Likewise.
1943 * include/bits/stl_deque.h: Likewise.
1945 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
1947 * testsuite/22_locale/num_put/put/char/7.cc: Include
1948 <testsuite_hooks.h>, tweak.
1949 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1951 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
1953 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1954 check* targets, but not libs/programs).
1955 * testsuite/Makefile.in: Regenerate.
1957 2003-07-01 Roger Sayle <roger@eyesopen.com>
1959 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1960 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1961 * aclocal.m4: Regenerate.
1962 * configure: Regenerate.
1964 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1966 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1967 * aclocal.m4: Regenerated.
1968 * configure: Regenerated.
1970 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
1973 * include/bits/fstream.tcc (underflow): For encoding() == 0
1974 don't read more than __buflen chars.
1975 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1976 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1977 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1978 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1980 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
1982 * 22_locale/num_put/put/char/7.cc: New.
1983 * 22_locale/num_put/put/wchar_t/7.cc: New.
1985 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
1987 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1988 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1990 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1992 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1993 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1994 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1995 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1996 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1997 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1998 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1999 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
2000 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
2001 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
2002 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
2003 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
2004 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
2005 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
2006 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
2007 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
2008 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
2009 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
2010 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
2011 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
2012 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
2013 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
2014 * data/seekoff-1.tst: Remove.
2015 * data/seekoff-1io.tst: New.
2016 * data/seekoff-1out.tst: New.
2017 * data/seekoff-2.tst: Remove.
2018 * data/seekoff-2io.tst: New.
2019 * data/seekoff-2out.tst: New.
2021 * data/seekpos-1.tst: Remove.
2022 * data/seekpos-1io.tst: New.
2023 * data/seekpos-1out.tst: New.
2024 * data/seekpos-2.tst: Remove.
2025 * data/seekpos-2io.tst: New.
2026 * data/seekpos-2out.tst: New.
2027 * data/seekpos.txt: New.
2029 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2031 * src/locale.cc (__use_cache<numpunct>): Move from here ...
2032 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
2035 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2037 * include/bits/stl_algobase.h: Fully qualify standard
2038 functions with std::, thus avoiding Koenig lookup.
2040 2003-06-30 Doug Gregor <dgregor@apple.com>
2042 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
2043 subscripting empty string.
2045 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2047 * testsuite/Makefile.am (check-am): Do not override.
2048 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
2049 * testsuite/Makefile.in: Regenerate.
2051 2003-06-30 Doug Gregor <dgregor@apple.com>
2053 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
2054 Don't initialize an insert_iterator with a singular iterator.
2056 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2058 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
2059 * aclocal.m4: Regenerate.
2060 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
2061 GLIBCPP_ENABLE_PCH, default to yes.
2062 * configure: Regenerate.
2063 * docs/html/configopts.html: Add --enable-pch.
2065 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2067 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
2068 (libstdc++-v3-init): Also set LD_RUN_PATH.
2070 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2072 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2073 from here to filebuf and stringbuf.
2074 (~basic_streambuf()): Don't set _M_mode.
2075 (basic_streambuf()): Don't set _M_mode.
2076 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2077 (~basic_filebuf()): Clean up.
2078 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2079 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2080 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2081 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2082 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2083 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2084 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2086 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2088 * include/std/std_fstream.h (_M_underflow): Remove.
2089 (uflow): Remove, inherited from streambuf.
2090 (underflow): Only declare.
2091 * include/bits/fstream.tcc (_M_underflow): Rename to
2092 underflow, to which is equivalent for __bump == false,
2094 * include/std/std_sstream.h (_M_underflow): Remove.
2095 (uflow): Remove, inherited from streambuf.
2096 (underflow): Only declare.
2097 * include/bits/sstream.tcc (_M_underflow): Rename to
2098 underflow, to which is equivalent for __bump == false,
2101 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2103 * include/bits/stl_algo.h: Fully qualify standard functions
2104 with std::, thus avoiding Koenig lookup.
2106 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2108 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2109 Improve type correctness-wise.
2110 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2112 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2114 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2117 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2119 * include/std/std_streambuf.h (uflow): According to
2120 27.5.2.4.3,p16, don't check gptr() < egptr().
2122 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2125 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2126 (seekpos): Likewise.
2127 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2129 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2132 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2134 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2135 output name to libstdc++-v3-performance.sum.
2136 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2137 * testsuite/Makefile.in: Regenerate.
2139 2003-06-27 Matthias Klose <doko@debian.org>
2141 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2142 output of abi-check in libstdc++-v3-abi.sum.
2143 * testsuite/Makefile.in: Regenerate.
2145 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2147 * config/os/bsd/netbsd/ctype_noninline.h
2148 (_C_ctype_): Declare.
2149 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2150 (ctype<char>::ctype): Use classic_table.
2152 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2153 Nathan C. Myers <ncm-nospam@cantrip.org>
2156 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2157 the worst-case number of external bytes for a given get area.
2158 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2160 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2161 Petur Runolfsson <peturr02@ru.is>
2164 * include/bits/fstream.tcc (overflow): Properly estimate the
2165 worst-case number of external bytes for a given put area
2166 (by using codecvt::max_length()).
2167 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2168 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2169 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2170 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2172 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2174 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2176 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2178 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2179 to the imbued locale.
2180 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2182 (num_put::_M_convert_float): Use.
2184 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2185 Jerry Quinn <jlquinn@optonline.net>
2187 * config/linker-map.gnu: Add __numpunct_cache.
2188 * config/locale/gnu/numeric_members.cc
2189 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2190 all elements for "C" locale.
2191 (numpunct::~numpunct): Delete _M_data.
2192 * config/locale/generic/numeric_members.cc: Same.
2193 * include/bits/basic_ios.tcc
2194 (basic_ios::init): Remove __locale_cache bits.
2195 (basic_ios::_M_cache_locale): Same.
2196 * include/bits/ios_base.h: Same. Tweaks.
2197 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2198 (__use_cache): Make friends with _Impl, locale.
2199 (_Impl::_M_caches): Add.
2200 (_Impl::_M_install_cache): Add.
2201 * include/bits/locale_facets.h (__numpunct_cache): New.
2202 (numpunct): Encapsulate data members in __numpunct_cache member,
2203 _M_data. Adjust virtuals.
2204 (numpunct::numpunct): New ctor for the same.
2205 (__locale_cache_base): Remove.
2206 (__locale_cache): Remove.
2207 * include/bits/locale_facets.tcc (__use_cache): New function,
2209 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2210 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2211 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2212 * src/locale-inst.cc: Same. Add __numpunct_cache.
2213 * src/locale.cc: Tweak inlines.
2214 (__use_cache): Define specializations.
2215 * src/localename.cc: Use global bits.
2216 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2217 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2218 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2219 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2220 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2222 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2223 Paolo Carlini <pcarlini@unitus.it>
2225 * testsuite/performance/filebuf_copy.cc: New, testing char
2228 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2229 Nathan C. Myers <ncm-nospam@cantrip.org>
2231 * include/bits/fstream.tcc (_M_underflow): When the actual
2232 end of file is reached, set 'uncommitted' mode to allow a
2233 next write without an intervening seek (see C++98 27.8.1.1,2
2235 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2237 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2239 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2240 sputc): Move inline, from here...
2241 * include/std/std_streambuf.h: ... to here.
2243 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2244 sputbackc, sungetc, sputc): Use __builtin_expect.
2246 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2248 * docs/doxygen/mainpage.html: Use a useful title.
2250 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2252 * docs/html/documentation.html: Remove assignment info.
2253 * docs/html/17_intro/contribute.html: Edits.
2254 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2256 * docs/html/test.html: Update.
2260 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2261 Ulrich Drepper <drepper@redhat.com>
2263 * testsuite/testsuite_performance.h: Tweak mallinfo.
2265 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2266 Nathan C. Myers <ncm-nospam@cantrip.org>
2268 * include/std/std_fstream.h (_M_filepos): Remove.
2269 (_M_reading, _M_writing): New, encode the various I/O modes:
2270 'read', 'write' and 'uncommitted'.
2271 (sync): If there is something to flush, do it, then go to
2273 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2274 with three different cases: __off > 0 (upon underflow),
2275 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2277 (_M_underflow): Don't call overflow, set _M_reading to true
2279 (pbackfail): Set _M_reading to true on pback creation, tweak.
2280 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2281 set _M_writing to true on success, tweak.
2282 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2283 _M_set_buffer(-1) ('uncommitted').
2284 (open, close, setbuf): Set _M_reading, _M_writing to false and
2285 call _M_set_buffer(-1), tweak.
2286 (basic_filebuf): Don't set _M_buf_unified.
2287 (_M_destroy_internal_buffer): Don't call setg and setp.
2288 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2289 _M_writing and _M_set_buffer(-1).
2290 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2291 _M_out_lim, _M_buf_unified): Remove.
2292 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2293 (setp): Don't set _M_out_lim.
2294 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2295 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2296 upon open the mode is 'uncommitted' and therefore the put area
2298 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2299 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2300 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2301 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2302 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2303 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2304 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2305 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2306 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2307 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2308 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2309 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2310 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2311 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2312 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2313 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2314 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2315 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2316 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2317 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2319 * include/bits/fstream.tcc (showmanyc): Use only the
2320 documented derivation interface to basic_streambuf (gptr(),
2321 setg(), etc.) to work right with user specializations.
2322 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2323 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2324 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2326 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2329 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2331 * configure.host (freebsd*): Set abi_baseline_pair.
2332 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2333 (at or near first release) to 3.3.
2334 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2335 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2336 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2338 * include/ext/mt_allocator.h: Portability.
2339 * testsuite/testsuite_performance.h: Likewise.
2341 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2343 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2345 * testsuite/performance/ifstream_getline.cc: Fix.
2347 2003-06-23 Doug Gregor <dgregor@apple.com>
2349 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2352 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2353 Nathan C. Myers <ncm-nospam@cantrip.org>
2355 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2356 is now used only for filebuf, when _M_buf_unified is true.
2357 epgtr() plays the role of _M_out_lim but it's only updated
2358 upon overflow, underflow, uflow, seekoff/pos.
2359 * include/bits/sstream.tcc (_M_underflow): New, implements
2360 stringbuf::underflow and uflow.
2361 (seekoff, seekpos): Tweak, use _M_update_egptr.
2362 * include/std/std_sstream.h (str): Rewrote, deal correctly
2363 with the new logic, in particular, when pptr() > egptr().
2364 (_M_sync): When __testout && !__testin set all the get area
2365 pointers to the current string end.
2366 (_M_update_egptr): New, internal function updating egptr()
2367 to the actual string end.
2368 (_M_underflow): New, declare.
2369 (underflow): Dispatch to _M_underflow(false).
2370 (uflow): Dispatch to _M_underflow(true).
2372 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2373 seekpos): Use only the documented derivation interface to
2374 basic_streambuf (gptr(), setg(), etc.) to work right with
2375 user specializations.
2376 * include/std/std_sstream.h (str, _M_sync): Likewise.
2378 2003-06-20 Doug Gregor <dgregor@apple.com>
2380 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2381 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2382 dereference end iterator.
2383 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2384 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2385 index equal to the length of a string.
2386 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2387 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2388 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2389 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2390 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2391 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2392 singular reverse iterator.
2393 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2395 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2397 2003-06-20 Doug Gregor <dgregor@apple.com>
2399 * include/bits/basic_string.h (basic_string::replace): Dispatch
2400 _InputIterator version based on _Is_integer.
2401 * include/bits/basic_string.tcc (basic_string::replace):
2402 Renamed replace(iterator, iterator, size_type, _CharT) to
2404 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2405 Test basic_string::assign(_InputIterator, _InputIterator),
2406 which calls basic_string::replace(iterator, iterator,
2407 _Input_iterator, _InputIterator).
2409 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2411 * testsuite/testsuite_performance.h (resource_counter): Don't use
2412 mallinfo at the moment.
2414 2003-06-20 Matthias Klose <doko@debian.org>
2416 * configure.host: Set try_cpu to target_cpu for existing
2419 2003-06-19 Andreas Jaeger <aj@suse.de>
2421 * testsuite/Makefile.am (extract_symvers): Revert accidental
2423 * testsuite/Makefile.in: Regenerate.
2425 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2426 * configure: Regenerated.
2428 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2430 * include/std/std_sstream.h (_M_sync): Make non virtual.
2432 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2434 * testsuite/testsuite_performance.h (time_counter): New.
2435 (resource_counter): New.
2436 (report_performance): New.
2437 (start_counters): New.
2438 (stop_counters): New.
2439 (clear_counters): New.
2440 * testsuite/performance/allocator.cc: Instrument.
2441 * testsuite/performance/cout_insert_int.cc: Same.
2442 * testsuite/performance/complex_norm.cc: Same.
2443 * testsuite/performance/filebuf_sputc.cc: New.
2444 * testsuite/performance/fstream_seek_write.cc: Same.
2445 * testsuite/performance/ifstream_getline.cc: Same.
2446 * testsuite/performance/map_create_fill.cc: Same.
2447 * testsuite/performance/ofstream_insert_float.cc: Same.
2448 * testsuite/performance/ofstream_insert_int.cc: Same.
2449 * testsuite/performance/string_append.cc: Convert.
2450 * scripts/check_performance: New.
2451 * testsuite/Makefile.am (check-performance): New.
2454 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2455 Benjamin Kosnik <bkoz@redhat.com>
2457 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2458 * include/bits/fstream.tcc (setbuf): Tweak.
2460 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2462 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2463 _M_out_lim, therefore _M_move_out_cur boils down to simply
2464 updating _M_out_cur.
2465 (seekpos): Likewise, clean up.
2467 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2468 Paolo Carlini <pcarlini@unitus.it>
2470 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2471 simply equivalent to the unbuffered case (0, 0) as far as
2472 _M_buf_size is concerned.
2474 2003-06-18 Andreas Jaeger <aj@suse.de>
2476 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2478 (baseline_file): Use baseline_dir.
2479 (baseline_dir): New.
2480 (mkinstalldirs): New.
2482 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2483 filename from baseline_dir.
2485 * testsuite/Makefile.in: Regenerated.
2486 * Makefile.in: Regenerated.
2487 * aclocal.m4: Regenerated.
2488 * configure: Regenerated.
2490 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2492 * configure.in: Missed check_survey bit.
2493 * configure: Regenerated.
2495 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2498 * config/abi/extract_symvers: Move to...
2499 * scripts/extract_symvers: ...here.
2500 * mkcheck.in: Move to..
2501 * scripts/check_survey.in: ...here.
2502 * testsuite_flags.in: Move to..
2503 * scripts/testsuite_flags.in: ...here.
2504 * configure.in: Change check and testsuite_flags locations.
2505 * configure: Regenerate.
2506 * testsuite/Makefile.am (current_symbols.txt): Change location.
2507 * testsuite/Makefile.in: Regenerate.
2508 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2509 location of testsuite_flags.
2510 * Makefile.am (check-script): Move..
2511 (check-script-install): Move...
2512 * testsuite/Makefile.am: ... here.
2513 * testsuite/Makefile.in: Regenerate.
2514 * Makefile.in: Regenerate.
2516 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2518 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2520 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2522 * Makefile.am (check-abi): Move...
2523 (new-abi-baseline): Move...
2524 * testsuite/Makefile.am: ...here.
2525 (new-abi-baseline): Conditionalize.
2526 (check-abi): Conditionalize.
2527 (check-abi-verbose): New.
2528 * Makefile.in: Regenerate.
2529 * testsuite/Makefile.in: Regenerate.
2530 * configure.in: Consolidate testsuite configure bits.
2531 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2532 * configure: Regenerate.
2533 * aclocal.m4: Regenerate.
2534 * testsuite/abi_check.cc: Add --check-verbose.
2535 Only output detailed information if --check-verbose.
2537 2003-06-16 Andreas Jaeger <aj@suse.de>
2539 * testsuite/abi_check.cc: Create summary report.
2541 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2543 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2544 for systems with BUFSIZ != 8192.
2545 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2546 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2549 2003-06-16 Andreas Jaeger <aj@suse.de>
2551 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2552 check-abi multilib aware.
2553 * aclocal.m4: Regenerate.
2554 * configure: Regenerate.
2556 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2557 Andreas Jaeger <aj@suse.de>
2559 * configure.host: Set x86_64 abi_baseline pair correctly.
2561 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
2563 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
2564 fix for missing seeks between gets and puts into...
2565 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2566 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2567 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2568 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2569 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2570 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
2572 2003-06-15 Richard Henderson <rth@redhat.com>
2574 * config/linker-map.gnu: Export virtual function thunks for
2577 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2579 * config/abi/i686-pc-linux-gnu: To..
2580 * config/abi/i486-linux-gnu: ...this.
2581 * config/abi/alphaev67-unknown-linux-gnu: To..
2582 * config/abi/alpha-linux-gnu: ...this.
2583 * config/abi/ia64-unknown-linux-gnu: To...
2584 * config/abi/ia64-linux-gnu: ...this.
2585 * config/abi/x86_64-unknown-linux-gnu: To...
2586 * config/abi/x86_64-linux-gnu: ...this.
2587 * config/abi/i386-unknown-freebsd4: To...
2588 * config/abi/i386-freebsd4: ...this.
2589 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2591 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2592 Simplify cpu bits so that abi_baseline_pair can use the same
2594 * acinclude.m4: Same.
2595 * aclocal.m4: Regenerate.
2596 * configure.in: Can't get enable_abi_check to yes unless native.
2597 * configure: Regenerate.
2599 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
2601 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2602 fix for missing seeks between gets and puts into...
2603 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2604 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2605 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2606 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2607 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2608 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2609 for missing seeks between gets and puts.
2610 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2611 * testsuite/data/seekoff-1.tst: New.
2612 * testsuite/data/seekoff-2.tst: New.
2613 * testsuite/data/seekpos-1.tst: New.
2614 * testsuite/data/seekpos-2.tst: New.
2616 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2618 Avoid multi-processor bus contention on increment/decrement-and-
2619 test of the reference count in the empty-string object, by comparing
2620 addresses first, and never touching the reference count of the empty-
2622 * include/bits/basic_string.h:
2623 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2625 (_Rep::_S_empty_rep()): New accessor.
2626 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2627 a base class _Rep_base.
2628 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2629 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2630 since no longer must increment its refcount.
2631 * include/bits/basic_string.tcc:
2632 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
2633 return immediately. The former might be unnecessary. The latter
2634 prevents begin() and end() from cloning it unnecessarily.
2635 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2636 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2637 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2638 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2639 (_M_mutate): Check for the empty string and treat it as shared.
2640 This is necessary here because _M_mutate is sometimes called with
2641 all-zero arguments; in all other uses of _M_is_shared, the test comes
2644 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2646 * src/allocator-inst.cc: Explicitly instantiate.
2647 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2649 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
2651 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2653 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2654 * aclocal.m4: Regenerate.
2655 * Makefile.am (SUBDIRS): Remove libio.
2656 * Makefile.in: Regenerate.
2657 * configure.in: Same.
2658 * configure: Regenerate.
2659 * config/io/basic_file_libio.cc: Remove.
2660 * config/io/basic_file_libio.h: Remove.
2661 * config/io/c_io_libio_codecvt.c: Remove.
2662 * config/io/c_io_libio.h: Remove.
2664 * src/Makefile.am: Same.
2665 * src/Makefile.in: Regenerate.
2666 * docs/html/configopts.html: Edits.
2667 * docs/html/explanations.html: Edits.
2669 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2671 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2672 (__malloc_alloc): Same.
2673 (__pool_alloc): Same.
2674 (__new_alloc): Same.
2676 * include/bits/allocator.h: ...this.
2677 * include/bits/stl_deque.h: Modify comment.
2678 * include/bits/stl_tree.h: Modify include.
2679 * include/std/std_memory.h: Same.
2680 * include/ext/rope: Same.
2681 * include/ext/slist: Same.
2682 * include/std/std_vector.h: Same.
2683 * include/std/std_stack.h: Same.
2684 * include/std/std_queue.h: Same.
2685 * include/std/std_list.h: Same.
2686 * include/std/std_deque.h: Same.
2687 * include/backward/alloc.h: Same.
2688 * include/ext/debug_allocator.h: New.
2689 * include/ext/malloc_allocator.h: New.
2690 * include/ext/pool_allocator.h: New.
2691 * include/ext/new_allocator.h: New.
2692 * include/bits/pthread_allocimpl.h: Remove.
2693 * include/bits/stl_pthread_alloc.h: Remove.
2694 * include/Makefile.am (ext_headers): Add.
2695 * include/Makefile.in: Regenerate.
2696 * src/stl-inst.cc: Use __gnu_cxx namespace.
2697 * src/stl-inst.cc: Move to...
2698 * src/allocator-inst.cc: Here.
2699 * src/Makefile.am (sources): Update.
2700 * src/Makefile.in: Regenerate.
2701 * config/linker-map.gnu: Remove __pool_alloc bits.
2702 * testsuite/ext/headers.cc: Add.
2703 * testsuite/ext/allocators.cc: Fixup.
2705 2003-06-11 Stefan Olsson <stefan@snon.net>
2706 Ola Rönnerup <fnolis@home.se>
2708 * include/Makefile.am (ext_headers): Add.
2709 * include/Makefile.in: Regenerate.
2710 * include/ext/mt_allocator.h: New file.
2712 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2714 * include/bits/fstream.tcc (close): Clean up a bit.
2716 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
2718 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
2719 - the saved _M_in_cur, that is - cannot be null.
2720 (sync): Constify a variable.
2722 * include/std/std_streambuf.h: Tweak a comment.
2723 (in_avail): Constify a variable.
2725 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
2727 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
2728 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
2729 correctness of container::iterator typedefs. Fix whitespace.
2730 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
2732 * docs/html/documentation.html: Regenerate.
2734 * include/bits/basic_string.h, include/bits/basic_string.tcc,
2735 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
2736 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
2737 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
2738 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
2739 include/bits/stl_vector.h, include/bits/vector.tcc,
2740 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
2741 Change _Iter names to _Iterator, and __pos to __position.
2743 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
2744 include/bits/stl_multiset.h, include/bits/stl_set.h:
2745 Remove emacs markers.
2747 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
2749 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2751 * include/bits/fstream.tcc (overflow): According to
2752 27.5.2.4.5, overflow() returns not_eof(eof()).
2753 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
2754 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2756 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
2758 * include/bits/fstream.tcc (_M_underflow): Check overflow return
2759 value; tweak slightly.
2761 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2763 * include/bits/fstream.tcc (_M_underflow): Do not special
2764 case the unbuffered case, which really means simply a one char
2766 (basic_filebuf): Initialize _M_buf_size.
2767 (setbuf): Unbuffered means _M_buf_size == 1, since only
2768 _M_buf_size - 1 == 0 chars are going to be used for the
2769 put area and 1 for the get area.
2770 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
2771 (~basic_streambuf): Tweak.
2772 (basic_streambuf): Do not initialize _M_buf_size.
2773 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
2774 (~basic_filebuf): Tweak.
2775 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
2776 unbuffered situation (i.e., put area pointers NULL).
2777 * include/bits/streambuf.tcc (sbumpc): Clean up.
2778 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
2779 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
2780 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
2781 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
2782 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
2783 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
2784 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
2786 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
2788 * acinclude.m4: Move all AM_CONDITIONAL calls out.
2789 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
2791 * configure.in: Centralize AM_CONDITIONALs so that they are always
2792 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
2793 * aclocal.m4, configure: Regenerated.
2795 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
2797 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
2799 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
2801 * include/bits/stl_iterator.h
2802 (reverse_iterator::reverse_iterator()): Apply DR235: default
2803 constructor default-initializes data member. Instantiated on a
2804 pointer type, the member has to end up equal to zero.
2806 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
2808 * include/bits/stl_alloc.h: Cleanups.
2809 * include/ext/functional: Same.
2810 * include/ext/hash_map: Same.
2811 * include/ext/hash_set: Same.
2812 * include/ext/iterator: Same.
2813 * include/ext/memory: Same.
2814 * include/ext/numeric: Same.
2815 * include/ext/rb_tree: Same.
2816 * include/ext/ropeimpl.h: Same.
2817 * include/ext/slist: Same.
2818 * include/ext/stdio_filebuf.h: Same.
2819 * include/ext/stdio_sync_filebuf.h: Same.
2820 * include/ext/stl_rope.h: Move to...
2821 * include/ext/rope: ...here.
2822 * include/ext/stl_hash_fun.h: Move to...
2823 * include/ext/hash_fun.h: ...here.
2824 * include/ext/stl_hashtable.h: Move to...
2825 * include/ext/hashtable.h: ...here.
2826 * include/backward/hashtable.h: Reflect new names.
2827 * include/Makefile.am: Same.
2828 * include/Makefile.in: Regenerated.
2830 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
2833 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
2834 * include/bits/stl_algobase.h: Tweak.
2835 * include/std/std_fstream.h: Move _M_buf_size to...
2836 * include/std/std_streambuf.h: ...here. Modify.
2837 * include/bits/streambuf.tcc: Same.
2838 * testsuite/testsuite_hooks.h: Tweak.
2839 * testsuite/testsuite_io.h (constraint_filebuf): New.
2840 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
2841 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
2842 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
2843 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
2844 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
2845 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
2846 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
2847 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
2848 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
2849 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
2850 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
2851 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
2852 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
2853 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
2854 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
2855 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
2856 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
2857 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
2858 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
2859 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
2860 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
2861 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
2862 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
2863 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
2864 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
2865 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
2866 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
2867 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
2868 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
2869 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
2870 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
2871 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
2872 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
2873 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
2874 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
2875 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
2876 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
2877 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
2878 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
2879 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
2880 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
2881 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
2882 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
2883 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
2884 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
2885 * testsuite/data/sgetc.txt: New.
2886 * testsuite/data/sgetn.txt: New.
2888 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
2891 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
2892 Deal with width() smaller than zero.
2893 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
2894 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
2895 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
2896 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
2897 operator<<(basic_ostream, const basic_string&)): Likewise.
2899 * testsuite/27_io/basic_istream/extractors_character/char/
2900 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2901 * testsuite/27_io/basic_ostream/inserters_character/char/
2902 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
2903 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
2904 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
2906 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2908 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
2909 .gch compilation works.
2910 * aclocal.m4, configure: Regenerate.
2911 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
2912 initialize PCHFLAGS.
2914 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
2916 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
2917 erase(iterator), erase(iterator, iterator), c_str,
2918 compare(const basic_string&)): Constify various variables.
2919 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
2920 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
2921 _S_create, resize, _M_replace, _M_replace_safe,
2922 append(const basic_string&), append(const basic_string&, size_type,
2923 size_type), append(const _CharT*, size_type), append(size_type,
2924 _CharT), operator+(const _CharT*, const basic_string&),
2925 operator+(_CharT, const basic_string&), replace(iterator, iterator,
2926 size_type, _CharT), find(const _CharT*, size_type, size_type),
2927 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
2928 rfind(_CharT, size_type), compare(size_type, size_type,
2929 const basic_string&), compare(size_type, size_type,
2930 const basic_string&, size_type, size_type), compare(const _CharT*),
2931 compare(size_type, size_type, const _CharT*), compare(size_type,
2932 size_type, const _CharT*, size_type)): Likewise.
2934 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
2936 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
2937 'if' branch less obscure.
2939 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
2942 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
2944 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
2945 (__atomic_add): likewise.
2947 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2949 * include/bits/sstream.tcc (pbackfail): Minor clean up and
2950 reformatting, consistent with basic_filebuf::pbackfail.
2952 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
2955 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
2956 __attribute__ ((__unused__)).
2957 * config/os/aix/atomicity.h: Likewise.
2959 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2962 * include/bits/fstream.tcc (pbackfail): If the pback buffer
2963 is already active don't try to store in it a second char.
2964 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
2966 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
2968 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2970 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
2973 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2975 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
2976 instead of unnecessarily taking the address of _M_pback.
2977 (xsgetn): Simplify slightly for a single char pback buffer.
2979 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2981 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
2982 variables and two 'if', clean up.
2984 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
2986 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
2987 not _M_out_end, since the former actually points to the string
2988 end (vs buffer end).
2989 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
2991 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
2993 * docs/doxygen/filter: New file.
2994 * docs/doxygen/filter.sed: New file.
2995 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
2996 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
2997 * docs/html/documentation.html: Fix links to doxygen pages.
2999 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
3001 * include/bits/fstream.tcc (_M_convert_to_external): Don't
3002 check for __ilen > 0.
3004 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3007 * include/bits/stl_iterator.h (class __normal_iterator):
3008 Don't inherit from iterator, add missing typedefs.
3010 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
3012 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
3013 * testsuite/24_iterators/reverse_iterator/1.cc: New.
3014 * testsuite/24_iterators/reverse_iterator/2.cc: New.
3015 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
3018 2003-05-27 Steve Ellcey <sje@cup.hp.com>
3020 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
3022 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
3023 _LIBUNWIND_STD_ABI is set.
3025 2003-05-26 Brendan Kehoe <brendan@zen.org>
3027 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
3028 make sure the number of digits required after the decimal-point
3029 (if any) is exactly the value returned by frac_digits().
3030 * testsuite/22_locale/money_get/get/char/9.cc: New.
3031 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
3033 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
3035 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
3038 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
3041 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
3042 (_M_pback): No array necessary.
3043 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
3044 unbuffered case, coalesec into ...
3045 (basic_filebuf::overflow): ...this.
3046 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
3047 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
3049 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
3051 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
3052 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
3053 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
3054 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
3055 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
3056 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
3057 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
3058 libsupc++/eh_unex_handler.cc, libsupc++/exception,
3059 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
3060 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
3061 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
3062 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
3063 Replace "GNU CC" with "GCC".
3065 * include/backward/new.h: Replace "GNU CC" with "GCC".
3067 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3070 * configure.in: Switch target to host, don't assume newlib.
3071 (target_alias): Remove.
3072 * configure: Regenerate.
3073 * acinclude.m4: Same.
3074 * aclocal.m4: Regenerate.
3075 * configure.target: Same. Rename to...
3076 * configure.host: This.
3078 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3080 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3081 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3083 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3084 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3085 of _S_pback_size for systems with no COMDAT or weak support.
3086 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3087 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3088 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3089 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3090 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3091 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3092 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3093 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3094 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3096 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3098 * include/bits/fstream.tcc (_M_underflow): Simplify:
3099 !__testout implies _M_filepos == _M_in_end, therefore
3100 the first _M_file.seekoff call is never issued.
3102 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3104 * configure.in: Sort cross table.
3105 * configure: Regenerate.
3107 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3110 * configure.in: Add Solaris cross bits.
3112 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3114 * libstdc++-v3/config/os/mingw32/os_defines.h
3115 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3116 (NOMINMAX): Define. Update copyright year.
3118 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3120 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3122 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3124 * docs/html/faq/index.html: Fix typo.
3125 * docs/html/faq/index.txt: Regenerate.
3127 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3129 * docs/html/test.html: Fix markup.
3131 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3133 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3135 Update copyright year.
3137 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3139 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3141 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3143 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3144 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3146 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3148 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3149 Cast via void* to avoid -Wcast-align warnings.
3150 (__default_alloc_template::_S_refill): Likewise.
3152 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3154 * testsuite/README: Move to...
3155 * docs/html/test.html: ...here. Add documentation.
3156 * docs/html/install.html: Move testing bits out..
3157 * docs/html/documentation.html: Add separate testing link.
3158 * testsuite/performance: Add.
3159 * testsuite/performance/allocator.cc: New.
3160 * testsuite/performance/complex_norm.cc: New.
3161 * testsuite/performance/cout_insert_int.cc: New.
3162 * testsuite/performance/fstream_seek_write.cc: New.
3163 * testsuite/performance/ifstream_getline.cc: New.
3164 * testsuite/performance/map_create_fill.cc: New.
3165 * testsuite/performance/ofstream_insert_float.cc: New.
3166 * testsuite/performance/ofstream_insert_int.cc: New.
3167 * testsuite/performance/string_append.cc: New.
3168 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3171 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3174 * include/std/std_complex.h (pow): Tidy.
3176 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3178 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3179 that upon filebuf::close() 27.8.1.1,3 is enforced.
3181 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3183 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3185 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3186 Nathan Myers <ncm@cantrip.org>
3188 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3189 _M_convert_to_external only once (_M_buf_size is now the size of
3190 the put area + 1 for the overflow char of a full area); call
3191 _M_set_buffer instead of _M_set_indeterminate.
3192 (setbuf): Don't accept a buffer smaller than 2 chars.
3193 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3194 instead of _M_set_determinate.
3195 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3196 (seekoff): Likewise.
3197 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3198 std::ios_base::openmode, bool, size_t),
3199 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3201 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3202 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3204 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3205 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3206 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3207 the put area is now BUFSIZ - 1.
3208 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3209 that now the smallest _M_buf_size is 2 (still fails, for the same
3212 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3214 * testsuite/thread/pthread4.cc: Tweak test.
3216 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3218 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3219 excess errors dg marker, use dg-errors instead.
3220 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3221 * testsuite/20_util/auto_ptr_neg.cc: Same.
3223 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3225 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3227 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3228 Initialize _M_codecvt.
3229 (basic_filebuf::imbue): Same.
3230 (basic_filebuf::showmanyc): Use it.
3231 (basic_filebuf::underflow): Use it.
3232 (basic_filebuf::_M_convert_to_external): Use it.
3233 (basic_filebuf::seekoff): Use it.
3234 (basic_filebuf::imbue): Use it, tweaks.
3235 * include/bits/localefwd.h (__check_facet): New.
3236 * include/bits/locale_classes.h: Tweaks.
3237 * include/bits/locale_facets.tcc: Tweaks.
3238 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3239 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3240 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3241 * include/bits/basic_ios.tcc: Same.
3242 * include/bits/istream.tcc: Same.
3243 * include/bits/ostream.tcc: Same.
3244 * include/std/std_streambuf.h: Same.
3245 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3246 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3247 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3248 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3249 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3250 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3252 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3254 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3255 unnecessary includes and unused string literals.
3256 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3257 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3258 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3259 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3261 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3263 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3265 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3267 * include/std/std_fstream.h (_M_convert_to_external): Change
3268 to return bool, take two less streamsize parameters.
3269 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3270 consistently definition.
3271 (_M_overflow): Adjust call points.
3273 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3275 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3277 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3279 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3280 * testsuite/Makefile.in: Regenerate.
3282 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3284 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3285 * testsuite/Makefile.in: Regenerate.
3287 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3290 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3291 (acos): Handle integer argument.
3310 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3311 (__enable_if): Likewise.
3312 * testsuite/26_numerics/cmath/overloads.C: New test.
3314 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3319 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3320 implementation, based on old wchar_t specialization, add support
3321 for codecvt::in() return value of codecvt_base::noconv, remove
3322 _M_file.sys_ungetc() call.
3323 * include/std/std_fstream.h (basic_file::underflow,
3324 basic_file::uflow, basic_file::_M_underflow): Remove
3325 specialization declarations, call _M_underflow from generic versions
3326 of underflow and uflow.
3327 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3328 basic_file::_M_underflow): Remove specializations.
3329 * src/Makefile.am (sources): Remove fstream.cc.
3330 * src/Makefile.in: Regenerated.
3331 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3332 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3333 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3334 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3336 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3338 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3340 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3342 (__basic_file::xsputn): Same.
3343 (__basic_file::seekoff): Same.
3344 (__basic_file::seekpos): Same.
3345 (__basic_file::showmanyc): Same.
3346 * config/io/basic_file_stdio.cc: Same.
3347 * include/std/std_fstream.h: Same.
3348 * include/bits/fstream.tcc: Same.
3349 * src/fstream.cc: Same.
3350 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3352 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3357 * include/ext/stdio_sync_filebuf.h: New file.
3358 (basic_stdiobuf): New.
3359 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3360 * include/Makefile.in: Regenerate.
3361 * include/bits/ios_base.h (Init::_S_create_buffers,
3362 Init::_S_destroy_buffers): Remove declarations.
3363 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3364 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3365 * src/ios.cc (Init::_S_create_buffers,
3366 Init::_S_destroy_buffers): Remove.
3367 (Init::Init): Create and use syncronized buffers.
3368 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3369 create and install unsyncronized buffers.
3370 * testsuite/27_io/objects/char/10.cc: New test.
3371 * testsuite/27_io/objects/char/9.cc: New test.
3372 * testsuite/27_io/objects/char/9661-1.cc: New test.
3373 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3374 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3375 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3376 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3377 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3378 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3379 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3380 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3381 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3382 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3383 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3384 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3385 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3386 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3387 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3388 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3389 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3390 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3391 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3392 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3393 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3394 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3395 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3396 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3397 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3398 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3399 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3400 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3401 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3402 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3403 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3404 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3405 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3406 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3407 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3408 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3409 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3410 * testsuite/ext/stdiobuf_char.cc: New test.
3411 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3413 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3415 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3416 unnecessary includes and unused string literals.
3417 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3419 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3421 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3423 2003-05-07 Richard Henderson <rth@redhat.com>
3426 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3427 (__cxa_end_catch): Likewise.
3428 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3429 _Unwind_Resume_or_Rethrow.
3430 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3431 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3432 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3433 exceptions. Don't push terminate/unexpected to cxa functions.
3434 (__cxa_call_unexpected): Remove foreign exception fixmes.
3436 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3438 * testsuite/27_io/ios_base/cons: New.
3439 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3440 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3442 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3444 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3446 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3447 there is no buffer or __testget == !__testinit.
3450 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3451 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3453 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3454 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3456 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3458 * include/std/std_sstream.h (_M_sync): Minor tweak.
3460 * include/bits/fstream.tcc (close): No need to call
3461 _M_destroy_pback, setting _M_pback_init to false suffices
3464 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3466 * include/bits/stl_algo.h: Enums as _S_.
3467 * include/bits/stl_tree.h: Same.
3468 * include/bits/stl_bvector.h: Same.
3469 * include/bits/ios_base.h: Same.
3470 * include/bits/stl_alloc.h: Same.
3471 * include/ext/stl_hashtable.h: Same.
3472 * src/ios.cc: And here.
3474 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3475 * include/bits/sstream.tcc: Same.
3477 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3479 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3481 * include/bits/locale_facets.h (__num_base): Remove protected.
3482 Use _S_[io]* names for enumerations.
3483 (_S_format_int): Remove.
3484 * include/bits/locale_facets.tcc: Same.
3485 * src/locale.cc: Same.
3487 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3489 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3491 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3492 * docs/html/faq/index.txt: Regenerated.
3494 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3495 Matt Kraai <kraai@alumni.cmu.edu>
3497 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3500 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3502 * configure.target (mips*): Use the generic atomicity.h by default.
3504 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
3505 (Inspired by an alternate patch from Danny Smith.)
3507 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
3508 (_Swap_lock_struct<>): ...and the horse it rode in on.
3509 * src/globals.cc (_Swap_lock_struct<>): Likewise.
3510 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
3511 member to support...
3512 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
3513 visibility rules related to POSIX threads.
3514 * testsuite/thread/pthread7-rope.cc: New test.
3516 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
3518 * testsuite/21_strings/basic_string/find/char/3.cc: New
3519 file, testing basic_string<char>::find_first_not_of.
3520 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
3521 Likewise for basic_string<wchar_t>.
3523 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
3525 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
3527 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
3529 * include/Makefile.am (CLEANFILES): Remove PCH files in target
3531 * include/Makefile.in: Regenerate.
3533 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
3535 * include/std/std_sstream.h (str()): Tidy.
3537 2003-05-02 Nathan Myers <ncm@cantrip.org>
3538 Paolo Carlini <pcarlini@unitus.it>
3540 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
3542 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
3544 * include/bits/basic_string.h (swap): Remove redundant template
3545 parameters from declaration of non-template member function.
3547 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
3549 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
3550 * configure.in: Move libintl.h header test...
3551 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
3552 the NLS-related test results into one symbol.
3553 * src/functexcept.cc: Use it here.
3554 * aclocal.m4, config.h.in, configure: Regenerated.
3556 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3558 * include/bits/sstream.tcc (overflow): Instead of calling
3559 str(), then _M_string.reserve, thus copying the contents
3560 of the current buffer two times, just copy the latter in
3561 a temporary, then use the 'swap trick'.
3563 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3565 * include/std/std_sstream.h (str()): Revert the best of the
3566 previous 'improvement', incorrect due to the COW nature of
3567 v3 basic_string; simplify.
3569 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3571 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
3572 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
3574 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3576 * testsuite/abi_check.cc (check_version): Update known versions.
3577 Check added symbols for version_name != base version. Add missing
3578 symbols to incompatible list.
3580 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
3582 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
3583 * aclocal.m4: Regenerated.
3584 * configure: Regenerated.
3586 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3588 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
3589 Const-ify some variables.
3590 (basic_streambuf::xsputn): Likewise; change the type of some
3591 variables to size_t.
3592 (__copy_streambufs): Change some variables to size_t.
3594 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3596 * include/std/std_sstream.h (str()): Avoid constructing
3597 a basic_string temporary not only when it would turn out
3598 to be zero-sized but also when identical to the current
3601 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
3603 * include/ext/stdio_filebuf.h
3604 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
3605 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
3606 Shorten a bit (-10 lines) by factoring out some code.
3608 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3610 * acinclude.m4: Add bit missing from previous patch.
3611 * aclocal.m4, configure: Regenerated.
3613 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3615 * docs/doxygen/mainpage.html: Bring up to date.
3616 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
3618 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
3619 breaks everything. Don't scan them.
3620 * docs/html/documentation.html: Point to "Write after approval"
3623 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
3625 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
3626 of libc if message translations are being used. Fix info text in
3627 xieee_1003.1-2001 case.
3628 * aclocal.m4, configure: Regenerate.
3630 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
3631 Loren J. Rittle <ljrittle@acm.org>
3632 Martin v. Loewis <martin@v.loewis.de>
3634 * config/cpu/i386/atomicity.h: New file.
3636 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3638 * include/bits/fstream.tcc (open): Change to single return.
3640 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
3642 * include/std/std_sstream.h (underflow): Change to single return.
3644 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3646 * include/std/std_streambuf.h (_M_buf): is currently
3647 used only for basic_filebuf, therefore move it there.
3648 (basic_streambuf(), ~basic_streambuf()): Adjust.
3649 * include/std/std_fstream.h (_M_buf): Moved here.
3650 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
3651 is actually redundant for basic_stringbuf.
3652 (_M_really_sync): Likewise.
3653 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3654 * include/bits/sstream.tcc (seekoff): Adjust.
3656 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3658 * src/localename.cc: Standardize exception strings.
3659 * src/locale.cc: Same.
3661 * include/bits/basic_string.tcc: Same.
3662 * include/bits/basic_ios.tcc: Same.
3663 * include/std/std_bitset.h: Same.
3664 * include/ext/ropeimpl.h: Same.
3665 * include/bits/stl_vector.h: Same.
3666 * include/bits/stl_deque.h: Same.
3667 * include/bits/stl_bvector.h: Same.
3668 * config/locale/generic/c_locale.cc: Same.
3669 * config/locale/gnu/c_locale.cc: Same.
3670 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
3672 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
3674 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3676 * include/std/std_streambuf.h (_M_buf_size): is currently
3677 used only for basic_filebuf, therefore move it there.
3678 (basic_streambuf(), ~basic_streambuf()): Adjust.
3679 * include/std/std_fstream.h (_M_buf_size): Moved here.
3680 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
3682 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3684 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
3685 _M_buf_size (synced input is now correctly dealt with
3686 elsewhere); when the output buffer is full don't fall back
3687 to a snextc-sputc loop, call overflow instead.
3689 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
3691 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
3692 the innermost 'if' by factoring out some code.
3694 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
3696 * configure.in: Test for libintl.h.
3697 * include/bits/c++config: Define __N for everybody.
3698 * include/bits/basic_string.h, include/bits/stl_bvector.h,
3699 include/bits/stl_deque.h, include/bits/stl_vector.h,
3700 include/std/std_bitset.h: Wrap all __throw* text with __N.
3701 * po/Makefile.am (pot): New rule, mostly working.
3702 * src/functexcept.cc: Call gettext on all __throw* arguments when
3703 -fexceptions is in effect.
3704 * po/Makefile.in, config.h.in, configure: Regenerate.
3706 2003-04-28 Petur Runolfsson <peturr02@ru.is>
3709 * include/bits/ios_base.h (Init::_S_ios_create,
3710 Init::_S_ios_destroy): Remove declarations.
3711 (Init::_S_create_buffers,
3712 Init::_S_destroy_buffers): Declare
3713 * src/ios.cc (Init::_S_ios_create): Remove
3714 (Init::_S_create_buffers): Create buffers and add to streams.
3715 (Init::_S_ios_destroy): Rename to...
3716 (Init::_S_destroy_buffers): this.
3717 (Init::Init): Only construct streams once.
3718 (Init::~Init): Flush streams, don't destroy them.
3719 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
3720 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
3721 * testsuite/27_io/objects/char/5.cc: New test.
3722 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
3723 * testsuite/27_io/objects/char/6.cc: New test.
3724 * testsuite/27_io/objects/char/7.cc: New test.
3726 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3728 * testsuite/27_io/objects/char/8.cc: New test.
3730 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
3732 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
3733 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
3735 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3737 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
3738 _M_destroy_pback. _M_pback_create to
3739 _M_create_pback. _M_underflow_common to
3740 _M_underflow. _M_really_overflow to _M_overflow.
3741 * include/bits/fstream.tcc: Same.
3742 * src/fstream.cc: Same.
3743 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
3744 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
3745 * include/bits/streambuf.tcc: Same.
3746 * include/bits/fstream.tcc: Same.
3747 * include/bits/sstream.tcc: Same.
3749 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
3751 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
3752 from fixed size array.
3753 (locale): Change _S_categories as well.
3755 * include/bits/locale_facets.tcc: Tweak.
3756 * config/locale/gnu/c_locale.cc: Assign _S_categories.
3757 * config/locale/generic/c_locale.cc: Same.
3758 * src/locale.cc: Tweak.
3759 * src/globals.cc: Change facet_name to name_vec, add names_c.
3760 * src/localename.cc: Use them.
3761 (locale::_Impl::~_Impl): Destroy _M_names.
3762 (locale::_Impl::_Impl): Create _M_names.
3764 2003-04-27 Andreas Schwab <schwab@suse.de>
3766 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
3767 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
3769 2003-04-27 Nathan Myers <ncm@cantrip.org>
3771 Move some basic_string members out of line because
3772 they are too big to reasonably be inline.
3773 * include/bits/basic_string.h
3774 (assign(const basic_string&, size_type, size_type),
3775 assign(const _CharT*, size_type),
3776 insert(size_type, const basic_string&, size_type, size_type),
3777 insert(size_type, const _CharT*, size_type),
3778 replace(size_type, size_type, const _CharT*, size_type)):
3779 Move from here to...
3780 * include/bits/basic_string.tcc: ...here.
3782 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3784 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
3785 the innermost 'if' by factoring out some code.
3787 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3789 * include/bits/streambuf.tcc (__copy_streambufs): Don't
3790 use in_avail(), simplify.
3792 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
3794 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
3795 in basic_stringbuf it's unused.
3797 * include/std/std_sstream.h (underflow): consistently use
3798 _M_in_cur, not gptr().
3800 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
3801 Phil Edwards <pme@gcc.gnu.org>
3803 * testsuite_flags.in: Guard against the possibility
3804 of having "xgcc" as a part of a folder name in the
3805 path to the GCC build folder.
3806 * testsuite/Makefile.am: Likewise.
3807 * testsuite/Makefile.in: Regenerated.
3809 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3812 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
3813 exception specifications.
3814 (basic_filebuf::close): Same.
3815 (basic_filebuf::_M_pback_destroy): Same.
3816 (basic_filebuf::_M_destroy_internal_buffer): Same.
3817 (basic_filebuf): Remove __res_type typedef.
3818 * src/fstream.cc: Same.
3819 * include/bits/fstream.tcc
3820 (basic_filebuf::_M_convert_to_external): Simplify.
3821 (basic_filebuf::seekoff): Use has_facet before use_facet.
3822 (basic_filebuf::close): Add exception specification of throw().
3823 * testsuite/27_io/basic_filebuf/cons: New.
3824 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
3825 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
3826 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
3827 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
3829 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
3831 * include/bits/locale_classes.h
3832 (locale::_S_extra_categories_size): Remove.
3833 * src/locale.cc: Remove _S_extra_categories_size.
3834 * src/localename.cc: Same.
3835 * config/locale/gnu/c_locale.cc: Same.
3836 * config/locale/generic/c_locale.cc: Same.
3838 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
3840 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
3842 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
3844 * docs/html/17_intro/howto.html: Update some links.
3845 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
3846 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
3847 * docs/html/ext/howto.html: Link to demangler notes and API.
3848 * docs/html/faq/index.html: Remove trailing whitespace.
3849 (1.4, 2.4, 3.8, 4.1): Bring up to date.
3850 (5.6): Change to a bulleted list.
3852 * docs/html/faq/index.txt, docs/html/documentation.html,
3853 docs/html/17_intro/porting.html: Regenerate.
3855 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
3857 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
3858 belongs to basic_filebuf.
3859 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3860 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3861 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
3862 instantiation (now belongs to basic_filebuf).
3863 * testsuite/27_io/basic_iostream/3.cc: Likewise.
3864 * testsuite/27_io/basic_istream/3.cc: Likewise.
3865 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
3866 _S_pback_size now belongs to basic_filebuf.
3867 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
3868 instantiation (now belongs to basic_filebuf).
3869 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
3870 belongs to basic_filebuf.
3871 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
3872 instantiation (now belongs to basic_filebuf).
3873 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
3874 _S_pback_size now belongs to basic_filebuf.
3875 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
3876 instantiation (now belongs to basic_filebuf).
3877 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
3879 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
3880 instantiation (now belongs to basic_filebuf).
3881 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
3883 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3885 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
3886 * configure: Regenerated.
3888 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
3890 * config/locale/generic/c_locale.h (__convert_from_v): Use
3893 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
3895 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
3896 implementation only.
3897 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
3898 Comment and change to comply with DR 60 and the effect on gcount().
3899 * include/std/std_istream.h: Update comments.
3900 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
3901 comments about reasons for tests. Test sync() against gcount().
3902 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
3903 for effect on gcount().
3904 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
3905 for effect on gcount().
3907 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
3909 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
3912 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
3914 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
3915 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3916 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
3917 (basic_streambuf::basic_streambuf()): Adjust.
3918 * include/std/std_fstream.h (_S_pback_size, _M_pback,
3919 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
3920 _M_pback_create(), _M_pback_destroy()): Moved here
3921 from basic_streambuf.
3922 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
3924 (basic_filebuf::_S_pback_size): Add declaration.
3925 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
3928 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3930 Consistently use _M_in_beg instead of eback(), _M_in_cur
3931 instead of gptr(), and so on.
3932 * include/bits/fstream.tcc (pbackfail, imbue): Here.
3933 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
3934 * include/bits/streambuf.tcc (sbumpc, sputbackc,
3935 __copy_streambufs): Ditto.
3936 * include/std/std_streambuf.h (sgetc): Ditto.
3938 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3940 * include/bits/sstream.tcc (pbackfail, overflow):
3943 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
3945 * include/std/std_streambuf.h (uflow()): It's used only by
3946 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
3947 therefore do not consider the _M_buf_unified == true case.
3949 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
3951 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3953 * docs/html/ext/howto.html ('LWG Issues'):
3954 Add issues 19, 90, 171, 231, 271.
3956 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
3958 * include/bits/sstream.tcc (pbackfail): Remove redundant
3959 NULL pointer check from test involving _M_in_*.
3960 (overflow, seekoff, seekpos): Const qualify bool variables.
3961 * include/std/std_sstream.h (underflow): Remove redundant
3962 NULL pointer check from test involving _M_in_*.
3963 (_M_really_sync): Const qualify bool variables.
3964 * src/fstream.cc (_M_underflow_common): Remove redundant
3965 NULL pointer check from test involving _M_in_*, const qualify
3968 * include/std/std_streambuf.h (sgetc): Remove redundant
3971 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
3973 According to 5.9 para 2 (second bullet) for pointers p, q
3974 pointing to the same type, with p == 0 and q == 0, (p < q)
3976 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
3977 seekoff): Remove redundant NULL pointer checks from tests
3978 involving _M_out_* and _M_in_*, const qualify bool variables.
3979 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
3980 qualify bool variables.
3981 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
3982 Remove redundant NULL pointer checks from tests involving
3983 _M_out_* and _M_in_*, const qualify bool variables.
3984 * include/std/std_fstream.h (sync): Likewise.
3985 (_M_is_indeterminate): Const qualify bool variables.
3986 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
3987 NULL pointer checks from tests involving _M_out_* and _M_in_*,
3988 const qualify bool variables.
3989 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
3992 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
3994 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
3995 C99 FP macros, if actually captured.
3997 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
3998 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
3999 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4000 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4001 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
4003 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4004 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4005 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4006 * include/c_std/std_cstdlib.h: Use new macros.
4007 * include/c_std/std_cstdio.h: Use new macros.
4008 * include/c_std/std_cwchar.h: Use new macros.
4010 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
4013 * include/bits/ostream.tcc: Catch all exceptions for formatted
4014 output, instead of std::exception and derivatives.
4015 * include/bits/istream.tcc: Same.
4016 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
4017 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
4018 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
4019 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
4020 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
4021 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
4024 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
4026 * include/bits/c++config: Minor cosmetic tweaks.
4028 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
4030 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
4031 * include/Makefile.am (pch_input): Find in ${target_builddir}.
4032 (pch_output): Rename to...
4033 (pch_output_builddir): ..this. Find in ${target_builddir}.
4034 (pch_source): Tweak.
4035 (pch_build): Key off a built file.
4036 (pch_output rule): Rename to...
4037 (pch_input rule): ...this. Produce ${pch_output_builddir}
4038 instead of ${pch_output}.
4039 (install-pch rule): Install ${pch_output_builddir}.
4040 * include/Makefile.in: Regenerated.
4042 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
4044 * include/std/std_streambuf.h (setp): _M_out_lim, being
4045 the end limit of used put area, is set equal to _M_out_beg.
4047 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
4049 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
4050 * aclocal.m4: Regenerated.
4051 * configure.in: Remove old demangler bits.
4053 * configure: Regenerate.
4054 * config.h.in: Regenerate.
4055 * include/Makefile.am (allstamps): Now allstamped.
4056 (allcreated): Define this.
4057 (all-local): Use 'em.
4058 Conditionally define pch_build, pch_install based on
4060 (${pch_output}): New rule.
4061 (install-pch): New rule.
4062 (install-headers): New rule.
4063 (install-data-local): Install headers and conditionally pch.
4064 * include/Makefile.in: Regenerate.
4065 * testsuite_flags.in (--build-cxx): Use pch file.
4067 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
4069 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4071 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4072 Paolo Carlini <pcarlini at unitus dot it>
4075 * docs/html/27_io/howto.html
4076 ('The buffering is screwing up my program!'): Explain that
4077 opening counts as an I/O operation.
4079 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4081 * testsuite/thread/pthread1.cc: Enable for darwin test.
4082 * testsuite/thread/pthread2.cc: Same.
4083 * testsuite/thread/pthread3.cc: Same.
4084 * testsuite/thread/pthread4.cc: Same.
4085 * testsuite/thread/pthread5.cc: Same.
4086 * testsuite/thread/pthread6.cc: Same.
4088 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4091 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4092 Populate it with multiple legal ways to obtain the C99 float
4093 transcendentals. Use them instead of direct global reference.
4094 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4095 * docs/html/17_intro/porting.texi
4096 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4097 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4098 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4099 * config/os/bsd/freebsd/os_defines.h
4100 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4101 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4102 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4104 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4105 Benjamin Kosnik <bkoz@redhat.com>
4107 * config/os/generic/ctype_inline.h: Fix.
4109 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4111 * testsuite/testsuite_hooks.h
4112 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4113 Change to try_named_locale.
4114 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4116 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4118 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4119 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4120 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4121 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4122 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4123 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4124 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4125 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4126 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4127 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4128 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4129 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4130 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4131 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4132 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4133 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4134 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4135 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4136 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4137 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4138 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4139 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4140 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4141 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4142 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4143 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4144 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4145 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4146 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4147 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4148 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4149 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4150 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4151 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4152 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4153 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4154 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4155 * testsuite/22_locale/collate_byname/1.cc: Same.
4156 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4157 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4158 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4159 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4160 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4161 * testsuite/22_locale/facet/2.cc: Same.
4162 * testsuite/22_locale/locale/cons/2.cc: Same.
4163 * testsuite/22_locale/locale/cons/4.cc: Same.
4164 * testsuite/22_locale/locale/cons/5.cc: Same.
4165 * testsuite/22_locale/locale/cons/7.cc: Same.
4166 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4167 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4168 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4169 * testsuite/22_locale/messages/members/char/1.cc: Same.
4170 * testsuite/22_locale/messages/members/char/2.cc: Same.
4171 * testsuite/22_locale/messages/members/char/3.cc: Same.
4172 * testsuite/22_locale/messages_byname/1.cc: Same.
4173 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4174 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4175 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4176 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4177 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4178 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4179 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4180 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4181 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4182 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4183 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4184 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4185 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4186 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4187 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4188 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4189 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4190 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4191 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4192 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4193 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4194 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4195 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4196 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4197 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4198 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4199 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4200 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4201 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4202 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4203 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4204 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4205 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4206 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4207 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4208 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4209 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4210 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4211 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4212 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4213 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4214 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4215 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4216 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4217 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4218 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4219 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4220 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4221 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4222 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4223 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4224 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4225 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4226 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4227 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4228 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4229 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4230 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4231 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4232 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4233 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4234 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4235 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4236 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4237 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4238 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4239 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4240 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4241 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4242 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4243 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4244 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4245 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4246 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4247 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4248 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4249 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4250 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4251 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4252 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4253 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4254 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4256 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4258 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4259 solaris includes, not generic.
4261 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4263 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4265 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4266 * include/bits/concept_check.h: Fix multi-line comment.
4267 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4268 when target is *-*-freebsd*.
4270 2003-04-14 Nathan Myers <ncm@cantrip.org>
4271 Paolo Carlini <pcarlini@unitus.it>
4273 PR libstdc++/9701 (in_avail())
4274 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4275 doesn't care if there is anything in some putback cell.
4276 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4278 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4279 unused string literals.
4281 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4283 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4284 _M_out_end, _M_set_indeterminate() does it.
4286 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4288 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4290 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4292 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4293 Change basic_streambuf instantiation to "unsigned char".
4294 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4296 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4298 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4299 * include/bits/fstream.tcc
4300 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4301 references to _M_buf_size_opt.
4302 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4303 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4304 __bufsize to __in_avail and __size_opt to __buf_size.
4305 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4306 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4307 * include/std/std_streambuf.h (~basic_streambuf(),
4308 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4309 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4310 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4311 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4312 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4313 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4314 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4315 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4316 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4317 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4318 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4319 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4320 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4322 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4324 * include/ext/stdio_filebuf.h
4325 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4326 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4327 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4328 since a stack-based buffer is used for small values of the size_t
4330 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4331 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4332 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4334 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4337 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4338 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4340 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4342 * testsuite/22_locale/locale/cons/3.cc: Split.
4343 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4344 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4345 Check before trying to create a locale from the environment.
4346 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4347 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4350 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4352 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4353 locale to construct this hybrid locale, not the global locale.
4355 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4357 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4358 instantiation for AIX.
4359 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4360 * testsuite/25_algorithms/min_max.cc: Same.
4362 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4364 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4365 twice. Always set _M_cfile to 0 when stream was open.
4367 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4369 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4370 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4371 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4372 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4373 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4374 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4375 ifstream_members.cc, instantiations.cc, ios.cc,
4376 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4377 ios_base_members_static.cc, ios_base_storage.cc,
4378 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4379 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4380 iostream.cc, iostream_members.cc, istream.cc,
4381 istream_exception.cc, istream_extractor_char.cc,
4382 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4383 istream_extractor_other-2.tst, istream_extractor_other.cc,
4384 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4385 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4386 istream_sentry.cc, istream_unformatted-1.tst,
4387 istream_unformatted-1.txt, istream_unformatted.cc,
4388 istringstream.cc, istringstream_members.cc,
4389 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4390 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4391 ostream_fail.cc, ostream_inserter_arith.cc,
4392 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4393 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4394 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4395 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4396 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4397 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4398 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4399 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4400 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4401 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4402 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4403 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4404 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4405 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4407 * 27_io/basic_filebuf/1.cc: New.
4408 * 27_io/basic_filebuf/2.cc: New.
4409 * 27_io/basic_filebuf/3.cc: New.
4410 * 27_io/basic_filebuf/4.cc: New.
4411 * 27_io/basic_filebuf/close/char/1.cc: New.
4412 * 27_io/basic_filebuf/close/char/2.cc: New.
4413 * 27_io/basic_filebuf/close/char/3.cc: New.
4414 * 27_io/basic_filebuf/close/char/4879.cc: New.
4415 * 27_io/basic_filebuf/close/char/9964.cc: New.
4416 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4417 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4418 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4419 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4420 * 27_io/basic_filebuf/open/char/1.cc: New.
4421 * 27_io/basic_filebuf/open/char/2.cc: New.
4422 * 27_io/basic_filebuf/open/char/3.cc: New.
4423 * 27_io/basic_filebuf/open/char/9507.cc: New.
4424 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4425 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4426 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4427 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4428 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4429 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4430 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4431 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4432 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4433 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4434 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4435 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4436 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4437 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4438 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4439 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4440 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4441 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4442 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4443 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4444 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4445 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4446 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4447 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4448 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4449 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4450 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4451 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4452 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4453 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4454 * 27_io/basic_fstream/1.cc: New.
4455 * 27_io/basic_fstream/2.cc: New.
4456 * 27_io/basic_fstream/3.cc: New.
4457 * 27_io/basic_fstream/4.cc: New.
4458 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4459 * 27_io/basic_ifstream/1.cc: New.
4460 * 27_io/basic_ifstream/2.cc: New.
4461 * 27_io/basic_ifstream/3.cc: New.
4462 * 27_io/basic_ifstream/4.cc: New.
4463 * 27_io/basic_ifstream/cons/char/1.cc: New.
4464 * 27_io/basic_ifstream/open/char/1.cc: New.
4465 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4466 * 27_io/basic_ios/1.cc: New.
4467 * 27_io/basic_ios/2.cc: New.
4468 * 27_io/basic_ios/3.cc: New.
4469 * 27_io/basic_ios/4.cc: New.
4470 * 27_io/basic_ios/clear/char/1.cc: New.
4471 * 27_io/basic_ios/cons/char/1.cc: New.
4472 * 27_io/basic_ios/cons/char/2.cc: New.
4473 * 27_io/basic_ios/cons/char/3.cc: New.
4474 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4475 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4476 * 27_io/basic_ios/exceptions/char/1.cc: New.
4477 * 27_io/basic_ios/locales/char/1.cc: New.
4478 * 27_io/basic_iostream/1.cc: New.
4479 * 27_io/basic_iostream/2.cc: New.
4480 * 27_io/basic_iostream/3.cc: New.
4481 * 27_io/basic_iostream/4.cc: New.
4482 * 27_io/basic_istream/1.cc: New.
4483 * 27_io/basic_istream/2.cc: New.
4484 * 27_io/basic_istream/3.cc: New.
4485 * 27_io/basic_istream/4.cc: New.
4486 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4487 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4488 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4489 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4490 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4491 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4492 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4493 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4494 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4495 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4496 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4497 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4498 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4499 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4500 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4501 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4502 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4503 * 27_io/basic_istream/extractors_other/char/2.cc: New.
4504 * 27_io/basic_istream/extractors_other/char/3.cc: New.
4505 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
4506 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
4507 * 27_io/basic_istream/get/char/1.cc: New.
4508 * 27_io/basic_istream/get/char/2.cc: New.
4509 * 27_io/basic_istream/getline/char/1.cc: New.
4510 * 27_io/basic_istream/getline/char/2.cc: New.
4511 * 27_io/basic_istream/getline/char/3.cc: New.
4512 * 27_io/basic_istream/ignore/char/1.cc: New.
4513 * 27_io/basic_istream/ignore/char/6360.cc: New.
4514 * 27_io/basic_istream/ignore/char/7220.cc: New.
4515 * 27_io/basic_istream/peek/char/1.cc: New.
4516 * 27_io/basic_istream/peek/char/6414.cc: New.
4517 * 27_io/basic_istream/putback/char/1.cc: New.
4518 * 27_io/basic_istream/read/char/1.cc: New.
4519 * 27_io/basic_istream/read/char/2.cc: New.
4520 * 27_io/basic_istream/read/char/3.cc: New.
4521 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
4522 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
4523 * 27_io/basic_istream/readsome/char/8258.cc: New.
4524 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
4525 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
4526 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
4527 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
4528 * 27_io/basic_istream/seekg/char/fstream.cc: New.
4529 * 27_io/basic_istream/seekg/char/sstream.cc: New.
4530 * 27_io/basic_istream/sentry/char/1.cc: New.
4531 * 27_io/basic_istream/sentry/char/2.cc: New.
4532 * 27_io/basic_istream/sentry/char/3.cc: New.
4533 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
4534 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
4535 * 27_io/basic_istream/tellg/char/1.cc: New.
4536 * 27_io/basic_istream/tellg/char/8348.cc: New.
4537 * 27_io/basic_istream/tellg/char/fstream.cc: New.
4538 * 27_io/basic_istream/tellg/char/sstream.cc: New.
4539 * 27_io/basic_istream/ws/char/1.cc: New.
4540 * 27_io/basic_istringstream/1.cc: New.
4541 * 27_io/basic_istringstream/2.cc: New.
4542 * 27_io/basic_istringstream/3.cc: New.
4543 * 27_io/basic_istringstream/4.cc: New.
4544 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
4545 * 27_io/basic_istringstream/str/char/1.cc: New.
4546 * 27_io/basic_ofstream/1.cc: New.
4547 * 27_io/basic_ofstream/2.cc: New.
4548 * 27_io/basic_ofstream/3.cc: New.
4549 * 27_io/basic_ofstream/4.cc: New.
4550 * 27_io/basic_ofstream/cons/char/2.cc: New.
4551 * 27_io/basic_ofstream/open/char/1.cc: New.
4552 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
4553 * 27_io/basic_ostream/1.cc: New.
4554 * 27_io/basic_ostream/2.cc: New.
4555 * 27_io/basic_ostream/3.cc: New.
4556 * 27_io/basic_ostream/4.cc: New.
4557 * 27_io/basic_ostream/cons/char/9827.cc: New.
4558 * 27_io/basic_ostream/endl/char/1.cc: New.
4559 * 27_io/basic_ostream/ends/char/1.cc: New.
4560 * 27_io/basic_ostream/ends/char/2.cc: New.
4561 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
4562 * 27_io/basic_ostream/flush/char/1.cc: New.
4563 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
4564 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
4565 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
4566 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
4567 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
4568 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
4569 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
4570 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
4571 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
4572 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
4573 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
4574 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
4575 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
4576 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
4577 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
4578 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
4579 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
4580 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
4581 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
4582 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
4583 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
4584 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
4585 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
4586 * 27_io/basic_ostream/sentry/char/1.cc: New.
4587 * 27_io/basic_ostream/sentry/char/2.cc: New.
4588 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
4589 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
4590 * 27_io/basic_ostream/tellp/char/1.cc: New.
4591 * 27_io/basic_ostream/tellp/char/2.cc: New.
4592 * 27_io/basic_ostringstream/1.cc: New.
4593 * 27_io/basic_ostringstream/2.cc: New.
4594 * 27_io/basic_ostringstream/3.cc: New.
4595 * 27_io/basic_ostringstream/4.cc: New.
4596 * 27_io/basic_ostringstream/cons/char/3.cc: New.
4597 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
4598 * 27_io/basic_ostringstream/str/char/1.cc: New.
4599 * 27_io/basic_ostringstream/str/char/2.cc: New.
4600 * 27_io/basic_streambuf/1.cc: New.
4601 * 27_io/basic_streambuf/2.cc: New.
4602 * 27_io/basic_streambuf/3.cc: New.
4603 * 27_io/basic_streambuf/cons/char/1.cc: New.
4604 * 27_io/basic_streambuf/imbue/char/1.cc: New.
4605 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
4606 * 27_io/basic_streambuf/overflow/char/1.cc: New.
4607 * 27_io/basic_streambuf/overflow/char/2.cc: New.
4608 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
4609 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
4610 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
4611 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
4612 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
4613 * 27_io/basic_streambuf/sputn/char/1.cc: New.
4614 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
4615 * 27_io/basic_streambuf/sync/char/1057.cc: New.
4616 * 27_io/basic_stringbuf/1.cc: New.
4617 * 27_io/basic_stringbuf/2.cc: New.
4618 * 27_io/basic_stringbuf/3.cc: New.
4619 * 27_io/basic_stringbuf/4.cc: New.
4620 * 27_io/basic_stringbuf/5.cc: New.
4621 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
4622 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
4623 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
4624 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
4625 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
4626 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
4627 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
4628 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
4629 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
4630 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
4631 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
4632 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
4633 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
4634 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
4635 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
4636 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
4637 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
4638 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
4639 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
4640 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
4641 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
4642 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
4643 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
4644 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
4645 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
4646 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
4647 * 27_io/basic_stringbuf/str/char/1.cc: New.
4648 * 27_io/basic_stringbuf/str/char/2.cc: New.
4649 * 27_io/basic_stringbuf/str/char/3.cc: New.
4650 * 27_io/basic_stringbuf/str/char/3955.cc: New.
4651 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
4652 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
4653 * 27_io/basic_stringstream/1.cc: New.
4654 * 27_io/basic_stringstream/2.cc: New.
4655 * 27_io/basic_stringstream/3.cc: New.
4656 * 27_io/basic_stringstream/4.cc: New.
4657 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
4658 * 27_io/basic_stringstream/str/char/1.cc: New.
4659 * 27_io/basic_stringstream/str/char/2.cc: New.
4660 * 27_io/basic_stringstream/str/char/3.cc: New.
4661 * 27_io/basic_stringstream/str/char/4.cc: New.
4662 * 27_io/fpos/1.cc: New.
4663 * 27_io/fpos/2.cc: New.
4664 * 27_io/fpos/3.cc: New.
4665 * 27_io/ios_base/callbacks/1.cc: New.
4666 * 27_io/ios_base/state/1.cc: New.
4667 * 27_io/ios_base/storage/1.cc: New.
4668 * 27_io/ios_base/storage/2.cc: New.
4669 * 27_io/ios_base/storage/3.cc: New.
4670 * 27_io/ios_base/sync_with_stdio/1.cc: New.
4671 * 27_io/ios_base/sync_with_stdio/2.cc: New.
4672 * 27_io/manipulators/adjustfield/char/1.cc: New.
4673 * 27_io/manipulators/adjustfield/char/2.cc: New.
4674 * 27_io/manipulators/basefield/char/1.cc: New.
4675 * 27_io/manipulators/standard/char/1.cc: New.
4676 * 27_io/manipulators/standard/char/2.cc: New.
4677 * 27_io/objects/char/1.cc: New.
4678 * 27_io/objects/char/2.cc: New.
4679 * 27_io/objects/char/2523-1_xin.cc: New.
4680 * 27_io/objects/char/2523-1_xin.in: New.
4681 * 27_io/objects/char/2523-2_xin.cc: New.
4682 * 27_io/objects/char/2523-2_xin.in: New.
4683 * 27_io/objects/char/3045.cc: New.
4684 * 27_io/objects/char/3647.cc: New.
4685 * 27_io/objects/char/3_xin.cc: New.
4686 * 27_io/objects/char/3_xin.in: New.
4687 * 27_io/objects/char/4_xin.cc: New.
4688 * 27_io/objects/char/4_xin.in: New.
4689 * 27_io/objects/char/5268.cc: New.
4690 * 27_io/objects/char/5280_xin.cc: New.
4691 * 27_io/objects/char/5280_xin.in: New.
4692 * 27_io/objects/char/6548_xin.cc: New.
4693 * 27_io/objects/char/6548_xin.in: New.
4694 * 27_io/objects/char/6648-1_xin.cc: New.
4695 * 27_io/objects/char/6648-1_xin.in: New.
4696 * 27_io/objects/char/6648-2_xin.cc: New.
4697 * 27_io/objects/char/6648-2_xin.in: New.
4698 * 27_io/objects/char/7744_xin.cc: New.
4699 * 27_io/objects/char/7744_xin.in: New.
4700 * 27_io/objects/wchar_t/1.cc: New.
4701 * 27_io/types/1.cc: New.
4702 * 27_io/types/2.cc: New.
4703 * data/filebuf_members-1.tst: New.
4704 * data/filebuf_members-1.txt: New.
4705 * data/filebuf_virtuals-1.tst: New.
4706 * data/filebuf_virtuals-1.txt: New.
4707 * data/filebuf_virtuals-2.tst: New.
4708 * data/filebuf_virtuals-3.tst: New.
4709 * data/ifstream_members-1.tst: New.
4710 * data/ifstream_members-1.txt: New.
4711 * data/ios_base_members_static-1.tst: New.
4712 * data/istream_extractor_other-1.tst: New.
4713 * data/istream_extractor_other-1.txt: New.
4714 * data/istream_extractor_other-2.tst: New.
4715 * data/istream_seeks-1.tst: New.
4716 * data/istream_seeks-1.txt: New.
4717 * data/istream_seeks-2.tst: New.
4718 * data/istream_seeks-3.tst: New.
4719 * data/istream_unformatted-1.tst: New.
4720 * data/istream_unformatted-1.txt: New.
4721 * data/ofstream_members-1.tst: New.
4722 * data/ostream_inserter_char-1.tst: New.
4723 * data/ostream_inserter_char-1.txt: New.
4724 * data/ostream_inserter_other-1.tst: New.
4725 * data/ostream_inserter_other-2.tst: New.
4726 * data/ostream_seeks-1.tst: New.
4728 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4730 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
4731 requirement that __mode must be strict input or output.
4733 * include/std/std_streambuf.h (basic_streambuf::setp): Set
4736 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
4737 output string shouldn't core.
4738 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
4740 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
4742 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
4745 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4747 * testsuite/data: New directory.
4748 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4749 to copy files from the testsuite data directory.
4750 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
4751 testfiles containing _xin, which now means this is an interactive
4752 test and should be run with the interactive dejagnu hooks.
4753 * testsuite/Makefile.am: Remove testsuite_* files.
4754 * testsuite/Makefile.in: Regenerate.
4756 2003-04-09 Zack Weinberg <zack@codesourcery.com>
4758 * docs/html/install.html: Document complete list of locales
4759 required by test suite. Document procedure for installing
4760 said locales under Debian. Solicit instructions for other
4763 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
4765 * include/bits/sstream.tcc (overflow): Make sure operands of min
4766 and max have the same type.
4768 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
4771 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
4774 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
4776 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
4777 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
4778 Don't set _M_out_end.
4779 (basic_filebuf::overflow): Replace _M_out_buf_size() with
4780 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
4781 * include/bits/sstream.tcc (basic_stringbuf::overflow):
4782 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
4783 * include/bits/streambuf.tcc (basic_streambuf::sputc):
4784 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
4785 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
4786 _M_out_end - _M_out_cur.
4787 (__copy_streambufs): Likewise.
4788 * include/std/std_fstream.h (_M_set_determinate): Set
4791 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
4793 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
4794 _M_convert_to_external, _M_really_overflow, seekoff): Fix
4795 test for synced buffer.
4796 * include/std/std_fstream.h (sync): Likewise.
4797 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4798 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
4800 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
4802 * include/std/std_sstream.h (basic_istringstream): Adjust
4804 (basic_ostringstream): Same.
4805 (basic_stringstream): Same.
4806 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
4807 (basic_ofstream): Same.
4808 (basic_fstream): Same.
4809 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
4810 that does not call init.
4811 * include/std/std_istream.h (basic_istream): Same.
4812 (basic_iostream): Construct istream, ostream uninitialized, use
4813 init to initialize just once. Add protected ctor that does not
4816 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
4817 Nathan Myers <ncm@cantrip.org>
4820 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
4822 (basic_filebuf<>::showmanyc): Use the information provided
4823 by codecvt and __basic_file<>::showmanyc_helper to implement
4824 a non-trivial showmanyc.
4825 * config/io/basic_file_stdio.h
4826 (__basic_file<>::showmanyc_helper): New, declare.
4827 * config/io/basic_file_stdio.cc
4828 (__basic_file<>::showmanyc_helper): Define.
4829 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
4830 (__basic_file<char>::open): Don't call fcntl().
4831 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
4832 GLIBCPP_CHECK_POLL): New macros.
4833 * configure.in: Call here.
4834 * acconfig.h: Add #undefs for the corresponding symbols.
4835 * aclocal.m4: Regenerate.
4836 * configure: Regenerate.
4837 * config.h.in: Regenerate.
4839 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
4841 * config/linker-map.gnu: Remove string export restrictions.
4843 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
4845 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
4846 find_first_of, find_last_of and find_last_not_of tests.
4847 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
4848 tests here, new file.
4849 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
4850 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
4851 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
4852 wchar_t find_first_of tests here, new file.
4853 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
4855 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
4857 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
4858 wchar_t find_last_of tests here.
4859 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
4860 wchar_t find_last_not_of tests here.
4862 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
4864 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
4865 Correct return value.
4867 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
4870 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
4871 * include/std/std_complex.h (norm): Use faster,
4872 less accurate computation for builtin float types under --fast-math.
4874 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
4876 * testsuite/testsuite_hooks.h: Fix warning nits.
4878 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
4880 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
4881 Only .set mips2 for the o32 ABI.
4883 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
4885 * testsuite/21_strings/char_traits/requirements/char/1.cc:
4886 Test char not wchar_t.
4888 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4890 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
4891 Correct size, taking into account sizeof(wchar_t).
4893 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
4895 Reshuffle 21_strings testsuite.
4896 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
4897 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
4898 element_access.cc, operations.cc, char_traits_requirements.cc,
4899 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
4900 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
4901 wchar_t tests as follows.
4902 * 21_strings/basic_string/append/char/1.cc: New.
4903 * 21_strings/basic_string/append/wchar_t/1.cc: New.
4904 * 21_strings/basic_string/assign/char/1.cc: New.
4905 * 21_strings/basic_string/assign/char/2.cc: New.
4906 * 21_strings/basic_string/assign/char/3.cc: New.
4907 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
4908 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
4909 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
4910 * 21_strings/basic_string/capacity/1.cc: New.
4911 * 21_strings/basic_string/capacity/char/1.cc: New.
4912 * 21_strings/basic_string/capacity/char/2.cc: New.
4913 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
4914 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
4915 * 21_strings/basic_string/compare/char/1.cc: New.
4916 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
4917 * 21_strings/basic_string/cons/char/1.cc: New.
4918 * 21_strings/basic_string/cons/char/2.cc: New.
4919 * 21_strings/basic_string/cons/char/3.cc: New.
4920 * 21_strings/basic_string/cons/char/4.cc: New.
4921 * 21_strings/basic_string/cons/char/5.cc: New.
4922 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
4923 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
4924 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
4925 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
4926 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
4927 * 21_strings/basic_string/element_access/char/1.cc: New.
4928 * 21_strings/basic_string/element_access/char/2.cc: New.
4929 * 21_strings/basic_string/element_access/char/3.cc: New.
4930 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
4931 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
4932 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
4933 * 21_strings/basic_string/find/char/1.cc: New.
4934 * 21_strings/basic_string/find/wchar_t/1.cc: New.
4935 * 21_strings/basic_string/insert/char/1.cc: New.
4936 * 21_strings/basic_string/insert/char/2.cc: New.
4937 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
4938 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
4939 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
4940 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
4941 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
4942 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
4943 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
4944 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
4945 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
4946 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
4947 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
4948 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
4949 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
4950 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
4951 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
4952 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
4953 * 21_strings/basic_string/operators/char/1.cc: New.
4954 * 21_strings/basic_string/operators/char/2.cc: New.
4955 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
4956 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
4957 * 21_strings/basic_string/replace/char/1.cc: New.
4958 * 21_strings/basic_string/replace/char/2.cc: New.
4959 * 21_strings/basic_string/replace/char/3.cc: New.
4960 * 21_strings/basic_string/replace/char/4.cc: New.
4961 * 21_strings/basic_string/replace/char/5.cc: New.
4962 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
4963 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
4964 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
4965 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
4966 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
4967 * 21_strings/basic_string/rfind/char/1.cc: New.
4968 * 21_strings/basic_string/rfind/char/2.cc: New.
4969 * 21_strings/basic_string/rfind/char/3.cc: New.
4970 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
4971 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
4972 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
4973 * 21_strings/basic_string/substr/char/1.cc: New.
4974 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
4975 * 21_strings/c_strings/char/1.cc: New.
4976 * 21_strings/c_strings/char/2.cc: New.
4977 * 21_strings/c_strings/wchar_t/1.cc: New.
4978 * 21_strings/c_strings/wchar_t/2.cc: New.
4979 * 21_strings/char_traits/requirements/char/1.cc: New.
4980 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
4981 * 21_strings/char_traits/typedefs/char/1.cc: New.
4983 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
4984 Petur Runolfsson <peturr02@ru.is>
4987 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
4988 basic_filebuf<wchar_t>::_M_underflow_common):
4989 if (gptr() < egptr()) return *gptr().
4990 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
4992 * testsuite/27_io/filebuf_members.cc (test_04): Minor
4993 changes: unlink fifo before making it, fix spelling error.
4995 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
4997 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
4998 * testsuite/Makefile.in: Regenerate.
4999 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
5002 2003-03-17 Petur Runolfsson <peturr02@ru.is>
5005 * include/bits/fstream.tcc (basic_filebuf::close):
5006 Always close file, even when write fails.
5007 * testsuite/27_io/filebuf_members.cc (test_07): New test.
5009 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
5011 * libsupc++/Makefile.am (C_COMPILE): Remove.
5012 (LTCOMPILE): Likewise.
5013 * libsupc++/Makefile.in: Regenerate.
5015 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5017 * testsuite/23_containers/bitset_members.cc: Add test variable.
5018 * testsuite/23_containers/map_insert.cc: Same.
5019 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
5020 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
5021 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
5022 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
5023 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
5024 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
5025 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
5026 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
5027 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
5028 * testsuite/27_io/istream_exception.cc: Same.
5029 * testsuite/27_io/filebuf_virtuals.cc: Same.
5030 * testsuite/27_io/stringbuf_virtuals.cc: Same.
5031 * testsuite/27_io/ostream_inserter_arith.cc: Same.
5032 * testsuite/26_numerics/valarray_operators.cc: Same.
5033 * testsuite/26_numerics/slice.cc: Same.
5034 * testsuite/26_numerics/slice_array_assignment.cc: Same.
5035 * testsuite/24_iterators/istream_iterator.cc: Same.
5036 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
5038 2003-03-14 Petur Runolfsson <peturr02@ru.is>
5042 * config/locale/generic/ctype_members.cc,
5043 * config/locale/gnu/ctype_members.cc
5044 (ctype<wchar_t>::do_widen(char)): Cast argument to
5045 unsigned char before passing to btowc.
5046 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
5047 Convert characters with btowc instead of mbsrtowcs.
5048 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
5050 Convert characters with wctob instead of wcsrtombs.
5051 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
5052 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
5053 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
5055 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5057 * include/stdc++.h: New.
5058 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
5059 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
5060 * include/Makefile.in: Regenerate.
5061 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
5062 (--cxxflags): Put -g -O2 here.
5063 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
5065 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
5067 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
5068 missing named locale.
5070 2003-03-14 Andreas Schwab <schwab@suse.de>
5072 * configure.in: Only append to makefiles that are newly created to
5073 avoid multiple multi-do/multi-clean rules.
5074 * configure: Rebuilt.
5076 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5078 * docs/html/configopts.html, docs/html/documentation.html,
5079 docs/html/explanations.html, docs/html/install.html,
5080 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5081 invalid XHTML and make page header style consistent.
5083 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5085 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5086 * docs/html/faq/index.txt: Regenerate.
5087 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5089 2003-03-12 Andreas Schwab <schwab@suse.de>
5091 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5092 glibcpp_toolexeclibdir.
5093 * aclocal.m4, configure: Rebuilt.
5095 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5097 * docs/html/faq/index.html: Update text about location of headers.
5098 * docs/html/faq/index.txt: Regenerate.
5100 2003-03-11 Carlo Wood <carlo@alinoe.com>
5102 * include/bits/demangle.h: Prepend accessors of
5103 class qualifier with 'get_' in order to fix warnings
5104 when compiling with -Wshadow.
5106 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5108 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5110 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5112 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5113 report lack of setenv().
5115 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5117 * config/io/basic_file_stdio.cc: include <unistd.h>.
5119 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5120 Nathan Myers <ncm@cantrip.org>
5123 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5124 seekoff, seekpos): Add a boolean parameter __stdio.
5125 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5126 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5127 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5129 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5130 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5131 * include/std/std_fstream.h (sync): Likewise.
5132 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5133 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5134 libstdc++/8399 commit involving isatty(0).
5135 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5136 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5137 * configure.in: Remove call.
5138 * aclocal.m4: Regenerate.
5139 * config.h.in: Regenerate.
5140 * configure: Regenerate.
5141 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5143 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5146 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5147 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5149 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5152 * include/bits/basic_ios.h (_M_setstate): New.
5153 * include/bits/ostream.tcc (operator<<): Use it.
5154 * include/bits/istream.tcc (operator>>): Use it.
5155 * include/std/std_ostream.h (operator<<): Make friends.
5156 * include/std/std_istream.h (operator>>): Make friends.
5157 * testsuite/27_io/ostream_exception.cc,
5158 testsuite/27_io/istream_exception.cc: New tests.
5160 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5162 * include/bits/locale_facets.tcc: Fix typo.
5164 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5166 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5168 * config/locale/generic/c_locale.cc
5169 (locale::facet::_S_create_c_locale): Throw runtime exception when
5170 unsupported language is specified.
5171 * testsuite/testsuite_hooks.h
5172 (run_test_wrapped_generic_locale_exception_catcher): New function.
5173 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5174 Suppress runtime exception thrown by generic implementation.
5175 (run_tests_wrapped_env): Likewise.
5176 (run_test_wrapped_generic_locale_exception_catcher): New function.
5177 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5178 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5179 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5180 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5181 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5182 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5183 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5184 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5185 * testsuite/22_locale/facet/2.cc: New test wrap.
5186 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5187 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5188 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5189 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5190 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5191 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5192 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5193 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5194 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5195 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5196 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5197 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5198 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5199 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5200 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5201 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5202 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5203 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5204 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5205 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5206 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5207 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5208 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5209 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5210 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5211 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5212 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5213 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5214 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5215 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5216 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5217 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5218 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5219 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5220 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5221 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5222 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5223 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5224 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5225 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5226 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5227 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5228 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5229 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5230 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5231 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5232 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5233 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5234 * testsuite/27_io/ios_members.cc: New test wrap.
5235 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5237 * testsuite/27_io/streambuf_members.cc: New test wrap.
5238 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5240 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5241 Petur Runolfsson <peturr02@ru.is>
5244 * include/bits/streambuf.tcc (__copy_streambufs): Use
5245 sgetn-sputn only when sputn cannot fail, otherwise fall back
5246 to safe snextc-sputc.
5247 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5249 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5251 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5252 locale cache for truename and falsename.
5254 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5256 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5257 _M_word_size initialization.
5259 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5261 * include/bits/fstream.tcc (_M_convert_to_external):
5262 Set __elen to zero if codecvt::out eventually fails.
5264 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5267 * include/bits/fstream.tcc (_M_really_overflow): Check
5268 for _M_convert_to_external possible failures.
5269 * include/std/std_fstream.h (sync): Check _M_really_overflow
5270 return value and return -1 in case of failure.
5271 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5273 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5276 * include/bits/istream.tcc (operator>>(_CharT*),
5277 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5278 * testsuite/27_io/stringstream.cc (test02): Add.
5280 * include/bits/istream.tcc (operator>>(_CharT*)):
5281 Assign a char_type to *__s.
5283 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5286 * include/bits/locale_facets.tcc
5287 (collate::do_compare, collate::do_transform):
5288 Handle nul characters in input.
5289 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5290 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5291 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5292 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5294 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5296 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5298 * testsuite/27_io/ostream_fail.cc: New test.
5300 2003-03-07 Matthias Klose <doko@debian.org>
5302 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5303 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5304 * Makefile.in: Regenerate.
5305 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5307 AM_MAKEFLAGS: Pass gxx_include_dir.
5308 * libsupc++/Makefile.in: Regenerate.
5310 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5312 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5313 mask. Test setting small-numbered pword and iword slots. Test
5314 behavior at limit of numeric_limits::max. Check that values are
5315 still good after failures.
5317 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5319 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5320 (ios_base::ios_base): Set _M_word, _M_word_size.
5321 (ios_base::~ios_base): Remove redundant test.
5322 * testsuite/27_io/ios_base_storage.cc (test03): New.
5324 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5326 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5327 incorrect whitespace added in my previous change.
5329 2003-03-05 Carlo Wood <carlo@alinoe.com>
5331 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5332 _S_initialized() in order to allow debugging libraries to detect
5333 when the std streams are initialized from an overloaded operator
5336 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5338 * libsupc++/demangle.h: Move to..
5339 * include/bits/demangle.h: ...here.
5340 * src/demangle.cc: Adjust include.
5341 * include/Makefile.am (bits_headers): Add.
5342 * include/Makefile.in: Regenerate.
5344 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5346 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5348 * config/linker-map.gnu: Filter typeinfo and vtable info.
5350 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5352 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5353 new failure. Throw exception if badbit and exception mask when ix
5354 >= numeric_limits<int>::max().
5356 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5358 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5359 min and max have the same type.
5360 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5362 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5364 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5365 * include/Makefile.in: Regenerate.
5367 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5369 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5371 * config/linker-map.gnu: Hide more stuff.
5372 * include/Makefile.am: Cleanups.
5373 * include/Makefile.in: Regenerate.
5375 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5377 * config/locale/generic/messages_members.h (messages::messages):
5378 Remove name from unused parameter.
5380 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5382 * src/Makefile.am (sources): Add demangle.cc.
5385 * src/Makefile.in: Regenerate.
5386 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5387 * libsupc++/Makefile.in: Regenerate.
5389 * testsuite/testsuite_hooks.h
5390 (__gnu_cxx_test::verify_demangle): New.
5391 * testsuite/testsuite_hooks.cc: Define.
5393 2003-02-27 Carlo Wood <carlo@alinoe.com>
5395 * src/demangle.cc: New.
5396 * libsupc++/demangle.h: New.
5398 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5399 Carlo Wood <carlo@alinoe.com>
5401 * testsuite/demangle/abi_examples/01.cc: New.
5402 * testsuite/demangle/abi_examples/02.cc: New.
5403 * testsuite/demangle/abi_examples/03.cc: New.
5404 * testsuite/demangle/abi_examples/04.cc: New.
5405 * testsuite/demangle/abi_examples/05.cc: New.
5406 * testsuite/demangle/abi_examples/06.cc: New.
5407 * testsuite/demangle/abi_examples/07.cc: New.
5408 * testsuite/demangle/abi_examples/08.cc: New.
5409 * testsuite/demangle/abi_examples/09.cc: New.
5410 * testsuite/demangle/abi_examples/10.cc: New.
5411 * testsuite/demangle/abi_examples/11.cc: New.
5412 * testsuite/demangle/abi_examples/12.cc: New.
5413 * testsuite/demangle/abi_examples/13.cc: New.
5414 * testsuite/demangle/abi_examples/14.cc: New.
5415 * testsuite/demangle/abi_examples/15.cc: New.
5416 * testsuite/demangle/abi_examples/16.cc: New.
5417 * testsuite/demangle/abi_examples/17.cc: New.
5418 * testsuite/demangle/abi_examples/18.cc: New.
5419 * testsuite/demangle/abi_examples/19.cc: New.
5420 * testsuite/demangle/abi_examples/20.cc: New.
5421 * testsuite/demangle/abi_examples/21.cc: New.
5422 * testsuite/demangle/abi_examples/22.cc: New.
5423 * testsuite/demangle/abi_examples/23.cc: New.
5424 * testsuite/demangle/abi_examples/24.cc: New.
5425 * testsuite/demangle/abi_examples/25.cc: New.
5426 * testsuite/demangle/abi_examples/26.cc: New.
5427 * testsuite/demangle/abi_text/01.cc: New.
5428 * testsuite/demangle/abi_text/02.cc: New.
5429 * testsuite/demangle/abi_text/03.cc: New.
5430 * testsuite/demangle/abi_text/04.cc: New.
5431 * testsuite/demangle/abi_text/05.cc: New.
5432 * testsuite/demangle/abi_text/06.cc: New.
5433 * testsuite/demangle/abi_text/07.cc: New.
5434 * testsuite/demangle/abi_text/08.cc: New.
5435 * testsuite/demangle/abi_text/09.cc: New.
5436 * testsuite/demangle/abi_text/10.cc: New.
5437 * testsuite/demangle/abi_text/11.cc: New.
5438 * testsuite/demangle/abi_text/12.cc: New.
5439 * testsuite/demangle/abi_text/13.cc: New.
5440 * testsuite/demangle/abi_text/14.cc: New.
5441 * testsuite/demangle/regression/3111-1.cc: New.
5442 * testsuite/demangle/regression/3111-2.cc: New.
5443 * testsuite/demangle/regression/7986-01.cc: New.
5444 * testsuite/demangle/regression/7986-02.cc: New.
5445 * testsuite/demangle/regression/7986-03.cc: New.
5446 * testsuite/demangle/regression/7986-04.cc: New.
5447 * testsuite/demangle/regression/7986-05.cc: New.
5448 * testsuite/demangle/regression/7986-06.cc: New.
5449 * testsuite/demangle/regression/7986-07.cc: New.
5450 * testsuite/demangle/regression/7986-08.cc: New.
5451 * testsuite/demangle/regression/7986-09.cc: New.
5452 * testsuite/demangle/regression/7986-10.cc: New.
5453 * testsuite/demangle/regression/7986-11.cc: New.
5454 * testsuite/demangle/regression/7986-12.cc: New.
5455 * testsuite/demangle/regression/7986.cc: New.
5456 * testsuite/demangle/regression/8897.cc: New.
5457 * testsuite/demangle/regression/cw-01.cc: New.
5458 * testsuite/demangle/regression/cw-02.cc: New.
5459 * testsuite/demangle/regression/cw-03.cc: New.
5460 * testsuite/demangle/regression/cw-04.cc: New.
5461 * testsuite/demangle/regression/cw-05.cc: New.
5462 * testsuite/demangle/regression/cw-06.cc: New.
5463 * testsuite/demangle/regression/cw-07.cc: New.
5464 * testsuite/demangle/regression/cw-08.cc: New.
5465 * testsuite/demangle/regression/cw-09.cc: New.
5466 * testsuite/demangle/regression/cw-10.cc: New.
5467 * testsuite/demangle/regression/cw-11.cc: New.
5468 * testsuite/demangle/regression/cw-12.cc: New.
5469 * testsuite/demangle/regression/cw-13.cc: New.
5470 * testsuite/demangle/regression/cw-14.cc: New.
5471 * testsuite/demangle/regression/old.cc: New.
5473 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5475 * docs/doxygen/Intro.3: Update with new (proper) names.
5476 * docs/doxygen/TODO: Update.
5477 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5478 Fake entries for standard typedefs.
5479 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5480 * docs/html/documentation.html: Top-level man page is now called
5482 * include/std/std_limits.h: Doxygenate.
5484 2003-02-25 Scott Snyder <snyder@fnal.gov>
5487 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5488 Correct documentation.
5489 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5490 equal_range): Likewise.
5492 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5496 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5497 __bump is true (uflow), always increment the read pointer
5498 (_M_in_cur) before returning successfully.
5499 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5501 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5502 Nathan Myers <ncm@cantrip.org>
5504 PR libstdc++/9404, PR libstdc++/9701 (partial)
5505 (aka pptr == epptr implies overflow)
5506 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5507 Consistently, _M_out_end points to the end of the buffer just
5509 (overflow): Tweak to use _M_out_buf_size().
5510 (_M_convert_to_external): The role of the old _M_out_end is
5511 now played by _M_out_lim.
5512 (_M_really_overflow): Likewise.
5513 (seekoff): Likewise.
5514 (setbuf): _M_out_end points to the end of the external buffer.
5515 * include/bits/sstream.tcc (overflow): Rewrote, taking into
5516 account the resolution of DR 169 (TC).
5517 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
5518 (seekpos): Use _M_string.capacity(); tweak.
5519 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
5520 * include/std/std_fstream.h (sync): The role of the old
5521 _M_out_end is now played by _M_out_lim.
5522 (_M_set_indeterminate): Use _M_set_determinate.
5523 (_M_set_determinate): _M_out_end is now _M_out_lim.
5524 (_M_is_indeterminate): Likewise.
5525 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
5526 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
5527 which have the information readily available as _M_string.capacity();
5528 for ate and app modes, pass the string size to _M_really_sync.
5529 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
5530 point to the end of the buffer (i.e., epptr) and to the string end,
5532 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
5533 which points to the right limit of the used put area.
5534 (_M_out_cur_move): The role of the old _M_out_end is now played
5536 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
5537 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
5539 (basic_streambuf()): Initialize _M_out_lim too.
5540 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
5541 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
5542 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
5544 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
5546 * testsuite/27_io/ios_base_storage.cc (main): Call
5549 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
5551 * include/bits/locale_facets.tcc (_M_convert_float): Replace
5552 numpunct facet accesses with data from __locale_cache.
5554 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5556 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
5557 * docs/html/faq/index.txt: Regenerate.
5559 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
5561 * config/linker-map.gnu: Also export locking symbols needed for the
5562 generic atomicity.h case.
5564 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
5566 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
5568 * configure: Rebuilt.
5570 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
5572 * include/bits/sstream.tcc (overflow): According to
5573 27.7.1.3, p5, actual output is performed by sputc(c).
5575 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
5578 * include/bits/stl_alloc.h: Remove all traces of assert().
5580 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5582 * include/std/std_sstream.h (str()): the size of the
5583 current string may be different from the initial one
5584 whenever _M_out_end > _M_out_beg.
5585 * testsuite/27_io/stringbuf_members.cc (test07): Add.
5587 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
5590 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
5592 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
5594 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
5595 * testsuite/27_io/ios_members.cc (test03): New.
5597 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
5599 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
5600 (basic_ios::_M_cache_facets): Move into above.
5601 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
5603 (basic_ios::imbue): Force locale cache to be built.
5604 (basic_ios::_M_init): Create and initialize locale cache.
5605 * include/bits/ios_base.h (__locale_cache_base): Declare.
5606 (ios_base::_M_locale_cache): New.
5607 (ios_base::_M_cache): Define.
5608 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
5610 (__locale_cache_base,__locale_cache<_CharT>): New classes.
5611 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
5612 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
5613 cache literal string, grouping flag, thousands separator.
5614 (__locale_cache<_CharT>::__locale_cache): New.
5615 (__locale_cache<_CharT>::_M_init): New.
5616 * src/ios.cc: Clear _M_locale_cache in constructor.
5617 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
5620 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5622 * src/locale-inst.cc: Do not include <cassert>.
5623 * src/locale.cc: Likewise.
5625 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5628 * include/std/std_fstream.h: Declare underflow and uflow
5629 specializations, change generic definitions to do nothing.
5630 * src/fstream.cc: Add underflow and uflow specializations.
5632 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
5635 * include/bits/fstream.tcc (_M_convert_to_external):
5636 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
5637 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
5639 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
5641 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
5642 * include/bits/basic_ios.tcc: Guard use of extern template.
5643 * include/std/std_iomanip.h: Same.
5644 * include/bits/streambuf.tcc: Same.
5645 * include/bits/stl_alloc.h: Same.
5646 * include/bits/locale_facets.tcc: Same.
5647 * include/bits/ostream.tcc: Same.
5648 * include/bits/istream.tcc: Same.
5649 * include/bits/fstream.tcc: Same.
5650 * include/bits/basic_string.tcc: Same.
5652 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
5654 * include/bits/ostream.tcc (sentry::sentry): Improve
5655 performance-wise the fix for libstdc++/9563.
5657 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
5659 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
5660 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
5661 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
5662 when we don't have static mutex initialization.
5663 (__exchange_and_add): Use _Atomic_add_mutex_once.
5664 * src/misc-inst.cc: Definitions of all the above.
5666 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
5669 * include/bits/ostream.tcc (sentry::sentry): Check
5670 the state of the stream after the preparation.
5671 * testsuite/27_io/ostream_sentry.cc (test02): Add.
5673 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
5675 * include/Makefile.am (stamp-std-precompile): Add rule.
5676 * include/Makefile.in: Regenerated.
5678 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
5679 Benjamin Kosnik <benjamin@redhat.com>
5681 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
5682 Add indexes into this array.
5683 (__num_base::_S_atoms): To _S_atoms_in.
5684 (num_put::_M_insert): Rename to _M_pad.
5685 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
5686 (num_put::_M_widen_int): Rename to _M_group_int.
5687 (num_put::_M_widen_float): Rename to _M_group_float.
5688 * include/bits/locale_facets.tcc (__int_to_char): New inline
5689 function and adapter functions.
5690 (num_put::_M_group_int): Streamline.
5691 (num_put::_M_group_float): Streamline.
5692 (num_put::_M_convert_int): Remove unused parameter names. Choose
5693 large enough buffer for text. Use __int_to_char instead of
5694 __convert_from_v. Formatted text is now at the end of the buffer.
5695 (num_put::_M_convert_float): Preliminary fixups.
5696 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
5697 (__int_to_char<unsigned long long>): Same.
5698 (__int_to_char<char, unsigned long>): New.
5699 (__int_to_char<char, unsigned long long>): New.
5700 (__int_to_char<wchar_t, unsigned long>): New.
5701 (__int_to_char<wchar_t, unsigned long long>): New.
5703 2003-02-11 Scott Snyder <snyder@fnal.gov>
5706 * include/bits/fstream.tcc (seekoff): Avoid operator+
5709 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5712 * include/ext/stdio_filebuf.h
5713 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
5714 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
5715 Change to take a __size parameter of type size_t, not
5716 of type (template parameter dependent) int_type.
5717 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
5718 size vars to size_t.
5719 * testsuite/ext/stdio_filebuf.cc: Add.
5721 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
5722 Petur Runolfsson <peturr02@ru.is>
5725 * include/bits/streambuf.tcc (__copy_streambufs):
5726 Don't conditionalize the copy to __testput.
5727 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
5729 2002-02-11 DJ Delorie <dj@redhat.com>
5731 * acinclude.m4: Check for native targets that can't link at
5732 this point in the build.
5733 * aclocal.m4: Regenerate.
5734 * configure: Regenerate.
5736 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5738 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
5740 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
5743 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
5745 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
5746 unsigned char platforms.
5748 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5751 * include/std/std_istream.h
5752 (basic_istream::sentry::operator bool()): Make const.
5753 * include/std/std_ostream.h
5754 (basic_ostream::sentry::operator bool()): Likewise.
5755 * testsuite/27_io/istream_sentry.cc (test03): Add.
5756 * testsuite/27_io/ostream_sentry.cc: Add.
5758 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
5761 Implement resolution of DR 231 (Ready)
5762 * include/bits/locale_facets.h (__num_base::_S_format_float):
5763 Change declaration: return void, remove __prec parameter.
5764 * src/locale.cc (__num_base::_S_format_float): Implement
5765 resolution of DR 231.
5766 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
5767 Tweak uses. Check for negative precision.
5768 * testsuite/22_locale/num_put/put/char/6.cc: Add
5769 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
5771 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
5773 * config/io/basic_file_libio.h: Fixups.
5774 * config/io/c_io_libio.h: Same.
5775 * libio/Makefile.am: Same.
5776 * libio/Makefile.in: Regenerated.
5778 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
5780 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
5781 Explicitly use the "C" locale.
5782 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
5784 2003-02-06 Petur Runolfsson <peturr02@ru.is>
5788 PR libstdc++/9028 (partial)
5794 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
5795 codecvt<wchar_t, char, mbstate_t>::do_length,
5796 codecvt<wchar_t, char, mbstate_t>::do_max_length):
5798 * config/locale/generic/codecvt_members.cc: ...here.
5799 * config/locale/gnu/codecvt_members.cc: ...and here.
5801 * config/locale/generic/codecvt_members.cc,
5802 * config/locale/gnu/codecvt_members.cc
5803 (codecvt<wchar_t, char, mbstate_t>::do_encoding
5804 codecvt<wchar_t, char, mbstate_t>::do_in,
5805 codecvt<wchar_t, char, mbstate_t>::do_length,
5806 codecvt<wchar_t, char, mbstate_t>::do_max_length,
5807 codecvt<wchar_t, char, mbstate_t>::do_out):
5808 New implementation that handles stateless encodings,
5811 * config/locale/generic/codecvt_members.cc,
5812 * config/locale/gnu/codecvt_members.cc,
5813 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
5814 * include/bits/codecvt.h,
5816 (codecvt::length, codecvt::do_length):
5817 Change type of first argument of length and do_length from
5818 'const state_type&' to 'state_type&' according to DR 75.
5820 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
5821 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
5822 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
5823 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
5824 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
5825 Cleanup and check for correct return value from encoding
5827 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
5828 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
5829 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
5830 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
5831 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
5832 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
5833 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
5834 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
5835 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
5836 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
5837 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
5838 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
5839 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
5840 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
5841 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
5842 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
5843 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
5844 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
5845 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
5846 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
5847 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
5848 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
5849 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
5850 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
5851 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
5852 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
5853 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
5854 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
5855 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
5856 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
5857 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
5858 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
5859 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
5860 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
5861 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
5862 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
5863 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
5865 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
5867 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
5868 (money_put::do_put): Same.
5870 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
5872 * include/bits/ios_base.h (ios_base): Document reserved storage.
5874 * include/bits/locale_facets.h: (struct __pad): Comment on
5876 (__verify_grouping): Same.
5877 (__add_grouping): Same.
5878 * include/bits/locale_facets.tcc (__verify_grouping): Move
5879 comments to declaration.
5880 (__add_grouping): Same.
5882 * include/bits/locale_facets.tcc:
5883 (__write<_CharT, _OutIter>): New function.
5884 (__write<_CharT>): New function specialization.
5885 (num_put::_M_insert): Remove explicit loop over iterator. Use
5887 (num_put::_M_widen_float): Remove __basefield.
5888 (num_put::_M_widen_int): Move __basefield to within grouping block.
5890 * include/bits/streambuf_iterator.h: Include <streambuf>.
5891 (ostreambuf_iterator::_M_put): Add.
5893 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
5895 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
5897 2003-02-04 Nathan Myers <ncm@cantrip.org>
5899 * testsuite/25_algorithms/min_max.cc (test02): Add.
5901 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5903 PR libstdc++/9439, PR libstdc++/9425
5904 * config/io/basic_file_stdio.cc
5905 (__basic_file<char>::seekoff, seekpos): Return -1L if
5907 * include/bits/fstream.tcc (basic_filebuf::seekoff):
5908 Check _M_file.seekoff return value; always return
5909 pos_type(off_type(-1)) in case of failure.
5910 (basic_filebuf::pbackfail): Check this->seekoff return
5911 value and return traits_type::eof() in case of failure.
5912 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
5914 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
5916 * include/std/std_ostream.h (ostream::_M_write): Declare.
5917 * ostream.tcc (ostream::_M_write): Define.
5918 (basic_ostream::write): Use it.
5919 (operator<<(basic_ostream, _CharT)): Ditto.
5920 (operator<<(basic_ostream, char)): Ditto.
5921 (operator<<(basic_ostream, _CharT*)): Ditto.
5922 (operator<<(basic_ostream, char*)): Ditto.
5923 (operator<<(basic_ostream, basic_string)): Ditto.
5925 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
5927 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
5929 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5931 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
5932 add HTML comment about updating links if numbering changes.
5934 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5937 * include/bits/streambuf.tcc (sputbackc): Access
5938 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
5939 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
5941 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
5944 * include/bits/fstream.tcc (open): If the 'ate' repositioning
5945 operation fails, calls close _and_ returns a null pointer
5946 to indicate failure (27.8.1.3,4).
5947 * testsuite/27_io/filebuf_members.cc (test_06): Add.
5949 2003-02-04 Petur Runolfsson <peturr02@ru.is>
5951 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
5953 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
5955 * docs/html/27_io/howto.html: New section on stdio_filebuf.
5956 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
5957 * docs/html/documentation.html: Regenerate.
5959 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
5961 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
5962 * docs/html/17_intro/porting.html: Regenerate.
5964 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
5965 Phil Edwards <pme@gcc.gnu.org>
5967 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
5968 numeric_limits for bits-per-word values.
5969 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
5970 Use __builtin_popcountl instead.
5971 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
5972 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
5973 Use __builtin_ctzl instead.
5974 (_S_bit_count, _S_first_one): Remove.
5975 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
5976 * src/Makefile.am (sources): Remove bitset.cc.
5977 * src/bitset.cc: Delete file.
5978 * src/Makefile.in: Regenerate.
5980 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
5982 PR libstdc++/9527, PR libstdc++/8713
5983 * docs/html/install.html: Mention glibc version requirement.
5984 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
5985 with 3.2.1+ (formatting bugfixes).
5986 * docs/html/faq/index.txt: Regenerate.
5988 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5991 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
5994 * include/bits/valarray_before.h (__not_equal_to): Use != instead
5997 * testsuite/26_numerics/valarray_operators.cc: New test.
5999 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
6001 * docs/html/faq/index.html: Correct link to libg++ information.
6002 * docs/html/faq/index.txt: Regenerated.
6004 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
6005 Benjamin Kosnik <bkoz@redhat.com>
6007 Const correctness issue:
6008 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
6009 * include/bits/locale_classes.h
6010 (locale::_Impl::_M_facets): Change type to const facet**.
6011 (locale::_Impl::_M_install_facet): Change declaration to
6013 (locale::facet::_M_references): Make mutable.
6014 (locale::facet::_M_add_reference): Declare const.
6015 (locale::facet::_M_remove_reference): Likewise.
6016 * include/bits/locale_facets.tcc
6017 (use_facet(const locale&)): Tweak for const facet** _M_facets.
6018 (has_facet(const locale&)): Likewise.
6020 (locale::facet::_M_add_reference): Adjust definition.
6021 (locale::facet::_M_remove_reference): Likewise.
6023 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
6024 const facet** _M_facets.
6025 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
6026 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
6027 (locale::_Impl::_M_install_facet): Adjust definition to take
6028 const facet* and for const facet** _M_facets.
6029 * testsuite/22_locale/locale/cons/8.cc: Add.
6031 2003-01-29 Mark Mitchell <mark@codesourcery.com>
6033 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
6034 Use __FLT_HAS_INIFINITY__ to initialize.
6035 (numeric_limits<float>::has_quiet_NaN): Likewise.
6036 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
6038 (numeric_limits<double>::has_quiet_NaN): Likewise.
6039 (numeric_limits<long double>::has_infinity): Use
6040 __LDBL_HAS_INIFINITY__ to initialize.
6041 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
6043 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
6046 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
6047 with bases which are very ambiguous.
6049 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
6051 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
6052 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
6053 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
6054 * src/Makefile.in: Regenerate.
6055 * libsupc++/Makefile.in: Regenerate.
6057 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6059 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
6060 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
6061 version_specific_libs is enabled.
6062 * aclocal.m4, configure: Rebuilt.
6064 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
6066 * include/bits/valarray_meta.h: Remove, split into ...
6067 * include/bits/valarray_before.h: ... this, and ...
6068 * include/bits/valarray_after.h: ... this.
6069 * include/std/std_valarray.h: Adjust.
6070 * include/Makefile.am (bits_headers): Adjust.
6071 * include/Makefile.in: Regenerate.
6073 2003-01-24 Andreas Schwab <schwab@suse.de>
6075 * config/linker-map.gnu: Fix for size_t variance.
6077 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6080 * include/std/std_streambuf.h
6081 (basic_streambuf::basic_streambuf,
6082 basic_streambuf::~basic_streambuf,
6083 basic_streambuf::getloc, basic_streambuf::imbue):
6084 Remove _M_buf_locale_init
6085 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6086 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6087 * testsuite/27_io/streambuf_members.cc (test08): Add.
6088 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6090 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6092 Revert include ordering.
6093 * config/locale/generic/c_locale.h: Add include guards.
6094 * config/locale/gnu/c_locale.h: Same.
6095 * include/bits/locale_classes.h: Remove cctype include.
6096 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6097 * include/std/std_fstream.h: Remove streambuf include.
6098 * include/std/std_sstream.h: Remove streambuf include.
6100 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6102 * configure.in (libtool_VERSION): To 6:0:0.
6103 * configure: Regenerated.
6104 * config/linker-map.gnu: Clean.
6106 * src/misc-inst.cc: Remove instantiations.
6108 * include/bits/stl_alloc.h (__malloc_alloc_template):
6110 (__default_alloc_template): To __pool_alloc.
6111 * src/stl-inst.cc: Same.
6112 * include/backward/alloc.h: Update.
6113 * testsuite/ext/allocators.cc: Update.
6115 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6116 really try to remove these if possible.
6117 * src/locale.cc (std): Same.
6119 * testsuite/abi_check.cc (check_version): Add.
6121 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6122 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6123 Mark Mitchell <mark@codesourcery.com>
6126 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6127 (basic_filebuf::underflow): Declare.
6130 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6132 * include/bits/locale_facets.h: Move non-facet classes requiring
6134 * include/bits/locale_classes.h: New.
6135 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6136 * include/bits/Makefile.in: Regenerate.
6138 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6139 * config/locale/gnu/c_locale.h: ...here.
6140 * config/locale/generic/c_locale.h: Same.
6142 * include/bits/locale_facets.tcc: Move declarations to...
6143 * include/bits/locale_facets.h: ...here.
6144 * include/bits/basic_ios.h: Tweak includes accordingly.
6145 * include/std/std_sstream.h: Add streambuf include.
6146 * include/std/std_fstream.h: Ditto.
6147 * include/std/std_locale.h: Add locale_classes.h include.
6148 * include/std/std_iosfwd.h: Tweak.
6149 * src/concept-inst.cc: Add iterator include.
6151 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6152 bits as unexported in the future.
6154 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6156 Reshuffle 22_locale testsuite.
6157 * 22_locale/(codecvt.cc money_get.cc
6158 codecvt_members_char_char.cc money_get_members_char.cc
6159 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6160 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6161 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6162 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6163 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6164 money_put_members_char.cc ctor_copy_dtor.cc
6165 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6166 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6167 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6168 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6169 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6170 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6171 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6172 operators.cc ctype_widen_char.cc static_members.cc
6173 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6174 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6175 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6176 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6177 Split up into individual test cases...
6178 * 22_locale/codecvt/1.cc: New.
6179 * 22_locale/codecvt/2.cc: New.
6180 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6181 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6182 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6183 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6184 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6185 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6186 * 22_locale/codecvt/encoding/char/1.cc: New.
6187 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6188 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6189 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6190 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6191 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6192 * 22_locale/codecvt/in/char/1.cc: New.
6193 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6194 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6195 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6196 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6197 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6198 * 22_locale/codecvt/length/char/1.cc: New.
6199 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6200 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6201 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6202 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6203 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6204 * 22_locale/codecvt/max_length/char/1.cc: New.
6205 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6206 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6207 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6208 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6209 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6210 * 22_locale/codecvt/out/char/1.cc: New.
6211 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6212 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6213 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6214 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6215 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6216 * 22_locale/codecvt/unicode/char.cc: New.
6217 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6218 * 22_locale/codecvt/unshift/char/1.cc: New.
6219 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6220 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6221 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6222 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6223 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6224 * 22_locale/collate/1.cc: New.
6225 * 22_locale/collate/2.cc: New.
6226 * 22_locale/collate/compare/char/1.cc: New.
6227 * 22_locale/collate/compare/char/2.cc: New.
6228 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6229 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6230 * 22_locale/collate/compare/wchar_t/1.cc: New.
6231 * 22_locale/collate/compare/wchar_t/2.cc: New.
6232 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6233 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6234 * 22_locale/collate/hash/char/1.cc: New.
6235 * 22_locale/collate/hash/char/2.cc: New.
6236 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6237 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6238 * 22_locale/collate/hash/wchar_t/1.cc: New.
6239 * 22_locale/collate/hash/wchar_t/2.cc: New.
6240 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6241 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6242 * 22_locale/collate/transform/char/2.cc: New.
6243 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6244 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6245 * 22_locale/collate/transform/wchar_t/2.cc: New.
6246 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6247 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6248 * 22_locale/collate_byname/1.cc: New.
6249 * 22_locale/ctype/1.cc: New.
6250 * 22_locale/ctype/2.cc: New.
6251 * 22_locale/ctype/cons/char/1.cc: New.
6252 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6253 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6254 * 22_locale/ctype/is/char/1.cc: New.
6255 * 22_locale/ctype/is/char/2.cc: New.
6256 * 22_locale/ctype/is/char/3.cc: New.
6257 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6258 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6259 * 22_locale/ctype/is/wchar_t/1.cc: New.
6260 * 22_locale/ctype/is/wchar_t/2.cc: New.
6261 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6262 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6263 * 22_locale/ctype/narrow/char/1.cc: New.
6264 * 22_locale/ctype/narrow/char/2.cc: New.
6265 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6266 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6267 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6268 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6269 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6270 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6271 * 22_locale/ctype/scan/char/1.cc: New.
6272 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6273 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6274 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6275 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6276 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6277 * 22_locale/ctype/to/char/1.cc: New.
6278 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6279 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6280 * 22_locale/ctype/to/wchar_t/1.cc: New.
6281 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6282 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6283 * 22_locale/ctype/widen/char/1.cc: New.
6284 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6285 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6286 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6287 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6288 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6289 * 22_locale/facet/1.cc: New.
6290 * 22_locale/facet/2.cc: New.
6291 * 22_locale/global_templates/1.cc: New.
6292 * 22_locale/locale/cons/1.cc: New.
6293 * 22_locale/locale/cons/2.cc: New.
6294 * 22_locale/locale/cons/3.cc: New.
6295 * 22_locale/locale/cons/4.cc: New.
6296 * 22_locale/locale/cons/5.cc: New.
6297 * 22_locale/locale/cons/6.cc: New.
6298 * 22_locale/locale/cons/7.cc: New.
6299 * 22_locale/locale/global_locale_objects/1.cc: New.
6300 * 22_locale/locale/global_locale_objects/2.cc: New.
6301 * 22_locale/locale/global_locale_objects/3.cc: New.
6302 * 22_locale/locale/operations/1.cc: New.
6303 * 22_locale/locale/operations/2.cc: New.
6304 * 22_locale/messages/1.cc: New.
6305 * 22_locale/messages/2.cc: New.
6306 * 22_locale/messages/members/char/1.cc: New.
6307 * 22_locale/messages/members/char/2.cc: New.
6308 * 22_locale/messages/members/char/3.cc: New.
6309 * 22_locale/messages/members/char/wrapped_env.cc: New.
6310 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6311 * 22_locale/messages_byname/1.cc: New.
6312 * 22_locale/money_get/1.cc: New.
6313 * 22_locale/money_get/2.cc: New.
6314 * 22_locale/money_get/get/char/1.cc: New.
6315 * 22_locale/money_get/get/char/2.cc: New.
6316 * 22_locale/money_get/get/char/3.cc: New.
6317 * 22_locale/money_get/get/char/4.cc: New.
6318 * 22_locale/money_get/get/char/5.cc: New.
6319 * 22_locale/money_get/get/char/6.cc: New.
6320 * 22_locale/money_get/get/char/7.cc: New.
6321 * 22_locale/money_get/get/char/8.cc: New.
6322 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6323 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6324 * 22_locale/money_get/get/wchar_t/1.cc: New.
6325 * 22_locale/money_get/get/wchar_t/2.cc: New.
6326 * 22_locale/money_get/get/wchar_t/3.cc: New.
6327 * 22_locale/money_get/get/wchar_t/4.cc: New.
6328 * 22_locale/money_get/get/wchar_t/5.cc: New.
6329 * 22_locale/money_get/get/wchar_t/6.cc: New.
6330 * 22_locale/money_get/get/wchar_t/7.cc: New.
6331 * 22_locale/money_get/get/wchar_t/8.cc: New.
6332 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6333 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6334 * 22_locale/money_put/1.cc: New.
6335 * 22_locale/money_put/2.cc: New.
6336 * 22_locale/money_put/put/char/1.cc: New.
6337 * 22_locale/money_put/put/char/2.cc: New.
6338 * 22_locale/money_put/put/char/3.cc: New.
6339 * 22_locale/money_put/put/char/4.cc: New.
6340 * 22_locale/money_put/put/char/5.cc: New.
6341 * 22_locale/money_put/put/char/6.cc: New.
6342 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6343 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6344 * 22_locale/money_put/put/wchar_t/1.cc: New.
6345 * 22_locale/money_put/put/wchar_t/2.cc: New.
6346 * 22_locale/money_put/put/wchar_t/3.cc: New.
6347 * 22_locale/money_put/put/wchar_t/4.cc: New.
6348 * 22_locale/money_put/put/wchar_t/5.cc: New.
6349 * 22_locale/money_put/put/wchar_t/6.cc: New.
6350 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6351 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6352 * 22_locale/moneypunct/1.cc: New.
6353 * 22_locale/moneypunct/2.cc: New.
6354 * 22_locale/moneypunct/3.cc: New.
6355 * 22_locale/moneypunct/members/char/1.cc: New.
6356 * 22_locale/moneypunct/members/char/2.cc: New.
6357 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6358 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6359 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6360 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6361 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6362 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6363 * 22_locale/moneypunct_byname/1.cc: New.
6364 * 22_locale/num_get/1.cc: New.
6365 * 22_locale/num_get/2.cc: New.
6366 * 22_locale/num_get/get/char/1.cc: New.
6367 * 22_locale/num_get/get/char/2.cc: New.
6368 * 22_locale/num_get/get/char/3.cc: New.
6369 * 22_locale/num_get/get/char/4.cc: New.
6370 * 22_locale/num_get/get/char/5.cc: New.
6371 * 22_locale/num_get/get/char/6.cc: New.
6372 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6373 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6374 * 22_locale/num_get/get/wchar_t/1.cc: New.
6375 * 22_locale/num_get/get/wchar_t/2.cc: New.
6376 * 22_locale/num_get/get/wchar_t/3.cc: New.
6377 * 22_locale/num_get/get/wchar_t/4.cc: New.
6378 * 22_locale/num_get/get/wchar_t/5.cc: New.
6379 * 22_locale/num_get/get/wchar_t/6.cc: New.
6380 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6381 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6382 * 22_locale/num_put/1.cc: New.
6383 * 22_locale/num_put/2.cc: New.
6384 * 22_locale/num_put/put/char/1.cc: New.
6385 * 22_locale/num_put/put/char/2.cc: New.
6386 * 22_locale/num_put/put/char/3.cc: New.
6387 * 22_locale/num_put/put/char/4.cc: New.
6388 * 22_locale/num_put/put/char/5.cc: New.
6389 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6390 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6391 * 22_locale/num_put/put/wchar_t/1.cc: New.
6392 * 22_locale/num_put/put/wchar_t/2.cc: New.
6393 * 22_locale/num_put/put/wchar_t/3.cc: New.
6394 * 22_locale/num_put/put/wchar_t/4.cc: New.
6395 * 22_locale/num_put/put/wchar_t/5.cc: New.
6396 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6397 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6398 * 22_locale/numpunct/1.cc: New.
6399 * 22_locale/numpunct/2.cc: New.
6400 * 22_locale/numpunct/members/char/1.cc: New.
6401 * 22_locale/numpunct/members/char/2.cc: New.
6402 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6403 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6404 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6405 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6406 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6407 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6408 * 22_locale/numpunct_byname/1.cc: New.
6409 * 22_locale/numpunct_byname/2.cc: New.
6410 * 22_locale/time_get/1.cc: New.
6411 * 22_locale/time_get/2.cc: New.
6412 * 22_locale/time_get/date_order/char/1.cc: New.
6413 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6414 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6415 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6416 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6417 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6418 * 22_locale/time_get/get_date/char/1.cc: New.
6419 * 22_locale/time_get/get_date/char/2.cc: New.
6420 * 22_locale/time_get/get_date/char/3.cc: New.
6421 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6422 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6423 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6424 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6425 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6426 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6427 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6428 * 22_locale/time_get/get_monthname/char/1.cc: New.
6429 * 22_locale/time_get/get_monthname/char/2.cc: New.
6430 * 22_locale/time_get/get_monthname/char/3.cc: New.
6431 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6432 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6433 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6434 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6435 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6436 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6437 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6438 * 22_locale/time_get/get_time/char/1.cc: New.
6439 * 22_locale/time_get/get_time/char/2.cc: New.
6440 * 22_locale/time_get/get_time/char/3.cc: New.
6441 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6442 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6443 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6444 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6445 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6446 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6447 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6448 * 22_locale/time_get/get_weekday/char/1.cc: New.
6449 * 22_locale/time_get/get_weekday/char/2.cc: New.
6450 * 22_locale/time_get/get_weekday/char/3.cc: New.
6451 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6452 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6453 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6454 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6455 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6456 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6457 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6458 * 22_locale/time_get/get_year/char/1.cc: New.
6459 * 22_locale/time_get/get_year/char/3.cc: New.
6460 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6461 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6462 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6463 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6464 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6465 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6466 * 22_locale/time_put/1.cc: New.
6467 * 22_locale/time_put/2.cc: New.
6468 * 22_locale/time_put/put/char/1.cc: New.
6469 * 22_locale/time_put/put/char/10.cc: New.
6470 * 22_locale/time_put/put/char/2.cc: New.
6471 * 22_locale/time_put/put/char/3.cc: New.
6472 * 22_locale/time_put/put/char/4.cc: New.
6473 * 22_locale/time_put/put/char/5.cc: New.
6474 * 22_locale/time_put/put/char/6.cc: New.
6475 * 22_locale/time_put/put/char/7.cc: New.
6476 * 22_locale/time_put/put/char/8.cc: New.
6477 * 22_locale/time_put/put/char/9.cc: New.
6478 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6479 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6480 * 22_locale/time_put/put/wchar_t/1.cc: New.
6481 * 22_locale/time_put/put/wchar_t/10.cc: New.
6482 * 22_locale/time_put/put/wchar_t/2.cc: New.
6483 * 22_locale/time_put/put/wchar_t/3.cc: New.
6484 * 22_locale/time_put/put/wchar_t/4.cc: New.
6485 * 22_locale/time_put/put/wchar_t/5.cc: New.
6486 * 22_locale/time_put/put/wchar_t/6.cc: New.
6487 * 22_locale/time_put/put/wchar_t/7.cc: New.
6488 * 22_locale/time_put/put/wchar_t/8.cc: New.
6489 * 22_locale/time_put/put/wchar_t/9.cc: New.
6490 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6491 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6493 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6495 * config/locale/generic/messages_members.h
6496 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6497 unqualified members of base clasess.
6499 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6500 Jeffrey Oldham <oldham@codesourcery.com>
6502 * config/locale/gnu/messages_members.h: Use this-> to refer to
6503 unqualified members of base clasess.
6504 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
6505 * include/bits/codecvt.h: Likewise.
6506 * include/bits/deque.tcc: Likewise.
6507 * include/bits/fstream.tcc: Likewise.
6508 * include/bits/istream.tcc: Likewise.
6509 * include/bits/list.tcc: Likewise.
6510 * include/bits/locale_facets.h: Likewise.
6511 * include/bits/ostream.tcc: Likewise.
6512 * include/bits/sstream.tcc: Likewise.
6513 * include/bits/stl_bvector.h: Likewise.
6514 * include/bits/stl_deque.h: Likewise.
6515 * include/bits/stl_list.h: Likewise.
6516 * include/bits/stl_tree.h: Likewise.
6517 * include/bits/stl_vector.h: Likewise.
6518 * include/bits/vector.tcc: Likewise.
6519 * include/ext/ropeimpl.h: Likewise.
6520 * include/ext/stdio_filebuf.h: Likewise.
6521 * include/ext/stl_rope.h: Likewise.
6522 * include/std/std_fstream.h: Likewise.
6523 * include/std/std_sstream.h: Likewise.
6525 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
6527 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
6529 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
6531 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
6532 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
6533 * aclocal.m4: Regenerate.
6534 * configure: Regenerate.
6535 * testsuite/Makefile.am (all-local): Add conditional rule to
6536 generate testsuite_wchar_t.
6537 * testsuite/Makefile.in: Regenerate.
6538 * testsuite/lib/libstdc++-v3-dg.exp
6539 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
6540 testsuite_wchar_t is not present in the build directory.
6541 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
6542 Remove setulimit bits.
6543 * testsuite/26_numerics/complex_value.cc: Set to noopts.
6544 * testsuite/Makefile.am (CLEANFILES): Add.
6545 * testsuite/Makefile.in: Regenerate.
6547 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
6549 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
6552 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
6554 Further conform g++'s __vmi_class_type_info to the C++ ABI
6556 * libsupc++/cxxabi.h
6557 (__vmi_class_type_info::__flags_masks): Remove enumerations not
6558 required by the specification.
6560 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
6562 Renames, namespaces for testsuite utilities.
6563 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
6564 (gnu_allocator_tracker): Rename to allocation_tracker.
6565 (gnu_new_allocator): Rename to tracker_alloc.
6566 (__set_testsuite_memlimit): Rename to set_memory_limits.
6567 (gnu_assignment_operator): Rename to assignment_operator.
6568 (gnu_destructor): Rename to destructor.
6569 (gnu_copy_tracker): Rename to copy_tracker.
6570 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
6571 (run_tests_wrapped_locale): New.
6572 (run_tests_wrapped_env): New.
6573 * testsuite/testsuite_hooks.cc: Same.
6574 (class locale_data): Add.
6575 (class enviornment_variable): Add.
6576 (class not_found): Add.
6577 * testsuite/testsuite_allocator.h: Same.
6578 * testsuite/testsuite_allocator.cc: Same.
6579 * testsuite/23_containers/deque_ctor.cc
6580 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
6582 Change gnu_new_allocator to tracker_alloc.
6583 Change gnu_counting_struct to counter.
6584 Change gnu_copy_tracker to copy_tracker.
6585 Change gnu_copy_constructor to copy_constructor.
6586 Change gnu_assignment_operator to assignment_operator.
6588 * testsuite/23_containers/vector_capacity.cc: Same.
6589 * testsuite/23_containers/vector_ctor.cc (test01): Same.
6590 * testsuite/23_containers/list_modifiers.cc: Change
6591 gnu_copy_tracker to copy_tracker.
6592 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
6593 __set_testsuite_memlimit to set_memory_limits.
6594 * testsuite/21_strings/insert.cc (main): Same.
6595 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
6596 * testsuite/27_io/stringstream.cc: Same.
6597 * testsuite/27_io/stringbuf.cc: Same.
6598 * testsuite/27_io/streambuf.cc: Same.
6599 * testsuite/27_io/ostream.cc: Same.
6600 * testsuite/27_io/istream.cc: Same.
6601 * testsuite/27_io/fstream.cc: Same.
6602 * testsuite/lib/libstdc++-v3-dg.exp
6603 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
6604 three levels deeper in glob patterns.
6606 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
6608 * docs/doxygen/tables.html: Finished now.
6609 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
6610 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
6613 * include/bits/deque.tcc, include/bits/stl_alloc.h,
6614 include/bits/stl_deque.h, include/bits/stl_list.h,
6615 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
6618 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
6620 * configure.in: Revert.
6621 * configure: Regenerate.
6623 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
6625 * include/Makefile.am (install-data-local): Prepend
6626 $(DESTDIR) to destination paths in all (un)installation
6627 commands. Use ${c_base_builddir} and ${std_builddir}
6628 as destination subdirectories to achieve consistency with
6629 preceding mkinstalldirs commands. No effect because both
6630 variables contain "." only.
6631 * include/Makefile.in: Regenerate.
6633 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
6635 * include/Makefile.am (stamp-*): Add checks for existing stamps.
6636 * include/Makefile.in: Regenerate.
6638 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
6639 * aclocal.m4: Regenerate.
6641 * configure.in: Don't add new multi-do rules every time the
6642 directory is reconfigured.
6643 * configure: Regenerate.
6645 2003-01-08 Brad Spencer <spencer@infointeractive.com>
6646 Nathan Myers <ncm@cantrip.org>
6648 * src/Makefile.am (stamp-debug): Clean.
6649 * src/Makefile.in: Regenerate.
6651 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
6654 * Makefile.am (distclean-multi): Fix.
6655 * Makefile.in: Regenerate.
6657 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
6659 * include/bits/locale_facets.h (messages): Move ctor, dtor
6661 (__timepunct): Same.
6662 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
6663 definitions. Conditionalize for GNU systems.
6664 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
6666 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
6667 definitions. Conditionalize for GNU systems.
6668 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
6670 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
6671 * src/locale.cc: Define.
6672 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
6674 * config/locale/gnu/time_members.h: Use it.
6675 * config/locale/gnu/messages_members.h: Use it.
6676 * config/linker-map.gnu: Add locale::facets details.
6677 * include/Makefile.am (target_headers_extra): Add time_members.h.
6678 * include/Makefile.in: Regenerate.
6679 * acinclude.m4: Export CTIME_H.
6680 * aclocal.m4: Regenerate.
6681 * configure: Regnerate.
6683 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6686 (codecvt<char, char, mbstate_t>::do_in, do_out):
6687 Tweak parameters to avoid unused parameter warnings.
6689 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
6692 * include/bits/locale_facets.cc (num_put::_M_convert_float):
6693 Limit __prec to digits10 + 2, not digits10 + 1, taking into
6694 account the possibility of %{g,G} conversion specifiers
6695 inside _S_format_float.
6696 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
6698 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6700 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
6701 libstdc++-v3-list-sourcefiles): Additionally handle files one
6702 level deeper in glob patterns.
6704 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
6705 * testsuite/27_io/istream_extractor_arith/01.cc,
6706 testsuite/27_io/istream_extractor_arith/02.cc,
6707 testsuite/27_io/istream_extractor_arith/03.cc,
6708 testsuite/27_io/istream_extractor_arith/06.cc,
6709 testsuite/27_io/istream_extractor_arith/07.cc,
6710 testsuite/27_io/istream_extractor_arith/08.cc,
6711 testsuite/27_io/istream_extractor_arith/09.cc,
6712 testsuite/27_io/istream_extractor_arith/10.cc,
6713 testsuite/27_io/istream_extractor_arith/11.cc,
6714 testsuite/27_io/istream_extractor_arith/12.cc,
6715 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
6716 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
6719 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
6723 (codecvt<char, char, mbstate_t>::do_in, do_out):
6724 Implement the resolution of DR19 (TC).
6725 * testsuite/22_locale/codecvt_members_char_char.cc
6728 2003-01-02 Jason Merrill <jason@redhat.com>
6730 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
6731 *__mem is also an output.
6732 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.