1 2003-11-07 Robert Millan <robertmh@gnu.org>
3 * configure.host: Add kfreebsd*-gnu and knetbsd*-gnu.
4 * crossconfig.m4: Likewise.
5 * configure: Regenerate.
7 2003-11-07 Carlo Wood <carlo@alinoe.com>
9 * include/bits/demangle.h
10 (qualifier_list<Allocator>::decode_qualifiers(string_type&,
11 string_type&, bool member_function_pointer_qualifiers):
12 Always seperate the '[' of an array type with a space from
13 what is left of it, except when that is the closing bracket
14 of another array dimension.
16 2003-11-07 Carlo Wood <carlo@alinoe.com>
18 * include/bits/demangle.h
19 (qualifier_list<Allocator>::decode_qualifiers(string_type&,
20 string_type&, bool) const): Made const.
21 (qualifier_list<Allocator>::M_printing_suppressed): Added mutable.
22 (_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3,
23 std::ostream& operator<<(std::ostream&, qualifier const&),
24 std::ostream& operator<<(std::ostream&, qualifier_list const&),
25 qualifier_list<Allocator>::decode_qualifiers(string_type&,
26 string_type&, bool) const,
27 session<Allocator>::decode_type_with_postfix(string_type&,
28 string_type&, qualifier_list<Allocator>*))
29 Added and/or changed debug-only hooks and code.
31 2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
33 * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
34 immediately return. This reflects a C++ ABI change 2003 Nov 03.
35 (__cxa_vec_delete3): Likewise.
37 2003-11-03 Petur Runolfsson <peturr02@ru.is>
40 * include/bits/fstream.tcc: Delete _M_last_overflowed.
41 (basic_filebuf::basic_filebuf): Initialize _M_state_last.
42 (basic_filebuf::open, basic_filebuf::close): Assign
43 _M_state_beg to _M_state_cur and _M_state_last.
44 (basic_filebuf::close): Call _M_terminate_output to handle
46 (basic_filebuf::underflow): Assign _M_state_last, throw
47 exception instead of calling abort when codecvt::max_length()
49 (basic_filebuf::seekoff): Use _M_state_last when calling
50 codecvt::length(), pass correct state to _M_seek.
51 (basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
52 (basic_filebuf::_M_seek): Add __state_type parameter,
53 set _M_state_cur correctly, store the resulting state in
54 the return value and use _M_terminate_output to handle
56 (basic_filebuf::_M_terminate_output): Flush contents of
57 output buffer, if any, then call codecvt::unshift as
58 needed and output the result.
59 (basic_filebuf::sync): Move here, don't modify _M_writing
62 * include/std/std_fstream.h
63 (basic_filebuf::_M_state_last): Declare it.
64 (basic_filebuf::_M_last_overflowed): Delete.
65 (basic_filebuf::_M_seek): Add __state_type parameter.
66 (basic_filebuf::sync): Declare only.
67 (basic_filebuf::_M_output_unshift): Delete.
68 (basic_filebuf::_M_terminate_output): Declare it.
70 * testsuite/testsuite_character.h:
71 Define character class and state class plus char_traits and
72 codecvt specializations for same for testing support for
75 * testsuite/27_io/basic_filebuf/close/12790-1.cc,
76 * testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
77 * testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
78 * testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
79 * testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
80 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
81 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
82 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
83 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
84 * testsuite/27_io/basic_filebuf/open/12790-1.cc,
85 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
86 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
87 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
88 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
89 * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
90 * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
91 * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
92 * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
93 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
94 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
95 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
96 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
97 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
98 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
99 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
100 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
101 * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
102 * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
103 * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
104 * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
105 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
106 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
107 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
108 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
109 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
110 * testsuite/27_io/basic_filebuf/sync/char/1.cc,
111 * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
114 * testsuite/27_io/basic_filebuf/3.cc,
115 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
116 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
117 * testsuite/27_io/basic_fstream/3.cc,
118 * testsuite/27_io/basic_ifstream/3.cc,
119 * testsuite/27_io/basic_ofstream/3.cc:
120 Use streamoff as off_type and fpos<state_type> as pos_type.
122 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
123 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
124 Check that sync does *not* set _M_writing to false.
126 2003-11-03 Anthony Green <green@redhat.com>
128 * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
131 2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
133 * include/bits/locale_facets.h (time_get::_M_extract_name): Add
135 * include/bits/locale_facets.tcc: Same, use it to allow
138 * include/bits/fstream.tcc: Spacing tweak.
139 * include/bits/istream.tcc: Same.
140 * include/bits/ostream.tcc: Same.
142 2003-10-30 Paolo Carlini <pcarlini@suse.de>
144 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
145 __mod is only assigned, never used its value, remove it.
147 2003-10-29 Paolo Carlini <pcarlini@suse.de>
149 * include/bits/locale_facets.tcc (time_get::do_get_year):
150 Absolutely avoid dereferencing end iterators.
151 (time_put::put): Minor clean up.
153 * include/bits/locale_facets.tcc: Cosmetic reformattings.
155 2003-10-29 Paolo Carlini <pcarlini@suse.de>
157 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
158 Revert the last commit, is not correct, sorry.
160 2003-10-29 Paolo Carlini <pcarlini@suse.de>
162 * config/locale/generic/c_locale.cc: Add back <cmath> and
165 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
168 2003-10-29 Paolo Carlini <pcarlini@suse.de>
170 * include/bits/locale_facets.tcc (time_put::put): Absolutely
171 avoid dereferencing end iterators; clean up.
173 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
174 num_get::_M_extract_int): Minor tweak.
176 2003-10-29 Paolo Carlini <pcarlini@suse.de>
178 * include/bits/locale_facets.tcc: Remove some unnecessary
180 * config/locale/generic/c_locale.cc: Include <cerrno> here.
181 * config/locale/gnu/c_locale.cc: Likewise.
183 2003-10-28 Paolo Carlini <pcarlini@suse.de>
185 * include/bits/locale_facets.tcc
186 (money_get<>::do_get(..., string_type&)): Absolutely avoid
187 dereferencing end iterators; general clean up.
189 2003-10-28 Paolo Carlini <pcarlini@suse.de>
191 * include/bits/locale_facets.tcc (time_get::_M_extract_num):
192 Absolutely avoid dereferencing end iterators.
193 (time_get::_M_extract_name): Likewise.
195 * include/bits/locale_facets.tcc
196 (time_get::_M_extract_via_format, case 'e'): Don't try to
197 be smart wrt returning the right __beg in case of parse
198 error, time_get::_M_extract_num must be fixed instead.
200 2003-10-27 Paolo Carlini <pcarlini@suse.de>
203 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
204 * aclocal.m4: Regenerate.
205 * configure: Regenerate.
207 2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
209 * docs/html/17_intro/TODO: Add links.
210 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
213 2003-10-27 Paolo Carlini <pcarlini@suse.de>
216 * include/bits/locale_facets.tcc
217 (time_get::_M_extract_via_format): Deal with code 'e'.
218 * testsuite/22_locale/time_get/get_date/char/12750.cc: New.
219 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
221 * include/bits/locale_facets.tcc
222 (time_get::_M_extract_via_format): Tweak to absolutely avoid
223 dereferencing end iterators.
225 * include/bits/locale_facets.h (__verify_grouping):
226 Const-ify second parameter.
227 * include/bits/locale_facets.tcc (__verify_grouping): Ditto.
228 * src/locale-inst.cc (__verify_grouping): Ditto.
230 2003-10-27 Paolo Carlini <pcarlini@suse.de>
232 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
233 Various things: 1- Avoid absolutely end iterator dereferences;
234 2- Improve performance-wise the code skipping leading zeros;
235 3- Fix two bugs wrt early bail out in case of parsing errors
236 (see testcases); 4- General clean up.
237 (num_get::_M_extract_int): Likewise, except 3-. Additionally,
238 use __builtin_expect to favor base 10 inputs.
239 * testsuite/22_locale/num_get/get/char/7.cc: New.
240 * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
242 2003-10-26 Paolo Carlini <pcarlini@suse.de>
244 * testsuite/22_locale/money_put/put/char/1.cc: Clean up.
245 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
247 2003-10-25 Paolo Carlini <pcarlini@suse.de>
249 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
250 __pos in only incremented, never used its value, remove it.
252 2003-10-24 Robert Millan <robertmh@gnu.org>
254 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
256 * aclocal.m4: Regenerated.
257 * configure: Regenerated.
259 2003-10-24 Paolo Carlini <pcarlini@suse.de>
261 * include/bits/locale_facets.tcc (money_get::do_get(...,
262 long double&): Properly size the temporary buffer.
263 * testsuite/22_locale/money_get/get/char/11.cc: New.
264 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
266 * include/bits/locale_facets.tcc (num_put::_M_group_int,
267 num_put::_M_group_float, money_put::do_put(..., const
268 string_type&), collate::do_compare, collate::do_transform):
269 Prefer basic_string::data() to c_str() when the '\0'
270 terminator is not really needed.
272 2003-10-24 Paolo Carlini <pcarlini@suse.de>
274 * include/bits/locale_facets.tcc (__verify_grouping):
275 Prefer '=' to an unnecessary '&='.
277 2003-10-24 Paolo Carlini <pcarlini@suse.de>
279 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
280 Tweak my fix for libstdc++/12657.
282 2003-10-24 Paolo Carlini <pcarlini@suse.de>
284 * include/bits/locale_facets.tcc (money_get::do_get(...,
285 string_type&): Minor tweak to the previous commit.
287 2003-10-24 Paolo Carlini <pcarlini@suse.de>
289 * include/bits/locale_facets.tcc (money_get::do_get(...,
290 string_type&): Disregard the previous commit: doesn't hurt but
291 doesn't accomplish anything useful either. This is the right
292 one, speeding up greatly the function in case of early fail.
294 2003-10-24 Paolo Carlini <pcarlini@suse.de>
296 * include/bits/locale_facets.tcc (money_get::do_get(...,
297 string_type&): Move an if block, thus minimizing the amount
298 of code processed anyway when __tmp_units.size() == 0.
300 2003-10-24 Paolo Carlini <pcarlini@suse.de>
302 * include/bits/locale_facets.tcc
303 (time_get<>::_M_extract_via_format): Deal with case 'C' too,
306 2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
308 * docs/html/documentation.html: Add a pointer to the doxygen style
310 * docs/html/17_intro/TODO: Update.
311 * docs/html/test.html: Add instructions for running a subset of
314 2003-10-23 Paolo Carlini <pcarlini@suse.de>
316 * include/bits/locale_facets.tcc (money_get<>::do_get(...,
317 string_type&)): Use find_first_not_of to strip leading
318 zeros; if __tmp_units == "0" never prefix it with '-';
319 always fail if __tmp_units is empty.
320 * testsuite/22_locale/money_get/get/char/10.cc: New.
321 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
323 2003-10-23 Phil Edwards <phil@codesourcery.com>
325 * config/os/vxworks/ctype_noninline.h: Adjust ctor to match
328 2003-10-22 Paolo Carlini <pcarlini@suse.de>
330 * include/bits/locale_facets.tcc (__int_to_char): Remove
331 the const int parameter.
332 (_M_insert_int): Update caller.
333 * src/locale-inst.cc (__int_to_char): Update instantiations.
335 2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
337 * include/bits/locale_facets.h: Correct byname facets for "C"
339 * config/locale/generic/ctype_members.cc: Same.
340 * config/locale/generic/messages_members.h: Same.
341 * config/locale/gnu/ctype_members.cc: Same.
342 * config/locale/gnu/messages_members.h: Same.
343 * include/bits/codecvt.h: Same.
344 * src/ctype.cc: Same.
345 * testsuite/22_locale/codecvt_byname/1.cc: New.
346 * testsuite/22_locale/collate/1.cc: Edit.
347 * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
348 * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
349 * testsuite/22_locale/ctype/1.cc: Derivation tests.
350 * testsuite/22_locale/ctype/11844.cc: Move...
351 * testsuite/22_locale/ctype_base/11844.cc: ...here.
352 * testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
353 * testsuite/22_locale/ctype_byname/1.cc: Name.
354 * testsuite/22_locale/messages_byname/1.cc: New.
355 * testsuite/22_locale/messages_byname/named_equivalence.cc: New.
356 * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
357 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
358 * testsuite/22_locale/numpunct/1.cc: Edit.
359 * testsuite/22_locale/numpunct_byname/2.cc: Move...
360 * testsuite/22_locale/numpunct/members/char/3.cc: ...here.
361 * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
362 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
364 2003-10-22 Paolo Carlini <pcarlini@suse.de>
367 * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
368 checking for the availability of int64_t.
369 (GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
370 * configure.ac: Call here.
371 * acconfig.h: Add undef for the corresponding symbols.
372 * config/io/basic_file_stdio.cc (__basic_file<char>::open):
373 Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
374 (__basic_file<char>::seekoff): Likewise, call lseek64 when
375 available, otherwise lseek, checking the __off parameter.
376 * include/bits/postypes.h: Typedef __streamoff_base_type
377 to int64_t if available, otherwise long long.
378 * aclocal.m4: Regenerate.
379 * config.h.in: Likewise.
380 * configure: Likewise.
382 * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
383 Use AC_TRY_LINK instead of AC_TRY_COMPILE.
385 2003-10-22 Paolo Carlini <pcarlini@suse.de>
388 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
389 Implement resolution of DR 292 (WP).
390 * docs/html/ext/howto.html: Add entry for DR 292.
392 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
394 * include/ext/mt_allocator.h: Change include to gthr.h.
395 * include/ext/rope: Same. Add _Refcount_base definitions.
396 * include/ext/pool_allocator.h: Adjust namespaces.
397 * include/bits/stl_threads.h (_Refcount_base): Move.
398 Put remaining into namespace __gnu_cxx.
400 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
403 * include/bits/locale_facets.h (ctype<char>): Remove
404 __ctype_abstract_base.
405 (ctype<char>::do_is): Remove.
406 (ctype<char>::do_scan_is): Remove.
407 * src/ctype.cc: Same. Inline the rest.
408 * testsuite/22_locale/ctype/is/char/9858.cc: New.
409 * config/os/aix/ctype_noninline.h: Adjust ctor.
410 * config/os/bsd/freebsd/ctype_noninline.h: Same.
411 * config/os/bsd/netbsd/ctype_noninline.h: Same.
412 * config/os/djgpp/ctype_noninline.h: Same.
413 * config/os/generic/ctype_noninline.h: Same.
414 * config/os/gnu-linux/ctype_noninline.h: Same.
415 * config/os/hpux/ctype_noninline.h: Same.
416 * config/os/irix/irix5.2/ctype_noninline.h: Same.
417 * config/os/irix/irix6.5/ctype_noninline.h: Same.
418 * config/os/mingw32/ctype_noninline.h: Same.
419 * config/os/newlib/ctype_noninline.h: Same.
420 * config/os/qnx/qnx6.1/ctype_noninline.h: Same.
421 * config/os/solaris/solaris2.5/ctype_noninline.h: Same.
422 * config/os/solaris/solaris2.6/ctype_noninline.h: Same.
423 * config/os/solaris/solaris2.7/ctype_noninline.h: Same.
424 * config/os/windiss/ctype_noninline.h: Same.
426 2003-10-21 Paolo Carlini <pcarlini@suse.de>
428 * src/locale.cc: Tweak a comment.
429 * src/localename.cc: Move a comment.
431 2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
434 * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
435 * testsuite_hooks.cc: Same.
436 * 22_locale/numpunct/members/pod/1.cc: Edit.
437 * 22_locale/numpunct/members/pod/2.cc: Same.
438 * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
439 * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
440 * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
441 * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
442 * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
443 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
444 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
445 * 27_io/basic_istream/sentry/pod/1.cc: New.
446 * 27_io/basic_ostream/sentry/pod/1.cc: New.
447 * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
448 * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
450 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
452 * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
453 of external _MIPS_SIM_ABI32.
455 2003-10-20 Phil Edwards <phil@codesourcery.com>
457 * configure.ac: Fix comment typo.
458 * configure.host: Add vxworks to host_os switch.
459 * crossconfig.m4: Remove old commented os_include_dir variables
460 left over from autotools transition.
461 (*-vxworks): New stanza.
462 (*-windiss): Add missing symbols.
463 * configure: Regenerate.
464 * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
465 config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
467 * config/os/windiss/os_defines.h: Define __C9X__.
469 2003-10-19 David Edelsohn <edelsohn@gnu.org>
472 * configure.host (aix4,aix*): Define os_include_dir to os/generic.
474 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
476 * src/locale.cc (locale::_S_initialize): Re-apply workaround a
477 confusion of the use of the gthr API when __gthread_active_p()
480 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
482 * src/Makefile.am: Add new files.
483 * src/Makefile.in: Regenerate.
484 * src/globals.cc: Split into..
485 * src/globals_io.cc: New.
486 * src/globals_locale.cc: New.
487 * src/ios.cc: Split into...
488 * src/ios_init.cc: New.
489 * src/ios_locale.cc: New.
490 * src/locale-inst.cc: Split into..
491 * src/wlocale-inst.cc: New.
492 * src/locale-misc-inst.cc: New.
493 * src/locale.cc, src/localename: Split into...
494 * src/locale_facets.cc: New.
495 * src/locale_init.cc: New.
496 * src/wstring-inst.cc: Add copyright info.
498 2003-10-16 Petur Runolfsson <peturr02@ru.is>
503 * config/io/basic_file_stdio.cc (__basic_file::seekoff):
504 Change return value from streampos to streamoff.
505 (__basic_file::seekpos): Delete.
506 * config/io/basic_file_stdio.h: Same.
507 * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
508 * include/Makefile.am (bits_headers): Add bits/postypes.h.
509 * include/bits/char_traits.h: Include bits/postypes.h instead of
511 * include/bits/fstream.tcc (basic_filebuf::open,
512 basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
513 values, use == and != instead.
514 (basic_filebuf::_M_seek): Use explicit conversion from streamoff
516 (basic_filebuf::imbue): Don't use ! on pos_type values, use
517 == instead. Don't use __check_facet(_M_codecvt) unless is_open().
518 * include/bits/postypes.h: New file.
519 Add __streamoff_base_type typedef, streamsize.
520 (streamoff, streampos, wstreampos): Define typedefs, with
521 streamoff defined as...
522 (streamoff): New class. Document implementation defined
524 (fpos): New implementation. Document implementation defined
526 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
527 explicit conversion from pos_type to off_type.
528 * include/std/std_iosfwd.h: Include bits/postypes.h instead
530 * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
531 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
532 * testsuite/27_io/fpos/11450.cc: New test.
533 * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
534 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
535 * testsuite/27_io/types/3.cc: New test.
537 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
539 * configure.host: Remove fpos_include_dir.
540 * configure.ac: Remove FPOS_INC_SRCDIR.
541 * configure: Regenerate.
542 * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
543 * aclocal.m4: Regenerate.
544 * include/Makefile.am (host_headers): Remove fpos.h.
545 (bits_headers): Add postypes.h.
546 * include/Makefile.in: Regenerate.
547 * config/os/gnu-linux/fposh: Remove.
548 * config/os/generic/fpos.h: Remove.
550 * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
551 * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
552 * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
553 * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
554 * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
555 * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
556 * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
557 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
558 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
559 * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
560 * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
561 * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
562 * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
563 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
564 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
565 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
566 * testsuite/27_io/objects/char/10.cc: Same.
568 2003-10-16 Paolo Carlini <pcarlini@suse.de>
570 * src/locale.cc (locale::locale(const char*)): ... one
571 more comparison missed in the previous commit.
573 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
575 * acconfig.h: Add HAVE_DRAND48.
576 * crossconfig.m4: Remove ISATTY.
577 * aclocal.m4: Regenerated.
578 * config.h.in: Regenerated.
579 * configure: Regenerated.
581 2003-10-16 Bernardo Innocenti <bernie@develer.com>
583 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
584 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
585 Document SMP safeness of asm macros.
587 2003-10-16 Paolo Carlini <pcarlini@suse.de>
589 * src/locale.cc (locale::locale(const char*)): Tweak
590 a couple of comparisons to use basic_string operators.
592 2003-10-16 Paolo Carlini <pcarlini@suse.de>
595 * config/locale/gnu/monetary_members.cc
596 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
597 Don't leak memory if new throws.
598 * src/locale.cc (locale::locale(const char*)): In order not
599 to leak memory in case new throws, use a basic_string type
600 for __res too and avoid strdup.
602 2003-10-14 Jeff Bailey <jbailey@nisa.net>
605 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
606 * configure: Regenerate.
608 2003-10-14 Carlo Wood <carlo@alinoe.com>
611 * include/bits/demangle.h (session<Allocator>::
612 decode_unqualified_name(string_type& output)): Fail on a
613 <operator-name> when decoding <template-argument>.
614 * testsuite/demangle/regression/cw-15.cc: New.
616 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
619 * include/bits/stl_algo.h (unique): Fix.
620 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
621 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
622 * testsuite/25_algorithms/unique/2.cc: New.
624 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
626 * src/localename.cc (_M_replace_categories, M_replace_facet):
627 Const-ify a couple of variables.
629 2003-10-14 Petur Runolfsson <peturr02@ru.is>
630 Andreas Tobler <a.tobler@schweiz.ch>
632 * src/locale.cc (locale::_S_initialize): Workaround a confusion
633 of the use of the gthr API when __gthread_active_p() returns true.
635 2003-10-12 Petur Runolfsson <peturr02@ru.is>
636 Paolo Carlini <pcarlini@unitus.it>
639 * src/strstream.cc (pbackfail): Fix to use to_int_type.
640 * testsuite/backward/11460.cc: New, from the PR.
642 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
644 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
645 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
646 * include/bits/basic_string.tcc: Likewise.
647 * include/bits/ios_base.h: Likewise.
648 * include/bits/istream.tcc: Likewise.
649 * include/bits/locale_facets.tcc: Likewise.
650 * include/bits/ostream.tcc: Likewise.
651 * include/bits/stl_function.h: Likewise.
652 * include/bits/stl_multiset.h: Likewise.
653 * include/bits/stl_pair.h: Likewise.
654 * include/bits/stl_set.h: Likewise.
655 * include/bits/streambuf_iterator.h
656 * include/std/std_iosfwd.h: Likewise.
657 * include/std/std_istream.h: Likewise.
658 * include/std/std_sstream.h: Likewise.
659 * include/std/std_streambuf.h: Likewise.
660 * src/ios.cc: Likewise.
661 * include/bits/c++config:
662 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
663 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
664 dg-error directive due to removal of a blank line.
665 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
667 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
668 Paolo Carlini <pcarlini@unitus.it>
670 PR libstdc++/11844/11740 (cont)
671 * config/os/generic/ctype_inline.h (ctype<char>::is):
672 Generically, use a bitmasksize of 15 (instead of 10);
673 Fix the logic to actually return (M & m) != 0 as per
676 2003-10-11 Bernardo Innocenti <bernie@develer.com>
678 * crossconfig.m4 (*-uclinux*): New target.
679 * configure: Regenerate.
681 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
683 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
684 Avoid unnecessarily calling __builtin_alloca and dealing
685 explicitly with width() smaller than zero.
686 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
687 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
688 const char*), operator<<(basic_ostream<char, _Traits>&,
689 const char*), operator<<(basic_ostream, const basic_string&)):
692 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
694 * config/linker-map.gnu: Make more *_type_info bits visible.
695 Move new/delete bits back into GLIBCXX space.
697 * include/bits/locale_classes.h: Move _M_id out of line, so that
698 locale::id::_S_highwater can be removed from the export list.
699 * src/locale.cc (locale::id::_M_id): Define.
701 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
703 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
706 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
709 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
710 to conform to the requirements of 22.2.1.
711 * config/os/bsd/freebsd/ctype_base.h: Likewise.
712 * config/os/djgpp/ctype_base.h: Likewise.
713 * config/os/generic/ctype_base.h: Likewise.
714 * config/os/gnu-linux/ctype_base.h: Likewise.
715 * config/os/hpux/ctype_base.h: Likewise.
716 * config/os/irix/irix6.5/ctype_base.h: Likewise.
717 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
718 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
719 * testsuite/22_locale/ctype/11844.cc: New.
721 * config/locale/generic/ctype_members.cc (do_is):
722 Generically, use a bitmasksize of 15 (instead of 10), since
723 we don't know the numerical encoding of the various categories
724 in the underlying /usr/include/ctype.h.
726 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
728 * src/string-inst.cc: Prune.
729 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
730 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
732 2003-10-09 Petur Runolfsson <peturr02@ru.is>
734 * src/io-inst.cc: Don't include iostream.
735 * include/bits/ios_base.h (ios_base::failure): Use string.
736 * src/Makefile.am: Add ios_failure.cc.
737 * src/Makefile.in: Regenerate.
738 * src/ios.cc: Move ios_base::failure definitions to...
739 * src/ios_failure.cc: ...here. New.
741 2003-10-09 Petur Runolfsson <peturr02@ru.is>
744 * include/bits/fstream.tcc (basic_filebuf::seekoff):
745 Move code needed for both seekoff and seekpos...
746 (basic_filebuf::_M_seek): ...here. New function.
747 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
748 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
749 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
751 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
753 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
755 * include/bits/locale_facets.tcc: More minor cosmetic
756 changes and const-ifications of some variables.
758 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
760 * include/bits/locale_facets.tcc: Minor cosmetic changes
761 and const-ifications of some variables.
763 * include/bits/locale_facets.tcc
764 (money_get::do_get(..., string_type&)): Simplify an if-else.
766 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
769 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
770 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
771 * config/locale/generic/ctype_members.cc: Same.
772 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
774 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
776 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
777 Improve performance-wise: avoid one traits::copy, avoid
778 the __builtin_alloca, streamline.
780 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
782 * include/bits/locale_facets.tcc
783 (num_put::do_put(..., bool)): Prefer ?: to if-else.
784 (time_get::_M_extract_name): Qualify min with std::.
785 (__pad<>::_S_pad): Constify two variables; simplify an
786 if-else statement factoring out some code.
788 * include/bits/locale_facets.tcc: Minor cosmetic changes.
790 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
792 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
793 Constify a couple of variables.
794 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
797 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
798 Petur Runolfsson <peturr02@ru.is>
800 * include/ext/stdio_sync_filebuf.h: Don't include the whole
801 <fstream>, only <streambuf> and <cstdio>.
803 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
806 * include/bits/fstream.tcc (imbue): In case a codecvt facet
807 is not available, set _M_codecvt = 0.
808 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
810 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
813 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
815 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
817 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
818 * src/locale.cc: Define.
819 * src/localename.cc: Use it.
820 * config/locale/generic/time_members.h: Same.
821 * config/locale/gnu/messages_members.h: Same.
822 * config/locale/gnu/time_members.h: Same.
824 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
827 * include/bits/fstream.tcc (seekoff): Ignore the openmode
829 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
830 seekpos): Remove the openmode argument.
831 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
832 seekpos): Remove redundant placeholder for the openmode argument.
833 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
834 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
835 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
836 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
837 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
839 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
841 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
842 (locale::facet::_S_get_c_locale): Same.
844 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
846 * config/linker-map.gnu: Export _S_get_c_locale instead of
849 2003-10-02 Petur Runolfsson <peturr02@ru.is>
851 * config/locale/generic/c_locale.cc
852 (category_names, locale::_S_categories): Const qualify.
853 * config/locale/gnu/c_locale.cc: Same.
854 * config/locale/generic/time_members.h (__timepunct::__timepunct):
855 Copy string contents before assigning to _M_name_timepunct,
856 qualify strcpy and strlen with std::.
857 * config/locale/gnu/time_members.h: Same.
858 * config/locale/gnu/messages_members.h (messages::messages):
859 Copy string contents before assigning to _M_name_messages,
860 qualify strcpy and strlen with std::.
861 * config/os/gnu-linux/ctype_noninline.h
862 (ctype<char>::classic_table()): Don't call locale::classic().
863 * include/bits/locale_classes.h
864 (locale::_S_categories): Const qualify.
865 (locale::_S_once, locale::_S_initialize_once,
866 locale::facet::_S_once, locale::facet::_S_initialize_once,
867 locale::facet::_S_get_c_locale): Declare.
868 (locale::_S_initialize): Don't define.
869 (locale::facet::_S_c_locale): Make private.
870 (locale::facet::_S_c_name): Same, const qualify.
871 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
872 parameters, add throw() specifier.
873 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
874 messages::_M_name_messages): Const qualify.
876 (locale::_S_once, locale::facet::_S_once): Define.
877 (locale::classic): Move initialization code...
878 (locale::_S_initialize_once): ...here.
879 (locale::_S_initialize): Call _S_initialize_once through
881 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
882 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
883 __gthread_once before returning _S_c_locale.
884 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
885 Drop unused parameters, add throw() specifier, don't initialize
886 locale::facet::_S_c_locale and _S_c_name.
888 * config/locale/generic/messages_members.h:
889 Replace _S_c_locale with _S_get_c_locale().
890 * config/locale/gnu/c_locale.cc: Same.
891 * config/locale/gnu/messages_members.h: Same.
892 * config/locale/gnu/numeric_members.cc: Same.
893 * config/locale/gnu/time_members.cc: Same.
894 * config/os/gnu-linux/ctype_noninline.h: Same.
895 * include/bits/locale_facets.h: Same.
896 * include/bits/locale_facets.tcc: Same.
897 * src/codecvt.cc: Same.
898 * src/ctype.cc: Same.
900 2003-10-02 Carlo Wood <carlo@alinoe.com>
902 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
903 Decode symbols that start with _GLOBAL_[ID]_ differently: the
904 trailing part ends with a terminating zero and is not necessarily an
906 * src/demangle.cc (): Same.
907 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
909 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
911 * testsuite/22_locale/locale/cons/12438.cc: Use
912 __gnu_test::try_named_locale("").
914 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
916 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
917 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
919 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
920 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
922 * config.h.in, configure: Regenerate.
923 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
926 2003-10-01 Nathan Myers <ncm@cantrip.org>
928 * include/bits/locale_facets.tcc (time_put::put): Avoid
929 expensive *__s++, in favor of *__s, ++__s.
931 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
933 * include/bits/locale_facets.tcc (time_put::put): Minor
934 tweak to the previous commit.
936 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
939 * include/bits/locale_facets.tcc (time_put::put): Deal
940 with the three issues pointed out by the PR.
941 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
942 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
943 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
944 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
945 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
947 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
949 * include/bits/stl_algo.h: Minor cosmetic reformattings.
951 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
953 * include/bits/stl_algo.h (search_n): Tweak, to spare the
956 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
958 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
959 qualify exception name.
961 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
964 * include/bits/locale_facets.tcc (locale::combine): Don't
965 leak memory if _M_replace_facet throws.
966 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
968 * include/bits/locale_classes.h (locale::locale(const locale&,
969 _Facet*)): Tweak, use consistently _M_remove_reference.
971 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
973 PR libstdc++/12352 (cont)
974 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
975 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
977 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
978 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
979 !_M_caches, !_M_names.
981 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
983 * configure.host: Handle Solaris 2.5 micro releases explicitly.
984 Remove wildcards from Solaris 2.6, 7-9: there were no
986 Treat Solaris 10 and up like 7-9.
988 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
990 * include/bits/stl_algo.h (search_n): Improve the previous
991 fix as suggested by Martin.
993 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
996 * include/bits/istream.tcc (peek): Set eofbit if sgetc
998 * testsuite/27_io/basic_istream/peek/char/12296.cc:
1001 2003-09-29 Nathan Myers <ncm@cantrip.org>
1002 Paolo Carlini <pcarlini@unitus.it>
1005 * include/bits/stl_algo.h (search_n):
1006 Use iterator_traits<>::difference_type for __n.
1007 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
1009 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
1011 * testsuite/22_locale/locale/cons/12352.cc:
1012 Use __attribute__((unused)) for test.
1014 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
1016 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
1017 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
1018 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
1020 2003-09-26 Brad Spencer <spencer@infointeractive.com>
1022 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
1023 Explicitly qualify exceptions.
1024 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
1025 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1026 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1027 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1029 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
1032 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
1033 size_t)): Don't leak if memory allocations for _M_facets,
1034 _M_caches, and _M_names fail.
1035 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
1036 (locale::_Impl::_M_replace_categories(const _Impl*,
1038 (locale::_Impl::_M_install_facet(const locale::id*,
1039 const facet*)): Ditto.
1040 * include/bits/locale_classes.h (locale::locale(const locale&,
1041 _Facet*)): Don't leak memory.
1042 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
1044 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
1045 bool)): Qualify with std:: strcpy, tweak.
1046 * include/bits/locale_classes.h
1047 (locale::_Impl::_M_check_same_name): Qualify strcmp.
1049 2003-09-25 Brad Spencer <spencer@infointeractive.com>
1052 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
1054 * aclocal.m4: Regenerate.
1055 * config.h.in: Regenerate.
1056 * configure: Regenerate.
1057 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
1058 * config/io/basic_file_stdio.cc: Guard unistd.h.
1059 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
1060 * include/c_std/std_cwchar.h: Same.
1061 * include/c_std/std_cwctype.h: Same.
1063 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
1066 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
1067 * config/locale/generic/ctype_members.cc: Same.
1068 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
1069 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
1071 * config/os/generic/ctype_inline.h: Update.
1073 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
1075 * src/Makefile.am (version_dep): New variable.
1076 (libstdc___la_DEPENDENCIES): Use it to add dependency on
1077 libstdc++-symbol.ver only when using symbol versioning.
1078 * src/Makefile.in: Regenerate.
1080 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
1082 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
1083 * testsuite/testsuite_hooks.h: Same.
1084 * testsuite/*/*.cc: Same.
1086 2003-09-22 Petur Runolfsson <peturr02@ru.is>
1088 * include/bits/istream.tcc (basic_istream::read,
1089 basic_istream::readsome, basic_istream::putback,
1090 basic_istream::unget, operator>>(basic_istream, CharT)):
1091 Avoid redundant setstate(failbit) calls when sentry::operator bool()
1094 2003-09-22 Carlo Wood <carlo@alinoe.com>
1097 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
1098 char const*, int, int)): Remove unused identifier
1099 cv_qualifier for overloaded constructor.
1101 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
1104 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
1105 WARN_FLAGS, remove -Wno-format.
1106 * aclocal.m4: Regenerate.
1107 * configure: Regenerate.
1109 2003-09-18 Petur Runolfsson <peturr02@ru.is>
1111 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
1112 * config/io/basic_file_stdio.h: Same.
1113 * include/std/std_fstream.h (__ctype_type): Delete.
1114 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
1116 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
1119 * configure.host (abi_baseline_pair): Error out on solaris2
1120 configurations without a minor version number.
1122 2003-09-13 Phil Edwards <phil@codesourcery.com>
1124 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
1125 if man pages are on.
1126 * docs/doxygen/user.cfg.in: And here.
1128 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
1129 Andreas Jaeger <aj@suse.de>
1132 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
1133 abi_check if cross compiling.
1134 * aclocal.m4: Regenerated.
1135 * configure: Regenerated.
1137 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
1139 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
1140 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
1141 (__cxa_vec_new3): Likewise.
1143 2003-09-10 Petur Runolfsson <peturr02@ru.is>
1145 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1146 Use codecvt::length to handle variable-width stateless encodings
1148 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
1149 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
1151 2003-09-10 Alan Modra <amodra@bigpond.net.au>
1153 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
1156 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1158 * configure: Regenerate.
1160 2003-09-09 David Edelsohn <edelsohn@gnu.org>
1162 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
1163 qualifier from _S_synced_with_stdio.
1165 2003-09-09 Bernardo Innocenti <bernie@develer.com>
1167 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
1169 2003-09-04 Petur Runolfsson <peturr02@ru.is>
1172 * include/bits/fstream.tcc
1173 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
1174 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
1175 _M_ext_buf_size, _M_ext_next and _M_ext_end.
1176 (basic_filebuf::underflow): Handle variable-width stateless
1177 encodings (codecvt::encoding() == 0), including UTF-8.
1178 * include/std/std_fstream.h (basic_filebuf):
1179 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
1180 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
1181 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
1182 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
1183 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
1184 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
1185 * testsuite/27_io/objects/wchar_t/12.cc: New test.
1186 * testsuite/27_io/objects/wchar_t/13.cc: New test.
1188 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
1190 * docs/html/faq/index.html: Note that a namespace alias can't be
1191 used when specialising templates in extension namespace.
1192 * docs/html/faq/index.txt: Regenerate.
1194 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1197 * include/ext/stdio_sync_filebuf.h
1198 (stdio_sync_filebuf::_M_unget_buf): Declare it.
1199 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
1200 (stdio_sync_filebuf::uflow): Store the returned character in
1202 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
1203 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
1204 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
1205 _M_unget_buf, if any, else eof().
1206 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
1207 _M_unget_buf, if any, else eof().
1208 * testsuite/27_io/objects/char/12048.cc: Rename to...
1209 * testsuite/27_io/objects/char/12048-1.cc: ...this.
1210 * testsuite/27_io/objects/char/12048-2.cc: New test.
1211 * testsuite/27_io/objects/char/12048-3.cc: New test.
1212 * testsuite/27_io/objects/char/12048-4.cc: New test.
1213 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
1214 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
1215 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
1216 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
1217 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
1218 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
1219 * testsuite/ext/stdio_sync_filebuf_char.cc
1220 (test02, test03, test04, test05): New tests.
1221 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
1222 (test02, test03, test04, test05): New tests.
1224 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1226 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
1227 stringbuf or strstreambuf. Fix typos.
1229 2003-09-02 Phil Edwards <phil@codesourcery.com>
1231 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
1233 * config.h.in: Add _GLIBCXX_HOSTED.
1234 * libsupc++/eh_term_handler.cc: Test it here; initialize
1235 __terminate_handler to std::abort if freestanding.
1236 * aclocal.m4, configure: Regenerated.
1237 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
1239 2003-08-29 Nathan Myers <ncm@cantrip.org>
1242 * include/bits/locale_facets.tcc (__pad): delete dead code.
1244 2003-08-28 Alan Modra <amodra@bigpond.net.au>
1246 * configure.ac: Test $with_cross_host against $build_alias, not $build.
1247 * configure: Regenerate.
1249 2003-08-27 Petur Runolfsson <peturr02@ru.is>
1251 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
1252 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
1254 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1256 * Makefile.am: Remove trailing whitespace. Remove needless
1257 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
1258 * include/Makefile.am: Likewise.
1259 * libmath/Makefile.am: Likewise.
1260 * libsupc++/Makefile.am: Likewise.
1261 * po/Makefile.am: Likewise.
1262 * src/Makefile.am: Likewise.
1263 * testsuite/Makefile.am: Likewise.
1265 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1266 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1267 testsuite/Makefile.in: Regenerated.
1269 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1271 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
1273 * aclocal.m4, configure: Regenerate.
1275 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1277 * acinclude.m4: Include no-executables.m4.
1278 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
1279 * aclocal.m4: Regenerated.
1280 * configure: Regenerated.
1282 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1284 * acinclude.m4: Don't call AC_ISC_POSIX.
1285 * aclocal.m4: Regenerated.
1286 * configure: Regenerated.
1288 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1290 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
1291 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
1292 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
1293 used elsewhere in this file.
1294 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
1295 * configure.ac: ...called here to expand all conditionals.
1296 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
1297 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
1298 (install-freestanding-headers): New target, a subset of
1299 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
1301 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1302 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1303 src/Makefile.in, testsuite/Makefile.in: Regenerated.
1305 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1307 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
1308 pathnames from generated tag file.
1310 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1312 * Makefile.am: Add comment.
1313 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
1315 * configure.ac: Use them both here, instead of hardcoded lists.
1317 * fragment.am: Add STAMP varaible.
1318 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
1320 (stamp-*): Move file creation rule outside of 'if' branches to
1321 ensure the stamp-* files are actually updated. Use $(STAMP).
1322 * src/Makefile.am: Remove now-nonexistant variable.
1323 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
1325 * po/Makefile.am: Include same fragment as all the others.
1327 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1328 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
1330 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
1332 * testsuite/data/cin_unget-1.txt: New.
1333 * testsuite/27_io/objects/char/12048.cc: New.
1335 2003-08-25 Zack Weinberg <zack@codesourcery.com>
1337 * config/os/hpux/os_defines.h: Unconditionally define
1338 _GLIBCXX_GTHREAD_USE_WEAK to 0.
1340 2003-08-19 Geoffrey Keating <geoffk@apple.com>
1342 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
1343 crosses to Darwin targets.
1344 * configure: Regenerate.
1346 2003-08-19 Petur Runolfsson <peturr02@ru.is>
1348 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
1350 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1352 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
1353 in the patch from 3 minutes ago. Boy, is my face red.
1354 * configure: At least I remembered to regenerate this.
1356 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1358 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
1359 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
1360 things from the top level.
1361 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
1362 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
1363 (currently unused). Strip the fake-VPATH shell fragment from
1364 automake-generated rules, if present.
1365 * linkage.m4: Add comment.
1367 * fragment.am: New file, containing factored-out common settings.
1368 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
1369 * Makefile.am: Include fragment.am. Remove common variables.
1370 * include/Makefile.am: Likewise.
1371 * libmath/Makefile.am: Likewise.
1372 * libsupc++/Makefile.am: Likewise.
1373 * po/Makefile.am: Likewise. Print rules during check.
1374 * src/Makefile.am: Likewise.
1375 * testsuite/Makefile.am: Likewise.
1377 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1378 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1379 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1381 2003-08-11 John Levon <levon@movementarian.org>
1383 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
1384 remaining places for the name change from GLIBCPP_FORCE_NEW
1385 to GLIBCXX_FORCE_NEW
1387 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
1389 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
1391 * include/bits/basic_ios.tcc: Same.
1392 * include/bits/istream.tcc: Same.
1393 * include/bits/locale_facets.h: Same.
1394 * include/bits/ostream.tcc: Same.
1395 * include/std/std_istream.h: Same.
1396 * include/std/std_ostream.h: Same.
1397 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
1399 * include/ext/rope: Remove build warning.
1401 2003-08-11 Andreas Jaeger <aj@suse.de>
1403 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
1405 * include/Makefile.in: Regenerated.
1407 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1409 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
1410 when calling AC_PROG_CC.
1411 * aclocal.m4, configure: Regenerate.
1413 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1415 * acinclude.m4: Properly quote variable which will be expanded
1416 inside makefiles. Use CXX instead of CC to extract compiler info.
1417 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
1418 correct form in PACKAGE.
1419 * aclocal.m4, configure: Regenerate.
1421 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
1423 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
1424 (check-abi-verbose): Same.
1425 * testsuite/testsuite_performance.h (report_performance): Same.
1427 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
1429 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
1431 2003-08-07 Doug Gregor <dgregor@apple.com>
1433 * include/bits/char_traits.h (char_traits::not_eof): Match operand
1436 2003-08-07 Bernardo Innocenti <bernie@develer.com>
1439 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
1440 Replace variants with new BSET-based version.
1442 2003-08-07 Carlo Wood <carlo@alinoe.com>
1444 * include/bits/demangle.h: Do not use cctype functions that depend
1447 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1449 * configure.in: Rename...
1450 * configure.ac: ...to this.
1451 * docs/html/17_intro/porting.texi: Update name.
1453 * docs/html/17_intro/porting.html: Regenerate.
1454 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
1455 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1456 testsuite/Makefile.in: Regenerate (picks up new dependancy).
1458 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1460 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
1461 pipe, open the window to let out the fumes, redo the option-handling
1462 logic to properly execute the detection test.
1463 * aclocal.m4, configure: Regenerate.
1465 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1467 Convert to new autotools.
1468 * acconfig.h: Update with correct names.
1469 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
1470 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
1471 * configure.in: Update. Split hardcoded cross-configury settings
1473 * crossconfig.m4: ...here. New file. Contents untouched.
1474 * acinclude.m4: Reorganize and rewrite as needed. Split large
1476 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
1478 * scripts/testsuite_flags.in: Update.
1480 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
1481 variables (already generated by automake).
1482 * include/Makefile.am: Ditto.
1483 * libmath/Makefile.am: Ditto.
1484 * libsupc++/Makefile.am: Ditto.
1485 * po/Makefile.am: Ditto.
1486 * src/Makefile.am: Ditto.
1488 * aclocal.m4: Regenerate using new versions.
1489 * config.h.in: Ditto.
1491 * Makefile.in: Ditto.
1492 * include/Makefile.in: Ditto.
1493 * libmath/Makefile.in: Ditto.
1494 * libsupc++/Makefile.in: Ditto.
1495 * po/Makefile.in: Ditto.
1496 * src/Makefile.in: Ditto.
1497 * testsuite/Makefile.in: Ditto.
1499 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1501 * po/libstdc++.pot: Re-extract/regenerate.
1503 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1505 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
1506 Remove unneeded variable assignments. Leave them for automake.
1507 * testsuite/lib/libstdc++-v3.exp: Rename...
1508 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
1510 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
1511 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
1514 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1516 * docs/doxygen/guide.html: run_doxygen uses bash.
1517 * docs/doxygen/mainpage.html: We'll be shipping tag files.
1518 * docs/doxygen/run_doxygen: Tweaks and improvements.
1519 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
1520 * docs/html/install.html: Update autoconf/automake requirements.
1521 * docs/html/test.html: Add section describing DejaGNU support.
1522 * docs/html/17_intro/confdeps.dot: New file, generates...
1523 * docs/html/17_intro/confdeps.png: ...this new file.
1524 * docs/html/Makefile: Generated here.
1525 * docs/html/17_intro/configury.html: New file.
1527 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
1529 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
1530 * testsuite/lib/libstdc++-v3.exp: ...to this.
1531 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
1533 2003-07-31 Doug Gregor <dgregor@apple.com>
1535 Add user specialization tests.
1536 * testsuite/23_containers/deque/1.cc: New.
1537 * testsuite/23_containers/list/1.cc: New.
1538 * testsuite/23_containers/map/1.cc: New.
1539 * testsuite/23_containers/multimap/1.cc: New.
1540 * testsuite/23_containers/multiset/1.cc: New.
1541 * testsuite/23_containers/set/1.cc: New.
1542 * testsuite/23_containers/vector/1.cc: New.
1544 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
1546 Reshuffle 23_containers testsuite.
1547 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
1548 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
1549 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
1550 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
1551 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
1552 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
1553 vector_resize.cc: Split into...
1554 * 23_containers/bitset/cons/1.cc: New.
1555 * 23_containers/bitset/cons/6282.cc: New.
1556 * 23_containers/bitset/count/6124.cc: New.
1557 * 23_containers/bitset/operations/1.cc: New.
1558 * 23_containers/bitset/operations/2.cc: New.
1559 * 23_containers/bitset/test/1.cc: New.
1560 * 23_containers/bitset/to_ulong/1.cc: New.
1561 * 23_containers/deque/cons/1.cc: New.
1562 * 23_containers/deque/cons/2.cc: New.
1563 * 23_containers/deque/operators/1.cc: New.
1564 * 23_containers/list/capacity/1.cc: New.
1565 * 23_containers/list/cons/1.cc: New.
1566 * 23_containers/list/cons/2.cc: New.
1567 * 23_containers/list/cons/3.cc: New.
1568 * 23_containers/list/cons/4.cc: New.
1569 * 23_containers/list/cons/5.cc: New.
1570 * 23_containers/list/cons/6.cc: New.
1571 * 23_containers/list/cons/7.cc: New.
1572 * 23_containers/list/cons/8.cc: New.
1573 * 23_containers/list/cons/9.cc: New.
1574 * 23_containers/list/modifiers/1.cc: New.
1575 * 23_containers/list/modifiers/2.cc: New.
1576 * 23_containers/list/modifiers/3.cc: New.
1577 * 23_containers/list/operators/1.cc: New.
1578 * 23_containers/list/operators/2.cc: New.
1579 * 23_containers/list/operators/3.cc: New.
1580 * 23_containers/list/operators/4.cc: New.
1581 * 23_containers/map/insert/1.cc: New.
1582 * 23_containers/map/operators/1.cc: New.
1583 * 23_containers/map/operators/1_neg.cc: New.
1584 * 23_containers/multiset/insert/1.cc: New.
1585 * 23_containers/priority_queue/members/7161.cc: New.
1586 * 23_containers/queue/members/7157.cc: New.
1587 * 23_containers/set/operators/1_neg.cc: New.
1588 * 23_containers/stack/members/7158.cc: New.
1589 * 23_containers/vector/bool/1.cc: New.
1590 * 23_containers/vector/bool/6886.cc: New.
1591 * 23_containers/vector/capacity/1.cc: New.
1592 * 23_containers/vector/capacity/2.cc: New.
1593 * 23_containers/vector/capacity/8230.cc: New.
1594 * 23_containers/vector/cons/1.cc: New.
1595 * 23_containers/vector/cons/2.cc: New.
1596 * 23_containers/vector/cons/3.cc: New.
1597 * 23_containers/vector/cons/4.cc: New.
1598 * 23_containers/vector/cons/6513.cc: New.
1599 * 23_containers/vector/element_access/1.cc: New.
1600 * 23_containers/vector/modifiers/1.cc: New.
1601 * 23_containers/vector/modifiers/2.cc: New.
1602 * 23_containers/vector/resize/1.cc: New.
1604 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1606 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1608 * testsuite/thread/pthread2.cc: Likewise.
1609 * testsuite/thread/pthread3.cc: Likewise.
1610 * testsuite/thread/pthread4.cc: Likewise.
1611 * testsuite/thread/pthread5.cc: Likewise.
1612 * testsuite/thread/pthread6.cc: Likewise.
1613 * testsuite/thread/pthread7-rope.cc: Likewise.
1615 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1617 * include/bits/c++config: Partial reversion (comment placement) of
1620 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1622 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1623 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1624 (_GLIBCXX_AT_AT): Remove.
1625 (__USE_MALLOC): Remove.
1626 * include/std/std_fstream.h: Modify.
1627 * include/bits/basic_ios.h: Same.
1628 * include/bits/valarray_array.h: Same.
1629 * include/c_std/std_cmath.h: Same.
1630 * include/c_std/cmath.tcc: Same.
1631 * include/std/std_vector.h: Same.
1632 * include/std/std_string.h: Same.
1633 * include/std/std_stack.h: Same.
1634 * include/std/std_queue.h: Same.
1635 * include/std/std_list.h: Same.
1636 * include/std/std_deque.h: Same.
1637 * include/std/std_streambuf.h: Same.
1638 * include/std/std_sstream.h: Same.
1639 * include/std/std_ostream.h: Same.
1640 * include/std/std_istream.h: Same.
1641 * include/bits/valarray_array.tcc: Same, format.
1643 * include/c/std_cctype.h: Fix include guards.
1644 * include/c/std_cerrno.h: Same.
1645 * include/c/std_cfloat.h: Same.
1646 * include/c/std_climits.h: Same.
1647 * include/c/std_clocale.h: Same.
1648 * include/c/std_cmath.h: Same.
1649 * include/c/std_csetjmp.h: Same.
1650 * include/c/std_csignal.h: Same.
1651 * include/c/std_cstdarg.h: Same.
1652 * include/c/std_cstddef.h: Same.
1653 * include/c/std_cstdio.h: Same.
1654 * include/c/std_cstdlib.h: Same.
1655 * include/c/std_cstring.h: Same.
1656 * include/c/std_ctime.h: Same.
1657 * include/c/std_cwchar.h: Same.
1658 * include/c/std_cwctype.h: Same.
1659 * include/c_std/cmath.tcc: Same.
1660 * include/c_std/std_cmath.h: Same.
1662 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
1665 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1666 casts. Changes to avoid casting away constness. Eliminate
1667 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1668 initialization lists. Move out implementation of __black_count()
1670 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1671 Rename_Rb_tree_base_iterator::_M_increment() to
1672 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1674 * config/linker-map.gnu: Add and change symbols here.
1676 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1678 * docs/html/22_locale/howto.html: Use locale::classic() instead
1681 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1683 * testsuite/testsuite_hooks.h: Remove list include.
1684 (func_callback): Define as unique type, not std::list.
1685 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1686 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1687 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
1688 * testsuite/23_containers/bitset_ctor.cc:
1689 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1690 * testsuite/18_support/numeric_limits.cc: Same.
1691 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1692 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1693 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1694 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1695 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1696 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1697 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1698 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1699 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1700 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1701 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1702 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1703 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1704 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1705 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1706 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1707 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1708 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1709 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1710 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
1711 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1712 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1713 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1714 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1715 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1716 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1717 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1718 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1719 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1720 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
1721 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1722 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1723 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1724 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1725 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1726 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1727 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1728 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1729 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1730 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1731 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1732 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1733 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1734 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1735 * testsuite/23_containers/bitset_ctor.cc: Same.
1736 * testsuite/23_containers/bitset_shift.cc: Same.
1737 * testsuite/23_containers/vector_ctor.cc: Same.
1738 * testsuite/23_containers/vector_element_access.cc: Same.
1739 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1740 * testsuite/24_iterators/iterator.cc: Same.
1741 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1742 * testsuite/25_algorithms/lower_bound.cc: Same.
1743 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1744 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1745 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1746 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1747 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1748 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1749 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1750 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1751 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1752 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
1753 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1756 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1758 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1759 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1760 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1761 GLIBCPP to GLIBCXX (and explain as needed).
1763 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1767 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
1769 * testsuite/22_locale/messages/members/char/1.cc,
1770 testsuite/22_locale/messages/members/char/2.cc,
1771 testsuite/22_locale/messages/members/char/3.cc,
1772 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1773 the origin of LOCALEDIR.
1774 * testsuite/lib/libstdc++-v3.exp: New file.
1776 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1778 * include/bits/char_traits.h: Update copyright, tweak.
1779 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
1782 2003-07-24 Matt Austern <austern@apple.com>
1784 * /include/bits/char_traits.h (class char_traits): Put all the
1785 real work into the new class template __gnu_cxx::char_traits.
1786 Gave generic definitions for member functions. Types are taken
1787 from the new class template __gnu_cxx::_Char_types.
1788 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1789 file. Test of std::char_traits<short>, which serves as a test of
1790 the char_traits primary template.
1792 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1794 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1796 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
1798 * testsuite/23_containers/map_operators.cc: Conform to
1799 container requirement as value must be Assignable.
1801 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
1803 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1804 tests not only generation of pch files, but also their use.
1805 * aclocal.m4, configure: Rebuilt.
1807 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1809 * config/cpu/hppa/atomicity.h: Change
1810 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1811 to match misc-inst.cc
1813 2003-07-23 Steve Ellcey <sje@cup.hp.com>
1815 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1816 * include/c_std/std_cctype.h: Ditto.
1817 * include/c_std/std_cerrno.h: Ditto.
1818 * include/c_std/std_cfloat.h: Ditto.
1819 * include/c_std/std_climits.h: Ditto.
1820 * include/c_std/std_clocale.h: Ditto.
1821 * include/c_std/std_cmath.h: Ditto.
1822 * include/c_std/std_csetjmp.h: Ditto.
1823 * include/c_std/std_csignal.h: Ditto.
1824 * include/c_std/std_cstdarg.h: Ditto.
1825 * include/c_std/std_cstddef.h: Ditto.
1826 * include/c_std/std_cstdio.h: Ditto.
1827 * include/c_std/std_cstdlib.h: Ditto.
1828 * include/c_std/std_cstring.h: Ditto.
1829 * include/c_std/std_ctime.h: Ditto.
1830 * include/c_std/std_cwchar.h: Ditto.
1831 * include/c_std/std_cwctype.h: Ditto.
1832 * include/std/std_algorithm.h: Ditto.
1833 * include/std/std_bitset.h: Ditto.
1834 * include/std/std_complex.h: Ditto.
1835 * include/std/std_deque.h: Ditto.
1836 * include/std/std_fstream.h: Ditto.
1837 * include/std/std_functional.h: Ditto.
1838 * include/std/std_iomanip.h: Ditto.
1839 * include/std/std_ios.h: Ditto.
1840 * include/std/std_iosfwd.h: Ditto.
1841 * include/std/std_iostream.h: Ditto.
1842 * include/std/std_istream.h: Ditto.
1843 * include/std/std_iterator.h: Ditto.
1844 * include/std/std_limits.h: Ditto.
1845 * include/std/std_list.h: Ditto.
1846 * include/std/std_locale.h: Ditto.
1847 * include/std/std_map.h: Ditto.
1848 * include/std/std_memory.h: Ditto.
1849 * include/std/std_numeric.h: Ditto.
1850 * include/std/std_ostream.h: Ditto.
1851 * include/std/std_queue.h: Ditto.
1852 * include/std/std_set.h: Ditto.
1853 * include/std/std_sstream.h: Ditto.
1854 * include/std/std_stack.h: Ditto.
1855 * include/std/std_stdexcept.h: Ditto.
1856 * include/std/std_streambuf.h: Ditto.
1857 * include/std/std_string.h: Ditto.
1858 * include/std/std_utility.h: Ditto.
1859 * include/std/std_valarray.h: Ditto.
1860 * include/std/std_vector.h: Ditto.
1862 2003-07-22 Doug Gregor <dgregor@apple.com>
1864 * include/bits/basic_string.h (basic_string::insert): Deprecate
1867 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1869 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1871 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1872 (test03): Include typeinfo for bad_cast.
1873 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1874 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1875 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1877 2003-07-21 Doug Gregor <dgregor@apple.com>
1879 * include/bits/boost_concept_check.h:
1880 (_EqualityComparableConcept::__constraints): Remove != from the
1881 list of constraints; it is not listed in Table 28 of the C++98
1884 2003-07-18 Andreas Jaeger <aj@suse.de>
1886 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1887 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1888 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1889 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1891 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
1893 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1894 * config/locale/generic/messages_members.h: Tweaks.
1895 * config/locale/generic/monetary_members.cc
1896 (moneypunct::_M_initialize_moneypunct): Use cache.
1897 (moneypunct::~moneypunct): Delete cache.
1898 * config/locale/generic/time_members.cc:
1899 (__timepunct::_M_initialize_timepunct): Use cache.
1900 * config/locale/generic/time_members.h:
1901 (__timepunct::~__timepunct): Delete cache.
1902 (__timepunct::__timepunct): Set cache.
1903 * config/locale/gnu/messages_members.h: Tweaks.
1904 * config/locale/gnu/monetary_members.cc:
1905 (moneypunct::_M_initialize_moneypunct): Use cache.
1906 (moneypunct::~moneypunct): Delete cache.
1907 * config/locale/gnu/time_members.cc:
1908 (__timepunct::_M_initialize_timepunct): Use cache.
1909 * config/locale/gnu/time_members.h:
1910 (__timepunct::~__timepunct): Delete cache.
1911 (__timepunct::__timepunct): Set cache.
1912 * include/bits/locale_facets.h (__timepunct_cache): New.
1913 (__moneypunct_cache): New.
1914 * include/bits/locale_facets.tcc: Tweak.
1915 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1916 * src/locale-inst.cc: Instantiate caches.
1917 * src/globals.cc: Add "C" caches.
1918 * src/localename.cc: Use external "C" caches.
1920 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
1922 * docs/doxygen/guide.html: Fix typo.
1924 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1926 * include/ext/pod_char_traits.h: Add state template argument.
1928 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1930 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1931 (num_get::_M_convert_int): To _M_insert_int.
1932 (num_get::_M_convert_float): To _M_insert_float.
1933 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1934 Use caches for ctype, num_get.
1935 (num_get::_M_extract_int): Same.
1936 (num_get::get(bool)): Same.
1937 (__verify_grouping): Use size_t.
1938 * src/locale-inst.cc: Update.
1939 * src/locale.cc: Adjust _S_atoms_in.
1941 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
1943 * docs/doxygen/mainpage.html: Move building/writing instructions...
1944 * docs/doxygen/guide.html: ...to here. New file.
1946 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1948 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1949 * docs/html/faq/index.html: Same.
1950 * docs/html/faq/index.txt: Regenerate.
1952 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
1955 * include/bits/locale_facets.tcc (money_get::do_get):
1956 Strip only _leading_ zeros.
1957 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1958 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1960 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1962 * include/ext/hash_map (class hash_multimap): Remove extra
1963 semicolons from __glibcxx_class_requires3 entries.
1964 * include/ext/hash_set (class hash_set): Ditto.
1965 (class hash_multiset): Ditto.
1967 2003-07-15 Petur Runolfsson <peturr02@ru.is>
1969 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1970 Change last parameter from int_type to size_t.
1972 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1974 * include/bits/stl_algo.h (includes, set_union, set_intersection,
1975 set_difference, set_symmetric_difference, max_element, min_element,
1976 next_permutation, prev_permutation, find_first_of, find_end):
1978 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
1979 restrictions in docs.
1980 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
1982 * docs/doxygen/doxygroups.cc (setoperations): New group.
1984 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1986 * include/bits/basic_string.h: Document public functions.
1987 * docs/doxygen/TODO: Update c21 todo.
1989 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
1991 * include/bits/stl_list.h: Document more functions.
1992 * docs/doxygen/TODO: Update c23 todo.
1994 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
1996 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1999 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2001 * include/bits/stl_tempbuf.h: Qualify free with std::.
2002 * src/locale.cc: Include <cstdlib>, qualify getenv.
2004 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2006 * config/locale/gnu/c_locale.h (__convert_from_v): Include
2007 <cstdio>. Qualify names.
2008 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
2010 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2011 Nathan C. Myers <ncm-nospam@cantrip.org>
2014 * include/std/std_fstream.h (xsputn): Declare only.
2015 * include/bits/fstream.tcc (xsputn): Define, optimize for the
2016 always_noconv() case: when __n is sufficiently large flush
2017 the buffer and issue a direct write, if possible combining the
2018 two with writev in __basic_file<>::xsputn_2.
2019 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
2021 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
2023 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
2024 the availability of writev in <sys/uio.h>.
2025 * configure.in: Call here.
2026 * acconfig.h: Add undef for the corresponding symbol.
2027 * aclocal.m4: Regenerate.
2028 * configure: Regenerate.
2029 * config.h.in: Regenerate.
2030 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
2032 * include/std/std_fstream.h (sync): Constify a variable.
2034 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
2036 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
2037 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2039 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
2041 * config/locale/gnu/c_locale.h (__convert_from_v): Include
2042 <cstring> and <cstdlib>. Qualify names.
2044 2003-07-13 Mark Mitchell <mark@codesourcery.com>
2046 * config/locale/generic/c_locale.h: Include <cstdlib> and
2048 * include/bits/boost_concept_check.h: Add this-> to unqualified
2050 * include/bits/deque.tcc: Likewise.
2051 * include/bits/locale_facets.h : Likewise.
2052 * include/bits/ostream.tcc: Likewise.
2053 * include/bits/stl_algo.h: Likewise.
2054 * include/bits/stl_bvector.h: Likewise.
2055 * include/bits/stl_deque.h: Likewise.
2056 * include/bits/stl_list.h: Likewise.
2057 * include/bits/stl_tree.h: Likewise.
2058 * include/bits/stl_vector.h: Likewise.
2059 * include/bits/vector.tcc: Likewise.
2060 * include/ext/rope: Likewise.
2061 * include/ext/ropeimpl.h: Likewise.
2062 * include/ext/stdio_filebuf.h: Likewise.
2064 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
2066 * include/bits/basic_ios.h (copyfmt): Document.
2067 * include/bits/ios_base.h (event, event_callback, register_callback,
2068 xalloc, iword, pword): Document.
2069 (imbue, ~ios_base): Update docs on callbacks.
2071 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
2073 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
2074 warning messages if the environment cannot support symbol versioning.
2075 (port_specific_symbol_file): It's plural, add an 's' on the end.
2076 * configure.host: Likewise.
2077 * src/Makefile.am: Likewise.
2078 * config/linker-map.gnu: Remove one semicolon, heh.
2079 * scripts/extract_symvers: Don't assume useful 'export' syntax.
2080 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
2081 * aclocal.m4, configure, src/Makefile.in: Regenerated.
2083 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
2085 * include/bits/locale_facets.tcc: Use function object for
2086 __use_cache instead of template function. Partially specialize for
2088 * include/bits/locale_classes.h: Update friend declaration for
2090 (_M_install_cache): No throw exception specs.
2091 * src/locale.cc: Remove __use_cache specializations.
2092 * include/ext/pod_char_traits.h (length): Tweak.
2093 * include/bits/locale_facets.h (__numpunct_cache): Remove
2095 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
2097 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
2098 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
2099 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
2100 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
2101 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
2102 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
2104 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
2106 * src/ios.cc (_M_grow_words): Fix spelling.
2108 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
2110 * include/bits/stl_tree.h: Move larger member functions in
2111 _Rb_tree_base_iterator and _Rb_tree_node to...
2112 * src/stl_tree.cc: Here.
2113 * src/Makefile.in: Add stl_tree.cc.
2114 * src/Makefile.in: Regenerated.
2115 * config/linker-map.gnu: Add symbols here.
2117 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2119 * testsuite/ext/pod_char_traits.cc: New.
2120 * include/ext/pod_char_traits.h: New.
2121 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
2122 * include/Makefile.in: Regenerate.
2123 * docs/html/21_strings/howto.html: Update.
2125 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
2127 * testsuite/performance/list_create_fill_sort.cc: New.
2129 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2131 * config/locale/generic/numeric_members.cc: Correct type info.
2132 * config/locale/gnu/numeric_members.cc: Same.
2133 * include/bits/locale_facets.h: Same.
2135 * include/bits/char_traits.h: Correct spacing.
2137 * src/locale.cc: Wrap to 80 col.
2139 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
2141 * include/std/std_complex.h: Partially revert last
2142 changes: cmath functions must not be qualified.
2144 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2146 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
2147 2.11 with globbing backport fix.
2148 * aclocal.m4, configure: Regenerated.
2150 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2152 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
2153 if output is at all possible (!_M_reading), cannot be active.
2155 * include/std/std_fstream.h: Tweak comments to doxygen style.
2157 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2159 * include/bits/locale_classes.h: Fully qualify standard
2160 functions with std::, thus avoiding Koenig lookup.
2161 * include/bits/locale_facets.tcc: Likewise.
2162 * src/locale.cc: Likewise.
2163 * src/localename.cc: Likewise.
2165 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2167 * include/bits/allocator_traits.h: Fix doxygen markup.
2168 * include/ext/mt_allocator.h: Likewise.
2170 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2172 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
2174 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2176 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
2177 requirement. Add port_specific_symbol_file variable.
2178 * configure.host: Add docs for port_specific_symbol_file.
2179 Clean up try_cpu block for x86.
2180 * config/linker-map.gnu: No more "last symbol can't have a
2181 semicolon" kaka. Add hook for port-specific symbols.
2182 * src/Makefile.am: Remove trailing whitespace.
2183 (libstdc++-symbol.ver): Detect the presence of port-specific
2184 symbols, and add them accordingly.
2186 * docs/html/17_intro/porting.texi: Bring up to date.
2188 * src/Makefile.in, aclocal.m4, configure,
2189 docs/html/17_intro/porting.html: Regenerated.
2191 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2193 * scripts/create_testsuite_files: New file.
2194 * testsuite/Makefile.am (all-local, check-performance): Use it.
2195 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
2196 * testsuite/Makefile.in: Regenerated.
2198 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
2200 * testsuite/performance/fstream_seek_write.cc: Likewise.
2201 * testsuite/performance/ofstream_insert_float.cc: Likewise.
2202 * testsuite/performance/ofstream_insert_int.cc: Likewise.
2203 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
2205 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2207 * include/bits/stl_list.h: Performance and memory usage
2208 improvements. In particular, the behaviour of the constructor and
2209 destructor as the list header node is no longer dynamically
2210 allocated/de-allocated.
2211 * include/bits/list.tcc: Likewise.
2213 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2215 * include/std/std_complex.h: Fully qualify standard
2216 functions with std::, thus avoiding Koenig lookup.
2217 * include/std/std_memory.h: Likewise.
2218 * include/std/std_valarray.h: Likewise.
2220 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2222 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
2223 variable for grandparent and use const
2225 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
2227 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
2228 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
2229 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
2230 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
2231 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
2232 * testsuite/27_io/objects/char/7.cc: Ditto
2233 * testsuite/27_io/objects/char/9661-1.cc: Ditto
2235 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2237 * include/std/std_bitset.h: Fully qualify standard
2238 functions with std::, thus avoiding Koenig lookup.
2240 * include/std/std_fstream.h: Change comment to doxygen style.
2242 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2244 * include/std/std_limits.h: More CPP->CXX changes.
2245 * scripts/check_survey.in: Likewise.
2247 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2249 Move from CPP to CXX.
2250 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
2251 * testsuite/Makefile.am: Same.
2252 * testsuite/Makefile.in: Regenerate.
2253 * po/Makefile.am: Same.
2254 * po/Makefile.in: Regenerate.
2255 * libsupc++/Makefile.am: Same.
2256 * libsupc++/Makefile.in: Regenerate.
2257 * libmath/Makefile.am: Same.
2258 * libmath/Makefile.in: Regenerate.
2259 * include/Makefile.am: Same.
2260 * include/Makefile.in: Regenerate.
2261 * src/Makefile.am: Same.
2262 * src/Makefile.in: Regenerate.
2264 * configure.host: Same.
2265 * configure.in: Same.
2266 * configure: Regenerate.
2267 * acinclude.m4: Same.
2269 * src: Change all files in this directory.
2271 * include: Same, standardize include guards.
2275 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2277 * testsuite/22_locale/collate/compare/wchar_t/2.cc
2278 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
2279 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
2280 * testsuite/22_locale/collate/hash/wchar_t/2.cc
2281 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
2282 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
2283 * testsuite/22_locale/collate/transform/wchar_t/2.cc
2284 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
2285 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2286 XFAIL on all targets.
2288 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2290 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
2291 * aclocal.m4: Regenerate.
2292 * configure: Regenerate.
2294 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
2296 * include/bits/locale_facets.tcc (__int_to_char): Move common case
2299 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2300 Petur Runolfsson <peturr02@ru.is>
2302 * config/io/basic_file_stdio.cc: Revert.
2304 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2306 * include/bits/deque.tcc: Fully qualify standard
2307 functions with std::, thus avoiding Koenig lookup.
2308 * include/bits/gslice_array.h: Likewise.
2309 * include/bits/indirect_array.h: Likewise.
2310 * include/bits/list.tcc: Likewise.
2311 * include/bits/mask_array.h: Likewise.
2312 * include/bits/slice_array.h: Likewise.
2314 2003-07-04 Gawain Bolton <gbolton@free.fr>
2316 * include/bits/stl_tree.h: Performance and memory usage
2319 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2321 * Makefile.am: Replace PWD with PWD_COMMAND.
2322 * Makefile.in: Regenerated.
2323 * docs/html/Makefile: Likewise.
2325 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2327 * include/bits/valarray_array.h: Fully qualify standard
2328 functions with std::, thus avoiding Koenig lookup.
2329 * include/bits/vector.tcc: Likewise.
2331 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2333 * include/Makefile.am: Update target_ to host_.
2334 * include/Makefile.in: Regenerate.
2335 * src/Makefile.am: Same.
2336 * src/Makefile.in: Regenerate.
2338 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
2340 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2342 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
2343 --enable-libstdcxx-debug-flags.
2344 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
2345 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
2346 * aclocal.m4: Regenerate.
2348 * docs/html/configopts.html: Update.
2350 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2352 Revert the fix for libstdc++/11378.
2354 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2357 * include/std/std_fstream.h (xsputn): In the unbuffered case,
2358 provided always_noconv(), issue directly _M_file.xsputn.
2359 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
2361 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2363 * include/bits/stl_list.h: Fully qualify standard
2364 functions with std::, thus avoiding Koenig lookup.
2365 * include/bits/stl_queue.h: Likewise.
2366 * include/bits/stl_raw_storage_iter.h: Likewise.
2367 * include/bits/stl_tempbuf.h: Likewise.
2368 * include/bits/stl_tree.h: Likewise.
2369 * include/bits/stl_uninitialized.h: Likewise.
2370 * include/bits/stl_vector.h: Likewise.
2371 * include/ext/rope: Change includes order.
2373 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2375 * configure.host (fpos_include_dir): Fix.
2377 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2379 * include/bits/stl_heap.h: Fully qualify standard
2380 functions with std::, thus avoiding Koenig lookup.
2381 * include/bits/stl_iterator_base_funcs.h: Likewise.
2383 * include/bits/stl_algo.h: Qualify __iterator_category too.
2384 * include/bits/stl_algobase.h: Likewise.
2385 * include/bits/stl_bvector.h: Likewise.
2387 * include/bits/stl_algo.h: Don't qualify the pair type.
2389 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2391 * include/Makefile.am (target_headers): Add fpos.h
2392 (bits_headers): Remove.
2393 * include/Makefile.in: Regenerate.
2394 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
2395 * configure: Regenerate.
2396 * configure.host: Add fpos_include_dir.
2397 * config/os/gnu-linux/fpos.h: New.
2398 * config/os/generic/fpos.h: Add.
2399 * include/bits/fpos.h: Remove.
2401 * config/io/c_io_stdio.h: Remove fpos_t typedef.
2403 * include/bits/fstream.tcc: Tweaks.
2404 * include/std/std_fstream.h: Same.
2406 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
2407 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
2408 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
2409 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
2410 * testsuite/27_io/fpos/1.cc: New.
2412 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2413 Petur Runolfsson <peturr02@ru.is>
2415 * include/std/std_streambuf.h: Remove _M_pos.
2416 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
2417 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
2418 use fread/fwrite instead of read/write.
2419 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
2420 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
2421 before reading again.
2422 * testsuite/27_io/objects/char/6.cc: Tweak.
2424 2003-07-03 David Edelsohn <edelsohn@gnu.org>
2426 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
2427 _GLIBCPP_USE_WCHAR_T.
2429 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2431 * include/bits/basic_string.tcc (_M_replace_aux): Constify
2434 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2436 * include/bits/stl_bvector.h: Fully qualify standard
2437 functions with std::, thus avoiding Koenig lookup.
2438 * include/bits/stl_construct.h: Likewise.
2439 * include/bits/stl_deque.h: Likewise.
2441 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2443 * testsuite/22_locale/num_put/put/char/7.cc: Include
2444 <testsuite_hooks.h>, tweak.
2445 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
2447 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
2449 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
2450 check* targets, but not libs/programs).
2451 * testsuite/Makefile.in: Regenerate.
2453 2003-07-01 Roger Sayle <roger@eyesopen.com>
2455 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
2456 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
2457 * aclocal.m4: Regenerate.
2458 * configure: Regenerate.
2460 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
2462 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
2463 * aclocal.m4: Regenerated.
2464 * configure: Regenerated.
2466 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
2469 * include/bits/fstream.tcc (underflow): For encoding() == 0
2470 don't read more than __buflen chars.
2471 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
2472 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
2473 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
2474 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
2476 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
2478 * 22_locale/num_put/put/char/7.cc: New.
2479 * 22_locale/num_put/put/wchar_t/7.cc: New.
2481 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2483 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
2484 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
2486 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2488 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
2489 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
2490 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
2491 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
2492 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
2493 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
2494 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
2495 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
2496 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
2497 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
2498 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
2499 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
2500 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
2501 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
2502 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
2503 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
2504 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
2505 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
2506 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
2507 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
2508 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
2509 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
2510 * data/seekoff-1.tst: Remove.
2511 * data/seekoff-1io.tst: New.
2512 * data/seekoff-1out.tst: New.
2513 * data/seekoff-2.tst: Remove.
2514 * data/seekoff-2io.tst: New.
2515 * data/seekoff-2out.tst: New.
2517 * data/seekpos-1.tst: Remove.
2518 * data/seekpos-1io.tst: New.
2519 * data/seekpos-1out.tst: New.
2520 * data/seekpos-2.tst: Remove.
2521 * data/seekpos-2io.tst: New.
2522 * data/seekpos-2out.tst: New.
2523 * data/seekpos.txt: New.
2525 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2527 * src/locale.cc (__use_cache<numpunct>): Move from here ...
2528 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
2531 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2533 * include/bits/stl_algobase.h: Fully qualify standard
2534 functions with std::, thus avoiding Koenig lookup.
2536 2003-06-30 Doug Gregor <dgregor@apple.com>
2538 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
2539 subscripting empty string.
2541 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2543 * testsuite/Makefile.am (check-am): Do not override.
2544 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
2545 * testsuite/Makefile.in: Regenerate.
2547 2003-06-30 Doug Gregor <dgregor@apple.com>
2549 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
2550 Don't initialize an insert_iterator with a singular iterator.
2552 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2554 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
2555 * aclocal.m4: Regenerate.
2556 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
2557 GLIBCPP_ENABLE_PCH, default to yes.
2558 * configure: Regenerate.
2559 * docs/html/configopts.html: Add --enable-pch.
2561 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2563 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
2564 (libstdc++-v3-init): Also set LD_RUN_PATH.
2566 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2568 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2569 from here to filebuf and stringbuf.
2570 (~basic_streambuf()): Don't set _M_mode.
2571 (basic_streambuf()): Don't set _M_mode.
2572 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2573 (~basic_filebuf()): Clean up.
2574 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2575 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2576 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2577 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2578 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2579 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2580 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2582 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2584 * include/std/std_fstream.h (_M_underflow): Remove.
2585 (uflow): Remove, inherited from streambuf.
2586 (underflow): Only declare.
2587 * include/bits/fstream.tcc (_M_underflow): Rename to
2588 underflow, to which is equivalent for __bump == false,
2590 * include/std/std_sstream.h (_M_underflow): Remove.
2591 (uflow): Remove, inherited from streambuf.
2592 (underflow): Only declare.
2593 * include/bits/sstream.tcc (_M_underflow): Rename to
2594 underflow, to which is equivalent for __bump == false,
2597 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2599 * include/bits/stl_algo.h: Fully qualify standard functions
2600 with std::, thus avoiding Koenig lookup.
2602 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2604 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2605 Improve type correctness-wise.
2606 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2608 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2610 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2613 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2615 * include/std/std_streambuf.h (uflow): According to
2616 27.5.2.4.3,p16, don't check gptr() < egptr().
2618 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2621 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2622 (seekpos): Likewise.
2623 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2625 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2628 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2630 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2631 output name to libstdc++-v3-performance.sum.
2632 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2633 * testsuite/Makefile.in: Regenerate.
2635 2003-06-27 Matthias Klose <doko@debian.org>
2637 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
2638 output of abi-check in libstdc++-v3-abi.sum.
2639 * testsuite/Makefile.in: Regenerate.
2641 2003-06-27 Krister Walfridsson <cato@df.lth.se>
2643 * config/os/bsd/netbsd/ctype_noninline.h
2644 (_C_ctype_): Declare.
2645 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2646 (ctype<char>::ctype): Use classic_table.
2648 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2649 Nathan C. Myers <ncm-nospam@cantrip.org>
2652 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2653 the worst-case number of external bytes for a given get area.
2654 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2656 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
2657 Petur Runolfsson <peturr02@ru.is>
2660 * include/bits/fstream.tcc (overflow): Properly estimate the
2661 worst-case number of external bytes for a given put area
2662 (by using codecvt::max_length()).
2663 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2664 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2665 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2666 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2668 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2670 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2672 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2674 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2675 to the imbued locale.
2676 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2678 (num_put::_M_convert_float): Use.
2680 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2681 Jerry Quinn <jlquinn@optonline.net>
2683 * config/linker-map.gnu: Add __numpunct_cache.
2684 * config/locale/gnu/numeric_members.cc
2685 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2686 all elements for "C" locale.
2687 (numpunct::~numpunct): Delete _M_data.
2688 * config/locale/generic/numeric_members.cc: Same.
2689 * include/bits/basic_ios.tcc
2690 (basic_ios::init): Remove __locale_cache bits.
2691 (basic_ios::_M_cache_locale): Same.
2692 * include/bits/ios_base.h: Same. Tweaks.
2693 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2694 (__use_cache): Make friends with _Impl, locale.
2695 (_Impl::_M_caches): Add.
2696 (_Impl::_M_install_cache): Add.
2697 * include/bits/locale_facets.h (__numpunct_cache): New.
2698 (numpunct): Encapsulate data members in __numpunct_cache member,
2699 _M_data. Adjust virtuals.
2700 (numpunct::numpunct): New ctor for the same.
2701 (__locale_cache_base): Remove.
2702 (__locale_cache): Remove.
2703 * include/bits/locale_facets.tcc (__use_cache): New function,
2705 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2706 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2707 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2708 * src/locale-inst.cc: Same. Add __numpunct_cache.
2709 * src/locale.cc: Tweak inlines.
2710 (__use_cache): Define specializations.
2711 * src/localename.cc: Use global bits.
2712 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2713 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2714 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2715 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2716 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2718 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
2719 Paolo Carlini <pcarlini@unitus.it>
2721 * testsuite/performance/filebuf_copy.cc: New, testing char
2724 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
2725 Nathan C. Myers <ncm-nospam@cantrip.org>
2727 * include/bits/fstream.tcc (_M_underflow): When the actual
2728 end of file is reached, set 'uncommitted' mode to allow a
2729 next write without an intervening seek (see C++98 27.8.1.1,2
2731 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2733 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2735 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2736 sputc): Move inline, from here...
2737 * include/std/std_streambuf.h: ... to here.
2739 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2740 sputbackc, sungetc, sputc): Use __builtin_expect.
2742 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
2744 * docs/doxygen/mainpage.html: Use a useful title.
2746 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2748 * docs/html/documentation.html: Remove assignment info.
2749 * docs/html/17_intro/contribute.html: Edits.
2750 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2752 * docs/html/test.html: Update.
2756 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2757 Ulrich Drepper <drepper@redhat.com>
2759 * testsuite/testsuite_performance.h: Tweak mallinfo.
2761 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
2762 Nathan C. Myers <ncm-nospam@cantrip.org>
2764 * include/std/std_fstream.h (_M_filepos): Remove.
2765 (_M_reading, _M_writing): New, encode the various I/O modes:
2766 'read', 'write' and 'uncommitted'.
2767 (sync): If there is something to flush, do it, then go to
2769 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2770 with three different cases: __off > 0 (upon underflow),
2771 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2773 (_M_underflow): Don't call overflow, set _M_reading to true
2775 (pbackfail): Set _M_reading to true on pback creation, tweak.
2776 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2777 set _M_writing to true on success, tweak.
2778 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2779 _M_set_buffer(-1) ('uncommitted').
2780 (open, close, setbuf): Set _M_reading, _M_writing to false and
2781 call _M_set_buffer(-1), tweak.
2782 (basic_filebuf): Don't set _M_buf_unified.
2783 (_M_destroy_internal_buffer): Don't call setg and setp.
2784 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2785 _M_writing and _M_set_buffer(-1).
2786 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2787 _M_out_lim, _M_buf_unified): Remove.
2788 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
2789 (setp): Don't set _M_out_lim.
2790 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2791 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2792 upon open the mode is 'uncommitted' and therefore the put area
2794 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2795 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2796 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2797 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2798 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2799 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2800 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2801 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2802 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2803 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2804 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2805 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2806 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2807 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2808 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2809 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2810 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2811 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2812 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2813 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2815 * include/bits/fstream.tcc (showmanyc): Use only the
2816 documented derivation interface to basic_streambuf (gptr(),
2817 setg(), etc.) to work right with user specializations.
2818 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2819 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2820 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2822 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2825 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
2827 * configure.host (freebsd*): Set abi_baseline_pair.
2828 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2829 (at or near first release) to 3.3.
2830 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2831 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2832 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2834 * include/ext/mt_allocator.h: Portability.
2835 * testsuite/testsuite_performance.h: Likewise.
2837 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2839 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2841 * testsuite/performance/ifstream_getline.cc: Fix.
2843 2003-06-23 Doug Gregor <dgregor@apple.com>
2845 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2848 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
2849 Nathan C. Myers <ncm-nospam@cantrip.org>
2851 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2852 is now used only for filebuf, when _M_buf_unified is true.
2853 epgtr() plays the role of _M_out_lim but it's only updated
2854 upon overflow, underflow, uflow, seekoff/pos.
2855 * include/bits/sstream.tcc (_M_underflow): New, implements
2856 stringbuf::underflow and uflow.
2857 (seekoff, seekpos): Tweak, use _M_update_egptr.
2858 * include/std/std_sstream.h (str): Rewrote, deal correctly
2859 with the new logic, in particular, when pptr() > egptr().
2860 (_M_sync): When __testout && !__testin set all the get area
2861 pointers to the current string end.
2862 (_M_update_egptr): New, internal function updating egptr()
2863 to the actual string end.
2864 (_M_underflow): New, declare.
2865 (underflow): Dispatch to _M_underflow(false).
2866 (uflow): Dispatch to _M_underflow(true).
2868 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2869 seekpos): Use only the documented derivation interface to
2870 basic_streambuf (gptr(), setg(), etc.) to work right with
2871 user specializations.
2872 * include/std/std_sstream.h (str, _M_sync): Likewise.
2874 2003-06-20 Doug Gregor <dgregor@apple.com>
2876 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2877 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2878 dereference end iterator.
2879 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2880 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2881 index equal to the length of a string.
2882 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2883 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2884 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2885 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2886 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2887 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2888 singular reverse iterator.
2889 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2891 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
2893 2003-06-20 Doug Gregor <dgregor@apple.com>
2895 * include/bits/basic_string.h (basic_string::replace): Dispatch
2896 _InputIterator version based on _Is_integer.
2897 * include/bits/basic_string.tcc (basic_string::replace):
2898 Renamed replace(iterator, iterator, size_type, _CharT) to
2900 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2901 Test basic_string::assign(_InputIterator, _InputIterator),
2902 which calls basic_string::replace(iterator, iterator,
2903 _Input_iterator, _InputIterator).
2905 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2907 * testsuite/testsuite_performance.h (resource_counter): Don't use
2908 mallinfo at the moment.
2910 2003-06-20 Matthias Klose <doko@debian.org>
2912 * configure.host: Set try_cpu to target_cpu for existing
2915 2003-06-19 Andreas Jaeger <aj@suse.de>
2917 * testsuite/Makefile.am (extract_symvers): Revert accidental
2919 * testsuite/Makefile.in: Regenerate.
2921 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2922 * configure: Regenerated.
2924 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
2926 * include/std/std_sstream.h (_M_sync): Make non virtual.
2928 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2930 * testsuite/testsuite_performance.h (time_counter): New.
2931 (resource_counter): New.
2932 (report_performance): New.
2933 (start_counters): New.
2934 (stop_counters): New.
2935 (clear_counters): New.
2936 * testsuite/performance/allocator.cc: Instrument.
2937 * testsuite/performance/cout_insert_int.cc: Same.
2938 * testsuite/performance/complex_norm.cc: Same.
2939 * testsuite/performance/filebuf_sputc.cc: New.
2940 * testsuite/performance/fstream_seek_write.cc: Same.
2941 * testsuite/performance/ifstream_getline.cc: Same.
2942 * testsuite/performance/map_create_fill.cc: Same.
2943 * testsuite/performance/ofstream_insert_float.cc: Same.
2944 * testsuite/performance/ofstream_insert_int.cc: Same.
2945 * testsuite/performance/string_append.cc: Convert.
2946 * scripts/check_performance: New.
2947 * testsuite/Makefile.am (check-performance): New.
2950 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2951 Benjamin Kosnik <bkoz@redhat.com>
2953 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2954 * include/bits/fstream.tcc (setbuf): Tweak.
2956 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
2958 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2959 _M_out_lim, therefore _M_move_out_cur boils down to simply
2960 updating _M_out_cur.
2961 (seekpos): Likewise, clean up.
2963 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
2964 Paolo Carlini <pcarlini@unitus.it>
2966 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2967 simply equivalent to the unbuffered case (0, 0) as far as
2968 _M_buf_size is concerned.
2970 2003-06-18 Andreas Jaeger <aj@suse.de>
2972 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2974 (baseline_file): Use baseline_dir.
2975 (baseline_dir): New.
2976 (mkinstalldirs): New.
2978 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2979 filename from baseline_dir.
2981 * testsuite/Makefile.in: Regenerated.
2982 * Makefile.in: Regenerated.
2983 * aclocal.m4: Regenerated.
2984 * configure: Regenerated.
2986 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2988 * configure.in: Missed check_survey bit.
2989 * configure: Regenerated.
2991 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2994 * config/abi/extract_symvers: Move to...
2995 * scripts/extract_symvers: ...here.
2996 * mkcheck.in: Move to..
2997 * scripts/check_survey.in: ...here.
2998 * testsuite_flags.in: Move to..
2999 * scripts/testsuite_flags.in: ...here.
3000 * configure.in: Change check and testsuite_flags locations.
3001 * configure: Regenerate.
3002 * testsuite/Makefile.am (current_symbols.txt): Change location.
3003 * testsuite/Makefile.in: Regenerate.
3004 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
3005 location of testsuite_flags.
3006 * Makefile.am (check-script): Move..
3007 (check-script-install): Move...
3008 * testsuite/Makefile.am: ... here.
3009 * testsuite/Makefile.in: Regenerate.
3010 * Makefile.in: Regenerate.
3012 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
3014 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
3016 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
3018 * Makefile.am (check-abi): Move...
3019 (new-abi-baseline): Move...
3020 * testsuite/Makefile.am: ...here.
3021 (new-abi-baseline): Conditionalize.
3022 (check-abi): Conditionalize.
3023 (check-abi-verbose): New.
3024 * Makefile.in: Regenerate.
3025 * testsuite/Makefile.in: Regenerate.
3026 * configure.in: Consolidate testsuite configure bits.
3027 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
3028 * configure: Regenerate.
3029 * aclocal.m4: Regenerate.
3030 * testsuite/abi_check.cc: Add --check-verbose.
3031 Only output detailed information if --check-verbose.
3033 2003-06-16 Andreas Jaeger <aj@suse.de>
3035 * testsuite/abi_check.cc: Create summary report.
3037 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3039 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
3040 for systems with BUFSIZ != 8192.
3041 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
3042 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
3045 2003-06-16 Andreas Jaeger <aj@suse.de>
3047 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
3048 check-abi multilib aware.
3049 * aclocal.m4: Regenerate.
3050 * configure: Regenerate.
3052 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
3053 Andreas Jaeger <aj@suse.de>
3055 * configure.host: Set x86_64 abi_baseline pair correctly.
3057 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3059 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
3060 fix for missing seeks between gets and puts into...
3061 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
3062 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
3063 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
3064 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
3065 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
3066 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
3068 2003-06-15 Richard Henderson <rth@redhat.com>
3070 * config/linker-map.gnu: Export virtual function thunks for
3073 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
3075 * config/abi/i686-pc-linux-gnu: To..
3076 * config/abi/i486-linux-gnu: ...this.
3077 * config/abi/alphaev67-unknown-linux-gnu: To..
3078 * config/abi/alpha-linux-gnu: ...this.
3079 * config/abi/ia64-unknown-linux-gnu: To...
3080 * config/abi/ia64-linux-gnu: ...this.
3081 * config/abi/x86_64-unknown-linux-gnu: To...
3082 * config/abi/x86_64-linux-gnu: ...this.
3083 * config/abi/i386-unknown-freebsd4: To...
3084 * config/abi/i386-freebsd4: ...this.
3085 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
3087 * configure.host: abi_baseline_triplet to abi_baseline_pair.
3088 Simplify cpu bits so that abi_baseline_pair can use the same
3090 * acinclude.m4: Same.
3091 * aclocal.m4: Regenerate.
3092 * configure.in: Can't get enable_abi_check to yes unless native.
3093 * configure: Regenerate.
3095 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
3097 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
3098 fix for missing seeks between gets and puts into...
3099 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
3100 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
3101 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
3102 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
3103 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
3104 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
3105 for missing seeks between gets and puts.
3106 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
3107 * testsuite/data/seekoff-1.tst: New.
3108 * testsuite/data/seekoff-2.tst: New.
3109 * testsuite/data/seekpos-1.tst: New.
3110 * testsuite/data/seekpos-2.tst: New.
3112 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
3114 Avoid multi-processor bus contention on increment/decrement-and-
3115 test of the reference count in the empty-string object, by comparing
3116 addresses first, and never touching the reference count of the empty-
3118 * include/bits/basic_string.h:
3119 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
3121 (_Rep::_S_empty_rep()): New accessor.
3122 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
3123 a base class _Rep_base.
3124 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
3125 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
3126 since no longer must increment its refcount.
3127 * include/bits/basic_string.tcc:
3128 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
3129 return immediately. The former might be unnecessary. The latter
3130 prevents begin() and end() from cloning it unnecessarily.
3131 (_S_construct(_InIterator, _InIterator, const _Alloc&,
3132 input_iterator_tag), _S_construct(_InIterator, _InIterator,
3133 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
3134 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
3135 (_M_mutate): Check for the empty string and treat it as shared.
3136 This is necessary here because _M_mutate is sometimes called with
3137 all-zero arguments; in all other uses of _M_is_shared, the test comes
3140 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
3142 * src/allocator-inst.cc: Explicitly instantiate.
3143 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
3145 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
3147 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3149 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
3150 * aclocal.m4: Regenerate.
3151 * Makefile.am (SUBDIRS): Remove libio.
3152 * Makefile.in: Regenerate.
3153 * configure.in: Same.
3154 * configure: Regenerate.
3155 * config/io/basic_file_libio.cc: Remove.
3156 * config/io/basic_file_libio.h: Remove.
3157 * config/io/c_io_libio_codecvt.c: Remove.
3158 * config/io/c_io_libio.h: Remove.
3160 * src/Makefile.am: Same.
3161 * src/Makefile.in: Regenerate.
3162 * docs/html/configopts.html: Edits.
3163 * docs/html/explanations.html: Edits.
3165 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3167 * include/bits/stl_alloc.h (__debug_alloc): Move out.
3168 (__malloc_alloc): Same.
3169 (__pool_alloc): Same.
3170 (__new_alloc): Same.
3172 * include/bits/allocator.h: ...this.
3173 * include/bits/stl_deque.h: Modify comment.
3174 * include/bits/stl_tree.h: Modify include.
3175 * include/std/std_memory.h: Same.
3176 * include/ext/rope: Same.
3177 * include/ext/slist: Same.
3178 * include/std/std_vector.h: Same.
3179 * include/std/std_stack.h: Same.
3180 * include/std/std_queue.h: Same.
3181 * include/std/std_list.h: Same.
3182 * include/std/std_deque.h: Same.
3183 * include/backward/alloc.h: Same.
3184 * include/ext/debug_allocator.h: New.
3185 * include/ext/malloc_allocator.h: New.
3186 * include/ext/pool_allocator.h: New.
3187 * include/ext/new_allocator.h: New.
3188 * include/bits/pthread_allocimpl.h: Remove.
3189 * include/bits/stl_pthread_alloc.h: Remove.
3190 * include/Makefile.am (ext_headers): Add.
3191 * include/Makefile.in: Regenerate.
3192 * src/stl-inst.cc: Use __gnu_cxx namespace.
3193 * src/stl-inst.cc: Move to...
3194 * src/allocator-inst.cc: Here.
3195 * src/Makefile.am (sources): Update.
3196 * src/Makefile.in: Regenerate.
3197 * config/linker-map.gnu: Remove __pool_alloc bits.
3198 * testsuite/ext/headers.cc: Add.
3199 * testsuite/ext/allocators.cc: Fixup.
3201 2003-06-11 Stefan Olsson <stefan@snon.net>
3202 Ola Rönnerup <fnolis@home.se>
3204 * include/Makefile.am (ext_headers): Add.
3205 * include/Makefile.in: Regenerate.
3206 * include/ext/mt_allocator.h: New file.
3208 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3210 * include/bits/fstream.tcc (close): Clean up a bit.
3212 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
3214 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
3215 - the saved _M_in_cur, that is - cannot be null.
3216 (sync): Constify a variable.
3218 * include/std/std_streambuf.h: Tweak a comment.
3219 (in_avail): Constify a variable.
3221 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
3223 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
3224 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
3225 correctness of container::iterator typedefs. Fix whitespace.
3226 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
3228 * docs/html/documentation.html: Regenerate.
3230 * include/bits/basic_string.h, include/bits/basic_string.tcc,
3231 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
3232 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
3233 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
3234 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
3235 include/bits/stl_vector.h, include/bits/vector.tcc,
3236 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
3237 Change _Iter names to _Iterator, and __pos to __position.
3239 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
3240 include/bits/stl_multiset.h, include/bits/stl_set.h:
3241 Remove emacs markers.
3243 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
3245 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3247 * include/bits/fstream.tcc (overflow): According to
3248 27.5.2.4.5, overflow() returns not_eof(eof()).
3249 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
3250 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
3252 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3254 * include/bits/fstream.tcc (_M_underflow): Check overflow return
3255 value; tweak slightly.
3257 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3259 * include/bits/fstream.tcc (_M_underflow): Do not special
3260 case the unbuffered case, which really means simply a one char
3262 (basic_filebuf): Initialize _M_buf_size.
3263 (setbuf): Unbuffered means _M_buf_size == 1, since only
3264 _M_buf_size - 1 == 0 chars are going to be used for the
3265 put area and 1 for the get area.
3266 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
3267 (~basic_streambuf): Tweak.
3268 (basic_streambuf): Do not initialize _M_buf_size.
3269 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
3270 (~basic_filebuf): Tweak.
3271 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
3272 unbuffered situation (i.e., put area pointers NULL).
3273 * include/bits/streambuf.tcc (sbumpc): Clean up.
3274 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
3275 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
3276 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
3277 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
3278 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
3279 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
3280 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
3282 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
3284 * acinclude.m4: Move all AM_CONDITIONAL calls out.
3285 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
3287 * configure.in: Centralize AM_CONDITIONALs so that they are always
3288 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
3289 * aclocal.m4, configure: Regenerated.
3291 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3293 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
3295 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
3297 * include/bits/stl_iterator.h
3298 (reverse_iterator::reverse_iterator()): Apply DR235: default
3299 constructor default-initializes data member. Instantiated on a
3300 pointer type, the member has to end up equal to zero.
3302 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
3304 * include/bits/stl_alloc.h: Cleanups.
3305 * include/ext/functional: Same.
3306 * include/ext/hash_map: Same.
3307 * include/ext/hash_set: Same.
3308 * include/ext/iterator: Same.
3309 * include/ext/memory: Same.
3310 * include/ext/numeric: Same.
3311 * include/ext/rb_tree: Same.
3312 * include/ext/ropeimpl.h: Same.
3313 * include/ext/slist: Same.
3314 * include/ext/stdio_filebuf.h: Same.
3315 * include/ext/stdio_sync_filebuf.h: Same.
3316 * include/ext/stl_rope.h: Move to...
3317 * include/ext/rope: ...here.
3318 * include/ext/stl_hash_fun.h: Move to...
3319 * include/ext/hash_fun.h: ...here.
3320 * include/ext/stl_hashtable.h: Move to...
3321 * include/ext/hashtable.h: ...here.
3322 * include/backward/hashtable.h: Reflect new names.
3323 * include/Makefile.am: Same.
3324 * include/Makefile.in: Regenerated.
3326 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
3329 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
3330 * include/bits/stl_algobase.h: Tweak.
3331 * include/std/std_fstream.h: Move _M_buf_size to...
3332 * include/std/std_streambuf.h: ...here. Modify.
3333 * include/bits/streambuf.tcc: Same.
3334 * testsuite/testsuite_hooks.h: Tweak.
3335 * testsuite/testsuite_io.h (constraint_filebuf): New.
3336 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
3337 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
3338 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
3339 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
3340 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
3341 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
3342 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
3343 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
3344 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
3345 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
3346 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
3347 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
3348 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
3349 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
3350 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
3351 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
3352 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
3353 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
3354 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
3355 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
3356 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
3357 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
3358 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
3359 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
3360 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
3361 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
3362 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
3363 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
3364 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
3365 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
3366 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
3367 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
3368 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
3369 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
3370 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
3371 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
3372 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
3373 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
3374 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
3375 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
3376 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
3377 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
3378 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
3379 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
3380 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
3381 * testsuite/data/sgetc.txt: New.
3382 * testsuite/data/sgetn.txt: New.
3384 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
3387 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
3388 Deal with width() smaller than zero.
3389 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
3390 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
3391 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
3392 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
3393 operator<<(basic_ostream, const basic_string&)): Likewise.
3395 * testsuite/27_io/basic_istream/extractors_character/char/
3396 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3397 * testsuite/27_io/basic_ostream/inserters_character/char/
3398 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3399 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
3400 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
3402 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3404 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
3405 .gch compilation works.
3406 * aclocal.m4, configure: Regenerate.
3407 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
3408 initialize PCHFLAGS.
3410 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
3412 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
3413 erase(iterator), erase(iterator, iterator), c_str,
3414 compare(const basic_string&)): Constify various variables.
3415 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
3416 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
3417 _S_create, resize, _M_replace, _M_replace_safe,
3418 append(const basic_string&), append(const basic_string&, size_type,
3419 size_type), append(const _CharT*, size_type), append(size_type,
3420 _CharT), operator+(const _CharT*, const basic_string&),
3421 operator+(_CharT, const basic_string&), replace(iterator, iterator,
3422 size_type, _CharT), find(const _CharT*, size_type, size_type),
3423 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
3424 rfind(_CharT, size_type), compare(size_type, size_type,
3425 const basic_string&), compare(size_type, size_type,
3426 const basic_string&, size_type, size_type), compare(const _CharT*),
3427 compare(size_type, size_type, const _CharT*), compare(size_type,
3428 size_type, const _CharT*, size_type)): Likewise.
3430 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
3432 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
3433 'if' branch less obscure.
3435 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
3438 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
3440 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
3441 (__atomic_add): likewise.
3443 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3445 * include/bits/sstream.tcc (pbackfail): Minor clean up and
3446 reformatting, consistent with basic_filebuf::pbackfail.
3448 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
3451 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
3452 __attribute__ ((__unused__)).
3453 * config/os/aix/atomicity.h: Likewise.
3455 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3458 * include/bits/fstream.tcc (pbackfail): If the pback buffer
3459 is already active don't try to store in it a second char.
3460 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
3462 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
3464 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3466 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
3469 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3471 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
3472 instead of unnecessarily taking the address of _M_pback.
3473 (xsgetn): Simplify slightly for a single char pback buffer.
3475 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3477 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
3478 variables and two 'if', clean up.
3480 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3482 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
3483 not _M_out_end, since the former actually points to the string
3484 end (vs buffer end).
3485 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
3487 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
3489 * docs/doxygen/filter: New file.
3490 * docs/doxygen/filter.sed: New file.
3491 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
3492 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
3493 * docs/html/documentation.html: Fix links to doxygen pages.
3495 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
3497 * include/bits/fstream.tcc (_M_convert_to_external): Don't
3498 check for __ilen > 0.
3500 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3503 * include/bits/stl_iterator.h (class __normal_iterator):
3504 Don't inherit from iterator, add missing typedefs.
3506 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
3508 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
3509 * testsuite/24_iterators/reverse_iterator/1.cc: New.
3510 * testsuite/24_iterators/reverse_iterator/2.cc: New.
3511 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
3514 2003-05-27 Steve Ellcey <sje@cup.hp.com>
3516 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
3518 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
3519 _LIBUNWIND_STD_ABI is set.
3521 2003-05-26 Brendan Kehoe <brendan@zen.org>
3523 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
3524 make sure the number of digits required after the decimal-point
3525 (if any) is exactly the value returned by frac_digits().
3526 * testsuite/22_locale/money_get/get/char/9.cc: New.
3527 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
3529 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
3531 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
3534 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
3537 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
3538 (_M_pback): No array necessary.
3539 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
3540 unbuffered case, coalesec into ...
3541 (basic_filebuf::overflow): ...this.
3542 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
3543 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
3545 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
3547 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
3548 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
3549 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
3550 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
3551 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
3552 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
3553 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
3554 libsupc++/eh_unex_handler.cc, libsupc++/exception,
3555 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
3556 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
3557 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
3558 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
3559 Replace "GNU CC" with "GCC".
3561 * include/backward/new.h: Replace "GNU CC" with "GCC".
3563 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3566 * configure.in: Switch target to host, don't assume newlib.
3567 (target_alias): Remove.
3568 * configure: Regenerate.
3569 * acinclude.m4: Same.
3570 * aclocal.m4: Regenerate.
3571 * configure.target: Same. Rename to...
3572 * configure.host: This.
3574 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3576 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3577 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3579 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3580 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3581 of _S_pback_size for systems with no COMDAT or weak support.
3582 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3583 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3584 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3585 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3586 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3587 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3588 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3589 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3590 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3592 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3594 * include/bits/fstream.tcc (_M_underflow): Simplify:
3595 !__testout implies _M_filepos == _M_in_end, therefore
3596 the first _M_file.seekoff call is never issued.
3598 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3600 * configure.in: Sort cross table.
3601 * configure: Regenerate.
3603 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3606 * configure.in: Add Solaris cross bits.
3608 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3610 * libstdc++-v3/config/os/mingw32/os_defines.h
3611 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3612 (NOMINMAX): Define. Update copyright year.
3614 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3616 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3618 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3620 * docs/html/faq/index.html: Fix typo.
3621 * docs/html/faq/index.txt: Regenerate.
3623 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3625 * docs/html/test.html: Fix markup.
3627 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3629 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3631 Update copyright year.
3633 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3635 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
3637 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
3639 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
3640 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
3642 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3644 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
3645 Cast via void* to avoid -Wcast-align warnings.
3646 (__default_alloc_template::_S_refill): Likewise.
3648 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
3650 * testsuite/README: Move to...
3651 * docs/html/test.html: ...here. Add documentation.
3652 * docs/html/install.html: Move testing bits out..
3653 * docs/html/documentation.html: Add separate testing link.
3654 * testsuite/performance: Add.
3655 * testsuite/performance/allocator.cc: New.
3656 * testsuite/performance/complex_norm.cc: New.
3657 * testsuite/performance/cout_insert_int.cc: New.
3658 * testsuite/performance/fstream_seek_write.cc: New.
3659 * testsuite/performance/ifstream_getline.cc: New.
3660 * testsuite/performance/map_create_fill.cc: New.
3661 * testsuite/performance/ofstream_insert_float.cc: New.
3662 * testsuite/performance/ofstream_insert_int.cc: New.
3663 * testsuite/performance/string_append.cc: New.
3664 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
3667 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
3670 * include/std/std_complex.h (pow): Tidy.
3672 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
3674 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
3675 that upon filebuf::close() 27.8.1.1,3 is enforced.
3677 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
3679 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
3681 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
3682 Nathan Myers <ncm@cantrip.org>
3684 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
3685 _M_convert_to_external only once (_M_buf_size is now the size of
3686 the put area + 1 for the overflow char of a full area); call
3687 _M_set_buffer instead of _M_set_indeterminate.
3688 (setbuf): Don't accept a buffer smaller than 2 chars.
3689 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
3690 instead of _M_set_determinate.
3691 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
3692 (seekoff): Likewise.
3693 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
3694 std::ios_base::openmode, bool, size_t),
3695 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
3697 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
3698 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
3700 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
3701 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
3702 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
3703 the put area is now BUFSIZ - 1.
3704 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
3705 that now the smallest _M_buf_size is 2 (still fails, for the same
3708 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
3710 * testsuite/thread/pthread4.cc: Tweak test.
3712 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
3714 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
3715 excess errors dg marker, use dg-errors instead.
3716 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
3717 * testsuite/20_util/auto_ptr_neg.cc: Same.
3719 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3721 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
3723 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
3724 Initialize _M_codecvt.
3725 (basic_filebuf::imbue): Same.
3726 (basic_filebuf::showmanyc): Use it.
3727 (basic_filebuf::underflow): Use it.
3728 (basic_filebuf::_M_convert_to_external): Use it.
3729 (basic_filebuf::seekoff): Use it.
3730 (basic_filebuf::imbue): Use it, tweaks.
3731 * include/bits/localefwd.h (__check_facet): New.
3732 * include/bits/locale_classes.h: Tweaks.
3733 * include/bits/locale_facets.tcc: Tweaks.
3734 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
3735 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
3736 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
3737 * include/bits/basic_ios.tcc: Same.
3738 * include/bits/istream.tcc: Same.
3739 * include/bits/ostream.tcc: Same.
3740 * include/std/std_streambuf.h: Same.
3741 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
3742 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
3743 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
3744 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
3745 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
3746 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
3748 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3750 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
3751 unnecessary includes and unused string literals.
3752 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
3753 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
3754 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
3755 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
3757 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3759 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
3761 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
3763 * include/std/std_fstream.h (_M_convert_to_external): Change
3764 to return bool, take two less streamsize parameters.
3765 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
3766 consistently definition.
3767 (_M_overflow): Adjust call points.
3769 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
3771 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
3773 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3775 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
3776 * testsuite/Makefile.in: Regenerate.
3778 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
3780 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
3781 * testsuite/Makefile.in: Regenerate.
3783 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
3786 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
3787 (acos): Handle integer argument.
3806 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
3807 (__enable_if): Likewise.
3808 * testsuite/26_numerics/cmath/overloads.C: New test.
3810 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3815 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
3816 implementation, based on old wchar_t specialization, add support
3817 for codecvt::in() return value of codecvt_base::noconv, remove
3818 _M_file.sys_ungetc() call.
3819 * include/std/std_fstream.h (basic_file::underflow,
3820 basic_file::uflow, basic_file::_M_underflow): Remove
3821 specialization declarations, call _M_underflow from generic versions
3822 of underflow and uflow.
3823 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
3824 basic_file::_M_underflow): Remove specializations.
3825 * src/Makefile.am (sources): Remove fstream.cc.
3826 * src/Makefile.in: Regenerated.
3827 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
3828 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
3829 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
3830 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
3832 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
3834 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
3836 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
3838 (__basic_file::xsputn): Same.
3839 (__basic_file::seekoff): Same.
3840 (__basic_file::seekpos): Same.
3841 (__basic_file::showmanyc): Same.
3842 * config/io/basic_file_stdio.cc: Same.
3843 * include/std/std_fstream.h: Same.
3844 * include/bits/fstream.tcc: Same.
3845 * src/fstream.cc: Same.
3846 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
3848 2003-05-10 Petur Runolfsson <peturr02@ru.is>
3853 * include/ext/stdio_sync_filebuf.h: New file.
3854 (basic_stdiobuf): New.
3855 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
3856 * include/Makefile.in: Regenerate.
3857 * include/bits/ios_base.h (Init::_S_create_buffers,
3858 Init::_S_destroy_buffers): Remove declarations.
3859 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
3860 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
3861 * src/ios.cc (Init::_S_create_buffers,
3862 Init::_S_destroy_buffers): Remove.
3863 (Init::Init): Create and use syncronized buffers.
3864 (ios_base::sync_with_stdio): Destroy syncronized buffers,
3865 create and install unsyncronized buffers.
3866 * testsuite/27_io/objects/char/10.cc: New test.
3867 * testsuite/27_io/objects/char/9.cc: New test.
3868 * testsuite/27_io/objects/char/9661-1.cc: New test.
3869 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
3870 * testsuite/27_io/objects/char/9661-2_xin.in: New.
3871 * testsuite/27_io/objects/wchar_t/1.cc: New test.
3872 * testsuite/27_io/objects/wchar_t/10.cc: New test.
3873 * testsuite/27_io/objects/wchar_t/2.cc: New test.
3874 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
3875 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
3876 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
3877 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
3878 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
3879 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
3880 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
3881 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
3882 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
3883 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
3884 * testsuite/27_io/objects/wchar_t/5.cc: New test.
3885 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
3886 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
3887 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
3888 * testsuite/27_io/objects/wchar_t/6.cc: New test.
3889 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
3890 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
3891 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
3892 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
3893 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
3894 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
3895 * testsuite/27_io/objects/wchar_t/7.cc: New test.
3896 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
3897 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
3898 * testsuite/27_io/objects/wchar_t/8.cc: New test.
3899 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
3900 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
3901 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
3902 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
3903 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
3904 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
3905 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
3906 * testsuite/ext/stdiobuf_char.cc: New test.
3907 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
3909 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
3911 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
3912 unnecessary includes and unused string literals.
3913 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
3915 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
3917 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
3919 2003-05-07 Richard Henderson <rth@redhat.com>
3922 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
3923 (__cxa_end_catch): Likewise.
3924 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
3925 _Unwind_Resume_or_Rethrow.
3926 * libsupc++/eh_personality.cc (empty_exception_spec): New.
3927 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
3928 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
3929 exceptions. Don't push terminate/unexpected to cxa functions.
3930 (__cxa_call_unexpected): Remove foreign exception fixmes.
3932 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
3934 * testsuite/27_io/ios_base/cons: New.
3935 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
3936 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
3938 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
3940 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
3942 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
3943 there is no buffer or __testget == !__testinit.
3946 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
3947 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
3949 * include/std/std_fstream.h (_M_destroy_pback): Don't set
3950 unnecessarily _M_pback_cur_save and _M_pback_end_save.
3952 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
3954 * include/std/std_sstream.h (_M_sync): Minor tweak.
3956 * include/bits/fstream.tcc (close): No need to call
3957 _M_destroy_pback, setting _M_pback_init to false suffices
3960 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
3962 * include/bits/stl_algo.h: Enums as _S_.
3963 * include/bits/stl_tree.h: Same.
3964 * include/bits/stl_bvector.h: Same.
3965 * include/bits/ios_base.h: Same.
3966 * include/bits/stl_alloc.h: Same.
3967 * include/ext/stl_hashtable.h: Same.
3968 * src/ios.cc: And here.
3970 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
3971 * include/bits/sstream.tcc: Same.
3973 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
3975 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
3977 * include/bits/locale_facets.h (__num_base): Remove protected.
3978 Use _S_[io]* names for enumerations.
3979 (_S_format_int): Remove.
3980 * include/bits/locale_facets.tcc: Same.
3981 * src/locale.cc: Same.
3983 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
3985 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
3987 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
3988 * docs/html/faq/index.txt: Regenerated.
3990 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
3991 Matt Kraai <kraai@alumni.cmu.edu>
3993 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
3996 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
3998 * configure.target (mips*): Use the generic atomicity.h by default.
4000 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
4001 (Inspired by an alternate patch from Danny Smith.)
4003 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
4004 (_Swap_lock_struct<>): ...and the horse it rode in on.
4005 * src/globals.cc (_Swap_lock_struct<>): Likewise.
4006 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
4007 member to support...
4008 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
4009 visibility rules related to POSIX threads.
4010 * testsuite/thread/pthread7-rope.cc: New test.
4012 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
4014 * testsuite/21_strings/basic_string/find/char/3.cc: New
4015 file, testing basic_string<char>::find_first_not_of.
4016 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
4017 Likewise for basic_string<wchar_t>.
4019 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
4021 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
4023 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
4025 * include/Makefile.am (CLEANFILES): Remove PCH files in target
4027 * include/Makefile.in: Regenerate.
4029 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
4031 * include/std/std_sstream.h (str()): Tidy.
4033 2003-05-02 Nathan Myers <ncm@cantrip.org>
4034 Paolo Carlini <pcarlini@unitus.it>
4036 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
4038 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
4040 * include/bits/basic_string.h (swap): Remove redundant template
4041 parameters from declaration of non-template member function.
4043 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
4045 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
4046 * configure.in: Move libintl.h header test...
4047 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
4048 the NLS-related test results into one symbol.
4049 * src/functexcept.cc: Use it here.
4050 * aclocal.m4, config.h.in, configure: Regenerated.
4052 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4054 * include/bits/sstream.tcc (overflow): Instead of calling
4055 str(), then _M_string.reserve, thus copying the contents
4056 of the current buffer two times, just copy the latter in
4057 a temporary, then use the 'swap trick'.
4059 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4061 * include/std/std_sstream.h (str()): Revert the best of the
4062 previous 'improvement', incorrect due to the COW nature of
4063 v3 basic_string; simplify.
4065 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4067 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
4068 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
4070 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4072 * testsuite/abi_check.cc (check_version): Update known versions.
4073 Check added symbols for version_name != base version. Add missing
4074 symbols to incompatible list.
4076 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4078 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
4079 * aclocal.m4: Regenerated.
4080 * configure: Regenerated.
4082 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4084 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
4085 Const-ify some variables.
4086 (basic_streambuf::xsputn): Likewise; change the type of some
4087 variables to size_t.
4088 (__copy_streambufs): Change some variables to size_t.
4090 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4092 * include/std/std_sstream.h (str()): Avoid constructing
4093 a basic_string temporary not only when it would turn out
4094 to be zero-sized but also when identical to the current
4097 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4099 * include/ext/stdio_filebuf.h
4100 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
4101 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
4102 Shorten a bit (-10 lines) by factoring out some code.
4104 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
4106 * acinclude.m4: Add bit missing from previous patch.
4107 * aclocal.m4, configure: Regenerated.
4109 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4111 * docs/doxygen/mainpage.html: Bring up to date.
4112 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
4114 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
4115 breaks everything. Don't scan them.
4116 * docs/html/documentation.html: Point to "Write after approval"
4119 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4121 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
4122 of libc if message translations are being used. Fix info text in
4123 xieee_1003.1-2001 case.
4124 * aclocal.m4, configure: Regenerate.
4126 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
4127 Loren J. Rittle <ljrittle@acm.org>
4128 Martin v. Loewis <martin@v.loewis.de>
4130 * config/cpu/i386/atomicity.h: New file.
4132 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4134 * include/bits/fstream.tcc (open): Change to single return.
4136 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4138 * include/std/std_sstream.h (underflow): Change to single return.
4140 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4142 * include/std/std_streambuf.h (_M_buf): is currently
4143 used only for basic_filebuf, therefore move it there.
4144 (basic_streambuf(), ~basic_streambuf()): Adjust.
4145 * include/std/std_fstream.h (_M_buf): Moved here.
4146 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
4147 is actually redundant for basic_stringbuf.
4148 (_M_really_sync): Likewise.
4149 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4150 * include/bits/sstream.tcc (seekoff): Adjust.
4152 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4154 * src/localename.cc: Standardize exception strings.
4155 * src/locale.cc: Same.
4157 * include/bits/basic_string.tcc: Same.
4158 * include/bits/basic_ios.tcc: Same.
4159 * include/std/std_bitset.h: Same.
4160 * include/ext/ropeimpl.h: Same.
4161 * include/bits/stl_vector.h: Same.
4162 * include/bits/stl_deque.h: Same.
4163 * include/bits/stl_bvector.h: Same.
4164 * config/locale/generic/c_locale.cc: Same.
4165 * config/locale/gnu/c_locale.cc: Same.
4166 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
4168 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
4170 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4172 * include/std/std_streambuf.h (_M_buf_size): is currently
4173 used only for basic_filebuf, therefore move it there.
4174 (basic_streambuf(), ~basic_streambuf()): Adjust.
4175 * include/std/std_fstream.h (_M_buf_size): Moved here.
4176 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4178 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4180 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
4181 _M_buf_size (synced input is now correctly dealt with
4182 elsewhere); when the output buffer is full don't fall back
4183 to a snextc-sputc loop, call overflow instead.
4185 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4187 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
4188 the innermost 'if' by factoring out some code.
4190 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
4192 * configure.in: Test for libintl.h.
4193 * include/bits/c++config: Define __N for everybody.
4194 * include/bits/basic_string.h, include/bits/stl_bvector.h,
4195 include/bits/stl_deque.h, include/bits/stl_vector.h,
4196 include/std/std_bitset.h: Wrap all __throw* text with __N.
4197 * po/Makefile.am (pot): New rule, mostly working.
4198 * src/functexcept.cc: Call gettext on all __throw* arguments when
4199 -fexceptions is in effect.
4200 * po/Makefile.in, config.h.in, configure: Regenerate.
4202 2003-04-28 Petur Runolfsson <peturr02@ru.is>
4205 * include/bits/ios_base.h (Init::_S_ios_create,
4206 Init::_S_ios_destroy): Remove declarations.
4207 (Init::_S_create_buffers,
4208 Init::_S_destroy_buffers): Declare
4209 * src/ios.cc (Init::_S_ios_create): Remove
4210 (Init::_S_create_buffers): Create buffers and add to streams.
4211 (Init::_S_ios_destroy): Rename to...
4212 (Init::_S_destroy_buffers): this.
4213 (Init::Init): Only construct streams once.
4214 (Init::~Init): Flush streams, don't destroy them.
4215 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
4216 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
4217 * testsuite/27_io/objects/char/5.cc: New test.
4218 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
4219 * testsuite/27_io/objects/char/6.cc: New test.
4220 * testsuite/27_io/objects/char/7.cc: New test.
4222 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4224 * testsuite/27_io/objects/char/8.cc: New test.
4226 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4228 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
4229 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
4231 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4233 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
4234 _M_destroy_pback. _M_pback_create to
4235 _M_create_pback. _M_underflow_common to
4236 _M_underflow. _M_really_overflow to _M_overflow.
4237 * include/bits/fstream.tcc: Same.
4238 * src/fstream.cc: Same.
4239 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
4240 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
4241 * include/bits/streambuf.tcc: Same.
4242 * include/bits/fstream.tcc: Same.
4243 * include/bits/sstream.tcc: Same.
4245 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4247 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
4248 from fixed size array.
4249 (locale): Change _S_categories as well.
4251 * include/bits/locale_facets.tcc: Tweak.
4252 * config/locale/gnu/c_locale.cc: Assign _S_categories.
4253 * config/locale/generic/c_locale.cc: Same.
4254 * src/locale.cc: Tweak.
4255 * src/globals.cc: Change facet_name to name_vec, add names_c.
4256 * src/localename.cc: Use them.
4257 (locale::_Impl::~_Impl): Destroy _M_names.
4258 (locale::_Impl::_Impl): Create _M_names.
4260 2003-04-27 Andreas Schwab <schwab@suse.de>
4262 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
4263 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
4265 2003-04-27 Nathan Myers <ncm@cantrip.org>
4267 Move some basic_string members out of line because
4268 they are too big to reasonably be inline.
4269 * include/bits/basic_string.h
4270 (assign(const basic_string&, size_type, size_type),
4271 assign(const _CharT*, size_type),
4272 insert(size_type, const basic_string&, size_type, size_type),
4273 insert(size_type, const _CharT*, size_type),
4274 replace(size_type, size_type, const _CharT*, size_type)):
4275 Move from here to...
4276 * include/bits/basic_string.tcc: ...here.
4278 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4280 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
4281 the innermost 'if' by factoring out some code.
4283 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4285 * include/bits/streambuf.tcc (__copy_streambufs): Don't
4286 use in_avail(), simplify.
4288 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4290 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
4291 in basic_stringbuf it's unused.
4293 * include/std/std_sstream.h (underflow): consistently use
4294 _M_in_cur, not gptr().
4296 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
4297 Phil Edwards <pme@gcc.gnu.org>
4299 * testsuite_flags.in: Guard against the possibility
4300 of having "xgcc" as a part of a folder name in the
4301 path to the GCC build folder.
4302 * testsuite/Makefile.am: Likewise.
4303 * testsuite/Makefile.in: Regenerated.
4305 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4308 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
4309 exception specifications.
4310 (basic_filebuf::close): Same.
4311 (basic_filebuf::_M_pback_destroy): Same.
4312 (basic_filebuf::_M_destroy_internal_buffer): Same.
4313 (basic_filebuf): Remove __res_type typedef.
4314 * src/fstream.cc: Same.
4315 * include/bits/fstream.tcc
4316 (basic_filebuf::_M_convert_to_external): Simplify.
4317 (basic_filebuf::seekoff): Use has_facet before use_facet.
4318 (basic_filebuf::close): Add exception specification of throw().
4319 * testsuite/27_io/basic_filebuf/cons: New.
4320 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
4321 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
4322 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
4323 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
4325 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4327 * include/bits/locale_classes.h
4328 (locale::_S_extra_categories_size): Remove.
4329 * src/locale.cc: Remove _S_extra_categories_size.
4330 * src/localename.cc: Same.
4331 * config/locale/gnu/c_locale.cc: Same.
4332 * config/locale/generic/c_locale.cc: Same.
4334 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
4336 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
4338 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
4340 * docs/html/17_intro/howto.html: Update some links.
4341 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
4342 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
4343 * docs/html/ext/howto.html: Link to demangler notes and API.
4344 * docs/html/faq/index.html: Remove trailing whitespace.
4345 (1.4, 2.4, 3.8, 4.1): Bring up to date.
4346 (5.6): Change to a bulleted list.
4348 * docs/html/faq/index.txt, docs/html/documentation.html,
4349 docs/html/17_intro/porting.html: Regenerate.
4351 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
4353 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
4354 belongs to basic_filebuf.
4355 * testsuite/27_io/basic_fstream/3.cc: Likewise.
4356 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
4357 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
4358 instantiation (now belongs to basic_filebuf).
4359 * testsuite/27_io/basic_iostream/3.cc: Likewise.
4360 * testsuite/27_io/basic_istream/3.cc: Likewise.
4361 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4362 _S_pback_size now belongs to basic_filebuf.
4363 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
4364 instantiation (now belongs to basic_filebuf).
4365 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
4366 belongs to basic_filebuf.
4367 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
4368 instantiation (now belongs to basic_filebuf).
4369 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
4370 _S_pback_size now belongs to basic_filebuf.
4371 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
4372 instantiation (now belongs to basic_filebuf).
4373 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
4375 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
4376 instantiation (now belongs to basic_filebuf).
4377 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
4379 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4381 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
4382 * configure: Regenerated.
4384 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4386 * config/locale/generic/c_locale.h (__convert_from_v): Use
4389 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
4391 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
4392 implementation only.
4393 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
4394 Comment and change to comply with DR 60 and the effect on gcount().
4395 * include/std/std_istream.h: Update comments.
4396 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
4397 comments about reasons for tests. Test sync() against gcount().
4398 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
4399 for effect on gcount().
4400 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
4401 for effect on gcount().
4403 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
4405 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
4408 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
4410 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
4411 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4412 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
4413 (basic_streambuf::basic_streambuf()): Adjust.
4414 * include/std/std_fstream.h (_S_pback_size, _M_pback,
4415 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4416 _M_pback_create(), _M_pback_destroy()): Moved here
4417 from basic_streambuf.
4418 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
4420 (basic_filebuf::_S_pback_size): Add declaration.
4421 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
4424 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4426 Consistently use _M_in_beg instead of eback(), _M_in_cur
4427 instead of gptr(), and so on.
4428 * include/bits/fstream.tcc (pbackfail, imbue): Here.
4429 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
4430 * include/bits/streambuf.tcc (sbumpc, sputbackc,
4431 __copy_streambufs): Ditto.
4432 * include/std/std_streambuf.h (sgetc): Ditto.
4434 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4436 * include/bits/sstream.tcc (pbackfail, overflow):
4439 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4441 * include/std/std_streambuf.h (uflow()): It's used only by
4442 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
4443 therefore do not consider the _M_buf_unified == true case.
4445 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
4447 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4449 * docs/html/ext/howto.html ('LWG Issues'):
4450 Add issues 19, 90, 171, 231, 271.
4452 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4454 * include/bits/sstream.tcc (pbackfail): Remove redundant
4455 NULL pointer check from test involving _M_in_*.
4456 (overflow, seekoff, seekpos): Const qualify bool variables.
4457 * include/std/std_sstream.h (underflow): Remove redundant
4458 NULL pointer check from test involving _M_in_*.
4459 (_M_really_sync): Const qualify bool variables.
4460 * src/fstream.cc (_M_underflow_common): Remove redundant
4461 NULL pointer check from test involving _M_in_*, const qualify
4464 * include/std/std_streambuf.h (sgetc): Remove redundant
4467 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
4469 According to 5.9 para 2 (second bullet) for pointers p, q
4470 pointing to the same type, with p == 0 and q == 0, (p < q)
4472 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
4473 seekoff): Remove redundant NULL pointer checks from tests
4474 involving _M_out_* and _M_in_*, const qualify bool variables.
4475 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
4476 qualify bool variables.
4477 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
4478 Remove redundant NULL pointer checks from tests involving
4479 _M_out_* and _M_in_*, const qualify bool variables.
4480 * include/std/std_fstream.h (sync): Likewise.
4481 (_M_is_indeterminate): Const qualify bool variables.
4482 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
4483 NULL pointer checks from tests involving _M_out_* and _M_in_*,
4484 const qualify bool variables.
4485 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
4488 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
4490 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
4491 C99 FP macros, if actually captured.
4493 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
4494 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4495 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4496 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4497 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
4499 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4500 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4501 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4502 * include/c_std/std_cstdlib.h: Use new macros.
4503 * include/c_std/std_cstdio.h: Use new macros.
4504 * include/c_std/std_cwchar.h: Use new macros.
4506 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
4509 * include/bits/ostream.tcc: Catch all exceptions for formatted
4510 output, instead of std::exception and derivatives.
4511 * include/bits/istream.tcc: Same.
4512 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
4513 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
4514 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
4515 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
4516 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
4517 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
4520 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
4522 * include/bits/c++config: Minor cosmetic tweaks.
4524 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
4526 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
4527 * include/Makefile.am (pch_input): Find in ${target_builddir}.
4528 (pch_output): Rename to...
4529 (pch_output_builddir): ..this. Find in ${target_builddir}.
4530 (pch_source): Tweak.
4531 (pch_build): Key off a built file.
4532 (pch_output rule): Rename to...
4533 (pch_input rule): ...this. Produce ${pch_output_builddir}
4534 instead of ${pch_output}.
4535 (install-pch rule): Install ${pch_output_builddir}.
4536 * include/Makefile.in: Regenerated.
4538 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
4540 * include/std/std_streambuf.h (setp): _M_out_lim, being
4541 the end limit of used put area, is set equal to _M_out_beg.
4543 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
4545 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
4546 * aclocal.m4: Regenerated.
4547 * configure.in: Remove old demangler bits.
4549 * configure: Regenerate.
4550 * config.h.in: Regenerate.
4551 * include/Makefile.am (allstamps): Now allstamped.
4552 (allcreated): Define this.
4553 (all-local): Use 'em.
4554 Conditionally define pch_build, pch_install based on
4556 (${pch_output}): New rule.
4557 (install-pch): New rule.
4558 (install-headers): New rule.
4559 (install-data-local): Install headers and conditionally pch.
4560 * include/Makefile.in: Regenerate.
4561 * testsuite_flags.in (--build-cxx): Use pch file.
4563 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
4565 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4567 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4568 Paolo Carlini <pcarlini at unitus dot it>
4571 * docs/html/27_io/howto.html
4572 ('The buffering is screwing up my program!'): Explain that
4573 opening counts as an I/O operation.
4575 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4577 * testsuite/thread/pthread1.cc: Enable for darwin test.
4578 * testsuite/thread/pthread2.cc: Same.
4579 * testsuite/thread/pthread3.cc: Same.
4580 * testsuite/thread/pthread4.cc: Same.
4581 * testsuite/thread/pthread5.cc: Same.
4582 * testsuite/thread/pthread6.cc: Same.
4584 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4587 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4588 Populate it with multiple legal ways to obtain the C99 float
4589 transcendentals. Use them instead of direct global reference.
4590 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4591 * docs/html/17_intro/porting.texi
4592 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4593 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4594 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4595 * config/os/bsd/freebsd/os_defines.h
4596 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4597 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4598 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4600 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4601 Benjamin Kosnik <bkoz@redhat.com>
4603 * config/os/generic/ctype_inline.h: Fix.
4605 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4607 * testsuite/testsuite_hooks.h
4608 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4609 Change to try_named_locale.
4610 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4612 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4614 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4615 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4616 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4617 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4618 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4619 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4620 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4621 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4622 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4623 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4624 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4625 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4626 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4627 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4628 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4629 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4630 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4631 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4632 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4633 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
4634 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
4635 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
4636 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
4637 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
4638 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
4639 * testsuite/22_locale/collate/compare/char/1.cc: Same.
4640 * testsuite/22_locale/collate/compare/char/2.cc: Same.
4641 * testsuite/22_locale/collate/compare/char/3.cc: Same.
4642 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
4643 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
4644 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
4645 * testsuite/22_locale/collate/hash/char/2.cc: Same.
4646 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
4647 * testsuite/22_locale/collate/transform/char/2.cc: Same.
4648 * testsuite/22_locale/collate/transform/char/3.cc: Same.
4649 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
4650 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
4651 * testsuite/22_locale/collate_byname/1.cc: Same.
4652 * testsuite/22_locale/ctype/is/char/2.cc: Same.
4653 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
4654 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
4655 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
4656 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
4657 * testsuite/22_locale/facet/2.cc: Same.
4658 * testsuite/22_locale/locale/cons/2.cc: Same.
4659 * testsuite/22_locale/locale/cons/4.cc: Same.
4660 * testsuite/22_locale/locale/cons/5.cc: Same.
4661 * testsuite/22_locale/locale/cons/7.cc: Same.
4662 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
4663 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
4664 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
4665 * testsuite/22_locale/messages/members/char/1.cc: Same.
4666 * testsuite/22_locale/messages/members/char/2.cc: Same.
4667 * testsuite/22_locale/messages/members/char/3.cc: Same.
4668 * testsuite/22_locale/messages_byname/1.cc: Same.
4669 * testsuite/22_locale/money_get/get/char/1.cc: Same.
4670 * testsuite/22_locale/money_get/get/char/2.cc: Same.
4671 * testsuite/22_locale/money_get/get/char/3.cc: Same.
4672 * testsuite/22_locale/money_get/get/char/4.cc: Same.
4673 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
4674 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
4675 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
4676 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
4677 * testsuite/22_locale/money_put/put/char/1.cc: Same.
4678 * testsuite/22_locale/money_put/put/char/2.cc: Same.
4679 * testsuite/22_locale/money_put/put/char/3.cc: Same.
4680 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
4681 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
4682 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
4683 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
4684 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
4685 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
4686 * testsuite/22_locale/num_get/get/char/1.cc: Same.
4687 * testsuite/22_locale/num_get/get/char/2.cc: Same.
4688 * testsuite/22_locale/num_get/get/char/3.cc: Same.
4689 * testsuite/22_locale/num_get/get/char/5.cc: Same.
4690 * testsuite/22_locale/num_get/get/char/6.cc: Same.
4691 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
4692 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
4693 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
4694 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
4695 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
4696 * testsuite/22_locale/num_put/put/char/1.cc: Same.
4697 * testsuite/22_locale/num_put/put/char/2.cc: Same.
4698 * testsuite/22_locale/num_put/put/char/3.cc: Same.
4699 * testsuite/22_locale/num_put/put/char/5.cc: Same.
4700 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
4701 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
4702 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
4703 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
4704 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
4705 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
4706 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
4707 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
4708 * testsuite/22_locale/numpunct_byname/1.cc: Same.
4709 * testsuite/22_locale/numpunct_byname/2.cc: Same.
4710 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
4711 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
4712 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
4713 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
4714 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
4715 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
4716 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
4717 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
4718 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
4719 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
4720 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
4721 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
4722 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
4723 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
4724 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
4725 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
4726 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
4727 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
4728 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
4729 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
4730 * testsuite/22_locale/time_put/put/char/1.cc: Same.
4731 * testsuite/22_locale/time_put/put/char/2.cc: Same.
4732 * testsuite/22_locale/time_put/put/char/3.cc: Same.
4733 * testsuite/22_locale/time_put/put/char/4.cc: Same.
4734 * testsuite/22_locale/time_put/put/char/5.cc: Same.
4735 * testsuite/22_locale/time_put/put/char/6.cc: Same.
4736 * testsuite/22_locale/time_put/put/char/7.cc: Same.
4737 * testsuite/22_locale/time_put/put/char/8.cc: Same.
4738 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
4739 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
4740 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
4741 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
4742 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
4743 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
4744 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
4745 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
4746 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
4747 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
4748 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
4749 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
4750 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
4752 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4754 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
4755 solaris includes, not generic.
4757 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
4759 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
4761 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
4762 * include/bits/concept_check.h: Fix multi-line comment.
4763 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
4764 when target is *-*-freebsd*.
4766 2003-04-14 Nathan Myers <ncm@cantrip.org>
4767 Paolo Carlini <pcarlini@unitus.it>
4769 PR libstdc++/9701 (in_avail())
4770 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
4771 doesn't care if there is anything in some putback cell.
4772 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
4774 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
4775 unused string literals.
4777 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
4779 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
4780 _M_out_end, _M_set_indeterminate() does it.
4782 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4784 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
4786 2003-04-12 David Edelsohn <edelsohn@gnu.org>
4788 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4789 Change basic_streambuf instantiation to "unsigned char".
4790 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4792 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4794 Remove _M_buf_size_opt, use directly _M_buf_size instead.
4795 * include/bits/fstream.tcc
4796 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
4797 references to _M_buf_size_opt.
4798 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
4799 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
4800 __bufsize to __in_avail and __size_opt to __buf_size.
4801 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
4802 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
4803 * include/std/std_streambuf.h (~basic_streambuf(),
4804 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
4805 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
4806 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4807 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
4808 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
4809 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
4810 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
4811 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
4812 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
4813 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4814 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4815 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4816 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4818 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
4820 * include/ext/stdio_filebuf.h
4821 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
4822 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
4823 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
4824 since a stack-based buffer is used for small values of the size_t
4826 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
4827 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
4828 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
4830 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
4833 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
4834 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
4836 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4838 * testsuite/22_locale/locale/cons/3.cc: Split.
4839 * testsuite/22_locale/locale/cons/7222-c.cc: New.
4840 * testsuite/22_locale/locale/cons/7222-env.cc: New.
4841 Check before trying to create a locale from the environment.
4842 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
4843 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
4846 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4848 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
4849 locale to construct this hybrid locale, not the global locale.
4851 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
4853 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
4854 instantiation for AIX.
4855 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
4856 * testsuite/25_algorithms/min_max.cc: Same.
4858 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4860 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
4861 twice. Always set _M_cfile to 0 when stream was open.
4863 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
4865 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
4866 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
4867 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
4868 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
4869 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
4870 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
4871 ifstream_members.cc, instantiations.cc, ios.cc,
4872 ios_base_callbacks.cc, ios_base_members_static-1.tst,
4873 ios_base_members_static.cc, ios_base_storage.cc,
4874 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
4875 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
4876 iostream.cc, iostream_members.cc, istream.cc,
4877 istream_exception.cc, istream_extractor_char.cc,
4878 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
4879 istream_extractor_other-2.tst, istream_extractor_other.cc,
4880 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
4881 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
4882 istream_sentry.cc, istream_unformatted-1.tst,
4883 istream_unformatted-1.txt, istream_unformatted.cc,
4884 istringstream.cc, istringstream_members.cc,
4885 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
4886 ofstream_members.cc, ostream.cc, ostream_exception.cc,
4887 ostream_fail.cc, ostream_inserter_arith.cc,
4888 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
4889 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
4890 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
4891 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
4892 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
4893 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
4894 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
4895 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
4896 wide_stream_objects.cc, istream_extractor_arith/01.cc,
4897 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
4898 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
4899 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
4900 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
4901 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
4903 * 27_io/basic_filebuf/1.cc: New.
4904 * 27_io/basic_filebuf/2.cc: New.
4905 * 27_io/basic_filebuf/3.cc: New.
4906 * 27_io/basic_filebuf/4.cc: New.
4907 * 27_io/basic_filebuf/close/char/1.cc: New.
4908 * 27_io/basic_filebuf/close/char/2.cc: New.
4909 * 27_io/basic_filebuf/close/char/3.cc: New.
4910 * 27_io/basic_filebuf/close/char/4879.cc: New.
4911 * 27_io/basic_filebuf/close/char/9964.cc: New.
4912 * 27_io/basic_filebuf/imbue/char/1.cc: New.
4913 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
4914 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
4915 * 27_io/basic_filebuf/is_open/char/1.cc: New.
4916 * 27_io/basic_filebuf/open/char/1.cc: New.
4917 * 27_io/basic_filebuf/open/char/2.cc: New.
4918 * 27_io/basic_filebuf/open/char/3.cc: New.
4919 * 27_io/basic_filebuf/open/char/9507.cc: New.
4920 * 27_io/basic_filebuf/overflow/char/1.cc: New.
4921 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
4922 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
4923 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
4924 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
4925 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
4926 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
4927 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
4928 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
4929 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
4930 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
4931 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
4932 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
4933 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
4934 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
4935 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
4936 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
4937 * 27_io/basic_filebuf/snextc/char/1.cc: New.
4938 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
4939 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
4940 * 27_io/basic_filebuf/sputc/char/1.cc: New.
4941 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
4942 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
4943 * 27_io/basic_filebuf/sputn/char/1.cc: New.
4944 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
4945 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
4946 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
4947 * 27_io/basic_filebuf/sync/char/1057.cc: New.
4948 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
4949 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
4950 * 27_io/basic_fstream/1.cc: New.
4951 * 27_io/basic_fstream/2.cc: New.
4952 * 27_io/basic_fstream/3.cc: New.
4953 * 27_io/basic_fstream/4.cc: New.
4954 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
4955 * 27_io/basic_ifstream/1.cc: New.
4956 * 27_io/basic_ifstream/2.cc: New.
4957 * 27_io/basic_ifstream/3.cc: New.
4958 * 27_io/basic_ifstream/4.cc: New.
4959 * 27_io/basic_ifstream/cons/char/1.cc: New.
4960 * 27_io/basic_ifstream/open/char/1.cc: New.
4961 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
4962 * 27_io/basic_ios/1.cc: New.
4963 * 27_io/basic_ios/2.cc: New.
4964 * 27_io/basic_ios/3.cc: New.
4965 * 27_io/basic_ios/4.cc: New.
4966 * 27_io/basic_ios/clear/char/1.cc: New.
4967 * 27_io/basic_ios/cons/char/1.cc: New.
4968 * 27_io/basic_ios/cons/char/2.cc: New.
4969 * 27_io/basic_ios/cons/char/3.cc: New.
4970 * 27_io/basic_ios/copyfmt/char/1.cc: New.
4971 * 27_io/basic_ios/copyfmt/char/2.cc: New.
4972 * 27_io/basic_ios/exceptions/char/1.cc: New.
4973 * 27_io/basic_ios/locales/char/1.cc: New.
4974 * 27_io/basic_iostream/1.cc: New.
4975 * 27_io/basic_iostream/2.cc: New.
4976 * 27_io/basic_iostream/3.cc: New.
4977 * 27_io/basic_iostream/4.cc: New.
4978 * 27_io/basic_istream/1.cc: New.
4979 * 27_io/basic_istream/2.cc: New.
4980 * 27_io/basic_istream/3.cc: New.
4981 * 27_io/basic_istream/4.cc: New.
4982 * 27_io/basic_istream/exceptions/char/9561.cc: New.
4983 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
4984 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
4985 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
4986 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
4987 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
4988 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
4989 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
4990 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
4991 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
4992 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
4993 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
4994 * 27_io/basic_istream/extractors_character/char/1.cc: New.
4995 * 27_io/basic_istream/extractors_character/char/2.cc: New.
4996 * 27_io/basic_istream/extractors_character/char/3.cc: New.
4997 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
4998 * 27_io/basic_istream/extractors_other/char/1.cc: New.
4999 * 27_io/basic_istream/extractors_other/char/2.cc: New.
5000 * 27_io/basic_istream/extractors_other/char/3.cc: New.
5001 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
5002 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
5003 * 27_io/basic_istream/get/char/1.cc: New.
5004 * 27_io/basic_istream/get/char/2.cc: New.
5005 * 27_io/basic_istream/getline/char/1.cc: New.
5006 * 27_io/basic_istream/getline/char/2.cc: New.
5007 * 27_io/basic_istream/getline/char/3.cc: New.
5008 * 27_io/basic_istream/ignore/char/1.cc: New.
5009 * 27_io/basic_istream/ignore/char/6360.cc: New.
5010 * 27_io/basic_istream/ignore/char/7220.cc: New.
5011 * 27_io/basic_istream/peek/char/1.cc: New.
5012 * 27_io/basic_istream/peek/char/6414.cc: New.
5013 * 27_io/basic_istream/putback/char/1.cc: New.
5014 * 27_io/basic_istream/read/char/1.cc: New.
5015 * 27_io/basic_istream/read/char/2.cc: New.
5016 * 27_io/basic_istream/read/char/3.cc: New.
5017 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
5018 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
5019 * 27_io/basic_istream/readsome/char/8258.cc: New.
5020 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
5021 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
5022 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
5023 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
5024 * 27_io/basic_istream/seekg/char/fstream.cc: New.
5025 * 27_io/basic_istream/seekg/char/sstream.cc: New.
5026 * 27_io/basic_istream/sentry/char/1.cc: New.
5027 * 27_io/basic_istream/sentry/char/2.cc: New.
5028 * 27_io/basic_istream/sentry/char/3.cc: New.
5029 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
5030 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
5031 * 27_io/basic_istream/tellg/char/1.cc: New.
5032 * 27_io/basic_istream/tellg/char/8348.cc: New.
5033 * 27_io/basic_istream/tellg/char/fstream.cc: New.
5034 * 27_io/basic_istream/tellg/char/sstream.cc: New.
5035 * 27_io/basic_istream/ws/char/1.cc: New.
5036 * 27_io/basic_istringstream/1.cc: New.
5037 * 27_io/basic_istringstream/2.cc: New.
5038 * 27_io/basic_istringstream/3.cc: New.
5039 * 27_io/basic_istringstream/4.cc: New.
5040 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
5041 * 27_io/basic_istringstream/str/char/1.cc: New.
5042 * 27_io/basic_ofstream/1.cc: New.
5043 * 27_io/basic_ofstream/2.cc: New.
5044 * 27_io/basic_ofstream/3.cc: New.
5045 * 27_io/basic_ofstream/4.cc: New.
5046 * 27_io/basic_ofstream/cons/char/2.cc: New.
5047 * 27_io/basic_ofstream/open/char/1.cc: New.
5048 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
5049 * 27_io/basic_ostream/1.cc: New.
5050 * 27_io/basic_ostream/2.cc: New.
5051 * 27_io/basic_ostream/3.cc: New.
5052 * 27_io/basic_ostream/4.cc: New.
5053 * 27_io/basic_ostream/cons/char/9827.cc: New.
5054 * 27_io/basic_ostream/endl/char/1.cc: New.
5055 * 27_io/basic_ostream/ends/char/1.cc: New.
5056 * 27_io/basic_ostream/ends/char/2.cc: New.
5057 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
5058 * 27_io/basic_ostream/flush/char/1.cc: New.
5059 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
5060 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
5061 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
5062 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
5063 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
5064 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
5065 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
5066 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
5067 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
5068 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
5069 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
5070 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
5071 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
5072 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
5073 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
5074 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
5075 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
5076 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
5077 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
5078 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
5079 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
5080 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
5081 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
5082 * 27_io/basic_ostream/sentry/char/1.cc: New.
5083 * 27_io/basic_ostream/sentry/char/2.cc: New.
5084 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
5085 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
5086 * 27_io/basic_ostream/tellp/char/1.cc: New.
5087 * 27_io/basic_ostream/tellp/char/2.cc: New.
5088 * 27_io/basic_ostringstream/1.cc: New.
5089 * 27_io/basic_ostringstream/2.cc: New.
5090 * 27_io/basic_ostringstream/3.cc: New.
5091 * 27_io/basic_ostringstream/4.cc: New.
5092 * 27_io/basic_ostringstream/cons/char/3.cc: New.
5093 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
5094 * 27_io/basic_ostringstream/str/char/1.cc: New.
5095 * 27_io/basic_ostringstream/str/char/2.cc: New.
5096 * 27_io/basic_streambuf/1.cc: New.
5097 * 27_io/basic_streambuf/2.cc: New.
5098 * 27_io/basic_streambuf/3.cc: New.
5099 * 27_io/basic_streambuf/cons/char/1.cc: New.
5100 * 27_io/basic_streambuf/imbue/char/1.cc: New.
5101 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
5102 * 27_io/basic_streambuf/overflow/char/1.cc: New.
5103 * 27_io/basic_streambuf/overflow/char/2.cc: New.
5104 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
5105 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
5106 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
5107 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
5108 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
5109 * 27_io/basic_streambuf/sputn/char/1.cc: New.
5110 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
5111 * 27_io/basic_streambuf/sync/char/1057.cc: New.
5112 * 27_io/basic_stringbuf/1.cc: New.
5113 * 27_io/basic_stringbuf/2.cc: New.
5114 * 27_io/basic_stringbuf/3.cc: New.
5115 * 27_io/basic_stringbuf/4.cc: New.
5116 * 27_io/basic_stringbuf/5.cc: New.
5117 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
5118 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
5119 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
5120 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
5121 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
5122 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
5123 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
5124 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
5125 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
5126 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
5127 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
5128 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
5129 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
5130 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
5131 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
5132 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
5133 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
5134 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
5135 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
5136 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
5137 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
5138 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
5139 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
5140 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
5141 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
5142 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
5143 * 27_io/basic_stringbuf/str/char/1.cc: New.
5144 * 27_io/basic_stringbuf/str/char/2.cc: New.
5145 * 27_io/basic_stringbuf/str/char/3.cc: New.
5146 * 27_io/basic_stringbuf/str/char/3955.cc: New.
5147 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
5148 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
5149 * 27_io/basic_stringstream/1.cc: New.
5150 * 27_io/basic_stringstream/2.cc: New.
5151 * 27_io/basic_stringstream/3.cc: New.
5152 * 27_io/basic_stringstream/4.cc: New.
5153 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
5154 * 27_io/basic_stringstream/str/char/1.cc: New.
5155 * 27_io/basic_stringstream/str/char/2.cc: New.
5156 * 27_io/basic_stringstream/str/char/3.cc: New.
5157 * 27_io/basic_stringstream/str/char/4.cc: New.
5158 * 27_io/fpos/1.cc: New.
5159 * 27_io/fpos/2.cc: New.
5160 * 27_io/fpos/3.cc: New.
5161 * 27_io/ios_base/callbacks/1.cc: New.
5162 * 27_io/ios_base/state/1.cc: New.
5163 * 27_io/ios_base/storage/1.cc: New.
5164 * 27_io/ios_base/storage/2.cc: New.
5165 * 27_io/ios_base/storage/3.cc: New.
5166 * 27_io/ios_base/sync_with_stdio/1.cc: New.
5167 * 27_io/ios_base/sync_with_stdio/2.cc: New.
5168 * 27_io/manipulators/adjustfield/char/1.cc: New.
5169 * 27_io/manipulators/adjustfield/char/2.cc: New.
5170 * 27_io/manipulators/basefield/char/1.cc: New.
5171 * 27_io/manipulators/standard/char/1.cc: New.
5172 * 27_io/manipulators/standard/char/2.cc: New.
5173 * 27_io/objects/char/1.cc: New.
5174 * 27_io/objects/char/2.cc: New.
5175 * 27_io/objects/char/2523-1_xin.cc: New.
5176 * 27_io/objects/char/2523-1_xin.in: New.
5177 * 27_io/objects/char/2523-2_xin.cc: New.
5178 * 27_io/objects/char/2523-2_xin.in: New.
5179 * 27_io/objects/char/3045.cc: New.
5180 * 27_io/objects/char/3647.cc: New.
5181 * 27_io/objects/char/3_xin.cc: New.
5182 * 27_io/objects/char/3_xin.in: New.
5183 * 27_io/objects/char/4_xin.cc: New.
5184 * 27_io/objects/char/4_xin.in: New.
5185 * 27_io/objects/char/5268.cc: New.
5186 * 27_io/objects/char/5280_xin.cc: New.
5187 * 27_io/objects/char/5280_xin.in: New.
5188 * 27_io/objects/char/6548_xin.cc: New.
5189 * 27_io/objects/char/6548_xin.in: New.
5190 * 27_io/objects/char/6648-1_xin.cc: New.
5191 * 27_io/objects/char/6648-1_xin.in: New.
5192 * 27_io/objects/char/6648-2_xin.cc: New.
5193 * 27_io/objects/char/6648-2_xin.in: New.
5194 * 27_io/objects/char/7744_xin.cc: New.
5195 * 27_io/objects/char/7744_xin.in: New.
5196 * 27_io/objects/wchar_t/1.cc: New.
5197 * 27_io/types/1.cc: New.
5198 * 27_io/types/2.cc: New.
5199 * data/filebuf_members-1.tst: New.
5200 * data/filebuf_members-1.txt: New.
5201 * data/filebuf_virtuals-1.tst: New.
5202 * data/filebuf_virtuals-1.txt: New.
5203 * data/filebuf_virtuals-2.tst: New.
5204 * data/filebuf_virtuals-3.tst: New.
5205 * data/ifstream_members-1.tst: New.
5206 * data/ifstream_members-1.txt: New.
5207 * data/ios_base_members_static-1.tst: New.
5208 * data/istream_extractor_other-1.tst: New.
5209 * data/istream_extractor_other-1.txt: New.
5210 * data/istream_extractor_other-2.tst: New.
5211 * data/istream_seeks-1.tst: New.
5212 * data/istream_seeks-1.txt: New.
5213 * data/istream_seeks-2.tst: New.
5214 * data/istream_seeks-3.tst: New.
5215 * data/istream_unformatted-1.tst: New.
5216 * data/istream_unformatted-1.txt: New.
5217 * data/ofstream_members-1.tst: New.
5218 * data/ostream_inserter_char-1.tst: New.
5219 * data/ostream_inserter_char-1.txt: New.
5220 * data/ostream_inserter_other-1.tst: New.
5221 * data/ostream_inserter_other-2.tst: New.
5222 * data/ostream_seeks-1.tst: New.
5224 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5226 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
5227 requirement that __mode must be strict input or output.
5229 * include/std/std_streambuf.h (basic_streambuf::setp): Set
5232 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
5233 output string shouldn't core.
5234 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
5236 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
5238 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
5241 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5243 * testsuite/data: New directory.
5244 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
5245 to copy files from the testsuite data directory.
5246 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
5247 testfiles containing _xin, which now means this is an interactive
5248 test and should be run with the interactive dejagnu hooks.
5249 * testsuite/Makefile.am: Remove testsuite_* files.
5250 * testsuite/Makefile.in: Regenerate.
5252 2003-04-09 Zack Weinberg <zack@codesourcery.com>
5254 * docs/html/install.html: Document complete list of locales
5255 required by test suite. Document procedure for installing
5256 said locales under Debian. Solicit instructions for other
5259 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
5261 * include/bits/sstream.tcc (overflow): Make sure operands of min
5262 and max have the same type.
5264 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
5267 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
5270 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
5272 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
5273 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5274 Don't set _M_out_end.
5275 (basic_filebuf::overflow): Replace _M_out_buf_size() with
5276 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
5277 * include/bits/sstream.tcc (basic_stringbuf::overflow):
5278 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
5279 * include/bits/streambuf.tcc (basic_streambuf::sputc):
5280 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
5281 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
5282 _M_out_end - _M_out_cur.
5283 (__copy_streambufs): Likewise.
5284 * include/std/std_fstream.h (_M_set_determinate): Set
5287 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
5289 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
5290 _M_convert_to_external, _M_really_overflow, seekoff): Fix
5291 test for synced buffer.
5292 * include/std/std_fstream.h (sync): Likewise.
5293 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5294 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
5296 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
5298 * include/std/std_sstream.h (basic_istringstream): Adjust
5300 (basic_ostringstream): Same.
5301 (basic_stringstream): Same.
5302 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
5303 (basic_ofstream): Same.
5304 (basic_fstream): Same.
5305 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
5306 that does not call init.
5307 * include/std/std_istream.h (basic_istream): Same.
5308 (basic_iostream): Construct istream, ostream uninitialized, use
5309 init to initialize just once. Add protected ctor that does not
5312 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
5313 Nathan Myers <ncm@cantrip.org>
5316 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
5318 (basic_filebuf<>::showmanyc): Use the information provided
5319 by codecvt and __basic_file<>::showmanyc_helper to implement
5320 a non-trivial showmanyc.
5321 * config/io/basic_file_stdio.h
5322 (__basic_file<>::showmanyc_helper): New, declare.
5323 * config/io/basic_file_stdio.cc
5324 (__basic_file<>::showmanyc_helper): Define.
5325 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
5326 (__basic_file<char>::open): Don't call fcntl().
5327 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
5328 GLIBCPP_CHECK_POLL): New macros.
5329 * configure.in: Call here.
5330 * acconfig.h: Add #undefs for the corresponding symbols.
5331 * aclocal.m4: Regenerate.
5332 * configure: Regenerate.
5333 * config.h.in: Regenerate.
5335 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
5337 * config/linker-map.gnu: Remove string export restrictions.
5339 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
5341 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
5342 find_first_of, find_last_of and find_last_not_of tests.
5343 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
5344 tests here, new file.
5345 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
5346 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
5347 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
5348 wchar_t find_first_of tests here, new file.
5349 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
5351 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
5353 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
5354 wchar_t find_last_of tests here.
5355 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
5356 wchar_t find_last_not_of tests here.
5358 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
5360 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
5361 Correct return value.
5363 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
5366 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
5367 * include/std/std_complex.h (norm): Use faster,
5368 less accurate computation for builtin float types under --fast-math.
5370 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
5372 * testsuite/testsuite_hooks.h: Fix warning nits.
5374 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
5376 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
5377 Only .set mips2 for the o32 ABI.
5379 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
5381 * testsuite/21_strings/char_traits/requirements/char/1.cc:
5382 Test char not wchar_t.
5384 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5386 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
5387 Correct size, taking into account sizeof(wchar_t).
5389 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5391 Reshuffle 21_strings testsuite.
5392 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
5393 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
5394 element_access.cc, operations.cc, char_traits_requirements.cc,
5395 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
5396 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
5397 wchar_t tests as follows.
5398 * 21_strings/basic_string/append/char/1.cc: New.
5399 * 21_strings/basic_string/append/wchar_t/1.cc: New.
5400 * 21_strings/basic_string/assign/char/1.cc: New.
5401 * 21_strings/basic_string/assign/char/2.cc: New.
5402 * 21_strings/basic_string/assign/char/3.cc: New.
5403 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
5404 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
5405 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
5406 * 21_strings/basic_string/capacity/1.cc: New.
5407 * 21_strings/basic_string/capacity/char/1.cc: New.
5408 * 21_strings/basic_string/capacity/char/2.cc: New.
5409 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
5410 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
5411 * 21_strings/basic_string/compare/char/1.cc: New.
5412 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
5413 * 21_strings/basic_string/cons/char/1.cc: New.
5414 * 21_strings/basic_string/cons/char/2.cc: New.
5415 * 21_strings/basic_string/cons/char/3.cc: New.
5416 * 21_strings/basic_string/cons/char/4.cc: New.
5417 * 21_strings/basic_string/cons/char/5.cc: New.
5418 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
5419 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
5420 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
5421 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
5422 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
5423 * 21_strings/basic_string/element_access/char/1.cc: New.
5424 * 21_strings/basic_string/element_access/char/2.cc: New.
5425 * 21_strings/basic_string/element_access/char/3.cc: New.
5426 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
5427 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
5428 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
5429 * 21_strings/basic_string/find/char/1.cc: New.
5430 * 21_strings/basic_string/find/wchar_t/1.cc: New.
5431 * 21_strings/basic_string/insert/char/1.cc: New.
5432 * 21_strings/basic_string/insert/char/2.cc: New.
5433 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
5434 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
5435 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
5436 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
5437 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
5438 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
5439 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
5440 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
5441 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
5442 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
5443 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
5444 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
5445 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
5446 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
5447 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
5448 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
5449 * 21_strings/basic_string/operators/char/1.cc: New.
5450 * 21_strings/basic_string/operators/char/2.cc: New.
5451 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
5452 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
5453 * 21_strings/basic_string/replace/char/1.cc: New.
5454 * 21_strings/basic_string/replace/char/2.cc: New.
5455 * 21_strings/basic_string/replace/char/3.cc: New.
5456 * 21_strings/basic_string/replace/char/4.cc: New.
5457 * 21_strings/basic_string/replace/char/5.cc: New.
5458 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
5459 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
5460 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
5461 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
5462 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
5463 * 21_strings/basic_string/rfind/char/1.cc: New.
5464 * 21_strings/basic_string/rfind/char/2.cc: New.
5465 * 21_strings/basic_string/rfind/char/3.cc: New.
5466 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
5467 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
5468 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
5469 * 21_strings/basic_string/substr/char/1.cc: New.
5470 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
5471 * 21_strings/c_strings/char/1.cc: New.
5472 * 21_strings/c_strings/char/2.cc: New.
5473 * 21_strings/c_strings/wchar_t/1.cc: New.
5474 * 21_strings/c_strings/wchar_t/2.cc: New.
5475 * 21_strings/char_traits/requirements/char/1.cc: New.
5476 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
5477 * 21_strings/char_traits/typedefs/char/1.cc: New.
5479 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
5480 Petur Runolfsson <peturr02@ru.is>
5483 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5484 basic_filebuf<wchar_t>::_M_underflow_common):
5485 if (gptr() < egptr()) return *gptr().
5486 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
5488 * testsuite/27_io/filebuf_members.cc (test_04): Minor
5489 changes: unlink fifo before making it, fix spelling error.
5491 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
5493 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
5494 * testsuite/Makefile.in: Regenerate.
5495 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
5498 2003-03-17 Petur Runolfsson <peturr02@ru.is>
5501 * include/bits/fstream.tcc (basic_filebuf::close):
5502 Always close file, even when write fails.
5503 * testsuite/27_io/filebuf_members.cc (test_07): New test.
5505 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
5507 * libsupc++/Makefile.am (C_COMPILE): Remove.
5508 (LTCOMPILE): Likewise.
5509 * libsupc++/Makefile.in: Regenerate.
5511 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5513 * testsuite/23_containers/bitset_members.cc: Add test variable.
5514 * testsuite/23_containers/map_insert.cc: Same.
5515 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
5516 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
5517 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
5518 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
5519 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
5520 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
5521 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
5522 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
5523 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
5524 * testsuite/27_io/istream_exception.cc: Same.
5525 * testsuite/27_io/filebuf_virtuals.cc: Same.
5526 * testsuite/27_io/stringbuf_virtuals.cc: Same.
5527 * testsuite/27_io/ostream_inserter_arith.cc: Same.
5528 * testsuite/26_numerics/valarray_operators.cc: Same.
5529 * testsuite/26_numerics/slice.cc: Same.
5530 * testsuite/26_numerics/slice_array_assignment.cc: Same.
5531 * testsuite/24_iterators/istream_iterator.cc: Same.
5532 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
5534 2003-03-14 Petur Runolfsson <peturr02@ru.is>
5538 * config/locale/generic/ctype_members.cc,
5539 * config/locale/gnu/ctype_members.cc
5540 (ctype<wchar_t>::do_widen(char)): Cast argument to
5541 unsigned char before passing to btowc.
5542 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
5543 Convert characters with btowc instead of mbsrtowcs.
5544 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
5546 Convert characters with wctob instead of wcsrtombs.
5547 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
5548 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
5549 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
5551 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5553 * include/stdc++.h: New.
5554 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
5555 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
5556 * include/Makefile.in: Regenerate.
5557 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
5558 (--cxxflags): Put -g -O2 here.
5559 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
5561 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
5563 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
5564 missing named locale.
5566 2003-03-14 Andreas Schwab <schwab@suse.de>
5568 * configure.in: Only append to makefiles that are newly created to
5569 avoid multiple multi-do/multi-clean rules.
5570 * configure: Rebuilt.
5572 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5574 * docs/html/configopts.html, docs/html/documentation.html,
5575 docs/html/explanations.html, docs/html/install.html,
5576 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5577 invalid XHTML and make page header style consistent.
5579 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5581 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5582 * docs/html/faq/index.txt: Regenerate.
5583 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5585 2003-03-12 Andreas Schwab <schwab@suse.de>
5587 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5588 glibcpp_toolexeclibdir.
5589 * aclocal.m4, configure: Rebuilt.
5591 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5593 * docs/html/faq/index.html: Update text about location of headers.
5594 * docs/html/faq/index.txt: Regenerate.
5596 2003-03-11 Carlo Wood <carlo@alinoe.com>
5598 * include/bits/demangle.h: Prepend accessors of
5599 class qualifier with 'get_' in order to fix warnings
5600 when compiling with -Wshadow.
5602 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5604 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5606 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5608 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5609 report lack of setenv().
5611 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5613 * config/io/basic_file_stdio.cc: include <unistd.h>.
5615 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5616 Nathan Myers <ncm@cantrip.org>
5619 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5620 seekoff, seekpos): Add a boolean parameter __stdio.
5621 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5622 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5623 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5625 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5626 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5627 * include/std/std_fstream.h (sync): Likewise.
5628 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5629 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5630 libstdc++/8399 commit involving isatty(0).
5631 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5632 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5633 * configure.in: Remove call.
5634 * aclocal.m4: Regenerate.
5635 * config.h.in: Regenerate.
5636 * configure: Regenerate.
5637 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
5639 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5642 * include/bits/fstream.tcc (overflow): don't write EOF to file.
5643 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
5645 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5648 * include/bits/basic_ios.h (_M_setstate): New.
5649 * include/bits/ostream.tcc (operator<<): Use it.
5650 * include/bits/istream.tcc (operator>>): Use it.
5651 * include/std/std_ostream.h (operator<<): Make friends.
5652 * include/std/std_istream.h (operator>>): Make friends.
5653 * testsuite/27_io/ostream_exception.cc,
5654 testsuite/27_io/istream_exception.cc: New tests.
5656 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
5658 * include/bits/locale_facets.tcc: Fix typo.
5660 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
5662 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
5664 * config/locale/generic/c_locale.cc
5665 (locale::facet::_S_create_c_locale): Throw runtime exception when
5666 unsupported language is specified.
5667 * testsuite/testsuite_hooks.h
5668 (run_test_wrapped_generic_locale_exception_catcher): New function.
5669 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
5670 Suppress runtime exception thrown by generic implementation.
5671 (run_tests_wrapped_env): Likewise.
5672 (run_test_wrapped_generic_locale_exception_catcher): New function.
5673 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
5674 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
5675 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
5676 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
5677 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
5678 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
5679 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
5680 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
5681 * testsuite/22_locale/facet/2.cc: New test wrap.
5682 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
5683 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
5684 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
5685 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
5686 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
5687 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
5688 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
5689 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
5690 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
5691 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
5692 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
5693 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
5694 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
5695 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
5696 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
5697 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
5698 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
5699 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
5700 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
5701 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
5702 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
5703 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
5704 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
5705 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
5706 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
5707 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
5708 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
5709 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
5710 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
5711 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
5712 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
5713 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
5714 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
5715 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
5716 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
5717 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
5718 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
5719 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
5720 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
5721 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
5722 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
5723 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
5724 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
5725 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
5726 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
5727 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
5728 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
5729 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
5730 * testsuite/27_io/ios_members.cc: New test wrap.
5731 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
5733 * testsuite/27_io/streambuf_members.cc: New test wrap.
5734 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
5736 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
5737 Petur Runolfsson <peturr02@ru.is>
5740 * include/bits/streambuf.tcc (__copy_streambufs): Use
5741 sgetn-sputn only when sputn cannot fail, otherwise fall back
5742 to safe snextc-sputc.
5743 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
5745 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5747 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
5748 locale cache for truename and falsename.
5750 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
5752 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
5753 _M_word_size initialization.
5755 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5757 * include/bits/fstream.tcc (_M_convert_to_external):
5758 Set __elen to zero if codecvt::out eventually fails.
5760 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5763 * include/bits/fstream.tcc (_M_really_overflow): Check
5764 for _M_convert_to_external possible failures.
5765 * include/std/std_fstream.h (sync): Check _M_really_overflow
5766 return value and return -1 in case of failure.
5767 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
5769 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
5772 * include/bits/istream.tcc (operator>>(_CharT*),
5773 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
5774 * testsuite/27_io/stringstream.cc (test02): Add.
5776 * include/bits/istream.tcc (operator>>(_CharT*)):
5777 Assign a char_type to *__s.
5779 2003-03-07 Petur Runolfsson <peturr02@ru.is>
5782 * include/bits/locale_facets.tcc
5783 (collate::do_compare, collate::do_transform):
5784 Handle nul characters in input.
5785 * testsuite/22_locale/collate/compare/char/3.cc: New test.
5786 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
5787 * testsuite/22_locale/collate/transform/char/3.cc: New test.
5788 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
5790 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
5792 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
5794 * testsuite/27_io/ostream_fail.cc: New test.
5796 2003-03-07 Matthias Klose <doko@debian.org>
5798 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
5799 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
5800 * Makefile.in: Regenerate.
5801 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
5803 AM_MAKEFLAGS: Pass gxx_include_dir.
5804 * libsupc++/Makefile.in: Regenerate.
5806 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5808 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
5809 mask. Test setting small-numbered pword and iword slots. Test
5810 behavior at limit of numeric_limits::max. Check that values are
5811 still good after failures.
5813 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
5815 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
5816 (ios_base::ios_base): Set _M_word, _M_word_size.
5817 (ios_base::~ios_base): Remove redundant test.
5818 * testsuite/27_io/ios_base_storage.cc (test03): New.
5820 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5822 * src/strstream.cc, include/bits/basic_string.tcc: Remove
5823 incorrect whitespace added in my previous change.
5825 2003-03-05 Carlo Wood <carlo@alinoe.com>
5827 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
5828 _S_initialized() in order to allow debugging libraries to detect
5829 when the std streams are initialized from an overloaded operator
5832 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
5834 * libsupc++/demangle.h: Move to..
5835 * include/bits/demangle.h: ...here.
5836 * src/demangle.cc: Adjust include.
5837 * include/Makefile.am (bits_headers): Add.
5838 * include/Makefile.in: Regenerate.
5840 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5842 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
5844 * config/linker-map.gnu: Filter typeinfo and vtable info.
5846 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
5848 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
5849 new failure. Throw exception if badbit and exception mask when ix
5850 >= numeric_limits<int>::max().
5852 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
5854 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
5855 min and max have the same type.
5856 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
5858 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
5860 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
5861 * include/Makefile.in: Regenerate.
5863 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
5865 * testsuite/abi_check.cc (report_symbol_info): Add version info.
5867 * config/linker-map.gnu: Hide more stuff.
5868 * include/Makefile.am: Cleanups.
5869 * include/Makefile.in: Regenerate.
5871 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
5873 * config/locale/generic/messages_members.h (messages::messages):
5874 Remove name from unused parameter.
5876 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5878 * src/Makefile.am (sources): Add demangle.cc.
5881 * src/Makefile.in: Regenerate.
5882 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
5883 * libsupc++/Makefile.in: Regenerate.
5885 * testsuite/testsuite_hooks.h
5886 (__gnu_cxx_test::verify_demangle): New.
5887 * testsuite/testsuite_hooks.cc: Define.
5889 2003-02-27 Carlo Wood <carlo@alinoe.com>
5891 * src/demangle.cc: New.
5892 * libsupc++/demangle.h: New.
5894 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
5895 Carlo Wood <carlo@alinoe.com>
5897 * testsuite/demangle/abi_examples/01.cc: New.
5898 * testsuite/demangle/abi_examples/02.cc: New.
5899 * testsuite/demangle/abi_examples/03.cc: New.
5900 * testsuite/demangle/abi_examples/04.cc: New.
5901 * testsuite/demangle/abi_examples/05.cc: New.
5902 * testsuite/demangle/abi_examples/06.cc: New.
5903 * testsuite/demangle/abi_examples/07.cc: New.
5904 * testsuite/demangle/abi_examples/08.cc: New.
5905 * testsuite/demangle/abi_examples/09.cc: New.
5906 * testsuite/demangle/abi_examples/10.cc: New.
5907 * testsuite/demangle/abi_examples/11.cc: New.
5908 * testsuite/demangle/abi_examples/12.cc: New.
5909 * testsuite/demangle/abi_examples/13.cc: New.
5910 * testsuite/demangle/abi_examples/14.cc: New.
5911 * testsuite/demangle/abi_examples/15.cc: New.
5912 * testsuite/demangle/abi_examples/16.cc: New.
5913 * testsuite/demangle/abi_examples/17.cc: New.
5914 * testsuite/demangle/abi_examples/18.cc: New.
5915 * testsuite/demangle/abi_examples/19.cc: New.
5916 * testsuite/demangle/abi_examples/20.cc: New.
5917 * testsuite/demangle/abi_examples/21.cc: New.
5918 * testsuite/demangle/abi_examples/22.cc: New.
5919 * testsuite/demangle/abi_examples/23.cc: New.
5920 * testsuite/demangle/abi_examples/24.cc: New.
5921 * testsuite/demangle/abi_examples/25.cc: New.
5922 * testsuite/demangle/abi_examples/26.cc: New.
5923 * testsuite/demangle/abi_text/01.cc: New.
5924 * testsuite/demangle/abi_text/02.cc: New.
5925 * testsuite/demangle/abi_text/03.cc: New.
5926 * testsuite/demangle/abi_text/04.cc: New.
5927 * testsuite/demangle/abi_text/05.cc: New.
5928 * testsuite/demangle/abi_text/06.cc: New.
5929 * testsuite/demangle/abi_text/07.cc: New.
5930 * testsuite/demangle/abi_text/08.cc: New.
5931 * testsuite/demangle/abi_text/09.cc: New.
5932 * testsuite/demangle/abi_text/10.cc: New.
5933 * testsuite/demangle/abi_text/11.cc: New.
5934 * testsuite/demangle/abi_text/12.cc: New.
5935 * testsuite/demangle/abi_text/13.cc: New.
5936 * testsuite/demangle/abi_text/14.cc: New.
5937 * testsuite/demangle/regression/3111-1.cc: New.
5938 * testsuite/demangle/regression/3111-2.cc: New.
5939 * testsuite/demangle/regression/7986-01.cc: New.
5940 * testsuite/demangle/regression/7986-02.cc: New.
5941 * testsuite/demangle/regression/7986-03.cc: New.
5942 * testsuite/demangle/regression/7986-04.cc: New.
5943 * testsuite/demangle/regression/7986-05.cc: New.
5944 * testsuite/demangle/regression/7986-06.cc: New.
5945 * testsuite/demangle/regression/7986-07.cc: New.
5946 * testsuite/demangle/regression/7986-08.cc: New.
5947 * testsuite/demangle/regression/7986-09.cc: New.
5948 * testsuite/demangle/regression/7986-10.cc: New.
5949 * testsuite/demangle/regression/7986-11.cc: New.
5950 * testsuite/demangle/regression/7986-12.cc: New.
5951 * testsuite/demangle/regression/7986.cc: New.
5952 * testsuite/demangle/regression/8897.cc: New.
5953 * testsuite/demangle/regression/cw-01.cc: New.
5954 * testsuite/demangle/regression/cw-02.cc: New.
5955 * testsuite/demangle/regression/cw-03.cc: New.
5956 * testsuite/demangle/regression/cw-04.cc: New.
5957 * testsuite/demangle/regression/cw-05.cc: New.
5958 * testsuite/demangle/regression/cw-06.cc: New.
5959 * testsuite/demangle/regression/cw-07.cc: New.
5960 * testsuite/demangle/regression/cw-08.cc: New.
5961 * testsuite/demangle/regression/cw-09.cc: New.
5962 * testsuite/demangle/regression/cw-10.cc: New.
5963 * testsuite/demangle/regression/cw-11.cc: New.
5964 * testsuite/demangle/regression/cw-12.cc: New.
5965 * testsuite/demangle/regression/cw-13.cc: New.
5966 * testsuite/demangle/regression/cw-14.cc: New.
5967 * testsuite/demangle/regression/old.cc: New.
5969 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
5971 * docs/doxygen/Intro.3: Update with new (proper) names.
5972 * docs/doxygen/TODO: Update.
5973 * docs/doxygen/run_doxygen: More comments, fix up man pages.
5974 Fake entries for standard typedefs.
5975 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
5976 * docs/html/documentation.html: Top-level man page is now called
5978 * include/std/std_limits.h: Doxygenate.
5980 2003-02-25 Scott Snyder <snyder@fnal.gov>
5983 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
5984 Correct documentation.
5985 * include/bits/stl_multimap.h (lower_bound, upper_bound,
5986 equal_range): Likewise.
5988 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5992 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
5993 __bump is true (uflow), always increment the read pointer
5994 (_M_in_cur) before returning successfully.
5995 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
5997 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
5998 Nathan Myers <ncm@cantrip.org>
6000 PR libstdc++/9404, PR libstdc++/9701 (partial)
6001 (aka pptr == epptr implies overflow)
6002 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
6003 Consistently, _M_out_end points to the end of the buffer just
6005 (overflow): Tweak to use _M_out_buf_size().
6006 (_M_convert_to_external): The role of the old _M_out_end is
6007 now played by _M_out_lim.
6008 (_M_really_overflow): Likewise.
6009 (seekoff): Likewise.
6010 (setbuf): _M_out_end points to the end of the external buffer.
6011 * include/bits/sstream.tcc (overflow): Rewrote, taking into
6012 account the resolution of DR 169 (TC).
6013 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
6014 (seekpos): Use _M_string.capacity(); tweak.
6015 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
6016 * include/std/std_fstream.h (sync): The role of the old
6017 _M_out_end is now played by _M_out_lim.
6018 (_M_set_indeterminate): Use _M_set_determinate.
6019 (_M_set_determinate): _M_out_end is now _M_out_lim.
6020 (_M_is_indeterminate): Likewise.
6021 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
6022 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
6023 which have the information readily available as _M_string.capacity();
6024 for ate and app modes, pass the string size to _M_really_sync.
6025 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
6026 point to the end of the buffer (i.e., epptr) and to the string end,
6028 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
6029 which points to the right limit of the used put area.
6030 (_M_out_cur_move): The role of the old _M_out_end is now played
6032 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
6033 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
6035 (basic_streambuf()): Initialize _M_out_lim too.
6036 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
6037 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
6038 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
6040 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
6042 * testsuite/27_io/ios_base_storage.cc (main): Call
6045 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
6047 * include/bits/locale_facets.tcc (_M_convert_float): Replace
6048 numpunct facet accesses with data from __locale_cache.
6050 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6052 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
6053 * docs/html/faq/index.txt: Regenerate.
6055 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6057 * config/linker-map.gnu: Also export locking symbols needed for the
6058 generic atomicity.h case.
6060 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6062 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6064 * configure: Rebuilt.
6066 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
6068 * include/bits/sstream.tcc (overflow): According to
6069 27.7.1.3, p5, actual output is performed by sputc(c).
6071 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
6074 * include/bits/stl_alloc.h: Remove all traces of assert().
6076 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6078 * include/std/std_sstream.h (str()): the size of the
6079 current string may be different from the initial one
6080 whenever _M_out_end > _M_out_beg.
6081 * testsuite/27_io/stringbuf_members.cc (test07): Add.
6083 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6086 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
6088 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
6090 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
6091 * testsuite/27_io/ios_members.cc (test03): New.
6093 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
6095 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
6096 (basic_ios::_M_cache_facets): Move into above.
6097 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
6099 (basic_ios::imbue): Force locale cache to be built.
6100 (basic_ios::_M_init): Create and initialize locale cache.
6101 * include/bits/ios_base.h (__locale_cache_base): Declare.
6102 (ios_base::_M_locale_cache): New.
6103 (ios_base::_M_cache): Define.
6104 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
6106 (__locale_cache_base,__locale_cache<_CharT>): New classes.
6107 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
6108 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
6109 cache literal string, grouping flag, thousands separator.
6110 (__locale_cache<_CharT>::__locale_cache): New.
6111 (__locale_cache<_CharT>::_M_init): New.
6112 * src/ios.cc: Clear _M_locale_cache in constructor.
6113 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
6116 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6118 * src/locale-inst.cc: Do not include <cassert>.
6119 * src/locale.cc: Likewise.
6121 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6124 * include/std/std_fstream.h: Declare underflow and uflow
6125 specializations, change generic definitions to do nothing.
6126 * src/fstream.cc: Add underflow and uflow specializations.
6128 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6131 * include/bits/fstream.tcc (_M_convert_to_external):
6132 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
6133 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
6135 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
6137 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
6138 * include/bits/basic_ios.tcc: Guard use of extern template.
6139 * include/std/std_iomanip.h: Same.
6140 * include/bits/streambuf.tcc: Same.
6141 * include/bits/stl_alloc.h: Same.
6142 * include/bits/locale_facets.tcc: Same.
6143 * include/bits/ostream.tcc: Same.
6144 * include/bits/istream.tcc: Same.
6145 * include/bits/fstream.tcc: Same.
6146 * include/bits/basic_string.tcc: Same.
6148 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
6150 * include/bits/ostream.tcc (sentry::sentry): Improve
6151 performance-wise the fix for libstdc++/9563.
6153 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
6155 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
6156 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
6157 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
6158 when we don't have static mutex initialization.
6159 (__exchange_and_add): Use _Atomic_add_mutex_once.
6160 * src/misc-inst.cc: Definitions of all the above.
6162 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
6165 * include/bits/ostream.tcc (sentry::sentry): Check
6166 the state of the stream after the preparation.
6167 * testsuite/27_io/ostream_sentry.cc (test02): Add.
6169 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
6171 * include/Makefile.am (stamp-std-precompile): Add rule.
6172 * include/Makefile.in: Regenerated.
6174 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
6175 Benjamin Kosnik <benjamin@redhat.com>
6177 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
6178 Add indexes into this array.
6179 (__num_base::_S_atoms): To _S_atoms_in.
6180 (num_put::_M_insert): Rename to _M_pad.
6181 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
6182 (num_put::_M_widen_int): Rename to _M_group_int.
6183 (num_put::_M_widen_float): Rename to _M_group_float.
6184 * include/bits/locale_facets.tcc (__int_to_char): New inline
6185 function and adapter functions.
6186 (num_put::_M_group_int): Streamline.
6187 (num_put::_M_group_float): Streamline.
6188 (num_put::_M_convert_int): Remove unused parameter names. Choose
6189 large enough buffer for text. Use __int_to_char instead of
6190 __convert_from_v. Formatted text is now at the end of the buffer.
6191 (num_put::_M_convert_float): Preliminary fixups.
6192 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
6193 (__int_to_char<unsigned long long>): Same.
6194 (__int_to_char<char, unsigned long>): New.
6195 (__int_to_char<char, unsigned long long>): New.
6196 (__int_to_char<wchar_t, unsigned long>): New.
6197 (__int_to_char<wchar_t, unsigned long long>): New.
6199 2003-02-11 Scott Snyder <snyder@fnal.gov>
6202 * include/bits/fstream.tcc (seekoff): Avoid operator+
6205 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6208 * include/ext/stdio_filebuf.h
6209 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
6210 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
6211 Change to take a __size parameter of type size_t, not
6212 of type (template parameter dependent) int_type.
6213 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
6214 size vars to size_t.
6215 * testsuite/ext/stdio_filebuf.cc: Add.
6217 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6218 Petur Runolfsson <peturr02@ru.is>
6221 * include/bits/streambuf.tcc (__copy_streambufs):
6222 Don't conditionalize the copy to __testput.
6223 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
6225 2002-02-11 DJ Delorie <dj@redhat.com>
6227 * acinclude.m4: Check for native targets that can't link at
6228 this point in the build.
6229 * aclocal.m4: Regenerate.
6230 * configure: Regenerate.
6232 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6234 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
6236 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
6239 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
6241 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
6242 unsigned char platforms.
6244 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6247 * include/std/std_istream.h
6248 (basic_istream::sentry::operator bool()): Make const.
6249 * include/std/std_ostream.h
6250 (basic_ostream::sentry::operator bool()): Likewise.
6251 * testsuite/27_io/istream_sentry.cc (test03): Add.
6252 * testsuite/27_io/ostream_sentry.cc: Add.
6254 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6257 Implement resolution of DR 231 (Ready)
6258 * include/bits/locale_facets.h (__num_base::_S_format_float):
6259 Change declaration: return void, remove __prec parameter.
6260 * src/locale.cc (__num_base::_S_format_float): Implement
6261 resolution of DR 231.
6262 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
6263 Tweak uses. Check for negative precision.
6264 * testsuite/22_locale/num_put/put/char/6.cc: Add
6265 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
6267 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
6269 * config/io/basic_file_libio.h: Fixups.
6270 * config/io/c_io_libio.h: Same.
6271 * libio/Makefile.am: Same.
6272 * libio/Makefile.in: Regenerated.
6274 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
6276 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
6277 Explicitly use the "C" locale.
6278 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
6280 2003-02-06 Petur Runolfsson <peturr02@ru.is>
6284 PR libstdc++/9028 (partial)
6290 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
6291 codecvt<wchar_t, char, mbstate_t>::do_length,
6292 codecvt<wchar_t, char, mbstate_t>::do_max_length):
6294 * config/locale/generic/codecvt_members.cc: ...here.
6295 * config/locale/gnu/codecvt_members.cc: ...and here.
6297 * config/locale/generic/codecvt_members.cc,
6298 * config/locale/gnu/codecvt_members.cc
6299 (codecvt<wchar_t, char, mbstate_t>::do_encoding
6300 codecvt<wchar_t, char, mbstate_t>::do_in,
6301 codecvt<wchar_t, char, mbstate_t>::do_length,
6302 codecvt<wchar_t, char, mbstate_t>::do_max_length,
6303 codecvt<wchar_t, char, mbstate_t>::do_out):
6304 New implementation that handles stateless encodings,
6307 * config/locale/generic/codecvt_members.cc,
6308 * config/locale/gnu/codecvt_members.cc,
6309 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
6310 * include/bits/codecvt.h,
6312 (codecvt::length, codecvt::do_length):
6313 Change type of first argument of length and do_length from
6314 'const state_type&' to 'state_type&' according to DR 75.
6316 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
6317 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
6318 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
6319 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
6320 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
6321 Cleanup and check for correct return value from encoding
6323 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
6324 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
6325 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
6326 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
6327 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
6328 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
6329 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
6330 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
6331 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
6332 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
6333 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
6334 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
6335 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
6336 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
6337 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
6338 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
6339 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
6340 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
6341 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
6342 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
6343 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
6344 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
6345 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
6346 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
6347 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
6348 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
6349 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
6350 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
6351 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
6352 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
6353 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
6354 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
6355 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
6356 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
6357 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
6358 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
6359 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
6361 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
6363 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
6364 (money_put::do_put): Same.
6366 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
6368 * include/bits/ios_base.h (ios_base): Document reserved storage.
6370 * include/bits/locale_facets.h: (struct __pad): Comment on
6372 (__verify_grouping): Same.
6373 (__add_grouping): Same.
6374 * include/bits/locale_facets.tcc (__verify_grouping): Move
6375 comments to declaration.
6376 (__add_grouping): Same.
6378 * include/bits/locale_facets.tcc:
6379 (__write<_CharT, _OutIter>): New function.
6380 (__write<_CharT>): New function specialization.
6381 (num_put::_M_insert): Remove explicit loop over iterator. Use
6383 (num_put::_M_widen_float): Remove __basefield.
6384 (num_put::_M_widen_int): Move __basefield to within grouping block.
6386 * include/bits/streambuf_iterator.h: Include <streambuf>.
6387 (ostreambuf_iterator::_M_put): Add.
6389 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
6391 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
6393 2003-02-04 Nathan Myers <ncm@cantrip.org>
6395 * testsuite/25_algorithms/min_max.cc (test02): Add.
6397 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6399 PR libstdc++/9439, PR libstdc++/9425
6400 * config/io/basic_file_stdio.cc
6401 (__basic_file<char>::seekoff, seekpos): Return -1L if
6403 * include/bits/fstream.tcc (basic_filebuf::seekoff):
6404 Check _M_file.seekoff return value; always return
6405 pos_type(off_type(-1)) in case of failure.
6406 (basic_filebuf::pbackfail): Check this->seekoff return
6407 value and return traits_type::eof() in case of failure.
6408 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
6410 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
6412 * include/std/std_ostream.h (ostream::_M_write): Declare.
6413 * ostream.tcc (ostream::_M_write): Define.
6414 (basic_ostream::write): Use it.
6415 (operator<<(basic_ostream, _CharT)): Ditto.
6416 (operator<<(basic_ostream, char)): Ditto.
6417 (operator<<(basic_ostream, _CharT*)): Ditto.
6418 (operator<<(basic_ostream, char*)): Ditto.
6419 (operator<<(basic_ostream, basic_string)): Ditto.
6421 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
6423 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
6425 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6427 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
6428 add HTML comment about updating links if numbering changes.
6430 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6433 * include/bits/streambuf.tcc (sputbackc): Access
6434 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
6435 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6437 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6440 * include/bits/fstream.tcc (open): If the 'ate' repositioning
6441 operation fails, calls close _and_ returns a null pointer
6442 to indicate failure (27.8.1.3,4).
6443 * testsuite/27_io/filebuf_members.cc (test_06): Add.
6445 2003-02-04 Petur Runolfsson <peturr02@ru.is>
6447 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
6449 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6451 * docs/html/27_io/howto.html: New section on stdio_filebuf.
6452 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
6453 * docs/html/documentation.html: Regenerate.
6455 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
6457 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
6458 * docs/html/17_intro/porting.html: Regenerate.
6460 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
6461 Phil Edwards <pme@gcc.gnu.org>
6463 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
6464 numeric_limits for bits-per-word values.
6465 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
6466 Use __builtin_popcountl instead.
6467 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
6468 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
6469 Use __builtin_ctzl instead.
6470 (_S_bit_count, _S_first_one): Remove.
6471 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
6472 * src/Makefile.am (sources): Remove bitset.cc.
6473 * src/bitset.cc: Delete file.
6474 * src/Makefile.in: Regenerate.
6476 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
6478 PR libstdc++/9527, PR libstdc++/8713
6479 * docs/html/install.html: Mention glibc version requirement.
6480 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
6481 with 3.2.1+ (formatting bugfixes).
6482 * docs/html/faq/index.txt: Regenerate.
6484 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
6487 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
6490 * include/bits/valarray_before.h (__not_equal_to): Use != instead
6493 * testsuite/26_numerics/valarray_operators.cc: New test.
6495 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
6497 * docs/html/faq/index.html: Correct link to libg++ information.
6498 * docs/html/faq/index.txt: Regenerated.
6500 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
6501 Benjamin Kosnik <bkoz@redhat.com>
6503 Const correctness issue:
6504 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
6505 * include/bits/locale_classes.h
6506 (locale::_Impl::_M_facets): Change type to const facet**.
6507 (locale::_Impl::_M_install_facet): Change declaration to
6509 (locale::facet::_M_references): Make mutable.
6510 (locale::facet::_M_add_reference): Declare const.
6511 (locale::facet::_M_remove_reference): Likewise.
6512 * include/bits/locale_facets.tcc
6513 (use_facet(const locale&)): Tweak for const facet** _M_facets.
6514 (has_facet(const locale&)): Likewise.
6516 (locale::facet::_M_add_reference): Adjust definition.
6517 (locale::facet::_M_remove_reference): Likewise.
6519 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
6520 const facet** _M_facets.
6521 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
6522 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
6523 (locale::_Impl::_M_install_facet): Adjust definition to take
6524 const facet* and for const facet** _M_facets.
6525 * testsuite/22_locale/locale/cons/8.cc: Add.
6527 2003-01-29 Mark Mitchell <mark@codesourcery.com>
6529 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
6530 Use __FLT_HAS_INIFINITY__ to initialize.
6531 (numeric_limits<float>::has_quiet_NaN): Likewise.
6532 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
6534 (numeric_limits<double>::has_quiet_NaN): Likewise.
6535 (numeric_limits<long double>::has_infinity): Use
6536 __LDBL_HAS_INIFINITY__ to initialize.
6537 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
6539 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
6542 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
6543 with bases which are very ambiguous.
6545 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
6547 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
6548 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
6549 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
6550 * src/Makefile.in: Regenerate.
6551 * libsupc++/Makefile.in: Regenerate.
6553 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6555 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
6556 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
6557 version_specific_libs is enabled.
6558 * aclocal.m4, configure: Rebuilt.
6560 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
6562 * include/bits/valarray_meta.h: Remove, split into ...
6563 * include/bits/valarray_before.h: ... this, and ...
6564 * include/bits/valarray_after.h: ... this.
6565 * include/std/std_valarray.h: Adjust.
6566 * include/Makefile.am (bits_headers): Adjust.
6567 * include/Makefile.in: Regenerate.
6569 2003-01-24 Andreas Schwab <schwab@suse.de>
6571 * config/linker-map.gnu: Fix for size_t variance.
6573 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6576 * include/std/std_streambuf.h
6577 (basic_streambuf::basic_streambuf,
6578 basic_streambuf::~basic_streambuf,
6579 basic_streambuf::getloc, basic_streambuf::imbue):
6580 Remove _M_buf_locale_init
6581 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6582 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6583 * testsuite/27_io/streambuf_members.cc (test08): Add.
6584 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6586 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6588 Revert include ordering.
6589 * config/locale/generic/c_locale.h: Add include guards.
6590 * config/locale/gnu/c_locale.h: Same.
6591 * include/bits/locale_classes.h: Remove cctype include.
6592 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6593 * include/std/std_fstream.h: Remove streambuf include.
6594 * include/std/std_sstream.h: Remove streambuf include.
6596 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6598 * configure.in (libtool_VERSION): To 6:0:0.
6599 * configure: Regenerated.
6600 * config/linker-map.gnu: Clean.
6602 * src/misc-inst.cc: Remove instantiations.
6604 * include/bits/stl_alloc.h (__malloc_alloc_template):
6606 (__default_alloc_template): To __pool_alloc.
6607 * src/stl-inst.cc: Same.
6608 * include/backward/alloc.h: Update.
6609 * testsuite/ext/allocators.cc: Update.
6611 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6612 really try to remove these if possible.
6613 * src/locale.cc (std): Same.
6615 * testsuite/abi_check.cc (check_version): Add.
6617 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6618 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6619 Mark Mitchell <mark@codesourcery.com>
6622 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6623 (basic_filebuf::underflow): Declare.
6626 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6628 * include/bits/locale_facets.h: Move non-facet classes requiring
6630 * include/bits/locale_classes.h: New.
6631 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6632 * include/bits/Makefile.in: Regenerate.
6634 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
6635 * config/locale/gnu/c_locale.h: ...here.
6636 * config/locale/generic/c_locale.h: Same.
6638 * include/bits/locale_facets.tcc: Move declarations to...
6639 * include/bits/locale_facets.h: ...here.
6640 * include/bits/basic_ios.h: Tweak includes accordingly.
6641 * include/std/std_sstream.h: Add streambuf include.
6642 * include/std/std_fstream.h: Ditto.
6643 * include/std/std_locale.h: Add locale_classes.h include.
6644 * include/std/std_iosfwd.h: Tweak.
6645 * src/concept-inst.cc: Add iterator include.
6647 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
6648 bits as unexported in the future.
6650 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
6652 Reshuffle 22_locale testsuite.
6653 * 22_locale/(codecvt.cc money_get.cc
6654 codecvt_members_char_char.cc money_get_members_char.cc
6655 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
6656 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
6657 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
6658 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
6659 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
6660 money_put_members_char.cc ctor_copy_dtor.cc
6661 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
6662 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
6663 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
6664 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
6665 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
6666 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
6667 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
6668 operators.cc ctype_widen_char.cc static_members.cc
6669 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
6670 global_templates.cc time_get_members_wchar_t.cc, members.cc,
6671 time_put.cc, messages_byname.cc, time_put_members_char.cc,
6672 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
6673 Split up into individual test cases...
6674 * 22_locale/codecvt/1.cc: New.
6675 * 22_locale/codecvt/2.cc: New.
6676 * 22_locale/codecvt/always_noconv/char/1.cc: New.
6677 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
6678 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
6679 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
6680 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
6681 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
6682 * 22_locale/codecvt/encoding/char/1.cc: New.
6683 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
6684 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
6685 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
6686 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
6687 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
6688 * 22_locale/codecvt/in/char/1.cc: New.
6689 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
6690 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
6691 * 22_locale/codecvt/in/wchar_t/1.cc: New.
6692 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
6693 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
6694 * 22_locale/codecvt/length/char/1.cc: New.
6695 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
6696 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
6697 * 22_locale/codecvt/length/wchar_t/1.cc: New.
6698 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
6699 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
6700 * 22_locale/codecvt/max_length/char/1.cc: New.
6701 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
6702 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
6703 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
6704 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
6705 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
6706 * 22_locale/codecvt/out/char/1.cc: New.
6707 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
6708 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
6709 * 22_locale/codecvt/out/wchar_t/1.cc: New.
6710 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
6711 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
6712 * 22_locale/codecvt/unicode/char.cc: New.
6713 * 22_locale/codecvt/unicode/wchar_t.cc: New.
6714 * 22_locale/codecvt/unshift/char/1.cc: New.
6715 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
6716 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
6717 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
6718 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
6719 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
6720 * 22_locale/collate/1.cc: New.
6721 * 22_locale/collate/2.cc: New.
6722 * 22_locale/collate/compare/char/1.cc: New.
6723 * 22_locale/collate/compare/char/2.cc: New.
6724 * 22_locale/collate/compare/char/wrapped_env.cc: New.
6725 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
6726 * 22_locale/collate/compare/wchar_t/1.cc: New.
6727 * 22_locale/collate/compare/wchar_t/2.cc: New.
6728 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
6729 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
6730 * 22_locale/collate/hash/char/1.cc: New.
6731 * 22_locale/collate/hash/char/2.cc: New.
6732 * 22_locale/collate/hash/char/wrapped_env.cc: New.
6733 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
6734 * 22_locale/collate/hash/wchar_t/1.cc: New.
6735 * 22_locale/collate/hash/wchar_t/2.cc: New.
6736 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
6737 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
6738 * 22_locale/collate/transform/char/2.cc: New.
6739 * 22_locale/collate/transform/char/wrapped_env.cc: New.
6740 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
6741 * 22_locale/collate/transform/wchar_t/2.cc: New.
6742 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
6743 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
6744 * 22_locale/collate_byname/1.cc: New.
6745 * 22_locale/ctype/1.cc: New.
6746 * 22_locale/ctype/2.cc: New.
6747 * 22_locale/ctype/cons/char/1.cc: New.
6748 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
6749 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
6750 * 22_locale/ctype/is/char/1.cc: New.
6751 * 22_locale/ctype/is/char/2.cc: New.
6752 * 22_locale/ctype/is/char/3.cc: New.
6753 * 22_locale/ctype/is/char/wrapped_env.cc: New.
6754 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
6755 * 22_locale/ctype/is/wchar_t/1.cc: New.
6756 * 22_locale/ctype/is/wchar_t/2.cc: New.
6757 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
6758 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
6759 * 22_locale/ctype/narrow/char/1.cc: New.
6760 * 22_locale/ctype/narrow/char/2.cc: New.
6761 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
6762 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
6763 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
6764 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
6765 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
6766 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
6767 * 22_locale/ctype/scan/char/1.cc: New.
6768 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
6769 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
6770 * 22_locale/ctype/scan/wchar_t/1.cc: New.
6771 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
6772 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
6773 * 22_locale/ctype/to/char/1.cc: New.
6774 * 22_locale/ctype/to/char/wrapped_env.cc: New.
6775 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
6776 * 22_locale/ctype/to/wchar_t/1.cc: New.
6777 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
6778 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
6779 * 22_locale/ctype/widen/char/1.cc: New.
6780 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
6781 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
6782 * 22_locale/ctype/widen/wchar_t/1.cc: New.
6783 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
6784 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
6785 * 22_locale/facet/1.cc: New.
6786 * 22_locale/facet/2.cc: New.
6787 * 22_locale/global_templates/1.cc: New.
6788 * 22_locale/locale/cons/1.cc: New.
6789 * 22_locale/locale/cons/2.cc: New.
6790 * 22_locale/locale/cons/3.cc: New.
6791 * 22_locale/locale/cons/4.cc: New.
6792 * 22_locale/locale/cons/5.cc: New.
6793 * 22_locale/locale/cons/6.cc: New.
6794 * 22_locale/locale/cons/7.cc: New.
6795 * 22_locale/locale/global_locale_objects/1.cc: New.
6796 * 22_locale/locale/global_locale_objects/2.cc: New.
6797 * 22_locale/locale/global_locale_objects/3.cc: New.
6798 * 22_locale/locale/operations/1.cc: New.
6799 * 22_locale/locale/operations/2.cc: New.
6800 * 22_locale/messages/1.cc: New.
6801 * 22_locale/messages/2.cc: New.
6802 * 22_locale/messages/members/char/1.cc: New.
6803 * 22_locale/messages/members/char/2.cc: New.
6804 * 22_locale/messages/members/char/3.cc: New.
6805 * 22_locale/messages/members/char/wrapped_env.cc: New.
6806 * 22_locale/messages/members/char/wrapped_locale.cc: New.
6807 * 22_locale/messages_byname/1.cc: New.
6808 * 22_locale/money_get/1.cc: New.
6809 * 22_locale/money_get/2.cc: New.
6810 * 22_locale/money_get/get/char/1.cc: New.
6811 * 22_locale/money_get/get/char/2.cc: New.
6812 * 22_locale/money_get/get/char/3.cc: New.
6813 * 22_locale/money_get/get/char/4.cc: New.
6814 * 22_locale/money_get/get/char/5.cc: New.
6815 * 22_locale/money_get/get/char/6.cc: New.
6816 * 22_locale/money_get/get/char/7.cc: New.
6817 * 22_locale/money_get/get/char/8.cc: New.
6818 * 22_locale/money_get/get/char/wrapped_env.cc: New.
6819 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
6820 * 22_locale/money_get/get/wchar_t/1.cc: New.
6821 * 22_locale/money_get/get/wchar_t/2.cc: New.
6822 * 22_locale/money_get/get/wchar_t/3.cc: New.
6823 * 22_locale/money_get/get/wchar_t/4.cc: New.
6824 * 22_locale/money_get/get/wchar_t/5.cc: New.
6825 * 22_locale/money_get/get/wchar_t/6.cc: New.
6826 * 22_locale/money_get/get/wchar_t/7.cc: New.
6827 * 22_locale/money_get/get/wchar_t/8.cc: New.
6828 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
6829 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
6830 * 22_locale/money_put/1.cc: New.
6831 * 22_locale/money_put/2.cc: New.
6832 * 22_locale/money_put/put/char/1.cc: New.
6833 * 22_locale/money_put/put/char/2.cc: New.
6834 * 22_locale/money_put/put/char/3.cc: New.
6835 * 22_locale/money_put/put/char/4.cc: New.
6836 * 22_locale/money_put/put/char/5.cc: New.
6837 * 22_locale/money_put/put/char/6.cc: New.
6838 * 22_locale/money_put/put/char/wrapped_env.cc: New.
6839 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
6840 * 22_locale/money_put/put/wchar_t/1.cc: New.
6841 * 22_locale/money_put/put/wchar_t/2.cc: New.
6842 * 22_locale/money_put/put/wchar_t/3.cc: New.
6843 * 22_locale/money_put/put/wchar_t/4.cc: New.
6844 * 22_locale/money_put/put/wchar_t/5.cc: New.
6845 * 22_locale/money_put/put/wchar_t/6.cc: New.
6846 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
6847 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
6848 * 22_locale/moneypunct/1.cc: New.
6849 * 22_locale/moneypunct/2.cc: New.
6850 * 22_locale/moneypunct/3.cc: New.
6851 * 22_locale/moneypunct/members/char/1.cc: New.
6852 * 22_locale/moneypunct/members/char/2.cc: New.
6853 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
6854 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
6855 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
6856 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
6857 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
6858 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
6859 * 22_locale/moneypunct_byname/1.cc: New.
6860 * 22_locale/num_get/1.cc: New.
6861 * 22_locale/num_get/2.cc: New.
6862 * 22_locale/num_get/get/char/1.cc: New.
6863 * 22_locale/num_get/get/char/2.cc: New.
6864 * 22_locale/num_get/get/char/3.cc: New.
6865 * 22_locale/num_get/get/char/4.cc: New.
6866 * 22_locale/num_get/get/char/5.cc: New.
6867 * 22_locale/num_get/get/char/6.cc: New.
6868 * 22_locale/num_get/get/char/wrapped_env.cc: New.
6869 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
6870 * 22_locale/num_get/get/wchar_t/1.cc: New.
6871 * 22_locale/num_get/get/wchar_t/2.cc: New.
6872 * 22_locale/num_get/get/wchar_t/3.cc: New.
6873 * 22_locale/num_get/get/wchar_t/4.cc: New.
6874 * 22_locale/num_get/get/wchar_t/5.cc: New.
6875 * 22_locale/num_get/get/wchar_t/6.cc: New.
6876 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
6877 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
6878 * 22_locale/num_put/1.cc: New.
6879 * 22_locale/num_put/2.cc: New.
6880 * 22_locale/num_put/put/char/1.cc: New.
6881 * 22_locale/num_put/put/char/2.cc: New.
6882 * 22_locale/num_put/put/char/3.cc: New.
6883 * 22_locale/num_put/put/char/4.cc: New.
6884 * 22_locale/num_put/put/char/5.cc: New.
6885 * 22_locale/num_put/put/char/wrapped_env.cc: New.
6886 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
6887 * 22_locale/num_put/put/wchar_t/1.cc: New.
6888 * 22_locale/num_put/put/wchar_t/2.cc: New.
6889 * 22_locale/num_put/put/wchar_t/3.cc: New.
6890 * 22_locale/num_put/put/wchar_t/4.cc: New.
6891 * 22_locale/num_put/put/wchar_t/5.cc: New.
6892 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
6893 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
6894 * 22_locale/numpunct/1.cc: New.
6895 * 22_locale/numpunct/2.cc: New.
6896 * 22_locale/numpunct/members/char/1.cc: New.
6897 * 22_locale/numpunct/members/char/2.cc: New.
6898 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
6899 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
6900 * 22_locale/numpunct/members/wchar_t/1.cc: New.
6901 * 22_locale/numpunct/members/wchar_t/2.cc: New.
6902 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
6903 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
6904 * 22_locale/numpunct_byname/1.cc: New.
6905 * 22_locale/numpunct_byname/2.cc: New.
6906 * 22_locale/time_get/1.cc: New.
6907 * 22_locale/time_get/2.cc: New.
6908 * 22_locale/time_get/date_order/char/1.cc: New.
6909 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
6910 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
6911 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
6912 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
6913 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
6914 * 22_locale/time_get/get_date/char/1.cc: New.
6915 * 22_locale/time_get/get_date/char/2.cc: New.
6916 * 22_locale/time_get/get_date/char/3.cc: New.
6917 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
6918 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
6919 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
6920 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
6921 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
6922 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
6923 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
6924 * 22_locale/time_get/get_monthname/char/1.cc: New.
6925 * 22_locale/time_get/get_monthname/char/2.cc: New.
6926 * 22_locale/time_get/get_monthname/char/3.cc: New.
6927 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
6928 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
6929 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
6930 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
6931 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
6932 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
6933 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
6934 * 22_locale/time_get/get_time/char/1.cc: New.
6935 * 22_locale/time_get/get_time/char/2.cc: New.
6936 * 22_locale/time_get/get_time/char/3.cc: New.
6937 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
6938 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
6939 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
6940 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
6941 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
6942 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
6943 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
6944 * 22_locale/time_get/get_weekday/char/1.cc: New.
6945 * 22_locale/time_get/get_weekday/char/2.cc: New.
6946 * 22_locale/time_get/get_weekday/char/3.cc: New.
6947 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
6948 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
6949 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
6950 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
6951 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
6952 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
6953 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
6954 * 22_locale/time_get/get_year/char/1.cc: New.
6955 * 22_locale/time_get/get_year/char/3.cc: New.
6956 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
6957 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
6958 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
6959 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
6960 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
6961 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
6962 * 22_locale/time_put/1.cc: New.
6963 * 22_locale/time_put/2.cc: New.
6964 * 22_locale/time_put/put/char/1.cc: New.
6965 * 22_locale/time_put/put/char/10.cc: New.
6966 * 22_locale/time_put/put/char/2.cc: New.
6967 * 22_locale/time_put/put/char/3.cc: New.
6968 * 22_locale/time_put/put/char/4.cc: New.
6969 * 22_locale/time_put/put/char/5.cc: New.
6970 * 22_locale/time_put/put/char/6.cc: New.
6971 * 22_locale/time_put/put/char/7.cc: New.
6972 * 22_locale/time_put/put/char/8.cc: New.
6973 * 22_locale/time_put/put/char/9.cc: New.
6974 * 22_locale/time_put/put/char/wrapped_env.cc: New.
6975 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
6976 * 22_locale/time_put/put/wchar_t/1.cc: New.
6977 * 22_locale/time_put/put/wchar_t/10.cc: New.
6978 * 22_locale/time_put/put/wchar_t/2.cc: New.
6979 * 22_locale/time_put/put/wchar_t/3.cc: New.
6980 * 22_locale/time_put/put/wchar_t/4.cc: New.
6981 * 22_locale/time_put/put/wchar_t/5.cc: New.
6982 * 22_locale/time_put/put/wchar_t/6.cc: New.
6983 * 22_locale/time_put/put/wchar_t/7.cc: New.
6984 * 22_locale/time_put/put/wchar_t/8.cc: New.
6985 * 22_locale/time_put/put/wchar_t/9.cc: New.
6986 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
6987 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
6989 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
6991 * config/locale/generic/messages_members.h
6992 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
6993 unqualified members of base clasess.
6995 2003-01-16 Mark Mitchell <mark@codesourcery.com>
6996 Jeffrey Oldham <oldham@codesourcery.com>
6998 * config/locale/gnu/messages_members.h: Use this-> to refer to
6999 unqualified members of base clasess.
7000 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
7001 * include/bits/codecvt.h: Likewise.
7002 * include/bits/deque.tcc: Likewise.
7003 * include/bits/fstream.tcc: Likewise.
7004 * include/bits/istream.tcc: Likewise.
7005 * include/bits/list.tcc: Likewise.
7006 * include/bits/locale_facets.h: Likewise.
7007 * include/bits/ostream.tcc: Likewise.
7008 * include/bits/sstream.tcc: Likewise.
7009 * include/bits/stl_bvector.h: Likewise.
7010 * include/bits/stl_deque.h: Likewise.
7011 * include/bits/stl_list.h: Likewise.
7012 * include/bits/stl_tree.h: Likewise.
7013 * include/bits/stl_vector.h: Likewise.
7014 * include/bits/vector.tcc: Likewise.
7015 * include/ext/ropeimpl.h: Likewise.
7016 * include/ext/stdio_filebuf.h: Likewise.
7017 * include/ext/stl_rope.h: Likewise.
7018 * include/std/std_fstream.h: Likewise.
7019 * include/std/std_sstream.h: Likewise.
7021 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
7023 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
7025 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
7027 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
7028 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
7029 * aclocal.m4: Regenerate.
7030 * configure: Regenerate.
7031 * testsuite/Makefile.am (all-local): Add conditional rule to
7032 generate testsuite_wchar_t.
7033 * testsuite/Makefile.in: Regenerate.
7034 * testsuite/lib/libstdc++-v3-dg.exp
7035 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
7036 testsuite_wchar_t is not present in the build directory.
7037 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
7038 Remove setulimit bits.
7039 * testsuite/26_numerics/complex_value.cc: Set to noopts.
7040 * testsuite/Makefile.am (CLEANFILES): Add.
7041 * testsuite/Makefile.in: Regenerate.
7043 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
7045 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
7048 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
7050 Further conform g++'s __vmi_class_type_info to the C++ ABI
7052 * libsupc++/cxxabi.h
7053 (__vmi_class_type_info::__flags_masks): Remove enumerations not
7054 required by the specification.
7056 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
7058 Renames, namespaces for testsuite utilities.
7059 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
7060 (gnu_allocator_tracker): Rename to allocation_tracker.
7061 (gnu_new_allocator): Rename to tracker_alloc.
7062 (__set_testsuite_memlimit): Rename to set_memory_limits.
7063 (gnu_assignment_operator): Rename to assignment_operator.
7064 (gnu_destructor): Rename to destructor.
7065 (gnu_copy_tracker): Rename to copy_tracker.
7066 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
7067 (run_tests_wrapped_locale): New.
7068 (run_tests_wrapped_env): New.
7069 * testsuite/testsuite_hooks.cc: Same.
7070 (class locale_data): Add.
7071 (class enviornment_variable): Add.
7072 (class not_found): Add.
7073 * testsuite/testsuite_allocator.h: Same.
7074 * testsuite/testsuite_allocator.cc: Same.
7075 * testsuite/23_containers/deque_ctor.cc
7076 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
7078 Change gnu_new_allocator to tracker_alloc.
7079 Change gnu_counting_struct to counter.
7080 Change gnu_copy_tracker to copy_tracker.
7081 Change gnu_copy_constructor to copy_constructor.
7082 Change gnu_assignment_operator to assignment_operator.
7084 * testsuite/23_containers/vector_capacity.cc: Same.
7085 * testsuite/23_containers/vector_ctor.cc (test01): Same.
7086 * testsuite/23_containers/list_modifiers.cc: Change
7087 gnu_copy_tracker to copy_tracker.
7088 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
7089 __set_testsuite_memlimit to set_memory_limits.
7090 * testsuite/21_strings/insert.cc (main): Same.
7091 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
7092 * testsuite/27_io/stringstream.cc: Same.
7093 * testsuite/27_io/stringbuf.cc: Same.
7094 * testsuite/27_io/streambuf.cc: Same.
7095 * testsuite/27_io/ostream.cc: Same.
7096 * testsuite/27_io/istream.cc: Same.
7097 * testsuite/27_io/fstream.cc: Same.
7098 * testsuite/lib/libstdc++-v3-dg.exp
7099 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
7100 three levels deeper in glob patterns.
7102 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
7104 * docs/doxygen/tables.html: Finished now.
7105 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
7106 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
7109 * include/bits/deque.tcc, include/bits/stl_alloc.h,
7110 include/bits/stl_deque.h, include/bits/stl_list.h,
7111 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
7114 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
7116 * configure.in: Revert.
7117 * configure: Regenerate.
7119 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
7121 * include/Makefile.am (install-data-local): Prepend
7122 $(DESTDIR) to destination paths in all (un)installation
7123 commands. Use ${c_base_builddir} and ${std_builddir}
7124 as destination subdirectories to achieve consistency with
7125 preceding mkinstalldirs commands. No effect because both
7126 variables contain "." only.
7127 * include/Makefile.in: Regenerate.
7129 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
7131 * include/Makefile.am (stamp-*): Add checks for existing stamps.
7132 * include/Makefile.in: Regenerate.
7134 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
7135 * aclocal.m4: Regenerate.
7137 * configure.in: Don't add new multi-do rules every time the
7138 directory is reconfigured.
7139 * configure: Regenerate.
7141 2003-01-08 Brad Spencer <spencer@infointeractive.com>
7142 Nathan Myers <ncm@cantrip.org>
7144 * src/Makefile.am (stamp-debug): Clean.
7145 * src/Makefile.in: Regenerate.
7147 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
7150 * Makefile.am (distclean-multi): Fix.
7151 * Makefile.in: Regenerate.
7153 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
7155 * include/bits/locale_facets.h (messages): Move ctor, dtor
7157 (__timepunct): Same.
7158 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
7159 definitions. Conditionalize for GNU systems.
7160 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
7162 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
7163 definitions. Conditionalize for GNU systems.
7164 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
7166 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
7167 * src/locale.cc: Define.
7168 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
7170 * config/locale/gnu/time_members.h: Use it.
7171 * config/locale/gnu/messages_members.h: Use it.
7172 * config/linker-map.gnu: Add locale::facets details.
7173 * include/Makefile.am (target_headers_extra): Add time_members.h.
7174 * include/Makefile.in: Regenerate.
7175 * acinclude.m4: Export CTIME_H.
7176 * aclocal.m4: Regenerate.
7177 * configure: Regnerate.
7179 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7182 (codecvt<char, char, mbstate_t>::do_in, do_out):
7183 Tweak parameters to avoid unused parameter warnings.
7185 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7188 * include/bits/locale_facets.cc (num_put::_M_convert_float):
7189 Limit __prec to digits10 + 2, not digits10 + 1, taking into
7190 account the possibility of %{g,G} conversion specifiers
7191 inside _S_format_float.
7192 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
7194 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7196 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
7197 libstdc++-v3-list-sourcefiles): Additionally handle files one
7198 level deeper in glob patterns.
7200 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
7201 * testsuite/27_io/istream_extractor_arith/01.cc,
7202 testsuite/27_io/istream_extractor_arith/02.cc,
7203 testsuite/27_io/istream_extractor_arith/03.cc,
7204 testsuite/27_io/istream_extractor_arith/06.cc,
7205 testsuite/27_io/istream_extractor_arith/07.cc,
7206 testsuite/27_io/istream_extractor_arith/08.cc,
7207 testsuite/27_io/istream_extractor_arith/09.cc,
7208 testsuite/27_io/istream_extractor_arith/10.cc,
7209 testsuite/27_io/istream_extractor_arith/11.cc,
7210 testsuite/27_io/istream_extractor_arith/12.cc,
7211 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
7212 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
7215 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
7219 (codecvt<char, char, mbstate_t>::do_in, do_out):
7220 Implement the resolution of DR19 (TC).
7221 * testsuite/22_locale/codecvt_members_char_char.cc
7224 2003-01-02 Jason Merrill <jason@redhat.com>
7226 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
7227 *__mem is also an output.
7228 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.