1 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
3 * acinclude.m4: Add bit missing from previous patch.
4 * aclocal.m4, configure: Regenerated.
6 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
8 * docs/doxygen/mainpage.html: Bring up to date.
9 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
11 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
12 breaks everything. Don't scan them.
13 * docs/html/documentation.html: Point to "Write after approval"
16 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
18 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
19 of libc if message translations are being used. Fix info text in
20 xieee_1003.1-2001 case.
21 * aclocal.m4, configure: Regenerate.
23 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
24 Loren J. Rittle <ljrittle@acm.org>
25 Martin v. Loewis <martin@v.loewis.de>
27 * config/cpu/i386/atomicity.h: New file.
29 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
31 * include/bits/fstream.tcc (open): Change to single return.
33 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
35 * include/std/std_sstream.h (underflow): Change to single return.
37 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
39 * include/std/std_streambuf.h (_M_buf): is currently
40 used only for basic_filebuf, therefore move it there.
41 (basic_streambuf(), ~basic_streambuf()): Adjust.
42 * include/std/std_fstream.h (_M_buf): Moved here.
43 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
44 is actually redundant for basic_stringbuf.
45 (_M_really_sync): Likewise.
46 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
47 * include/bits/sstream.tcc (seekoff): Adjust.
49 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
51 * src/localename.cc: Standardize exception strings.
52 * src/locale.cc: Same.
54 * include/bits/basic_string.tcc: Same.
55 * include/bits/basic_ios.tcc: Same.
56 * include/std/std_bitset.h: Same.
57 * include/ext/ropeimpl.h: Same.
58 * include/bits/stl_vector.h: Same.
59 * include/bits/stl_deque.h: Same.
60 * include/bits/stl_bvector.h: Same.
61 * config/locale/generic/c_locale.cc: Same.
62 * config/locale/gnu/c_locale.cc: Same.
63 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
65 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
67 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
69 * include/std/std_streambuf.h (_M_buf_size): is currently
70 used only for basic_filebuf, therefore move it there.
71 (basic_streambuf(), ~basic_streambuf()): Adjust.
72 * include/std/std_fstream.h (_M_buf_size): Moved here.
73 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
75 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
77 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
78 _M_buf_size (synced input is now correctly dealt with
79 elsewhere); when the output buffer is full don't fall back
80 to a snextc-sputc loop, call overflow instead.
82 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
84 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
85 the innermost 'if' by factoring out some code.
87 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
89 * configure.in: Test for libintl.h.
90 * include/bits/c++config: Define __N for everybody.
91 * include/bits/basic_string.h, include/bits/stl_bvector.h,
92 include/bits/stl_deque.h, include/bits/stl_vector.h,
93 include/std/std_bitset.h: Wrap all __throw* text with __N.
94 * po/Makefile.am (pot): New rule, mostly working.
95 * src/functexcept.cc: Call gettext on all __throw* arguments when
96 -fexceptions is in effect.
97 * po/Makefile.in, config.h.in, configure: Regenerate.
99 2003-04-28 Petur Runolfsson <peturr02@ru.is>
102 * include/bits/ios_base.h (Init::_S_ios_create,
103 Init::_S_ios_destroy): Remove declarations.
104 (Init::_S_create_buffers,
105 Init::_S_destroy_buffers): Declare
106 * src/ios.cc (Init::_S_ios_create): Remove
107 (Init::_S_create_buffers): Create buffers and add to streams.
108 (Init::_S_ios_destroy): Rename to...
109 (Init::_S_destroy_buffers): this.
110 (Init::Init): Only construct streams once.
111 (Init::~Init): Flush streams, don't destroy them.
112 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
113 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
114 * testsuite/27_io/objects/char/5.cc: New test.
115 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
116 * testsuite/27_io/objects/char/6.cc: New test.
117 * testsuite/27_io/objects/char/7.cc: New test.
119 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
121 * testsuite/27_io/objects/char/8.cc: New test.
123 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
125 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
126 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
128 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
130 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
131 _M_destroy_pback. _M_pback_create to
132 _M_create_pback. _M_underflow_common to
133 _M_underflow. _M_really_overflow to _M_overflow.
134 * include/bits/fstream.tcc: Same.
135 * src/fstream.cc: Same.
136 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
137 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
138 * include/bits/streambuf.tcc: Same.
139 * include/bits/fstream.tcc: Same.
140 * include/bits/sstream.tcc: Same.
142 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
144 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
145 from fixed size array.
146 (locale): Change _S_categories as well.
148 * include/bits/locale_facets.tcc: Tweak.
149 * config/locale/gnu/c_locale.cc: Assign _S_categories.
150 * config/locale/generic/c_locale.cc: Same.
151 * src/locale.cc: Tweak.
152 * src/globals.cc: Change facet_name to name_vec, add names_c.
153 * src/localename.cc: Use them.
154 (locale::_Impl::~_Impl): Destroy _M_names.
155 (locale::_Impl::_Impl): Create _M_names.
157 2003-04-27 Andreas Schwab <schwab@suse.de>
159 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
160 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
162 2003-04-27 Nathan Myers <ncm@cantrip.org>
164 Move some basic_string members out of line because
165 they are too big to reasonably be inline.
166 * include/bits/basic_string.h
167 (assign(const basic_string&, size_type, size_type),
168 assign(const _CharT*, size_type),
169 insert(size_type, const basic_string&, size_type, size_type),
170 insert(size_type, const _CharT*, size_type),
171 replace(size_type, size_type, const _CharT*, size_type)):
173 * include/bits/basic_string.tcc: ...here.
175 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
177 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
178 the innermost 'if' by factoring out some code.
180 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
182 * include/bits/streambuf.tcc (__copy_streambufs): Don't
183 use in_avail(), simplify.
185 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
187 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
188 in basic_stringbuf it's unused.
190 * include/std/std_sstream.h (underflow): consistently use
191 _M_in_cur, not gptr().
193 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
194 Phil Edwards <pme@gcc.gnu.org>
196 * testsuite_flags.in: Guard against the possibility
197 of having "xgcc" as a part of a folder name in the
198 path to the GCC build folder.
199 * testsuite/Makefile.am: Likewise.
200 * testsuite/Makefile.in: Regenerated.
202 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
205 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
206 exception specifications.
207 (basic_filebuf::close): Same.
208 (basic_filebuf::_M_pback_destroy): Same.
209 (basic_filebuf::_M_destroy_internal_buffer): Same.
210 (basic_filebuf): Remove __res_type typedef.
211 * src/fstream.cc: Same.
212 * include/bits/fstream.tcc
213 (basic_filebuf::_M_convert_to_external): Simplify.
214 (basic_filebuf::seekoff): Use has_facet before use_facet.
215 (basic_filebuf::close): Add exception specification of throw().
216 * testsuite/27_io/basic_filebuf/cons: New.
217 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
218 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
219 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
220 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
222 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
224 * include/bits/locale_classes.h
225 (locale::_S_extra_categories_size): Remove.
226 * src/locale.cc: Remove _S_extra_categories_size.
227 * src/localename.cc: Same.
228 * config/locale/gnu/c_locale.cc: Same.
229 * config/locale/generic/c_locale.cc: Same.
231 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
233 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
235 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
237 * docs/html/17_intro/howto.html: Update some links.
238 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
239 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
240 * docs/html/ext/howto.html: Link to demangler notes and API.
241 * docs/html/faq/index.html: Remove trailing whitespace.
242 (1.4, 2.4, 3.8, 4.1): Bring up to date.
243 (5.6): Change to a bulleted list.
245 * docs/html/faq/index.txt, docs/html/documentation.html,
246 docs/html/17_intro/porting.html: Regenerate.
248 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
250 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
251 belongs to basic_filebuf.
252 * testsuite/27_io/basic_fstream/3.cc: Likewise.
253 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
254 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
255 instantiation (now belongs to basic_filebuf).
256 * testsuite/27_io/basic_iostream/3.cc: Likewise.
257 * testsuite/27_io/basic_istream/3.cc: Likewise.
258 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
259 _S_pback_size now belongs to basic_filebuf.
260 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
261 instantiation (now belongs to basic_filebuf).
262 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
263 belongs to basic_filebuf.
264 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
265 instantiation (now belongs to basic_filebuf).
266 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
267 _S_pback_size now belongs to basic_filebuf.
268 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
269 instantiation (now belongs to basic_filebuf).
270 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
272 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
273 instantiation (now belongs to basic_filebuf).
274 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
276 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
278 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
279 * configure: Regenerated.
281 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
283 * config/locale/generic/c_locale.h (__convert_from_v): Use
286 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
288 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
290 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
291 Comment and change to comply with DR 60 and the effect on gcount().
292 * include/std/std_istream.h: Update comments.
293 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
294 comments about reasons for tests. Test sync() against gcount().
295 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
296 for effect on gcount().
297 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
298 for effect on gcount().
300 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
302 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
305 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
307 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
308 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
309 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
310 (basic_streambuf::basic_streambuf()): Adjust.
311 * include/std/std_fstream.h (_S_pback_size, _M_pback,
312 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
313 _M_pback_create(), _M_pback_destroy()): Moved here
314 from basic_streambuf.
315 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
317 (basic_filebuf::_S_pback_size): Add declaration.
318 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
321 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
323 Consistently use _M_in_beg instead of eback(), _M_in_cur
324 instead of gptr(), and so on.
325 * include/bits/fstream.tcc (pbackfail, imbue): Here.
326 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
327 * include/bits/streambuf.tcc (sbumpc, sputbackc,
328 __copy_streambufs): Ditto.
329 * include/std/std_streambuf.h (sgetc): Ditto.
331 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
333 * include/bits/sstream.tcc (pbackfail, overflow):
336 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
338 * include/std/std_streambuf.h (uflow()): It's used only by
339 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
340 therefore do not consider the _M_buf_unified == true case.
342 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
344 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
346 * docs/html/ext/howto.html ('LWG Issues'):
347 Add issues 19, 90, 171, 231, 271.
349 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
351 * include/bits/sstream.tcc (pbackfail): Remove redundant
352 NULL pointer check from test involving _M_in_*.
353 (overflow, seekoff, seekpos): Const qualify bool variables.
354 * include/std/std_sstream.h (underflow): Remove redundant
355 NULL pointer check from test involving _M_in_*.
356 (_M_really_sync): Const qualify bool variables.
357 * src/fstream.cc (_M_underflow_common): Remove redundant
358 NULL pointer check from test involving _M_in_*, const qualify
361 * include/std/std_streambuf.h (sgetc): Remove redundant
364 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
366 According to 5.9 para 2 (second bullet) for pointers p, q
367 pointing to the same type, with p == 0 and q == 0, (p < q)
369 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
370 seekoff): Remove redundant NULL pointer checks from tests
371 involving _M_out_* and _M_in_*, const qualify bool variables.
372 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
373 qualify bool variables.
374 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
375 Remove redundant NULL pointer checks from tests involving
376 _M_out_* and _M_in_*, const qualify bool variables.
377 * include/std/std_fstream.h (sync): Likewise.
378 (_M_is_indeterminate): Const qualify bool variables.
379 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
380 NULL pointer checks from tests involving _M_out_* and _M_in_*,
381 const qualify bool variables.
382 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
385 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
387 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
388 C99 FP macros, if actually captured.
390 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
391 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
392 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
393 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
394 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
396 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
397 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
398 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
399 * include/c_std/std_cstdlib.h: Use new macros.
400 * include/c_std/std_cstdio.h: Use new macros.
401 * include/c_std/std_cwchar.h: Use new macros.
403 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
406 * include/bits/ostream.tcc: Catch all exceptions for formatted
407 output, instead of std::exception and derivatives.
408 * include/bits/istream.tcc: Same.
409 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
410 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
411 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
412 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
413 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
414 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
417 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
419 * include/bits/c++config: Minor cosmetic tweaks.
421 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
423 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
424 * include/Makefile.am (pch_input): Find in ${target_builddir}.
425 (pch_output): Rename to...
426 (pch_output_builddir): ..this. Find in ${target_builddir}.
428 (pch_build): Key off a built file.
429 (pch_output rule): Rename to...
430 (pch_input rule): ...this. Produce ${pch_output_builddir}
431 instead of ${pch_output}.
432 (install-pch rule): Install ${pch_output_builddir}.
433 * include/Makefile.in: Regenerated.
435 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
437 * include/std/std_streambuf.h (setp): _M_out_lim, being
438 the end limit of used put area, is set equal to _M_out_beg.
440 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
442 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
443 * aclocal.m4: Regenerated.
444 * configure.in: Remove old demangler bits.
446 * configure: Regenerate.
447 * config.h.in: Regenerate.
448 * include/Makefile.am (allstamps): Now allstamped.
449 (allcreated): Define this.
450 (all-local): Use 'em.
451 Conditionally define pch_build, pch_install based on
453 (${pch_output}): New rule.
454 (install-pch): New rule.
455 (install-headers): New rule.
456 (install-data-local): Install headers and conditionally pch.
457 * include/Makefile.in: Regenerate.
458 * testsuite_flags.in (--build-cxx): Use pch file.
460 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
462 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
464 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
465 Paolo Carlini <pcarlini at unitus dot it>
468 * docs/html/27_io/howto.html
469 ('The buffering is screwing up my program!'): Explain that
470 opening counts as an I/O operation.
472 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
474 * testsuite/thread/pthread1.cc: Enable for darwin test.
475 * testsuite/thread/pthread2.cc: Same.
476 * testsuite/thread/pthread3.cc: Same.
477 * testsuite/thread/pthread4.cc: Same.
478 * testsuite/thread/pthread5.cc: Same.
479 * testsuite/thread/pthread6.cc: Same.
481 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
484 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
485 Populate it with multiple legal ways to obtain the C99 float
486 transcendentals. Use them instead of direct global reference.
487 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
488 * docs/html/17_intro/porting.texi
489 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
490 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
491 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
492 * config/os/bsd/freebsd/os_defines.h
493 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
494 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
495 * testsuite/26_numerics/c_math_dynamic.cc: New file.
497 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
498 Benjamin Kosnik <bkoz@redhat.com>
500 * config/os/generic/ctype_inline.h: Fix.
502 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
504 * testsuite/testsuite_hooks.h
505 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
506 Change to try_named_locale.
507 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
509 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
511 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
512 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
513 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
514 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
515 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
516 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
517 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
518 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
519 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
520 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
521 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
522 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
523 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
524 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
525 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
526 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
527 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
528 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
529 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
530 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
531 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
532 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
533 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
534 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
535 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
536 * testsuite/22_locale/collate/compare/char/1.cc: Same.
537 * testsuite/22_locale/collate/compare/char/2.cc: Same.
538 * testsuite/22_locale/collate/compare/char/3.cc: Same.
539 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
540 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
541 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
542 * testsuite/22_locale/collate/hash/char/2.cc: Same.
543 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
544 * testsuite/22_locale/collate/transform/char/2.cc: Same.
545 * testsuite/22_locale/collate/transform/char/3.cc: Same.
546 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
547 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
548 * testsuite/22_locale/collate_byname/1.cc: Same.
549 * testsuite/22_locale/ctype/is/char/2.cc: Same.
550 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
551 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
552 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
553 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
554 * testsuite/22_locale/facet/2.cc: Same.
555 * testsuite/22_locale/locale/cons/2.cc: Same.
556 * testsuite/22_locale/locale/cons/4.cc: Same.
557 * testsuite/22_locale/locale/cons/5.cc: Same.
558 * testsuite/22_locale/locale/cons/7.cc: Same.
559 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
560 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
561 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
562 * testsuite/22_locale/messages/members/char/1.cc: Same.
563 * testsuite/22_locale/messages/members/char/2.cc: Same.
564 * testsuite/22_locale/messages/members/char/3.cc: Same.
565 * testsuite/22_locale/messages_byname/1.cc: Same.
566 * testsuite/22_locale/money_get/get/char/1.cc: Same.
567 * testsuite/22_locale/money_get/get/char/2.cc: Same.
568 * testsuite/22_locale/money_get/get/char/3.cc: Same.
569 * testsuite/22_locale/money_get/get/char/4.cc: Same.
570 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
571 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
572 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
573 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
574 * testsuite/22_locale/money_put/put/char/1.cc: Same.
575 * testsuite/22_locale/money_put/put/char/2.cc: Same.
576 * testsuite/22_locale/money_put/put/char/3.cc: Same.
577 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
578 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
579 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
580 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
581 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
582 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
583 * testsuite/22_locale/num_get/get/char/1.cc: Same.
584 * testsuite/22_locale/num_get/get/char/2.cc: Same.
585 * testsuite/22_locale/num_get/get/char/3.cc: Same.
586 * testsuite/22_locale/num_get/get/char/5.cc: Same.
587 * testsuite/22_locale/num_get/get/char/6.cc: Same.
588 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
589 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
590 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
591 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
592 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
593 * testsuite/22_locale/num_put/put/char/1.cc: Same.
594 * testsuite/22_locale/num_put/put/char/2.cc: Same.
595 * testsuite/22_locale/num_put/put/char/3.cc: Same.
596 * testsuite/22_locale/num_put/put/char/5.cc: Same.
597 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
598 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
599 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
600 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
601 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
602 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
603 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
604 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
605 * testsuite/22_locale/numpunct_byname/1.cc: Same.
606 * testsuite/22_locale/numpunct_byname/2.cc: Same.
607 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
608 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
609 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
610 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
611 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
612 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
613 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
614 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
615 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
616 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
617 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
618 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
619 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
620 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
621 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
622 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
623 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
624 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
625 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
626 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
627 * testsuite/22_locale/time_put/put/char/1.cc: Same.
628 * testsuite/22_locale/time_put/put/char/2.cc: Same.
629 * testsuite/22_locale/time_put/put/char/3.cc: Same.
630 * testsuite/22_locale/time_put/put/char/4.cc: Same.
631 * testsuite/22_locale/time_put/put/char/5.cc: Same.
632 * testsuite/22_locale/time_put/put/char/6.cc: Same.
633 * testsuite/22_locale/time_put/put/char/7.cc: Same.
634 * testsuite/22_locale/time_put/put/char/8.cc: Same.
635 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
636 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
637 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
638 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
639 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
640 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
641 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
642 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
643 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
644 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
645 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
646 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
647 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
649 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
651 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
652 solaris includes, not generic.
654 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
656 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
658 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
659 * include/bits/concept_check.h: Fix multi-line comment.
660 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
661 when target is *-*-freebsd*.
663 2003-04-14 Nathan Myers <ncm@cantrip.org>
664 Paolo Carlini <pcarlini@unitus.it>
666 PR libstdc++/9701 (in_avail())
667 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
668 doesn't care if there is anything in some putback cell.
669 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
671 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
672 unused string literals.
674 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
676 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
677 _M_out_end, _M_set_indeterminate() does it.
679 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
681 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
683 2003-04-12 David Edelsohn <edelsohn@gnu.org>
685 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
686 Change basic_streambuf instantiation to "unsigned char".
687 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
689 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
691 Remove _M_buf_size_opt, use directly _M_buf_size instead.
692 * include/bits/fstream.tcc
693 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
694 references to _M_buf_size_opt.
695 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
696 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
697 __bufsize to __in_avail and __size_opt to __buf_size.
698 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
699 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
700 * include/std/std_streambuf.h (~basic_streambuf(),
701 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
702 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
703 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
704 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
705 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
706 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
707 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
708 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
709 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
710 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
711 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
712 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
713 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
715 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
717 * include/ext/stdio_filebuf.h
718 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
719 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
720 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
721 since a stack-based buffer is used for small values of the size_t
723 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
724 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
725 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
727 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
730 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
731 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
733 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
735 * testsuite/22_locale/locale/cons/3.cc: Split.
736 * testsuite/22_locale/locale/cons/7222-c.cc: New.
737 * testsuite/22_locale/locale/cons/7222-env.cc: New.
738 Check before trying to create a locale from the environment.
739 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
740 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
743 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
745 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
746 locale to construct this hybrid locale, not the global locale.
748 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
750 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
751 instantiation for AIX.
752 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
753 * testsuite/25_algorithms/min_max.cc: Same.
755 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
757 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
758 twice. Always set _M_cfile to 0 when stream was open.
760 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
762 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
763 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
764 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
765 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
766 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
767 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
768 ifstream_members.cc, instantiations.cc, ios.cc,
769 ios_base_callbacks.cc, ios_base_members_static-1.tst,
770 ios_base_members_static.cc, ios_base_storage.cc,
771 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
772 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
773 iostream.cc, iostream_members.cc, istream.cc,
774 istream_exception.cc, istream_extractor_char.cc,
775 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
776 istream_extractor_other-2.tst, istream_extractor_other.cc,
777 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
778 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
779 istream_sentry.cc, istream_unformatted-1.tst,
780 istream_unformatted-1.txt, istream_unformatted.cc,
781 istringstream.cc, istringstream_members.cc,
782 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
783 ofstream_members.cc, ostream.cc, ostream_exception.cc,
784 ostream_fail.cc, ostream_inserter_arith.cc,
785 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
786 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
787 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
788 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
789 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
790 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
791 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
792 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
793 wide_stream_objects.cc, istream_extractor_arith/01.cc,
794 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
795 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
796 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
797 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
798 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
800 * 27_io/basic_filebuf/1.cc: New.
801 * 27_io/basic_filebuf/2.cc: New.
802 * 27_io/basic_filebuf/3.cc: New.
803 * 27_io/basic_filebuf/4.cc: New.
804 * 27_io/basic_filebuf/close/char/1.cc: New.
805 * 27_io/basic_filebuf/close/char/2.cc: New.
806 * 27_io/basic_filebuf/close/char/3.cc: New.
807 * 27_io/basic_filebuf/close/char/4879.cc: New.
808 * 27_io/basic_filebuf/close/char/9964.cc: New.
809 * 27_io/basic_filebuf/imbue/char/1.cc: New.
810 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
811 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
812 * 27_io/basic_filebuf/is_open/char/1.cc: New.
813 * 27_io/basic_filebuf/open/char/1.cc: New.
814 * 27_io/basic_filebuf/open/char/2.cc: New.
815 * 27_io/basic_filebuf/open/char/3.cc: New.
816 * 27_io/basic_filebuf/open/char/9507.cc: New.
817 * 27_io/basic_filebuf/overflow/char/1.cc: New.
818 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
819 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
820 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
821 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
822 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
823 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
824 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
825 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
826 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
827 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
828 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
829 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
830 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
831 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
832 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
833 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
834 * 27_io/basic_filebuf/snextc/char/1.cc: New.
835 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
836 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
837 * 27_io/basic_filebuf/sputc/char/1.cc: New.
838 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
839 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
840 * 27_io/basic_filebuf/sputn/char/1.cc: New.
841 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
842 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
843 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
844 * 27_io/basic_filebuf/sync/char/1057.cc: New.
845 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
846 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
847 * 27_io/basic_fstream/1.cc: New.
848 * 27_io/basic_fstream/2.cc: New.
849 * 27_io/basic_fstream/3.cc: New.
850 * 27_io/basic_fstream/4.cc: New.
851 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
852 * 27_io/basic_ifstream/1.cc: New.
853 * 27_io/basic_ifstream/2.cc: New.
854 * 27_io/basic_ifstream/3.cc: New.
855 * 27_io/basic_ifstream/4.cc: New.
856 * 27_io/basic_ifstream/cons/char/1.cc: New.
857 * 27_io/basic_ifstream/open/char/1.cc: New.
858 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
859 * 27_io/basic_ios/1.cc: New.
860 * 27_io/basic_ios/2.cc: New.
861 * 27_io/basic_ios/3.cc: New.
862 * 27_io/basic_ios/4.cc: New.
863 * 27_io/basic_ios/clear/char/1.cc: New.
864 * 27_io/basic_ios/cons/char/1.cc: New.
865 * 27_io/basic_ios/cons/char/2.cc: New.
866 * 27_io/basic_ios/cons/char/3.cc: New.
867 * 27_io/basic_ios/copyfmt/char/1.cc: New.
868 * 27_io/basic_ios/copyfmt/char/2.cc: New.
869 * 27_io/basic_ios/exceptions/char/1.cc: New.
870 * 27_io/basic_ios/locales/char/1.cc: New.
871 * 27_io/basic_iostream/1.cc: New.
872 * 27_io/basic_iostream/2.cc: New.
873 * 27_io/basic_iostream/3.cc: New.
874 * 27_io/basic_iostream/4.cc: New.
875 * 27_io/basic_istream/1.cc: New.
876 * 27_io/basic_istream/2.cc: New.
877 * 27_io/basic_istream/3.cc: New.
878 * 27_io/basic_istream/4.cc: New.
879 * 27_io/basic_istream/exceptions/char/9561.cc: New.
880 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
881 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
882 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
883 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
884 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
885 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
886 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
887 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
888 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
889 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
890 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
891 * 27_io/basic_istream/extractors_character/char/1.cc: New.
892 * 27_io/basic_istream/extractors_character/char/2.cc: New.
893 * 27_io/basic_istream/extractors_character/char/3.cc: New.
894 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
895 * 27_io/basic_istream/extractors_other/char/1.cc: New.
896 * 27_io/basic_istream/extractors_other/char/2.cc: New.
897 * 27_io/basic_istream/extractors_other/char/3.cc: New.
898 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
899 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
900 * 27_io/basic_istream/get/char/1.cc: New.
901 * 27_io/basic_istream/get/char/2.cc: New.
902 * 27_io/basic_istream/getline/char/1.cc: New.
903 * 27_io/basic_istream/getline/char/2.cc: New.
904 * 27_io/basic_istream/getline/char/3.cc: New.
905 * 27_io/basic_istream/ignore/char/1.cc: New.
906 * 27_io/basic_istream/ignore/char/6360.cc: New.
907 * 27_io/basic_istream/ignore/char/7220.cc: New.
908 * 27_io/basic_istream/peek/char/1.cc: New.
909 * 27_io/basic_istream/peek/char/6414.cc: New.
910 * 27_io/basic_istream/putback/char/1.cc: New.
911 * 27_io/basic_istream/read/char/1.cc: New.
912 * 27_io/basic_istream/read/char/2.cc: New.
913 * 27_io/basic_istream/read/char/3.cc: New.
914 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
915 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
916 * 27_io/basic_istream/readsome/char/8258.cc: New.
917 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
918 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
919 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
920 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
921 * 27_io/basic_istream/seekg/char/fstream.cc: New.
922 * 27_io/basic_istream/seekg/char/sstream.cc: New.
923 * 27_io/basic_istream/sentry/char/1.cc: New.
924 * 27_io/basic_istream/sentry/char/2.cc: New.
925 * 27_io/basic_istream/sentry/char/3.cc: New.
926 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
927 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
928 * 27_io/basic_istream/tellg/char/1.cc: New.
929 * 27_io/basic_istream/tellg/char/8348.cc: New.
930 * 27_io/basic_istream/tellg/char/fstream.cc: New.
931 * 27_io/basic_istream/tellg/char/sstream.cc: New.
932 * 27_io/basic_istream/ws/char/1.cc: New.
933 * 27_io/basic_istringstream/1.cc: New.
934 * 27_io/basic_istringstream/2.cc: New.
935 * 27_io/basic_istringstream/3.cc: New.
936 * 27_io/basic_istringstream/4.cc: New.
937 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
938 * 27_io/basic_istringstream/str/char/1.cc: New.
939 * 27_io/basic_ofstream/1.cc: New.
940 * 27_io/basic_ofstream/2.cc: New.
941 * 27_io/basic_ofstream/3.cc: New.
942 * 27_io/basic_ofstream/4.cc: New.
943 * 27_io/basic_ofstream/cons/char/2.cc: New.
944 * 27_io/basic_ofstream/open/char/1.cc: New.
945 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
946 * 27_io/basic_ostream/1.cc: New.
947 * 27_io/basic_ostream/2.cc: New.
948 * 27_io/basic_ostream/3.cc: New.
949 * 27_io/basic_ostream/4.cc: New.
950 * 27_io/basic_ostream/cons/char/9827.cc: New.
951 * 27_io/basic_ostream/endl/char/1.cc: New.
952 * 27_io/basic_ostream/ends/char/1.cc: New.
953 * 27_io/basic_ostream/ends/char/2.cc: New.
954 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
955 * 27_io/basic_ostream/flush/char/1.cc: New.
956 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
957 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
958 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
959 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
960 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
961 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
962 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
963 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
964 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
965 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
966 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
967 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
968 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
969 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
970 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
971 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
972 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
973 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
974 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
975 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
976 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
977 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
978 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
979 * 27_io/basic_ostream/sentry/char/1.cc: New.
980 * 27_io/basic_ostream/sentry/char/2.cc: New.
981 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
982 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
983 * 27_io/basic_ostream/tellp/char/1.cc: New.
984 * 27_io/basic_ostream/tellp/char/2.cc: New.
985 * 27_io/basic_ostringstream/1.cc: New.
986 * 27_io/basic_ostringstream/2.cc: New.
987 * 27_io/basic_ostringstream/3.cc: New.
988 * 27_io/basic_ostringstream/4.cc: New.
989 * 27_io/basic_ostringstream/cons/char/3.cc: New.
990 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
991 * 27_io/basic_ostringstream/str/char/1.cc: New.
992 * 27_io/basic_ostringstream/str/char/2.cc: New.
993 * 27_io/basic_streambuf/1.cc: New.
994 * 27_io/basic_streambuf/2.cc: New.
995 * 27_io/basic_streambuf/3.cc: New.
996 * 27_io/basic_streambuf/cons/char/1.cc: New.
997 * 27_io/basic_streambuf/imbue/char/1.cc: New.
998 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
999 * 27_io/basic_streambuf/overflow/char/1.cc: New.
1000 * 27_io/basic_streambuf/overflow/char/2.cc: New.
1001 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
1002 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
1003 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
1004 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
1005 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
1006 * 27_io/basic_streambuf/sputn/char/1.cc: New.
1007 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
1008 * 27_io/basic_streambuf/sync/char/1057.cc: New.
1009 * 27_io/basic_stringbuf/1.cc: New.
1010 * 27_io/basic_stringbuf/2.cc: New.
1011 * 27_io/basic_stringbuf/3.cc: New.
1012 * 27_io/basic_stringbuf/4.cc: New.
1013 * 27_io/basic_stringbuf/5.cc: New.
1014 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
1015 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
1016 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
1017 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
1018 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
1019 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
1020 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
1021 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
1022 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
1023 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
1024 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
1025 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
1026 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
1027 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
1028 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
1029 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
1030 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
1031 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
1032 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
1033 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
1034 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
1035 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
1036 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
1037 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
1038 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
1039 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
1040 * 27_io/basic_stringbuf/str/char/1.cc: New.
1041 * 27_io/basic_stringbuf/str/char/2.cc: New.
1042 * 27_io/basic_stringbuf/str/char/3.cc: New.
1043 * 27_io/basic_stringbuf/str/char/3955.cc: New.
1044 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
1045 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
1046 * 27_io/basic_stringstream/1.cc: New.
1047 * 27_io/basic_stringstream/2.cc: New.
1048 * 27_io/basic_stringstream/3.cc: New.
1049 * 27_io/basic_stringstream/4.cc: New.
1050 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
1051 * 27_io/basic_stringstream/str/char/1.cc: New.
1052 * 27_io/basic_stringstream/str/char/2.cc: New.
1053 * 27_io/basic_stringstream/str/char/3.cc: New.
1054 * 27_io/basic_stringstream/str/char/4.cc: New.
1055 * 27_io/fpos/1.cc: New.
1056 * 27_io/fpos/2.cc: New.
1057 * 27_io/fpos/3.cc: New.
1058 * 27_io/ios_base/callbacks/1.cc: New.
1059 * 27_io/ios_base/state/1.cc: New.
1060 * 27_io/ios_base/storage/1.cc: New.
1061 * 27_io/ios_base/storage/2.cc: New.
1062 * 27_io/ios_base/storage/3.cc: New.
1063 * 27_io/ios_base/sync_with_stdio/1.cc: New.
1064 * 27_io/ios_base/sync_with_stdio/2.cc: New.
1065 * 27_io/manipulators/adjustfield/char/1.cc: New.
1066 * 27_io/manipulators/adjustfield/char/2.cc: New.
1067 * 27_io/manipulators/basefield/char/1.cc: New.
1068 * 27_io/manipulators/standard/char/1.cc: New.
1069 * 27_io/manipulators/standard/char/2.cc: New.
1070 * 27_io/objects/char/1.cc: New.
1071 * 27_io/objects/char/2.cc: New.
1072 * 27_io/objects/char/2523-1_xin.cc: New.
1073 * 27_io/objects/char/2523-1_xin.in: New.
1074 * 27_io/objects/char/2523-2_xin.cc: New.
1075 * 27_io/objects/char/2523-2_xin.in: New.
1076 * 27_io/objects/char/3045.cc: New.
1077 * 27_io/objects/char/3647.cc: New.
1078 * 27_io/objects/char/3_xin.cc: New.
1079 * 27_io/objects/char/3_xin.in: New.
1080 * 27_io/objects/char/4_xin.cc: New.
1081 * 27_io/objects/char/4_xin.in: New.
1082 * 27_io/objects/char/5268.cc: New.
1083 * 27_io/objects/char/5280_xin.cc: New.
1084 * 27_io/objects/char/5280_xin.in: New.
1085 * 27_io/objects/char/6548_xin.cc: New.
1086 * 27_io/objects/char/6548_xin.in: New.
1087 * 27_io/objects/char/6648-1_xin.cc: New.
1088 * 27_io/objects/char/6648-1_xin.in: New.
1089 * 27_io/objects/char/6648-2_xin.cc: New.
1090 * 27_io/objects/char/6648-2_xin.in: New.
1091 * 27_io/objects/char/7744_xin.cc: New.
1092 * 27_io/objects/char/7744_xin.in: New.
1093 * 27_io/objects/wchar_t/1.cc: New.
1094 * 27_io/types/1.cc: New.
1095 * 27_io/types/2.cc: New.
1096 * data/filebuf_members-1.tst: New.
1097 * data/filebuf_members-1.txt: New.
1098 * data/filebuf_virtuals-1.tst: New.
1099 * data/filebuf_virtuals-1.txt: New.
1100 * data/filebuf_virtuals-2.tst: New.
1101 * data/filebuf_virtuals-3.tst: New.
1102 * data/ifstream_members-1.tst: New.
1103 * data/ifstream_members-1.txt: New.
1104 * data/ios_base_members_static-1.tst: New.
1105 * data/istream_extractor_other-1.tst: New.
1106 * data/istream_extractor_other-1.txt: New.
1107 * data/istream_extractor_other-2.tst: New.
1108 * data/istream_seeks-1.tst: New.
1109 * data/istream_seeks-1.txt: New.
1110 * data/istream_seeks-2.tst: New.
1111 * data/istream_seeks-3.tst: New.
1112 * data/istream_unformatted-1.tst: New.
1113 * data/istream_unformatted-1.txt: New.
1114 * data/ofstream_members-1.tst: New.
1115 * data/ostream_inserter_char-1.tst: New.
1116 * data/ostream_inserter_char-1.txt: New.
1117 * data/ostream_inserter_other-1.tst: New.
1118 * data/ostream_inserter_other-2.tst: New.
1119 * data/ostream_seeks-1.tst: New.
1121 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1123 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
1124 requirement that __mode must be strict input or output.
1126 * include/std/std_streambuf.h (basic_streambuf::setp): Set
1129 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
1130 output string shouldn't core.
1131 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
1133 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
1135 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
1138 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1140 * testsuite/data: New directory.
1141 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1142 to copy files from the testsuite data directory.
1143 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
1144 testfiles containing _xin, which now means this is an interactive
1145 test and should be run with the interactive dejagnu hooks.
1146 * testsuite/Makefile.am: Remove testsuite_* files.
1147 * testsuite/Makefile.in: Regenerate.
1149 2003-04-09 Zack Weinberg <zack@codesourcery.com>
1151 * docs/html/install.html: Document complete list of locales
1152 required by test suite. Document procedure for installing
1153 said locales under Debian. Solicit instructions for other
1156 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
1158 * include/bits/sstream.tcc (overflow): Make sure operands of min
1159 and max have the same type.
1161 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
1164 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
1167 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
1169 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
1170 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1171 Don't set _M_out_end.
1172 (basic_filebuf::overflow): Replace _M_out_buf_size() with
1173 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
1174 * include/bits/sstream.tcc (basic_stringbuf::overflow):
1175 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
1176 * include/bits/streambuf.tcc (basic_streambuf::sputc):
1177 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
1178 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
1179 _M_out_end - _M_out_cur.
1180 (__copy_streambufs): Likewise.
1181 * include/std/std_fstream.h (_M_set_determinate): Set
1184 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
1186 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
1187 _M_convert_to_external, _M_really_overflow, seekoff): Fix
1188 test for synced buffer.
1189 * include/std/std_fstream.h (sync): Likewise.
1190 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1191 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
1193 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
1195 * include/std/std_sstream.h (basic_istringstream): Adjust
1197 (basic_ostringstream): Same.
1198 (basic_stringstream): Same.
1199 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
1200 (basic_ofstream): Same.
1201 (basic_fstream): Same.
1202 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
1203 that does not call init.
1204 * include/std/std_istream.h (basic_istream): Same.
1205 (basic_iostream): Construct istream, ostream uninitialized, use
1206 init to initialize just once. Add protected ctor that does not
1209 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
1210 Nathan Myers <ncm@cantrip.org>
1213 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
1215 (basic_filebuf<>::showmanyc): Use the information provided
1216 by codecvt and __basic_file<>::showmanyc_helper to implement
1217 a non-trivial showmanyc.
1218 * config/io/basic_file_stdio.h
1219 (__basic_file<>::showmanyc_helper): New, declare.
1220 * config/io/basic_file_stdio.cc
1221 (__basic_file<>::showmanyc_helper): Define.
1222 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
1223 (__basic_file<char>::open): Don't call fcntl().
1224 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
1225 GLIBCPP_CHECK_POLL): New macros.
1226 * configure.in: Call here.
1227 * acconfig.h: Add #undefs for the corresponding symbols.
1228 * aclocal.m4: Regenerate.
1229 * configure: Regenerate.
1230 * config.h.in: Regenerate.
1232 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
1234 * config/linker-map.gnu: Remove string export restrictions.
1236 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
1238 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
1239 find_first_of, find_last_of and find_last_not_of tests.
1240 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
1241 tests here, new file.
1242 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
1243 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
1244 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
1245 wchar_t find_first_of tests here, new file.
1246 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
1248 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
1250 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
1251 wchar_t find_last_of tests here.
1252 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
1253 wchar_t find_last_not_of tests here.
1255 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
1257 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
1258 Correct return value.
1260 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
1263 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
1264 * include/std/std_complex.h (norm): Use faster,
1265 less accurate computation for builtin float types under --fast-math.
1267 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
1269 * testsuite/testsuite_hooks.h: Fix warning nits.
1271 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
1273 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
1274 Only .set mips2 for the o32 ABI.
1276 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
1278 * testsuite/21_strings/char_traits/requirements/char/1.cc:
1279 Test char not wchar_t.
1281 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
1283 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
1284 Correct size, taking into account sizeof(wchar_t).
1286 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
1288 Reshuffle 21_strings testsuite.
1289 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
1290 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
1291 element_access.cc, operations.cc, char_traits_requirements.cc,
1292 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
1293 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
1294 wchar_t tests as follows.
1295 * 21_strings/basic_string/append/char/1.cc: New.
1296 * 21_strings/basic_string/append/wchar_t/1.cc: New.
1297 * 21_strings/basic_string/assign/char/1.cc: New.
1298 * 21_strings/basic_string/assign/char/2.cc: New.
1299 * 21_strings/basic_string/assign/char/3.cc: New.
1300 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
1301 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
1302 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
1303 * 21_strings/basic_string/capacity/1.cc: New.
1304 * 21_strings/basic_string/capacity/char/1.cc: New.
1305 * 21_strings/basic_string/capacity/char/2.cc: New.
1306 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
1307 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
1308 * 21_strings/basic_string/compare/char/1.cc: New.
1309 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
1310 * 21_strings/basic_string/cons/char/1.cc: New.
1311 * 21_strings/basic_string/cons/char/2.cc: New.
1312 * 21_strings/basic_string/cons/char/3.cc: New.
1313 * 21_strings/basic_string/cons/char/4.cc: New.
1314 * 21_strings/basic_string/cons/char/5.cc: New.
1315 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
1316 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
1317 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
1318 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
1319 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
1320 * 21_strings/basic_string/element_access/char/1.cc: New.
1321 * 21_strings/basic_string/element_access/char/2.cc: New.
1322 * 21_strings/basic_string/element_access/char/3.cc: New.
1323 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
1324 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
1325 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
1326 * 21_strings/basic_string/find/char/1.cc: New.
1327 * 21_strings/basic_string/find/wchar_t/1.cc: New.
1328 * 21_strings/basic_string/insert/char/1.cc: New.
1329 * 21_strings/basic_string/insert/char/2.cc: New.
1330 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
1331 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
1332 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
1333 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
1334 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
1335 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
1336 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
1337 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
1338 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
1339 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
1340 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
1341 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
1342 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
1343 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
1344 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
1345 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
1346 * 21_strings/basic_string/operators/char/1.cc: New.
1347 * 21_strings/basic_string/operators/char/2.cc: New.
1348 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
1349 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
1350 * 21_strings/basic_string/replace/char/1.cc: New.
1351 * 21_strings/basic_string/replace/char/2.cc: New.
1352 * 21_strings/basic_string/replace/char/3.cc: New.
1353 * 21_strings/basic_string/replace/char/4.cc: New.
1354 * 21_strings/basic_string/replace/char/5.cc: New.
1355 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
1356 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
1357 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
1358 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
1359 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
1360 * 21_strings/basic_string/rfind/char/1.cc: New.
1361 * 21_strings/basic_string/rfind/char/2.cc: New.
1362 * 21_strings/basic_string/rfind/char/3.cc: New.
1363 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
1364 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
1365 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
1366 * 21_strings/basic_string/substr/char/1.cc: New.
1367 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
1368 * 21_strings/c_strings/char/1.cc: New.
1369 * 21_strings/c_strings/char/2.cc: New.
1370 * 21_strings/c_strings/wchar_t/1.cc: New.
1371 * 21_strings/c_strings/wchar_t/2.cc: New.
1372 * 21_strings/char_traits/requirements/char/1.cc: New.
1373 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
1374 * 21_strings/char_traits/typedefs/char/1.cc: New.
1376 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
1377 Petur Runolfsson <peturr02@ru.is>
1380 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
1381 basic_filebuf<wchar_t>::_M_underflow_common):
1382 if (gptr() < egptr()) return *gptr().
1383 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
1385 * testsuite/27_io/filebuf_members.cc (test_04): Minor
1386 changes: unlink fifo before making it, fix spelling error.
1388 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
1390 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
1391 * testsuite/Makefile.in: Regenerate.
1392 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
1395 2003-03-17 Petur Runolfsson <peturr02@ru.is>
1398 * include/bits/fstream.tcc (basic_filebuf::close):
1399 Always close file, even when write fails.
1400 * testsuite/27_io/filebuf_members.cc (test_07): New test.
1402 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
1404 * libsupc++/Makefile.am (C_COMPILE): Remove.
1405 (LTCOMPILE): Likewise.
1406 * libsupc++/Makefile.in: Regenerate.
1408 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
1410 * testsuite/23_containers/bitset_members.cc: Add test variable.
1411 * testsuite/23_containers/map_insert.cc: Same.
1412 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
1413 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
1414 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1415 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1416 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1417 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
1418 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
1419 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1420 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1421 * testsuite/27_io/istream_exception.cc: Same.
1422 * testsuite/27_io/filebuf_virtuals.cc: Same.
1423 * testsuite/27_io/stringbuf_virtuals.cc: Same.
1424 * testsuite/27_io/ostream_inserter_arith.cc: Same.
1425 * testsuite/26_numerics/valarray_operators.cc: Same.
1426 * testsuite/26_numerics/slice.cc: Same.
1427 * testsuite/26_numerics/slice_array_assignment.cc: Same.
1428 * testsuite/24_iterators/istream_iterator.cc: Same.
1429 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
1431 2003-03-14 Petur Runolfsson <peturr02@ru.is>
1435 * config/locale/generic/ctype_members.cc,
1436 * config/locale/gnu/ctype_members.cc
1437 (ctype<wchar_t>::do_widen(char)): Cast argument to
1438 unsigned char before passing to btowc.
1439 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
1440 Convert characters with btowc instead of mbsrtowcs.
1441 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
1443 Convert characters with wctob instead of wcsrtombs.
1444 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
1445 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
1446 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
1448 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
1450 * include/stdc++.h: New.
1451 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
1452 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
1453 * include/Makefile.in: Regenerate.
1454 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
1455 (--cxxflags): Put -g -O2 here.
1456 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
1458 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
1460 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
1461 missing named locale.
1463 2003-03-14 Andreas Schwab <schwab@suse.de>
1465 * configure.in: Only append to makefiles that are newly created to
1466 avoid multiple multi-do/multi-clean rules.
1467 * configure: Rebuilt.
1469 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
1471 * docs/html/configopts.html, docs/html/documentation.html,
1472 docs/html/explanations.html, docs/html/install.html,
1473 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
1474 invalid XHTML and make page header style consistent.
1476 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
1478 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
1479 * docs/html/faq/index.txt: Regenerate.
1480 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
1482 2003-03-12 Andreas Schwab <schwab@suse.de>
1484 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1485 glibcpp_toolexeclibdir.
1486 * aclocal.m4, configure: Rebuilt.
1488 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
1490 * docs/html/faq/index.html: Update text about location of headers.
1491 * docs/html/faq/index.txt: Regenerate.
1493 2003-03-11 Carlo Wood <carlo@alinoe.com>
1495 * include/bits/demangle.h: Prepend accessors of
1496 class qualifier with 'get_' in order to fix warnings
1497 when compiling with -Wshadow.
1499 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
1501 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
1503 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
1505 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
1506 report lack of setenv().
1508 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
1510 * config/io/basic_file_stdio.cc: include <unistd.h>.
1512 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
1513 Nathan Myers <ncm@cantrip.org>
1516 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
1517 seekoff, seekpos): Add a boolean parameter __stdio.
1518 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
1519 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
1520 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
1522 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
1523 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
1524 * include/std/std_fstream.h (sync): Likewise.
1525 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
1526 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
1527 libstdc++/8399 commit involving isatty(0).
1528 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
1529 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
1530 * configure.in: Remove call.
1531 * aclocal.m4: Regenerate.
1532 * config.h.in: Regenerate.
1533 * configure: Regenerate.
1534 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
1536 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
1539 * include/bits/fstream.tcc (overflow): don't write EOF to file.
1540 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
1542 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
1545 * include/bits/basic_ios.h (_M_setstate): New.
1546 * include/bits/ostream.tcc (operator<<): Use it.
1547 * include/bits/istream.tcc (operator>>): Use it.
1548 * include/std/std_ostream.h (operator<<): Make friends.
1549 * include/std/std_istream.h (operator>>): Make friends.
1550 * testsuite/27_io/ostream_exception.cc,
1551 testsuite/27_io/istream_exception.cc: New tests.
1553 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
1555 * include/bits/locale_facets.tcc: Fix typo.
1557 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
1559 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
1561 * config/locale/generic/c_locale.cc
1562 (locale::facet::_S_create_c_locale): Throw runtime exception when
1563 unsupported language is specified.
1564 * testsuite/testsuite_hooks.h
1565 (run_test_wrapped_generic_locale_exception_catcher): New function.
1566 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
1567 Suppress runtime exception thrown by generic implementation.
1568 (run_tests_wrapped_env): Likewise.
1569 (run_test_wrapped_generic_locale_exception_catcher): New function.
1570 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
1571 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
1572 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
1573 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
1574 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
1575 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
1576 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
1577 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
1578 * testsuite/22_locale/facet/2.cc: New test wrap.
1579 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
1580 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
1581 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
1582 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
1583 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
1584 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
1585 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
1586 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
1587 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
1588 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
1589 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
1590 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
1591 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
1592 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
1593 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
1594 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
1595 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
1596 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
1597 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
1598 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
1599 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
1600 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
1601 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
1602 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
1603 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
1604 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
1605 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
1606 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
1607 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
1608 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
1609 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
1610 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
1611 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
1612 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
1613 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
1614 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
1615 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
1616 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
1617 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
1618 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
1619 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
1620 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
1621 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
1622 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
1623 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
1624 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
1625 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
1626 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
1627 * testsuite/27_io/ios_members.cc: New test wrap.
1628 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
1630 * testsuite/27_io/streambuf_members.cc: New test wrap.
1631 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
1633 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
1634 Petur Runolfsson <peturr02@ru.is>
1637 * include/bits/streambuf.tcc (__copy_streambufs): Use
1638 sgetn-sputn only when sputn cannot fail, otherwise fall back
1639 to safe snextc-sputc.
1640 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
1642 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
1644 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
1645 locale cache for truename and falsename.
1647 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
1649 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
1650 _M_word_size initialization.
1652 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
1654 * include/bits/fstream.tcc (_M_convert_to_external):
1655 Set __elen to zero if codecvt::out eventually fails.
1657 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
1660 * include/bits/fstream.tcc (_M_really_overflow): Check
1661 for _M_convert_to_external possible failures.
1662 * include/std/std_fstream.h (sync): Check _M_really_overflow
1663 return value and return -1 in case of failure.
1664 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
1666 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
1669 * include/bits/istream.tcc (operator>>(_CharT*),
1670 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
1671 * testsuite/27_io/stringstream.cc (test02): Add.
1673 * include/bits/istream.tcc (operator>>(_CharT*)):
1674 Assign a char_type to *__s.
1676 2003-03-07 Petur Runolfsson <peturr02@ru.is>
1679 * include/bits/locale_facets.tcc
1680 (collate::do_compare, collate::do_transform):
1681 Handle nul characters in input.
1682 * testsuite/22_locale/collate/compare/char/3.cc: New test.
1683 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
1684 * testsuite/22_locale/collate/transform/char/3.cc: New test.
1685 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
1687 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
1689 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
1691 * testsuite/27_io/ostream_fail.cc: New test.
1693 2003-03-07 Matthias Klose <doko@debian.org>
1695 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
1696 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
1697 * Makefile.in: Regenerate.
1698 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
1700 AM_MAKEFLAGS: Pass gxx_include_dir.
1701 * libsupc++/Makefile.in: Regenerate.
1703 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
1705 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
1706 mask. Test setting small-numbered pword and iword slots. Test
1707 behavior at limit of numeric_limits::max. Check that values are
1708 still good after failures.
1710 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
1712 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
1713 (ios_base::ios_base): Set _M_word, _M_word_size.
1714 (ios_base::~ios_base): Remove redundant test.
1715 * testsuite/27_io/ios_base_storage.cc (test03): New.
1717 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
1719 * src/strstream.cc, include/bits/basic_string.tcc: Remove
1720 incorrect whitespace added in my previous change.
1722 2003-03-05 Carlo Wood <carlo@alinoe.com>
1724 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
1725 _S_initialized() in order to allow debugging libraries to detect
1726 when the std streams are initialized from an overloaded operator
1729 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
1731 * libsupc++/demangle.h: Move to..
1732 * include/bits/demangle.h: ...here.
1733 * src/demangle.cc: Adjust include.
1734 * include/Makefile.am (bits_headers): Add.
1735 * include/Makefile.in: Regenerate.
1737 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
1739 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
1741 * config/linker-map.gnu: Filter typeinfo and vtable info.
1743 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
1745 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
1746 new failure. Throw exception if badbit and exception mask when ix
1747 >= numeric_limits<int>::max().
1749 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
1751 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
1752 min and max have the same type.
1753 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
1755 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
1757 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
1758 * include/Makefile.in: Regenerate.
1760 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
1762 * testsuite/abi_check.cc (report_symbol_info): Add version info.
1764 * config/linker-map.gnu: Hide more stuff.
1765 * include/Makefile.am: Cleanups.
1766 * include/Makefile.in: Regenerate.
1768 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
1770 * config/locale/generic/messages_members.h (messages::messages):
1771 Remove name from unused parameter.
1773 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1775 * src/Makefile.am (sources): Add demangle.cc.
1778 * src/Makefile.in: Regenerate.
1779 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
1780 * libsupc++/Makefile.in: Regenerate.
1782 * testsuite/testsuite_hooks.h
1783 (__gnu_cxx_test::verify_demangle): New.
1784 * testsuite/testsuite_hooks.cc: Define.
1786 2003-02-27 Carlo Wood <carlo@alinoe.com>
1788 * src/demangle.cc: New.
1789 * libsupc++/demangle.h: New.
1791 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
1792 Carlo Wood <carlo@alinoe.com>
1794 * testsuite/demangle/abi_examples/01.cc: New.
1795 * testsuite/demangle/abi_examples/02.cc: New.
1796 * testsuite/demangle/abi_examples/03.cc: New.
1797 * testsuite/demangle/abi_examples/04.cc: New.
1798 * testsuite/demangle/abi_examples/05.cc: New.
1799 * testsuite/demangle/abi_examples/06.cc: New.
1800 * testsuite/demangle/abi_examples/07.cc: New.
1801 * testsuite/demangle/abi_examples/08.cc: New.
1802 * testsuite/demangle/abi_examples/09.cc: New.
1803 * testsuite/demangle/abi_examples/10.cc: New.
1804 * testsuite/demangle/abi_examples/11.cc: New.
1805 * testsuite/demangle/abi_examples/12.cc: New.
1806 * testsuite/demangle/abi_examples/13.cc: New.
1807 * testsuite/demangle/abi_examples/14.cc: New.
1808 * testsuite/demangle/abi_examples/15.cc: New.
1809 * testsuite/demangle/abi_examples/16.cc: New.
1810 * testsuite/demangle/abi_examples/17.cc: New.
1811 * testsuite/demangle/abi_examples/18.cc: New.
1812 * testsuite/demangle/abi_examples/19.cc: New.
1813 * testsuite/demangle/abi_examples/20.cc: New.
1814 * testsuite/demangle/abi_examples/21.cc: New.
1815 * testsuite/demangle/abi_examples/22.cc: New.
1816 * testsuite/demangle/abi_examples/23.cc: New.
1817 * testsuite/demangle/abi_examples/24.cc: New.
1818 * testsuite/demangle/abi_examples/25.cc: New.
1819 * testsuite/demangle/abi_examples/26.cc: New.
1820 * testsuite/demangle/abi_text/01.cc: New.
1821 * testsuite/demangle/abi_text/02.cc: New.
1822 * testsuite/demangle/abi_text/03.cc: New.
1823 * testsuite/demangle/abi_text/04.cc: New.
1824 * testsuite/demangle/abi_text/05.cc: New.
1825 * testsuite/demangle/abi_text/06.cc: New.
1826 * testsuite/demangle/abi_text/07.cc: New.
1827 * testsuite/demangle/abi_text/08.cc: New.
1828 * testsuite/demangle/abi_text/09.cc: New.
1829 * testsuite/demangle/abi_text/10.cc: New.
1830 * testsuite/demangle/abi_text/11.cc: New.
1831 * testsuite/demangle/abi_text/12.cc: New.
1832 * testsuite/demangle/abi_text/13.cc: New.
1833 * testsuite/demangle/abi_text/14.cc: New.
1834 * testsuite/demangle/regression/3111-1.cc: New.
1835 * testsuite/demangle/regression/3111-2.cc: New.
1836 * testsuite/demangle/regression/7986-01.cc: New.
1837 * testsuite/demangle/regression/7986-02.cc: New.
1838 * testsuite/demangle/regression/7986-03.cc: New.
1839 * testsuite/demangle/regression/7986-04.cc: New.
1840 * testsuite/demangle/regression/7986-05.cc: New.
1841 * testsuite/demangle/regression/7986-06.cc: New.
1842 * testsuite/demangle/regression/7986-07.cc: New.
1843 * testsuite/demangle/regression/7986-08.cc: New.
1844 * testsuite/demangle/regression/7986-09.cc: New.
1845 * testsuite/demangle/regression/7986-10.cc: New.
1846 * testsuite/demangle/regression/7986-11.cc: New.
1847 * testsuite/demangle/regression/7986-12.cc: New.
1848 * testsuite/demangle/regression/7986.cc: New.
1849 * testsuite/demangle/regression/8897.cc: New.
1850 * testsuite/demangle/regression/cw-01.cc: New.
1851 * testsuite/demangle/regression/cw-02.cc: New.
1852 * testsuite/demangle/regression/cw-03.cc: New.
1853 * testsuite/demangle/regression/cw-04.cc: New.
1854 * testsuite/demangle/regression/cw-05.cc: New.
1855 * testsuite/demangle/regression/cw-06.cc: New.
1856 * testsuite/demangle/regression/cw-07.cc: New.
1857 * testsuite/demangle/regression/cw-08.cc: New.
1858 * testsuite/demangle/regression/cw-09.cc: New.
1859 * testsuite/demangle/regression/cw-10.cc: New.
1860 * testsuite/demangle/regression/cw-11.cc: New.
1861 * testsuite/demangle/regression/cw-12.cc: New.
1862 * testsuite/demangle/regression/cw-13.cc: New.
1863 * testsuite/demangle/regression/cw-14.cc: New.
1864 * testsuite/demangle/regression/old.cc: New.
1866 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
1868 * docs/doxygen/Intro.3: Update with new (proper) names.
1869 * docs/doxygen/TODO: Update.
1870 * docs/doxygen/run_doxygen: More comments, fix up man pages.
1871 Fake entries for standard typedefs.
1872 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
1873 * docs/html/documentation.html: Top-level man page is now called
1875 * include/std/std_limits.h: Doxygenate.
1877 2003-02-25 Scott Snyder <snyder@fnal.gov>
1880 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
1881 Correct documentation.
1882 * include/bits/stl_multimap.h (lower_bound, upper_bound,
1883 equal_range): Likewise.
1885 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
1889 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
1890 __bump is true (uflow), always increment the read pointer
1891 (_M_in_cur) before returning successfully.
1892 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
1894 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
1895 Nathan Myers <ncm@cantrip.org>
1897 PR libstdc++/9404, PR libstdc++/9701 (partial)
1898 (aka pptr == epptr implies overflow)
1899 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1900 Consistently, _M_out_end points to the end of the buffer just
1902 (overflow): Tweak to use _M_out_buf_size().
1903 (_M_convert_to_external): The role of the old _M_out_end is
1904 now played by _M_out_lim.
1905 (_M_really_overflow): Likewise.
1906 (seekoff): Likewise.
1907 (setbuf): _M_out_end points to the end of the external buffer.
1908 * include/bits/sstream.tcc (overflow): Rewrote, taking into
1909 account the resolution of DR 169 (TC).
1910 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
1911 (seekpos): Use _M_string.capacity(); tweak.
1912 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
1913 * include/std/std_fstream.h (sync): The role of the old
1914 _M_out_end is now played by _M_out_lim.
1915 (_M_set_indeterminate): Use _M_set_determinate.
1916 (_M_set_determinate): _M_out_end is now _M_out_lim.
1917 (_M_is_indeterminate): Likewise.
1918 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
1919 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
1920 which have the information readily available as _M_string.capacity();
1921 for ate and app modes, pass the string size to _M_really_sync.
1922 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
1923 point to the end of the buffer (i.e., epptr) and to the string end,
1925 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
1926 which points to the right limit of the used put area.
1927 (_M_out_cur_move): The role of the old _M_out_end is now played
1929 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
1930 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
1932 (basic_streambuf()): Initialize _M_out_lim too.
1933 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
1934 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
1935 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
1937 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
1939 * testsuite/27_io/ios_base_storage.cc (main): Call
1942 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
1944 * include/bits/locale_facets.tcc (_M_convert_float): Replace
1945 numpunct facet accesses with data from __locale_cache.
1947 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
1949 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
1950 * docs/html/faq/index.txt: Regenerate.
1952 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
1954 * config/linker-map.gnu: Also export locking symbols needed for the
1955 generic atomicity.h case.
1957 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1959 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1961 * configure: Rebuilt.
1963 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
1965 * include/bits/sstream.tcc (overflow): According to
1966 27.7.1.3, p5, actual output is performed by sputc(c).
1968 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
1971 * include/bits/stl_alloc.h: Remove all traces of assert().
1973 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
1975 * include/std/std_sstream.h (str()): the size of the
1976 current string may be different from the initial one
1977 whenever _M_out_end > _M_out_beg.
1978 * testsuite/27_io/stringbuf_members.cc (test07): Add.
1980 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
1983 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
1985 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
1987 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
1988 * testsuite/27_io/ios_members.cc (test03): New.
1990 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
1992 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
1993 (basic_ios::_M_cache_facets): Move into above.
1994 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
1996 (basic_ios::imbue): Force locale cache to be built.
1997 (basic_ios::_M_init): Create and initialize locale cache.
1998 * include/bits/ios_base.h (__locale_cache_base): Declare.
1999 (ios_base::_M_locale_cache): New.
2000 (ios_base::_M_cache): Define.
2001 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
2003 (__locale_cache_base,__locale_cache<_CharT>): New classes.
2004 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
2005 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
2006 cache literal string, grouping flag, thousands separator.
2007 (__locale_cache<_CharT>::__locale_cache): New.
2008 (__locale_cache<_CharT>::_M_init): New.
2009 * src/ios.cc: Clear _M_locale_cache in constructor.
2010 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
2013 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2015 * src/locale-inst.cc: Do not include <cassert>.
2016 * src/locale.cc: Likewise.
2018 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2021 * include/std/std_fstream.h: Declare underflow and uflow
2022 specializations, change generic definitions to do nothing.
2023 * src/fstream.cc: Add underflow and uflow specializations.
2025 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2028 * include/bits/fstream.tcc (_M_convert_to_external):
2029 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
2030 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
2032 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
2034 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
2035 * include/bits/basic_ios.tcc: Guard use of extern template.
2036 * include/std/std_iomanip.h: Same.
2037 * include/bits/streambuf.tcc: Same.
2038 * include/bits/stl_alloc.h: Same.
2039 * include/bits/locale_facets.tcc: Same.
2040 * include/bits/ostream.tcc: Same.
2041 * include/bits/istream.tcc: Same.
2042 * include/bits/fstream.tcc: Same.
2043 * include/bits/basic_string.tcc: Same.
2045 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
2047 * include/bits/ostream.tcc (sentry::sentry): Improve
2048 performance-wise the fix for libstdc++/9563.
2050 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
2052 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
2053 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
2054 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
2055 when we don't have static mutex initialization.
2056 (__exchange_and_add): Use _Atomic_add_mutex_once.
2057 * src/misc-inst.cc: Definitions of all the above.
2059 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
2062 * include/bits/ostream.tcc (sentry::sentry): Check
2063 the state of the stream after the preparation.
2064 * testsuite/27_io/ostream_sentry.cc (test02): Add.
2066 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
2068 * include/Makefile.am (stamp-std-precompile): Add rule.
2069 * include/Makefile.in: Regenerated.
2071 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
2072 Benjamin Kosnik <benjamin@redhat.com>
2074 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
2075 Add indexes into this array.
2076 (__num_base::_S_atoms): To _S_atoms_in.
2077 (num_put::_M_insert): Rename to _M_pad.
2078 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
2079 (num_put::_M_widen_int): Rename to _M_group_int.
2080 (num_put::_M_widen_float): Rename to _M_group_float.
2081 * include/bits/locale_facets.tcc (__int_to_char): New inline
2082 function and adapter functions.
2083 (num_put::_M_group_int): Streamline.
2084 (num_put::_M_group_float): Streamline.
2085 (num_put::_M_convert_int): Remove unused parameter names. Choose
2086 large enough buffer for text. Use __int_to_char instead of
2087 __convert_from_v. Formatted text is now at the end of the buffer.
2088 (num_put::_M_convert_float): Preliminary fixups.
2089 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
2090 (__int_to_char<unsigned long long>): Same.
2091 (__int_to_char<char, unsigned long>): New.
2092 (__int_to_char<char, unsigned long long>): New.
2093 (__int_to_char<wchar_t, unsigned long>): New.
2094 (__int_to_char<wchar_t, unsigned long long>): New.
2096 2003-02-11 Scott Snyder <snyder@fnal.gov>
2099 * include/bits/fstream.tcc (seekoff): Avoid operator+
2102 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2105 * include/ext/stdio_filebuf.h
2106 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
2107 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
2108 Change to take a __size parameter of type size_t, not
2109 of type (template parameter dependent) int_type.
2110 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
2111 size vars to size_t.
2112 * testsuite/ext/stdio_filebuf.cc: Add.
2114 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2115 Petur Runolfsson <peturr02@ru.is>
2118 * include/bits/streambuf.tcc (__copy_streambufs):
2119 Don't conditionalize the copy to __testput.
2120 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
2122 2002-02-11 DJ Delorie <dj@redhat.com>
2124 * acinclude.m4: Check for native targets that can't link at
2125 this point in the build.
2126 * aclocal.m4: Regenerate.
2127 * configure: Regenerate.
2129 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2131 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
2133 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
2136 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
2138 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
2139 unsigned char platforms.
2141 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2144 * include/std/std_istream.h
2145 (basic_istream::sentry::operator bool()): Make const.
2146 * include/std/std_ostream.h
2147 (basic_ostream::sentry::operator bool()): Likewise.
2148 * testsuite/27_io/istream_sentry.cc (test03): Add.
2149 * testsuite/27_io/ostream_sentry.cc: Add.
2151 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2154 Implement resolution of DR 231 (Ready)
2155 * include/bits/locale_facets.h (__num_base::_S_format_float):
2156 Change declaration: return void, remove __prec parameter.
2157 * src/locale.cc (__num_base::_S_format_float): Implement
2158 resolution of DR 231.
2159 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2160 Tweak uses. Check for negative precision.
2161 * testsuite/22_locale/num_put/put/char/6.cc: Add
2162 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2164 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
2166 * config/io/basic_file_libio.h: Fixups.
2167 * config/io/c_io_libio.h: Same.
2168 * libio/Makefile.am: Same.
2169 * libio/Makefile.in: Regenerated.
2171 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
2173 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
2174 Explicitly use the "C" locale.
2175 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
2177 2003-02-06 Petur Runolfsson <peturr02@ru.is>
2181 PR libstdc++/9028 (partial)
2187 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
2188 codecvt<wchar_t, char, mbstate_t>::do_length,
2189 codecvt<wchar_t, char, mbstate_t>::do_max_length):
2191 * config/locale/generic/codecvt_members.cc: ...here.
2192 * config/locale/gnu/codecvt_members.cc: ...and here.
2194 * config/locale/generic/codecvt_members.cc,
2195 * config/locale/gnu/codecvt_members.cc
2196 (codecvt<wchar_t, char, mbstate_t>::do_encoding
2197 codecvt<wchar_t, char, mbstate_t>::do_in,
2198 codecvt<wchar_t, char, mbstate_t>::do_length,
2199 codecvt<wchar_t, char, mbstate_t>::do_max_length,
2200 codecvt<wchar_t, char, mbstate_t>::do_out):
2201 New implementation that handles stateless encodings,
2204 * config/locale/generic/codecvt_members.cc,
2205 * config/locale/gnu/codecvt_members.cc,
2206 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
2207 * include/bits/codecvt.h,
2209 (codecvt::length, codecvt::do_length):
2210 Change type of first argument of length and do_length from
2211 'const state_type&' to 'state_type&' according to DR 75.
2213 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
2214 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
2215 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
2216 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
2217 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
2218 Cleanup and check for correct return value from encoding
2220 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
2221 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
2222 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
2223 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
2224 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
2225 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
2226 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
2227 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
2228 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
2229 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
2230 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
2231 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
2232 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
2233 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
2234 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
2235 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
2236 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
2237 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
2238 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
2239 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
2240 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
2241 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
2242 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
2243 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
2244 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
2245 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
2246 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
2247 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
2248 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
2249 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
2250 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
2251 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
2252 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
2253 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
2254 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
2255 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
2256 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
2258 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
2260 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
2261 (money_put::do_put): Same.
2263 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
2265 * include/bits/ios_base.h (ios_base): Document reserved storage.
2267 * include/bits/locale_facets.h: (struct __pad): Comment on
2269 (__verify_grouping): Same.
2270 (__add_grouping): Same.
2271 * include/bits/locale_facets.tcc (__verify_grouping): Move
2272 comments to declaration.
2273 (__add_grouping): Same.
2275 * include/bits/locale_facets.tcc:
2276 (__write<_CharT, _OutIter>): New function.
2277 (__write<_CharT>): New function specialization.
2278 (num_put::_M_insert): Remove explicit loop over iterator. Use
2280 (num_put::_M_widen_float): Remove __basefield.
2281 (num_put::_M_widen_int): Move __basefield to within grouping block.
2283 * include/bits/streambuf_iterator.h: Include <streambuf>.
2284 (ostreambuf_iterator::_M_put): Add.
2286 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
2288 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
2290 2003-02-04 Nathan Myers <ncm@cantrip.org>
2292 * testsuite/25_algorithms/min_max.cc (test02): Add.
2294 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
2296 PR libstdc++/9439, PR libstdc++/9425
2297 * config/io/basic_file_stdio.cc
2298 (__basic_file<char>::seekoff, seekpos): Return -1L if
2300 * include/bits/fstream.tcc (basic_filebuf::seekoff):
2301 Check _M_file.seekoff return value; always return
2302 pos_type(off_type(-1)) in case of failure.
2303 (basic_filebuf::pbackfail): Check this->seekoff return
2304 value and return traits_type::eof() in case of failure.
2305 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
2307 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
2309 * include/std/std_ostream.h (ostream::_M_write): Declare.
2310 * ostream.tcc (ostream::_M_write): Define.
2311 (basic_ostream::write): Use it.
2312 (operator<<(basic_ostream, _CharT)): Ditto.
2313 (operator<<(basic_ostream, char)): Ditto.
2314 (operator<<(basic_ostream, _CharT*)): Ditto.
2315 (operator<<(basic_ostream, char*)): Ditto.
2316 (operator<<(basic_ostream, basic_string)): Ditto.
2318 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
2320 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
2322 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
2324 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
2325 add HTML comment about updating links if numbering changes.
2327 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
2330 * include/bits/streambuf.tcc (sputbackc): Access
2331 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
2332 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2334 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
2337 * include/bits/fstream.tcc (open): If the 'ate' repositioning
2338 operation fails, calls close _and_ returns a null pointer
2339 to indicate failure (27.8.1.3,4).
2340 * testsuite/27_io/filebuf_members.cc (test_06): Add.
2342 2003-02-04 Petur Runolfsson <peturr02@ru.is>
2344 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
2346 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
2348 * docs/html/27_io/howto.html: New section on stdio_filebuf.
2349 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
2350 * docs/html/documentation.html: Regenerate.
2352 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2354 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
2355 * docs/html/17_intro/porting.html: Regenerate.
2357 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
2358 Phil Edwards <pme@gcc.gnu.org>
2360 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
2361 numeric_limits for bits-per-word values.
2362 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
2363 Use __builtin_popcountl instead.
2364 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
2365 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
2366 Use __builtin_ctzl instead.
2367 (_S_bit_count, _S_first_one): Remove.
2368 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
2369 * src/Makefile.am (sources): Remove bitset.cc.
2370 * src/bitset.cc: Delete file.
2371 * src/Makefile.in: Regenerate.
2373 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
2375 PR libstdc++/9527, PR libstdc++/8713
2376 * docs/html/install.html: Mention glibc version requirement.
2377 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
2378 with 3.2.1+ (formatting bugfixes).
2379 * docs/html/faq/index.txt: Regenerate.
2381 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
2384 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
2387 * include/bits/valarray_before.h (__not_equal_to): Use != instead
2390 * testsuite/26_numerics/valarray_operators.cc: New test.
2392 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
2394 * docs/html/faq/index.html: Correct link to libg++ information.
2395 * docs/html/faq/index.txt: Regenerated.
2397 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
2398 Benjamin Kosnik <bkoz@redhat.com>
2400 Const correctness issue:
2401 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
2402 * include/bits/locale_classes.h
2403 (locale::_Impl::_M_facets): Change type to const facet**.
2404 (locale::_Impl::_M_install_facet): Change declaration to
2406 (locale::facet::_M_references): Make mutable.
2407 (locale::facet::_M_add_reference): Declare const.
2408 (locale::facet::_M_remove_reference): Likewise.
2409 * include/bits/locale_facets.tcc
2410 (use_facet(const locale&)): Tweak for const facet** _M_facets.
2411 (has_facet(const locale&)): Likewise.
2413 (locale::facet::_M_add_reference): Adjust definition.
2414 (locale::facet::_M_remove_reference): Likewise.
2416 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
2417 const facet** _M_facets.
2418 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
2419 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
2420 (locale::_Impl::_M_install_facet): Adjust definition to take
2421 const facet* and for const facet** _M_facets.
2422 * testsuite/22_locale/locale/cons/8.cc: Add.
2424 2003-01-29 Mark Mitchell <mark@codesourcery.com>
2426 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
2427 Use __FLT_HAS_INIFINITY__ to initialize.
2428 (numeric_limits<float>::has_quiet_NaN): Likewise.
2429 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
2431 (numeric_limits<double>::has_quiet_NaN): Likewise.
2432 (numeric_limits<long double>::has_infinity): Use
2433 __LDBL_HAS_INIFINITY__ to initialize.
2434 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
2436 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
2439 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
2440 with bases which are very ambiguous.
2442 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
2444 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
2445 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
2446 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
2447 * src/Makefile.in: Regenerate.
2448 * libsupc++/Makefile.in: Regenerate.
2450 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
2452 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
2453 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2454 version_specific_libs is enabled.
2455 * aclocal.m4, configure: Rebuilt.
2457 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
2459 * include/bits/valarray_meta.h: Remove, split into ...
2460 * include/bits/valarray_before.h: ... this, and ...
2461 * include/bits/valarray_after.h: ... this.
2462 * include/std/std_valarray.h: Adjust.
2463 * include/Makefile.am (bits_headers): Adjust.
2464 * include/Makefile.in: Regenerate.
2466 2003-01-24 Andreas Schwab <schwab@suse.de>
2468 * config/linker-map.gnu: Fix for size_t variance.
2470 2003-01-23 Petur Runolfsson <peturr02@ru.is>
2473 * include/std/std_streambuf.h
2474 (basic_streambuf::basic_streambuf,
2475 basic_streambuf::~basic_streambuf,
2476 basic_streambuf::getloc, basic_streambuf::imbue):
2477 Remove _M_buf_locale_init
2478 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
2479 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2480 * testsuite/27_io/streambuf_members.cc (test08): Add.
2481 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
2483 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
2485 Revert include ordering.
2486 * config/locale/generic/c_locale.h: Add include guards.
2487 * config/locale/gnu/c_locale.h: Same.
2488 * include/bits/locale_classes.h: Remove cctype include.
2489 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
2490 * include/std/std_fstream.h: Remove streambuf include.
2491 * include/std/std_sstream.h: Remove streambuf include.
2493 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
2495 * configure.in (libtool_VERSION): To 6:0:0.
2496 * configure: Regenerated.
2497 * config/linker-map.gnu: Clean.
2499 * src/misc-inst.cc: Remove instantiations.
2501 * include/bits/stl_alloc.h (__malloc_alloc_template):
2503 (__default_alloc_template): To __pool_alloc.
2504 * src/stl-inst.cc: Same.
2505 * include/backward/alloc.h: Update.
2506 * testsuite/ext/allocators.cc: Update.
2508 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
2509 really try to remove these if possible.
2510 * src/locale.cc (std): Same.
2512 * testsuite/abi_check.cc (check_version): Add.
2514 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
2515 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
2516 Mark Mitchell <mark@codesourcery.com>
2519 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
2520 (basic_filebuf::underflow): Declare.
2523 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
2525 * include/bits/locale_facets.h: Move non-facet classes requiring
2527 * include/bits/locale_classes.h: New.
2528 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
2529 * include/bits/Makefile.in: Regenerate.
2531 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
2532 * config/locale/gnu/c_locale.h: ...here.
2533 * config/locale/generic/c_locale.h: Same.
2535 * include/bits/locale_facets.tcc: Move declarations to...
2536 * include/bits/locale_facets.h: ...here.
2537 * include/bits/basic_ios.h: Tweak includes accordingly.
2538 * include/std/std_sstream.h: Add streambuf include.
2539 * include/std/std_fstream.h: Ditto.
2540 * include/std/std_locale.h: Add locale_classes.h include.
2541 * include/std/std_iosfwd.h: Tweak.
2542 * src/concept-inst.cc: Add iterator include.
2544 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
2545 bits as unexported in the future.
2547 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
2549 Reshuffle 22_locale testsuite.
2550 * 22_locale/(codecvt.cc money_get.cc
2551 codecvt_members_char_char.cc money_get_members_char.cc
2552 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
2553 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
2554 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
2555 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
2556 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
2557 money_put_members_char.cc ctor_copy_dtor.cc
2558 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
2559 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
2560 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
2561 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
2562 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
2563 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
2564 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
2565 operators.cc ctype_widen_char.cc static_members.cc
2566 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
2567 global_templates.cc time_get_members_wchar_t.cc, members.cc,
2568 time_put.cc, messages_byname.cc, time_put_members_char.cc,
2569 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
2570 Split up into individual test cases...
2571 * 22_locale/codecvt/1.cc: New.
2572 * 22_locale/codecvt/2.cc: New.
2573 * 22_locale/codecvt/always_noconv/char/1.cc: New.
2574 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
2575 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
2576 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
2577 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
2578 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
2579 * 22_locale/codecvt/encoding/char/1.cc: New.
2580 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
2581 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
2582 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
2583 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
2584 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
2585 * 22_locale/codecvt/in/char/1.cc: New.
2586 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
2587 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
2588 * 22_locale/codecvt/in/wchar_t/1.cc: New.
2589 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
2590 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
2591 * 22_locale/codecvt/length/char/1.cc: New.
2592 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
2593 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
2594 * 22_locale/codecvt/length/wchar_t/1.cc: New.
2595 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
2596 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
2597 * 22_locale/codecvt/max_length/char/1.cc: New.
2598 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
2599 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
2600 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
2601 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
2602 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
2603 * 22_locale/codecvt/out/char/1.cc: New.
2604 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
2605 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
2606 * 22_locale/codecvt/out/wchar_t/1.cc: New.
2607 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
2608 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
2609 * 22_locale/codecvt/unicode/char.cc: New.
2610 * 22_locale/codecvt/unicode/wchar_t.cc: New.
2611 * 22_locale/codecvt/unshift/char/1.cc: New.
2612 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
2613 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
2614 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
2615 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
2616 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
2617 * 22_locale/collate/1.cc: New.
2618 * 22_locale/collate/2.cc: New.
2619 * 22_locale/collate/compare/char/1.cc: New.
2620 * 22_locale/collate/compare/char/2.cc: New.
2621 * 22_locale/collate/compare/char/wrapped_env.cc: New.
2622 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
2623 * 22_locale/collate/compare/wchar_t/1.cc: New.
2624 * 22_locale/collate/compare/wchar_t/2.cc: New.
2625 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
2626 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
2627 * 22_locale/collate/hash/char/1.cc: New.
2628 * 22_locale/collate/hash/char/2.cc: New.
2629 * 22_locale/collate/hash/char/wrapped_env.cc: New.
2630 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
2631 * 22_locale/collate/hash/wchar_t/1.cc: New.
2632 * 22_locale/collate/hash/wchar_t/2.cc: New.
2633 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
2634 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
2635 * 22_locale/collate/transform/char/2.cc: New.
2636 * 22_locale/collate/transform/char/wrapped_env.cc: New.
2637 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
2638 * 22_locale/collate/transform/wchar_t/2.cc: New.
2639 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
2640 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
2641 * 22_locale/collate_byname/1.cc: New.
2642 * 22_locale/ctype/1.cc: New.
2643 * 22_locale/ctype/2.cc: New.
2644 * 22_locale/ctype/cons/char/1.cc: New.
2645 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
2646 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
2647 * 22_locale/ctype/is/char/1.cc: New.
2648 * 22_locale/ctype/is/char/2.cc: New.
2649 * 22_locale/ctype/is/char/3.cc: New.
2650 * 22_locale/ctype/is/char/wrapped_env.cc: New.
2651 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
2652 * 22_locale/ctype/is/wchar_t/1.cc: New.
2653 * 22_locale/ctype/is/wchar_t/2.cc: New.
2654 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
2655 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
2656 * 22_locale/ctype/narrow/char/1.cc: New.
2657 * 22_locale/ctype/narrow/char/2.cc: New.
2658 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
2659 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
2660 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
2661 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
2662 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
2663 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
2664 * 22_locale/ctype/scan/char/1.cc: New.
2665 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
2666 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
2667 * 22_locale/ctype/scan/wchar_t/1.cc: New.
2668 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
2669 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
2670 * 22_locale/ctype/to/char/1.cc: New.
2671 * 22_locale/ctype/to/char/wrapped_env.cc: New.
2672 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
2673 * 22_locale/ctype/to/wchar_t/1.cc: New.
2674 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
2675 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
2676 * 22_locale/ctype/widen/char/1.cc: New.
2677 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
2678 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
2679 * 22_locale/ctype/widen/wchar_t/1.cc: New.
2680 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
2681 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
2682 * 22_locale/facet/1.cc: New.
2683 * 22_locale/facet/2.cc: New.
2684 * 22_locale/global_templates/1.cc: New.
2685 * 22_locale/locale/cons/1.cc: New.
2686 * 22_locale/locale/cons/2.cc: New.
2687 * 22_locale/locale/cons/3.cc: New.
2688 * 22_locale/locale/cons/4.cc: New.
2689 * 22_locale/locale/cons/5.cc: New.
2690 * 22_locale/locale/cons/6.cc: New.
2691 * 22_locale/locale/cons/7.cc: New.
2692 * 22_locale/locale/global_locale_objects/1.cc: New.
2693 * 22_locale/locale/global_locale_objects/2.cc: New.
2694 * 22_locale/locale/global_locale_objects/3.cc: New.
2695 * 22_locale/locale/operations/1.cc: New.
2696 * 22_locale/locale/operations/2.cc: New.
2697 * 22_locale/messages/1.cc: New.
2698 * 22_locale/messages/2.cc: New.
2699 * 22_locale/messages/members/char/1.cc: New.
2700 * 22_locale/messages/members/char/2.cc: New.
2701 * 22_locale/messages/members/char/3.cc: New.
2702 * 22_locale/messages/members/char/wrapped_env.cc: New.
2703 * 22_locale/messages/members/char/wrapped_locale.cc: New.
2704 * 22_locale/messages_byname/1.cc: New.
2705 * 22_locale/money_get/1.cc: New.
2706 * 22_locale/money_get/2.cc: New.
2707 * 22_locale/money_get/get/char/1.cc: New.
2708 * 22_locale/money_get/get/char/2.cc: New.
2709 * 22_locale/money_get/get/char/3.cc: New.
2710 * 22_locale/money_get/get/char/4.cc: New.
2711 * 22_locale/money_get/get/char/5.cc: New.
2712 * 22_locale/money_get/get/char/6.cc: New.
2713 * 22_locale/money_get/get/char/7.cc: New.
2714 * 22_locale/money_get/get/char/8.cc: New.
2715 * 22_locale/money_get/get/char/wrapped_env.cc: New.
2716 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
2717 * 22_locale/money_get/get/wchar_t/1.cc: New.
2718 * 22_locale/money_get/get/wchar_t/2.cc: New.
2719 * 22_locale/money_get/get/wchar_t/3.cc: New.
2720 * 22_locale/money_get/get/wchar_t/4.cc: New.
2721 * 22_locale/money_get/get/wchar_t/5.cc: New.
2722 * 22_locale/money_get/get/wchar_t/6.cc: New.
2723 * 22_locale/money_get/get/wchar_t/7.cc: New.
2724 * 22_locale/money_get/get/wchar_t/8.cc: New.
2725 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
2726 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
2727 * 22_locale/money_put/1.cc: New.
2728 * 22_locale/money_put/2.cc: New.
2729 * 22_locale/money_put/put/char/1.cc: New.
2730 * 22_locale/money_put/put/char/2.cc: New.
2731 * 22_locale/money_put/put/char/3.cc: New.
2732 * 22_locale/money_put/put/char/4.cc: New.
2733 * 22_locale/money_put/put/char/5.cc: New.
2734 * 22_locale/money_put/put/char/6.cc: New.
2735 * 22_locale/money_put/put/char/wrapped_env.cc: New.
2736 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
2737 * 22_locale/money_put/put/wchar_t/1.cc: New.
2738 * 22_locale/money_put/put/wchar_t/2.cc: New.
2739 * 22_locale/money_put/put/wchar_t/3.cc: New.
2740 * 22_locale/money_put/put/wchar_t/4.cc: New.
2741 * 22_locale/money_put/put/wchar_t/5.cc: New.
2742 * 22_locale/money_put/put/wchar_t/6.cc: New.
2743 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
2744 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
2745 * 22_locale/moneypunct/1.cc: New.
2746 * 22_locale/moneypunct/2.cc: New.
2747 * 22_locale/moneypunct/3.cc: New.
2748 * 22_locale/moneypunct/members/char/1.cc: New.
2749 * 22_locale/moneypunct/members/char/2.cc: New.
2750 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
2751 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
2752 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
2753 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
2754 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
2755 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
2756 * 22_locale/moneypunct_byname/1.cc: New.
2757 * 22_locale/num_get/1.cc: New.
2758 * 22_locale/num_get/2.cc: New.
2759 * 22_locale/num_get/get/char/1.cc: New.
2760 * 22_locale/num_get/get/char/2.cc: New.
2761 * 22_locale/num_get/get/char/3.cc: New.
2762 * 22_locale/num_get/get/char/4.cc: New.
2763 * 22_locale/num_get/get/char/5.cc: New.
2764 * 22_locale/num_get/get/char/6.cc: New.
2765 * 22_locale/num_get/get/char/wrapped_env.cc: New.
2766 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
2767 * 22_locale/num_get/get/wchar_t/1.cc: New.
2768 * 22_locale/num_get/get/wchar_t/2.cc: New.
2769 * 22_locale/num_get/get/wchar_t/3.cc: New.
2770 * 22_locale/num_get/get/wchar_t/4.cc: New.
2771 * 22_locale/num_get/get/wchar_t/5.cc: New.
2772 * 22_locale/num_get/get/wchar_t/6.cc: New.
2773 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
2774 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
2775 * 22_locale/num_put/1.cc: New.
2776 * 22_locale/num_put/2.cc: New.
2777 * 22_locale/num_put/put/char/1.cc: New.
2778 * 22_locale/num_put/put/char/2.cc: New.
2779 * 22_locale/num_put/put/char/3.cc: New.
2780 * 22_locale/num_put/put/char/4.cc: New.
2781 * 22_locale/num_put/put/char/5.cc: New.
2782 * 22_locale/num_put/put/char/wrapped_env.cc: New.
2783 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
2784 * 22_locale/num_put/put/wchar_t/1.cc: New.
2785 * 22_locale/num_put/put/wchar_t/2.cc: New.
2786 * 22_locale/num_put/put/wchar_t/3.cc: New.
2787 * 22_locale/num_put/put/wchar_t/4.cc: New.
2788 * 22_locale/num_put/put/wchar_t/5.cc: New.
2789 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
2790 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
2791 * 22_locale/numpunct/1.cc: New.
2792 * 22_locale/numpunct/2.cc: New.
2793 * 22_locale/numpunct/members/char/1.cc: New.
2794 * 22_locale/numpunct/members/char/2.cc: New.
2795 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
2796 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
2797 * 22_locale/numpunct/members/wchar_t/1.cc: New.
2798 * 22_locale/numpunct/members/wchar_t/2.cc: New.
2799 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
2800 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
2801 * 22_locale/numpunct_byname/1.cc: New.
2802 * 22_locale/numpunct_byname/2.cc: New.
2803 * 22_locale/time_get/1.cc: New.
2804 * 22_locale/time_get/2.cc: New.
2805 * 22_locale/time_get/date_order/char/1.cc: New.
2806 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
2807 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
2808 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
2809 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
2810 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
2811 * 22_locale/time_get/get_date/char/1.cc: New.
2812 * 22_locale/time_get/get_date/char/2.cc: New.
2813 * 22_locale/time_get/get_date/char/3.cc: New.
2814 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
2815 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
2816 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
2817 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
2818 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
2819 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
2820 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
2821 * 22_locale/time_get/get_monthname/char/1.cc: New.
2822 * 22_locale/time_get/get_monthname/char/2.cc: New.
2823 * 22_locale/time_get/get_monthname/char/3.cc: New.
2824 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
2825 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
2826 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
2827 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
2828 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
2829 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
2830 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
2831 * 22_locale/time_get/get_time/char/1.cc: New.
2832 * 22_locale/time_get/get_time/char/2.cc: New.
2833 * 22_locale/time_get/get_time/char/3.cc: New.
2834 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
2835 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
2836 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
2837 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
2838 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
2839 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
2840 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
2841 * 22_locale/time_get/get_weekday/char/1.cc: New.
2842 * 22_locale/time_get/get_weekday/char/2.cc: New.
2843 * 22_locale/time_get/get_weekday/char/3.cc: New.
2844 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
2845 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
2846 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
2847 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
2848 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
2849 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
2850 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
2851 * 22_locale/time_get/get_year/char/1.cc: New.
2852 * 22_locale/time_get/get_year/char/3.cc: New.
2853 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
2854 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
2855 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
2856 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
2857 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
2858 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
2859 * 22_locale/time_put/1.cc: New.
2860 * 22_locale/time_put/2.cc: New.
2861 * 22_locale/time_put/put/char/1.cc: New.
2862 * 22_locale/time_put/put/char/10.cc: New.
2863 * 22_locale/time_put/put/char/2.cc: New.
2864 * 22_locale/time_put/put/char/3.cc: New.
2865 * 22_locale/time_put/put/char/4.cc: New.
2866 * 22_locale/time_put/put/char/5.cc: New.
2867 * 22_locale/time_put/put/char/6.cc: New.
2868 * 22_locale/time_put/put/char/7.cc: New.
2869 * 22_locale/time_put/put/char/8.cc: New.
2870 * 22_locale/time_put/put/char/9.cc: New.
2871 * 22_locale/time_put/put/char/wrapped_env.cc: New.
2872 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
2873 * 22_locale/time_put/put/wchar_t/1.cc: New.
2874 * 22_locale/time_put/put/wchar_t/10.cc: New.
2875 * 22_locale/time_put/put/wchar_t/2.cc: New.
2876 * 22_locale/time_put/put/wchar_t/3.cc: New.
2877 * 22_locale/time_put/put/wchar_t/4.cc: New.
2878 * 22_locale/time_put/put/wchar_t/5.cc: New.
2879 * 22_locale/time_put/put/wchar_t/6.cc: New.
2880 * 22_locale/time_put/put/wchar_t/7.cc: New.
2881 * 22_locale/time_put/put/wchar_t/8.cc: New.
2882 * 22_locale/time_put/put/wchar_t/9.cc: New.
2883 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
2884 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
2886 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
2888 * config/locale/generic/messages_members.h
2889 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
2890 unqualified members of base clasess.
2892 2003-01-16 Mark Mitchell <mark@codesourcery.com>
2893 Jeffrey Oldham <oldham@codesourcery.com>
2895 * config/locale/gnu/messages_members.h: Use this-> to refer to
2896 unqualified members of base clasess.
2897 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
2898 * include/bits/codecvt.h: Likewise.
2899 * include/bits/deque.tcc: Likewise.
2900 * include/bits/fstream.tcc: Likewise.
2901 * include/bits/istream.tcc: Likewise.
2902 * include/bits/list.tcc: Likewise.
2903 * include/bits/locale_facets.h: Likewise.
2904 * include/bits/ostream.tcc: Likewise.
2905 * include/bits/sstream.tcc: Likewise.
2906 * include/bits/stl_bvector.h: Likewise.
2907 * include/bits/stl_deque.h: Likewise.
2908 * include/bits/stl_list.h: Likewise.
2909 * include/bits/stl_tree.h: Likewise.
2910 * include/bits/stl_vector.h: Likewise.
2911 * include/bits/vector.tcc: Likewise.
2912 * include/ext/ropeimpl.h: Likewise.
2913 * include/ext/stdio_filebuf.h: Likewise.
2914 * include/ext/stl_rope.h: Likewise.
2915 * include/std/std_fstream.h: Likewise.
2916 * include/std/std_sstream.h: Likewise.
2918 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
2920 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
2922 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
2924 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
2925 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
2926 * aclocal.m4: Regenerate.
2927 * configure: Regenerate.
2928 * testsuite/Makefile.am (all-local): Add conditional rule to
2929 generate testsuite_wchar_t.
2930 * testsuite/Makefile.in: Regenerate.
2931 * testsuite/lib/libstdc++-v3-dg.exp
2932 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
2933 testsuite_wchar_t is not present in the build directory.
2934 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
2935 Remove setulimit bits.
2936 * testsuite/26_numerics/complex_value.cc: Set to noopts.
2937 * testsuite/Makefile.am (CLEANFILES): Add.
2938 * testsuite/Makefile.in: Regenerate.
2940 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
2942 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
2945 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
2947 Further conform g++'s __vmi_class_type_info to the C++ ABI
2949 * libsupc++/cxxabi.h
2950 (__vmi_class_type_info::__flags_masks): Remove enumerations not
2951 required by the specification.
2953 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
2955 Renames, namespaces for testsuite utilities.
2956 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
2957 (gnu_allocator_tracker): Rename to allocation_tracker.
2958 (gnu_new_allocator): Rename to tracker_alloc.
2959 (__set_testsuite_memlimit): Rename to set_memory_limits.
2960 (gnu_assignment_operator): Rename to assignment_operator.
2961 (gnu_destructor): Rename to destructor.
2962 (gnu_copy_tracker): Rename to copy_tracker.
2963 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
2964 (run_tests_wrapped_locale): New.
2965 (run_tests_wrapped_env): New.
2966 * testsuite/testsuite_hooks.cc: Same.
2967 (class locale_data): Add.
2968 (class enviornment_variable): Add.
2969 (class not_found): Add.
2970 * testsuite/testsuite_allocator.h: Same.
2971 * testsuite/testsuite_allocator.cc: Same.
2972 * testsuite/23_containers/deque_ctor.cc
2973 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
2975 Change gnu_new_allocator to tracker_alloc.
2976 Change gnu_counting_struct to counter.
2977 Change gnu_copy_tracker to copy_tracker.
2978 Change gnu_copy_constructor to copy_constructor.
2979 Change gnu_assignment_operator to assignment_operator.
2981 * testsuite/23_containers/vector_capacity.cc: Same.
2982 * testsuite/23_containers/vector_ctor.cc (test01): Same.
2983 * testsuite/23_containers/list_modifiers.cc: Change
2984 gnu_copy_tracker to copy_tracker.
2985 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
2986 __set_testsuite_memlimit to set_memory_limits.
2987 * testsuite/21_strings/insert.cc (main): Same.
2988 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
2989 * testsuite/27_io/stringstream.cc: Same.
2990 * testsuite/27_io/stringbuf.cc: Same.
2991 * testsuite/27_io/streambuf.cc: Same.
2992 * testsuite/27_io/ostream.cc: Same.
2993 * testsuite/27_io/istream.cc: Same.
2994 * testsuite/27_io/fstream.cc: Same.
2995 * testsuite/lib/libstdc++-v3-dg.exp
2996 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
2997 three levels deeper in glob patterns.
2999 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
3001 * docs/doxygen/tables.html: Finished now.
3002 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
3003 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
3006 * include/bits/deque.tcc, include/bits/stl_alloc.h,
3007 include/bits/stl_deque.h, include/bits/stl_list.h,
3008 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
3011 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
3013 * configure.in: Revert.
3014 * configure: Regenerate.
3016 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3018 * include/Makefile.am (install-data-local): Prepend
3019 $(DESTDIR) to destination paths in all (un)installation
3020 commands. Use ${c_base_builddir} and ${std_builddir}
3021 as destination subdirectories to achieve consistency with
3022 preceding mkinstalldirs commands. No effect because both
3023 variables contain "." only.
3024 * include/Makefile.in: Regenerate.
3026 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
3028 * include/Makefile.am (stamp-*): Add checks for existing stamps.
3029 * include/Makefile.in: Regenerate.
3031 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
3032 * aclocal.m4: Regenerate.
3034 * configure.in: Don't add new multi-do rules every time the
3035 directory is reconfigured.
3036 * configure: Regenerate.
3038 2003-01-08 Brad Spencer <spencer@infointeractive.com>
3039 Nathan Myers <ncm@cantrip.org>
3041 * src/Makefile.am (stamp-debug): Clean.
3042 * src/Makefile.in: Regenerate.
3044 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
3047 * Makefile.am (distclean-multi): Fix.
3048 * Makefile.in: Regenerate.
3050 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
3052 * include/bits/locale_facets.h (messages): Move ctor, dtor
3054 (__timepunct): Same.
3055 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
3056 definitions. Conditionalize for GNU systems.
3057 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
3059 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
3060 definitions. Conditionalize for GNU systems.
3061 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
3063 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
3064 * src/locale.cc: Define.
3065 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
3067 * config/locale/gnu/time_members.h: Use it.
3068 * config/locale/gnu/messages_members.h: Use it.
3069 * config/linker-map.gnu: Add locale::facets details.
3070 * include/Makefile.am (target_headers_extra): Add time_members.h.
3071 * include/Makefile.in: Regenerate.
3072 * acinclude.m4: Export CTIME_H.
3073 * aclocal.m4: Regenerate.
3074 * configure: Regnerate.
3076 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3079 (codecvt<char, char, mbstate_t>::do_in, do_out):
3080 Tweak parameters to avoid unused parameter warnings.
3082 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3085 * include/bits/locale_facets.cc (num_put::_M_convert_float):
3086 Limit __prec to digits10 + 2, not digits10 + 1, taking into
3087 account the possibility of %{g,G} conversion specifiers
3088 inside _S_format_float.
3089 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
3091 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3093 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
3094 libstdc++-v3-list-sourcefiles): Additionally handle files one
3095 level deeper in glob patterns.
3097 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
3098 * testsuite/27_io/istream_extractor_arith/01.cc,
3099 testsuite/27_io/istream_extractor_arith/02.cc,
3100 testsuite/27_io/istream_extractor_arith/03.cc,
3101 testsuite/27_io/istream_extractor_arith/06.cc,
3102 testsuite/27_io/istream_extractor_arith/07.cc,
3103 testsuite/27_io/istream_extractor_arith/08.cc,
3104 testsuite/27_io/istream_extractor_arith/09.cc,
3105 testsuite/27_io/istream_extractor_arith/10.cc,
3106 testsuite/27_io/istream_extractor_arith/11.cc,
3107 testsuite/27_io/istream_extractor_arith/12.cc,
3108 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
3109 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
3112 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
3116 (codecvt<char, char, mbstate_t>::do_in, do_out):
3117 Implement the resolution of DR19 (TC).
3118 * testsuite/22_locale/codecvt_members_char_char.cc
3121 2003-01-02 Jason Merrill <jason@redhat.com>
3123 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
3124 *__mem is also an output.
3125 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.