1 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
3 * acinclude.m4: Move all AM_CONDITIONAL calls out.
4 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
6 * configure.in: Centralize AM_CONDITIONALs so that they are always
7 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
8 * aclocal.m4, configure: Regenerated.
10 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
12 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
14 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
16 * include/bits/stl_iterator.h
17 (reverse_iterator::reverse_iterator()): Apply DR235: default
18 constructor default-initializes data member. Instantiated on a
19 pointer type, the member has to end up equal to zero.
21 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
23 * include/bits/stl_alloc.h: Cleanups.
24 * include/ext/functional: Same.
25 * include/ext/hash_map: Same.
26 * include/ext/hash_set: Same.
27 * include/ext/iterator: Same.
28 * include/ext/memory: Same.
29 * include/ext/numeric: Same.
30 * include/ext/rb_tree: Same.
31 * include/ext/ropeimpl.h: Same.
32 * include/ext/slist: Same.
33 * include/ext/stdio_filebuf.h: Same.
34 * include/ext/stdio_sync_filebuf.h: Same.
35 * include/ext/stl_rope.h: Move to...
36 * include/ext/rope: ...here.
37 * include/ext/stl_hash_fun.h: Move to...
38 * include/ext/hash_fun.h: ...here.
39 * include/ext/stl_hashtable.h: Move to...
40 * include/ext/hashtable.h: ...here.
41 * include/backward/hashtable.h: Reflect new names.
42 * include/Makefile.am: Same.
43 * include/Makefile.in: Regenerated.
45 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
48 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
49 * include/bits/stl_algobase.h: Tweak.
50 * include/std/std_fstream.h: Move _M_buf_size to...
51 * include/std/std_streambuf.h: ...here. Modify.
52 * include/bits/streambuf.tcc: Same.
53 * testsuite/testsuite_hooks.h: Tweak.
54 * testsuite/testsuite_io.h (constraint_filebuf): New.
55 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
56 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
57 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
58 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
59 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
60 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
61 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
62 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
63 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
64 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
65 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
66 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
67 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
68 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
69 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
70 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
71 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
72 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
73 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
74 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
75 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
76 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
77 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
78 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
79 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
80 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
81 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
82 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
83 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
84 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
85 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
86 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
87 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
88 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
89 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
90 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
91 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
92 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
93 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
94 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
95 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
96 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
97 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
98 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
99 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
100 * testsuite/data/sgetc.txt: New.
101 * testsuite/data/sgetn.txt: New.
103 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
106 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
107 Deal with width() smaller than zero.
108 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
109 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
110 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
111 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
112 operator<<(basic_ostream, const basic_string&)): Likewise.
114 * testsuite/27_io/basic_istream/extractors_character/char/
115 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
116 * testsuite/27_io/basic_ostream/inserters_character/char/
117 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
118 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
119 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
121 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
123 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
124 .gch compilation works.
125 * aclocal.m4, configure: Regenerate.
126 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
129 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
131 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
132 erase(iterator), erase(iterator, iterator), c_str,
133 compare(const basic_string&)): Constify various variables.
134 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
135 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
136 _S_create, resize, _M_replace, _M_replace_safe,
137 append(const basic_string&), append(const basic_string&, size_type,
138 size_type), append(const _CharT*, size_type), append(size_type,
139 _CharT), operator+(const _CharT*, const basic_string&),
140 operator+(_CharT, const basic_string&), replace(iterator, iterator,
141 size_type, _CharT), find(const _CharT*, size_type, size_type),
142 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
143 rfind(_CharT, size_type), compare(size_type, size_type,
144 const basic_string&), compare(size_type, size_type,
145 const basic_string&, size_type, size_type), compare(const _CharT*),
146 compare(size_type, size_type, const _CharT*), compare(size_type,
147 size_type, const _CharT*, size_type)): Likewise.
149 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
151 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
152 'if' branch less obscure.
154 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
157 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
159 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
160 (__atomic_add): likewise.
162 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
164 * include/bits/sstream.tcc (pbackfail): Minor clean up and
165 reformatting, consistent with basic_filebuf::pbackfail.
167 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
170 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
171 __attribute__ ((__unused__)).
172 * config/os/aix/atomicity.h: Likewise.
174 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
177 * include/bits/fstream.tcc (pbackfail): If the pback buffer
178 is already active don't try to store in it a second char.
179 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
181 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
183 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
185 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
188 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
190 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
191 instead of unnecessarily taking the address of _M_pback.
192 (xsgetn): Simplify slightly for a single char pback buffer.
194 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
196 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
197 variables and two 'if', clean up.
199 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
201 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
202 not _M_out_end, since the former actually points to the string
204 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
206 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
208 * docs/doxygen/filter: New file.
209 * docs/doxygen/filter.sed: New file.
210 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
211 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
212 * docs/html/documentation.html: Fix links to doxygen pages.
214 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
216 * include/bits/fstream.tcc (_M_convert_to_external): Don't
217 check for __ilen > 0.
219 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
222 * include/bits/stl_iterator.h (class __normal_iterator):
223 Don't inherit from iterator, add missing typedefs.
225 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
227 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
228 * testsuite/24_iterators/reverse_iterator/1.cc: New.
229 * testsuite/24_iterators/reverse_iterator/2.cc: New.
230 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
233 2003-05-27 Steve Ellcey <sje@cup.hp.com>
235 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
237 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
238 _LIBUNWIND_STD_ABI is set.
240 2003-05-26 Brendan Kehoe <brendan@zen.org>
242 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
243 make sure the number of digits required after the decimal-point
244 (if any) is exactly the value returned by frac_digits().
245 * testsuite/22_locale/money_get/get/char/9.cc: New.
246 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
248 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
250 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
253 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
256 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
257 (_M_pback): No array necessary.
258 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
259 unbuffered case, coalesec into ...
260 (basic_filebuf::overflow): ...this.
261 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
262 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
264 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
266 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
267 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
268 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
269 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
270 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
271 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
272 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
273 libsupc++/eh_unex_handler.cc, libsupc++/exception,
274 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
275 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
276 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
277 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
278 Replace "GNU CC" with "GCC".
280 * include/backward/new.h: Replace "GNU CC" with "GCC".
282 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
285 * configure.in: Switch target to host, don't assume newlib.
286 (target_alias): Remove.
287 * configure: Regenerate.
288 * acinclude.m4: Same.
289 * aclocal.m4: Regenerate.
290 * configure.target: Same. Rename to...
291 * configure.host: This.
293 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
295 * include/std/std_fstream.h (_S_pback_size): Remove definition.
296 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
298 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
299 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
300 of _S_pback_size for systems with no COMDAT or weak support.
301 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
302 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
303 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
304 * testsuite/27_io/basic_fstream/3.cc: Likewise.
305 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
306 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
307 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
308 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
309 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
311 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
313 * include/bits/fstream.tcc (_M_underflow): Simplify:
314 !__testout implies _M_filepos == _M_in_end, therefore
315 the first _M_file.seekoff call is never issued.
317 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
319 * configure.in: Sort cross table.
320 * configure: Regenerate.
322 2003-05-22 Brad Spencer <spencer@infointeractive.com>
325 * configure.in: Add Solaris cross bits.
327 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
329 * libstdc++-v3/config/os/mingw32/os_defines.h
330 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
331 (NOMINMAX): Define. Update copyright year.
333 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
335 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
337 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
339 * docs/html/faq/index.html: Fix typo.
340 * docs/html/faq/index.txt: Regenerate.
342 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
344 * docs/html/test.html: Fix markup.
346 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
348 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
350 Update copyright year.
352 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
354 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
356 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
358 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
359 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
361 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
363 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
364 Cast via void* to avoid -Wcast-align warnings.
365 (__default_alloc_template::_S_refill): Likewise.
367 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
369 * testsuite/README: Move to...
370 * docs/html/test.html: ...here. Add documentation.
371 * docs/html/install.html: Move testing bits out..
372 * docs/html/documentation.html: Add separate testing link.
373 * testsuite/performance: Add.
374 * testsuite/performance/allocator.cc: New.
375 * testsuite/performance/complex_norm.cc: New.
376 * testsuite/performance/cout_insert_int.cc: New.
377 * testsuite/performance/fstream_seek_write.cc: New.
378 * testsuite/performance/ifstream_getline.cc: New.
379 * testsuite/performance/map_create_fill.cc: New.
380 * testsuite/performance/ofstream_insert_float.cc: New.
381 * testsuite/performance/ofstream_insert_int.cc: New.
382 * testsuite/performance/string_append.cc: New.
383 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
386 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
389 * include/std/std_complex.h (pow): Tidy.
391 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
393 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
394 that upon filebuf::close() 27.8.1.1,3 is enforced.
396 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
398 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
400 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
401 Nathan Myers <ncm@cantrip.org>
403 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
404 _M_convert_to_external only once (_M_buf_size is now the size of
405 the put area + 1 for the overflow char of a full area); call
406 _M_set_buffer instead of _M_set_indeterminate.
407 (setbuf): Don't accept a buffer smaller than 2 chars.
408 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
409 instead of _M_set_determinate.
410 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
412 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
413 std::ios_base::openmode, bool, size_t),
414 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
416 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
417 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
419 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
420 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
421 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
422 the put area is now BUFSIZ - 1.
423 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
424 that now the smallest _M_buf_size is 2 (still fails, for the same
427 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
429 * testsuite/thread/pthread4.cc: Tweak test.
431 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
433 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
434 excess errors dg marker, use dg-errors instead.
435 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
436 * testsuite/20_util/auto_ptr_neg.cc: Same.
438 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
440 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
442 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
443 Initialize _M_codecvt.
444 (basic_filebuf::imbue): Same.
445 (basic_filebuf::showmanyc): Use it.
446 (basic_filebuf::underflow): Use it.
447 (basic_filebuf::_M_convert_to_external): Use it.
448 (basic_filebuf::seekoff): Use it.
449 (basic_filebuf::imbue): Use it, tweaks.
450 * include/bits/localefwd.h (__check_facet): New.
451 * include/bits/locale_classes.h: Tweaks.
452 * include/bits/locale_facets.tcc: Tweaks.
453 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
454 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
455 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
456 * include/bits/basic_ios.tcc: Same.
457 * include/bits/istream.tcc: Same.
458 * include/bits/ostream.tcc: Same.
459 * include/std/std_streambuf.h: Same.
460 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
461 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
462 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
463 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
464 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
465 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
467 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
469 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
470 unnecessary includes and unused string literals.
471 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
472 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
473 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
474 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
476 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
478 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
480 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
482 * include/std/std_fstream.h (_M_convert_to_external): Change
483 to return bool, take two less streamsize parameters.
484 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
485 consistently definition.
486 (_M_overflow): Adjust call points.
488 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
490 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
492 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
494 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
495 * testsuite/Makefile.in: Regenerate.
497 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
499 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
500 * testsuite/Makefile.in: Regenerate.
502 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
505 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
506 (acos): Handle integer argument.
525 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
526 (__enable_if): Likewise.
527 * testsuite/26_numerics/cmath/overloads.C: New test.
529 2003-05-10 Petur Runolfsson <peturr02@ru.is>
534 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
535 implementation, based on old wchar_t specialization, add support
536 for codecvt::in() return value of codecvt_base::noconv, remove
537 _M_file.sys_ungetc() call.
538 * include/std/std_fstream.h (basic_file::underflow,
539 basic_file::uflow, basic_file::_M_underflow): Remove
540 specialization declarations, call _M_underflow from generic versions
541 of underflow and uflow.
542 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
543 basic_file::_M_underflow): Remove specializations.
544 * src/Makefile.am (sources): Remove fstream.cc.
545 * src/Makefile.in: Regenerated.
546 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
547 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
548 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
549 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
551 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
553 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
555 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
557 (__basic_file::xsputn): Same.
558 (__basic_file::seekoff): Same.
559 (__basic_file::seekpos): Same.
560 (__basic_file::showmanyc): Same.
561 * config/io/basic_file_stdio.cc: Same.
562 * include/std/std_fstream.h: Same.
563 * include/bits/fstream.tcc: Same.
564 * src/fstream.cc: Same.
565 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
567 2003-05-10 Petur Runolfsson <peturr02@ru.is>
572 * include/ext/stdio_sync_filebuf.h: New file.
573 (basic_stdiobuf): New.
574 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
575 * include/Makefile.in: Regenerate.
576 * include/bits/ios_base.h (Init::_S_create_buffers,
577 Init::_S_destroy_buffers): Remove declarations.
578 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
579 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
580 * src/ios.cc (Init::_S_create_buffers,
581 Init::_S_destroy_buffers): Remove.
582 (Init::Init): Create and use syncronized buffers.
583 (ios_base::sync_with_stdio): Destroy syncronized buffers,
584 create and install unsyncronized buffers.
585 * testsuite/27_io/objects/char/10.cc: New test.
586 * testsuite/27_io/objects/char/9.cc: New test.
587 * testsuite/27_io/objects/char/9661-1.cc: New test.
588 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
589 * testsuite/27_io/objects/char/9661-2_xin.in: New.
590 * testsuite/27_io/objects/wchar_t/1.cc: New test.
591 * testsuite/27_io/objects/wchar_t/10.cc: New test.
592 * testsuite/27_io/objects/wchar_t/2.cc: New test.
593 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
594 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
595 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
596 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
597 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
598 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
599 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
600 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
601 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
602 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
603 * testsuite/27_io/objects/wchar_t/5.cc: New test.
604 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
605 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
606 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
607 * testsuite/27_io/objects/wchar_t/6.cc: New test.
608 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
609 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
610 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
611 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
612 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
613 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
614 * testsuite/27_io/objects/wchar_t/7.cc: New test.
615 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
616 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
617 * testsuite/27_io/objects/wchar_t/8.cc: New test.
618 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
619 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
620 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
621 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
622 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
623 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
624 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
625 * testsuite/ext/stdiobuf_char.cc: New test.
626 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
628 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
630 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
631 unnecessary includes and unused string literals.
632 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
634 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
636 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
638 2003-05-07 Richard Henderson <rth@redhat.com>
641 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
642 (__cxa_end_catch): Likewise.
643 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
644 _Unwind_Resume_or_Rethrow.
645 * libsupc++/eh_personality.cc (empty_exception_spec): New.
646 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
647 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
648 exceptions. Don't push terminate/unexpected to cxa functions.
649 (__cxa_call_unexpected): Remove foreign exception fixmes.
651 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
653 * testsuite/27_io/ios_base/cons: New.
654 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
655 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
657 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
659 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
661 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
662 there is no buffer or __testget == !__testinit.
665 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
666 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
668 * include/std/std_fstream.h (_M_destroy_pback): Don't set
669 unnecessarily _M_pback_cur_save and _M_pback_end_save.
671 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
673 * include/std/std_sstream.h (_M_sync): Minor tweak.
675 * include/bits/fstream.tcc (close): No need to call
676 _M_destroy_pback, setting _M_pback_init to false suffices
679 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
681 * include/bits/stl_algo.h: Enums as _S_.
682 * include/bits/stl_tree.h: Same.
683 * include/bits/stl_bvector.h: Same.
684 * include/bits/ios_base.h: Same.
685 * include/bits/stl_alloc.h: Same.
686 * include/ext/stl_hashtable.h: Same.
687 * src/ios.cc: And here.
689 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
690 * include/bits/sstream.tcc: Same.
692 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
694 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
696 * include/bits/locale_facets.h (__num_base): Remove protected.
697 Use _S_[io]* names for enumerations.
698 (_S_format_int): Remove.
699 * include/bits/locale_facets.tcc: Same.
700 * src/locale.cc: Same.
702 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
704 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
706 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
707 * docs/html/faq/index.txt: Regenerated.
709 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
710 Matt Kraai <kraai@alumni.cmu.edu>
712 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
715 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
717 * configure.target (mips*): Use the generic atomicity.h by default.
719 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
720 (Inspired by an alternate patch from Danny Smith.)
722 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
723 (_Swap_lock_struct<>): ...and the horse it rode in on.
724 * src/globals.cc (_Swap_lock_struct<>): Likewise.
725 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
727 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
728 visibility rules related to POSIX threads.
729 * testsuite/thread/pthread7-rope.cc: New test.
731 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
733 * testsuite/21_strings/basic_string/find/char/3.cc: New
734 file, testing basic_string<char>::find_first_not_of.
735 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
736 Likewise for basic_string<wchar_t>.
738 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
740 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
742 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
744 * include/Makefile.am (CLEANFILES): Remove PCH files in target
746 * include/Makefile.in: Regenerate.
748 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
750 * include/std/std_sstream.h (str()): Tidy.
752 2003-05-02 Nathan Myers <ncm@cantrip.org>
753 Paolo Carlini <pcarlini@unitus.it>
755 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
757 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
759 * include/bits/basic_string.h (swap): Remove redundant template
760 parameters from declaration of non-template member function.
762 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
764 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
765 * configure.in: Move libintl.h header test...
766 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
767 the NLS-related test results into one symbol.
768 * src/functexcept.cc: Use it here.
769 * aclocal.m4, config.h.in, configure: Regenerated.
771 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
773 * include/bits/sstream.tcc (overflow): Instead of calling
774 str(), then _M_string.reserve, thus copying the contents
775 of the current buffer two times, just copy the latter in
776 a temporary, then use the 'swap trick'.
778 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
780 * include/std/std_sstream.h (str()): Revert the best of the
781 previous 'improvement', incorrect due to the COW nature of
782 v3 basic_string; simplify.
784 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
786 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
787 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
789 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
791 * testsuite/abi_check.cc (check_version): Update known versions.
792 Check added symbols for version_name != base version. Add missing
793 symbols to incompatible list.
795 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
797 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
798 * aclocal.m4: Regenerated.
799 * configure: Regenerated.
801 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
803 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
804 Const-ify some variables.
805 (basic_streambuf::xsputn): Likewise; change the type of some
807 (__copy_streambufs): Change some variables to size_t.
809 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
811 * include/std/std_sstream.h (str()): Avoid constructing
812 a basic_string temporary not only when it would turn out
813 to be zero-sized but also when identical to the current
816 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
818 * include/ext/stdio_filebuf.h
819 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
820 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
821 Shorten a bit (-10 lines) by factoring out some code.
823 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
825 * acinclude.m4: Add bit missing from previous patch.
826 * aclocal.m4, configure: Regenerated.
828 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
830 * docs/doxygen/mainpage.html: Bring up to date.
831 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
833 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
834 breaks everything. Don't scan them.
835 * docs/html/documentation.html: Point to "Write after approval"
838 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
840 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
841 of libc if message translations are being used. Fix info text in
842 xieee_1003.1-2001 case.
843 * aclocal.m4, configure: Regenerate.
845 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
846 Loren J. Rittle <ljrittle@acm.org>
847 Martin v. Loewis <martin@v.loewis.de>
849 * config/cpu/i386/atomicity.h: New file.
851 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
853 * include/bits/fstream.tcc (open): Change to single return.
855 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
857 * include/std/std_sstream.h (underflow): Change to single return.
859 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
861 * include/std/std_streambuf.h (_M_buf): is currently
862 used only for basic_filebuf, therefore move it there.
863 (basic_streambuf(), ~basic_streambuf()): Adjust.
864 * include/std/std_fstream.h (_M_buf): Moved here.
865 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
866 is actually redundant for basic_stringbuf.
867 (_M_really_sync): Likewise.
868 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
869 * include/bits/sstream.tcc (seekoff): Adjust.
871 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
873 * src/localename.cc: Standardize exception strings.
874 * src/locale.cc: Same.
876 * include/bits/basic_string.tcc: Same.
877 * include/bits/basic_ios.tcc: Same.
878 * include/std/std_bitset.h: Same.
879 * include/ext/ropeimpl.h: Same.
880 * include/bits/stl_vector.h: Same.
881 * include/bits/stl_deque.h: Same.
882 * include/bits/stl_bvector.h: Same.
883 * config/locale/generic/c_locale.cc: Same.
884 * config/locale/gnu/c_locale.cc: Same.
885 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
887 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
889 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
891 * include/std/std_streambuf.h (_M_buf_size): is currently
892 used only for basic_filebuf, therefore move it there.
893 (basic_streambuf(), ~basic_streambuf()): Adjust.
894 * include/std/std_fstream.h (_M_buf_size): Moved here.
895 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
897 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
899 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
900 _M_buf_size (synced input is now correctly dealt with
901 elsewhere); when the output buffer is full don't fall back
902 to a snextc-sputc loop, call overflow instead.
904 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
906 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
907 the innermost 'if' by factoring out some code.
909 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
911 * configure.in: Test for libintl.h.
912 * include/bits/c++config: Define __N for everybody.
913 * include/bits/basic_string.h, include/bits/stl_bvector.h,
914 include/bits/stl_deque.h, include/bits/stl_vector.h,
915 include/std/std_bitset.h: Wrap all __throw* text with __N.
916 * po/Makefile.am (pot): New rule, mostly working.
917 * src/functexcept.cc: Call gettext on all __throw* arguments when
918 -fexceptions is in effect.
919 * po/Makefile.in, config.h.in, configure: Regenerate.
921 2003-04-28 Petur Runolfsson <peturr02@ru.is>
924 * include/bits/ios_base.h (Init::_S_ios_create,
925 Init::_S_ios_destroy): Remove declarations.
926 (Init::_S_create_buffers,
927 Init::_S_destroy_buffers): Declare
928 * src/ios.cc (Init::_S_ios_create): Remove
929 (Init::_S_create_buffers): Create buffers and add to streams.
930 (Init::_S_ios_destroy): Rename to...
931 (Init::_S_destroy_buffers): this.
932 (Init::Init): Only construct streams once.
933 (Init::~Init): Flush streams, don't destroy them.
934 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
935 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
936 * testsuite/27_io/objects/char/5.cc: New test.
937 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
938 * testsuite/27_io/objects/char/6.cc: New test.
939 * testsuite/27_io/objects/char/7.cc: New test.
941 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
943 * testsuite/27_io/objects/char/8.cc: New test.
945 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
947 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
948 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
950 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
952 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
953 _M_destroy_pback. _M_pback_create to
954 _M_create_pback. _M_underflow_common to
955 _M_underflow. _M_really_overflow to _M_overflow.
956 * include/bits/fstream.tcc: Same.
957 * src/fstream.cc: Same.
958 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
959 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
960 * include/bits/streambuf.tcc: Same.
961 * include/bits/fstream.tcc: Same.
962 * include/bits/sstream.tcc: Same.
964 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
966 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
967 from fixed size array.
968 (locale): Change _S_categories as well.
970 * include/bits/locale_facets.tcc: Tweak.
971 * config/locale/gnu/c_locale.cc: Assign _S_categories.
972 * config/locale/generic/c_locale.cc: Same.
973 * src/locale.cc: Tweak.
974 * src/globals.cc: Change facet_name to name_vec, add names_c.
975 * src/localename.cc: Use them.
976 (locale::_Impl::~_Impl): Destroy _M_names.
977 (locale::_Impl::_Impl): Create _M_names.
979 2003-04-27 Andreas Schwab <schwab@suse.de>
981 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
982 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
984 2003-04-27 Nathan Myers <ncm@cantrip.org>
986 Move some basic_string members out of line because
987 they are too big to reasonably be inline.
988 * include/bits/basic_string.h
989 (assign(const basic_string&, size_type, size_type),
990 assign(const _CharT*, size_type),
991 insert(size_type, const basic_string&, size_type, size_type),
992 insert(size_type, const _CharT*, size_type),
993 replace(size_type, size_type, const _CharT*, size_type)):
995 * include/bits/basic_string.tcc: ...here.
997 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
999 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
1000 the innermost 'if' by factoring out some code.
1002 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1004 * include/bits/streambuf.tcc (__copy_streambufs): Don't
1005 use in_avail(), simplify.
1007 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1009 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
1010 in basic_stringbuf it's unused.
1012 * include/std/std_sstream.h (underflow): consistently use
1013 _M_in_cur, not gptr().
1015 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
1016 Phil Edwards <pme@gcc.gnu.org>
1018 * testsuite_flags.in: Guard against the possibility
1019 of having "xgcc" as a part of a folder name in the
1020 path to the GCC build folder.
1021 * testsuite/Makefile.am: Likewise.
1022 * testsuite/Makefile.in: Regenerated.
1024 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1027 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
1028 exception specifications.
1029 (basic_filebuf::close): Same.
1030 (basic_filebuf::_M_pback_destroy): Same.
1031 (basic_filebuf::_M_destroy_internal_buffer): Same.
1032 (basic_filebuf): Remove __res_type typedef.
1033 * src/fstream.cc: Same.
1034 * include/bits/fstream.tcc
1035 (basic_filebuf::_M_convert_to_external): Simplify.
1036 (basic_filebuf::seekoff): Use has_facet before use_facet.
1037 (basic_filebuf::close): Add exception specification of throw().
1038 * testsuite/27_io/basic_filebuf/cons: New.
1039 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
1040 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
1041 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
1042 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
1044 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1046 * include/bits/locale_classes.h
1047 (locale::_S_extra_categories_size): Remove.
1048 * src/locale.cc: Remove _S_extra_categories_size.
1049 * src/localename.cc: Same.
1050 * config/locale/gnu/c_locale.cc: Same.
1051 * config/locale/generic/c_locale.cc: Same.
1053 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
1055 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
1057 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
1059 * docs/html/17_intro/howto.html: Update some links.
1060 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
1061 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
1062 * docs/html/ext/howto.html: Link to demangler notes and API.
1063 * docs/html/faq/index.html: Remove trailing whitespace.
1064 (1.4, 2.4, 3.8, 4.1): Bring up to date.
1065 (5.6): Change to a bulleted list.
1067 * docs/html/faq/index.txt, docs/html/documentation.html,
1068 docs/html/17_intro/porting.html: Regenerate.
1070 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
1072 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
1073 belongs to basic_filebuf.
1074 * testsuite/27_io/basic_fstream/3.cc: Likewise.
1075 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
1076 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
1077 instantiation (now belongs to basic_filebuf).
1078 * testsuite/27_io/basic_iostream/3.cc: Likewise.
1079 * testsuite/27_io/basic_istream/3.cc: Likewise.
1080 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1081 _S_pback_size now belongs to basic_filebuf.
1082 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
1083 instantiation (now belongs to basic_filebuf).
1084 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
1085 belongs to basic_filebuf.
1086 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
1087 instantiation (now belongs to basic_filebuf).
1088 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
1089 _S_pback_size now belongs to basic_filebuf.
1090 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
1091 instantiation (now belongs to basic_filebuf).
1092 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
1094 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
1095 instantiation (now belongs to basic_filebuf).
1096 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
1098 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1100 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
1101 * configure: Regenerated.
1103 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1105 * config/locale/generic/c_locale.h (__convert_from_v): Use
1108 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
1110 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
1111 implementation only.
1112 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
1113 Comment and change to comply with DR 60 and the effect on gcount().
1114 * include/std/std_istream.h: Update comments.
1115 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
1116 comments about reasons for tests. Test sync() against gcount().
1117 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
1118 for effect on gcount().
1119 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
1120 for effect on gcount().
1122 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
1124 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
1127 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
1129 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
1130 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1131 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
1132 (basic_streambuf::basic_streambuf()): Adjust.
1133 * include/std/std_fstream.h (_S_pback_size, _M_pback,
1134 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1135 _M_pback_create(), _M_pback_destroy()): Moved here
1136 from basic_streambuf.
1137 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
1139 (basic_filebuf::_S_pback_size): Add declaration.
1140 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
1143 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1145 Consistently use _M_in_beg instead of eback(), _M_in_cur
1146 instead of gptr(), and so on.
1147 * include/bits/fstream.tcc (pbackfail, imbue): Here.
1148 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
1149 * include/bits/streambuf.tcc (sbumpc, sputbackc,
1150 __copy_streambufs): Ditto.
1151 * include/std/std_streambuf.h (sgetc): Ditto.
1153 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1155 * include/bits/sstream.tcc (pbackfail, overflow):
1158 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1160 * include/std/std_streambuf.h (uflow()): It's used only by
1161 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
1162 therefore do not consider the _M_buf_unified == true case.
1164 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
1166 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1168 * docs/html/ext/howto.html ('LWG Issues'):
1169 Add issues 19, 90, 171, 231, 271.
1171 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1173 * include/bits/sstream.tcc (pbackfail): Remove redundant
1174 NULL pointer check from test involving _M_in_*.
1175 (overflow, seekoff, seekpos): Const qualify bool variables.
1176 * include/std/std_sstream.h (underflow): Remove redundant
1177 NULL pointer check from test involving _M_in_*.
1178 (_M_really_sync): Const qualify bool variables.
1179 * src/fstream.cc (_M_underflow_common): Remove redundant
1180 NULL pointer check from test involving _M_in_*, const qualify
1183 * include/std/std_streambuf.h (sgetc): Remove redundant
1186 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
1188 According to 5.9 para 2 (second bullet) for pointers p, q
1189 pointing to the same type, with p == 0 and q == 0, (p < q)
1191 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
1192 seekoff): Remove redundant NULL pointer checks from tests
1193 involving _M_out_* and _M_in_*, const qualify bool variables.
1194 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
1195 qualify bool variables.
1196 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
1197 Remove redundant NULL pointer checks from tests involving
1198 _M_out_* and _M_in_*, const qualify bool variables.
1199 * include/std/std_fstream.h (sync): Likewise.
1200 (_M_is_indeterminate): Const qualify bool variables.
1201 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
1202 NULL pointer checks from tests involving _M_out_* and _M_in_*,
1203 const qualify bool variables.
1204 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
1207 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
1209 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
1210 C99 FP macros, if actually captured.
1212 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
1213 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1214 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1215 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1216 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
1218 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1219 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1220 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1221 * include/c_std/std_cstdlib.h: Use new macros.
1222 * include/c_std/std_cstdio.h: Use new macros.
1223 * include/c_std/std_cwchar.h: Use new macros.
1225 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
1228 * include/bits/ostream.tcc: Catch all exceptions for formatted
1229 output, instead of std::exception and derivatives.
1230 * include/bits/istream.tcc: Same.
1231 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
1232 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
1233 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
1234 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
1235 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
1236 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
1239 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
1241 * include/bits/c++config: Minor cosmetic tweaks.
1243 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
1245 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
1246 * include/Makefile.am (pch_input): Find in ${target_builddir}.
1247 (pch_output): Rename to...
1248 (pch_output_builddir): ..this. Find in ${target_builddir}.
1249 (pch_source): Tweak.
1250 (pch_build): Key off a built file.
1251 (pch_output rule): Rename to...
1252 (pch_input rule): ...this. Produce ${pch_output_builddir}
1253 instead of ${pch_output}.
1254 (install-pch rule): Install ${pch_output_builddir}.
1255 * include/Makefile.in: Regenerated.
1257 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
1259 * include/std/std_streambuf.h (setp): _M_out_lim, being
1260 the end limit of used put area, is set equal to _M_out_beg.
1262 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
1264 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
1265 * aclocal.m4: Regenerated.
1266 * configure.in: Remove old demangler bits.
1268 * configure: Regenerate.
1269 * config.h.in: Regenerate.
1270 * include/Makefile.am (allstamps): Now allstamped.
1271 (allcreated): Define this.
1272 (all-local): Use 'em.
1273 Conditionally define pch_build, pch_install based on
1275 (${pch_output}): New rule.
1276 (install-pch): New rule.
1277 (install-headers): New rule.
1278 (install-data-local): Install headers and conditionally pch.
1279 * include/Makefile.in: Regenerate.
1280 * testsuite_flags.in (--build-cxx): Use pch file.
1282 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
1284 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
1286 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
1287 Paolo Carlini <pcarlini at unitus dot it>
1290 * docs/html/27_io/howto.html
1291 ('The buffering is screwing up my program!'): Explain that
1292 opening counts as an I/O operation.
1294 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
1296 * testsuite/thread/pthread1.cc: Enable for darwin test.
1297 * testsuite/thread/pthread2.cc: Same.
1298 * testsuite/thread/pthread3.cc: Same.
1299 * testsuite/thread/pthread4.cc: Same.
1300 * testsuite/thread/pthread5.cc: Same.
1301 * testsuite/thread/pthread6.cc: Same.
1303 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
1306 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
1307 Populate it with multiple legal ways to obtain the C99 float
1308 transcendentals. Use them instead of direct global reference.
1309 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
1310 * docs/html/17_intro/porting.texi
1311 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1312 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1313 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
1314 * config/os/bsd/freebsd/os_defines.h
1315 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1316 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1317 * testsuite/26_numerics/c_math_dynamic.cc: New file.
1319 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
1320 Benjamin Kosnik <bkoz@redhat.com>
1322 * config/os/generic/ctype_inline.h: Fix.
1324 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
1326 * testsuite/testsuite_hooks.h
1327 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
1328 Change to try_named_locale.
1329 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
1331 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
1333 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1334 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1335 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
1336 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
1337 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
1338 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
1339 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
1340 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
1341 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
1342 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
1343 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
1344 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
1345 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
1346 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
1347 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
1348 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1349 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1350 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1351 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
1352 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
1353 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
1354 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
1355 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
1356 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
1357 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
1358 * testsuite/22_locale/collate/compare/char/1.cc: Same.
1359 * testsuite/22_locale/collate/compare/char/2.cc: Same.
1360 * testsuite/22_locale/collate/compare/char/3.cc: Same.
1361 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
1362 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
1363 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
1364 * testsuite/22_locale/collate/hash/char/2.cc: Same.
1365 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
1366 * testsuite/22_locale/collate/transform/char/2.cc: Same.
1367 * testsuite/22_locale/collate/transform/char/3.cc: Same.
1368 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
1369 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
1370 * testsuite/22_locale/collate_byname/1.cc: Same.
1371 * testsuite/22_locale/ctype/is/char/2.cc: Same.
1372 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
1373 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
1374 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
1375 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
1376 * testsuite/22_locale/facet/2.cc: Same.
1377 * testsuite/22_locale/locale/cons/2.cc: Same.
1378 * testsuite/22_locale/locale/cons/4.cc: Same.
1379 * testsuite/22_locale/locale/cons/5.cc: Same.
1380 * testsuite/22_locale/locale/cons/7.cc: Same.
1381 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
1382 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
1383 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
1384 * testsuite/22_locale/messages/members/char/1.cc: Same.
1385 * testsuite/22_locale/messages/members/char/2.cc: Same.
1386 * testsuite/22_locale/messages/members/char/3.cc: Same.
1387 * testsuite/22_locale/messages_byname/1.cc: Same.
1388 * testsuite/22_locale/money_get/get/char/1.cc: Same.
1389 * testsuite/22_locale/money_get/get/char/2.cc: Same.
1390 * testsuite/22_locale/money_get/get/char/3.cc: Same.
1391 * testsuite/22_locale/money_get/get/char/4.cc: Same.
1392 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
1393 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
1394 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
1395 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
1396 * testsuite/22_locale/money_put/put/char/1.cc: Same.
1397 * testsuite/22_locale/money_put/put/char/2.cc: Same.
1398 * testsuite/22_locale/money_put/put/char/3.cc: Same.
1399 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
1400 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
1401 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
1402 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
1403 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
1404 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
1405 * testsuite/22_locale/num_get/get/char/1.cc: Same.
1406 * testsuite/22_locale/num_get/get/char/2.cc: Same.
1407 * testsuite/22_locale/num_get/get/char/3.cc: Same.
1408 * testsuite/22_locale/num_get/get/char/5.cc: Same.
1409 * testsuite/22_locale/num_get/get/char/6.cc: Same.
1410 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
1411 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
1412 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
1413 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
1414 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
1415 * testsuite/22_locale/num_put/put/char/1.cc: Same.
1416 * testsuite/22_locale/num_put/put/char/2.cc: Same.
1417 * testsuite/22_locale/num_put/put/char/3.cc: Same.
1418 * testsuite/22_locale/num_put/put/char/5.cc: Same.
1419 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
1420 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
1421 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
1422 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
1423 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
1424 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
1425 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
1426 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
1427 * testsuite/22_locale/numpunct_byname/1.cc: Same.
1428 * testsuite/22_locale/numpunct_byname/2.cc: Same.
1429 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
1430 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
1431 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
1432 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
1433 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
1434 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
1435 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
1436 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
1437 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
1438 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
1439 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
1440 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
1441 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
1442 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
1443 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
1444 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
1445 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
1446 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
1447 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
1448 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
1449 * testsuite/22_locale/time_put/put/char/1.cc: Same.
1450 * testsuite/22_locale/time_put/put/char/2.cc: Same.
1451 * testsuite/22_locale/time_put/put/char/3.cc: Same.
1452 * testsuite/22_locale/time_put/put/char/4.cc: Same.
1453 * testsuite/22_locale/time_put/put/char/5.cc: Same.
1454 * testsuite/22_locale/time_put/put/char/6.cc: Same.
1455 * testsuite/22_locale/time_put/put/char/7.cc: Same.
1456 * testsuite/22_locale/time_put/put/char/8.cc: Same.
1457 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
1458 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
1459 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
1460 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
1461 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
1462 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
1463 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
1464 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
1465 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
1466 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
1467 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
1468 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
1469 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
1471 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
1473 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
1474 solaris includes, not generic.
1476 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
1478 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
1480 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
1481 * include/bits/concept_check.h: Fix multi-line comment.
1482 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
1483 when target is *-*-freebsd*.
1485 2003-04-14 Nathan Myers <ncm@cantrip.org>
1486 Paolo Carlini <pcarlini@unitus.it>
1488 PR libstdc++/9701 (in_avail())
1489 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
1490 doesn't care if there is anything in some putback cell.
1491 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
1493 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
1494 unused string literals.
1496 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
1498 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
1499 _M_out_end, _M_set_indeterminate() does it.
1501 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1503 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
1505 2003-04-12 David Edelsohn <edelsohn@gnu.org>
1507 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1508 Change basic_streambuf instantiation to "unsigned char".
1509 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1511 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
1513 Remove _M_buf_size_opt, use directly _M_buf_size instead.
1514 * include/bits/fstream.tcc
1515 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
1516 references to _M_buf_size_opt.
1517 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
1518 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
1519 __bufsize to __in_avail and __size_opt to __buf_size.
1520 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
1521 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
1522 * include/std/std_streambuf.h (~basic_streambuf(),
1523 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
1524 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
1525 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
1526 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
1527 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
1528 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
1529 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
1530 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
1531 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
1532 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
1533 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
1534 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
1535 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
1537 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
1539 * include/ext/stdio_filebuf.h
1540 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
1541 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
1542 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
1543 since a stack-based buffer is used for small values of the size_t
1545 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
1546 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
1547 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
1549 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
1552 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
1553 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
1555 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1557 * testsuite/22_locale/locale/cons/3.cc: Split.
1558 * testsuite/22_locale/locale/cons/7222-c.cc: New.
1559 * testsuite/22_locale/locale/cons/7222-env.cc: New.
1560 Check before trying to create a locale from the environment.
1561 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
1562 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
1565 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1567 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
1568 locale to construct this hybrid locale, not the global locale.
1570 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1572 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
1573 instantiation for AIX.
1574 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1575 * testsuite/25_algorithms/min_max.cc: Same.
1577 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1579 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
1580 twice. Always set _M_cfile to 0 when stream was open.
1582 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1584 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
1585 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
1586 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
1587 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
1588 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
1589 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
1590 ifstream_members.cc, instantiations.cc, ios.cc,
1591 ios_base_callbacks.cc, ios_base_members_static-1.tst,
1592 ios_base_members_static.cc, ios_base_storage.cc,
1593 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
1594 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
1595 iostream.cc, iostream_members.cc, istream.cc,
1596 istream_exception.cc, istream_extractor_char.cc,
1597 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
1598 istream_extractor_other-2.tst, istream_extractor_other.cc,
1599 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
1600 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
1601 istream_sentry.cc, istream_unformatted-1.tst,
1602 istream_unformatted-1.txt, istream_unformatted.cc,
1603 istringstream.cc, istringstream_members.cc,
1604 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
1605 ofstream_members.cc, ostream.cc, ostream_exception.cc,
1606 ostream_fail.cc, ostream_inserter_arith.cc,
1607 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
1608 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
1609 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
1610 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
1611 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
1612 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
1613 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
1614 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
1615 wide_stream_objects.cc, istream_extractor_arith/01.cc,
1616 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
1617 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
1618 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
1619 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
1620 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
1622 * 27_io/basic_filebuf/1.cc: New.
1623 * 27_io/basic_filebuf/2.cc: New.
1624 * 27_io/basic_filebuf/3.cc: New.
1625 * 27_io/basic_filebuf/4.cc: New.
1626 * 27_io/basic_filebuf/close/char/1.cc: New.
1627 * 27_io/basic_filebuf/close/char/2.cc: New.
1628 * 27_io/basic_filebuf/close/char/3.cc: New.
1629 * 27_io/basic_filebuf/close/char/4879.cc: New.
1630 * 27_io/basic_filebuf/close/char/9964.cc: New.
1631 * 27_io/basic_filebuf/imbue/char/1.cc: New.
1632 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
1633 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
1634 * 27_io/basic_filebuf/is_open/char/1.cc: New.
1635 * 27_io/basic_filebuf/open/char/1.cc: New.
1636 * 27_io/basic_filebuf/open/char/2.cc: New.
1637 * 27_io/basic_filebuf/open/char/3.cc: New.
1638 * 27_io/basic_filebuf/open/char/9507.cc: New.
1639 * 27_io/basic_filebuf/overflow/char/1.cc: New.
1640 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
1641 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
1642 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
1643 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
1644 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
1645 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
1646 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
1647 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
1648 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
1649 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
1650 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
1651 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
1652 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
1653 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
1654 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
1655 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
1656 * 27_io/basic_filebuf/snextc/char/1.cc: New.
1657 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
1658 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
1659 * 27_io/basic_filebuf/sputc/char/1.cc: New.
1660 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
1661 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
1662 * 27_io/basic_filebuf/sputn/char/1.cc: New.
1663 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
1664 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
1665 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
1666 * 27_io/basic_filebuf/sync/char/1057.cc: New.
1667 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
1668 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
1669 * 27_io/basic_fstream/1.cc: New.
1670 * 27_io/basic_fstream/2.cc: New.
1671 * 27_io/basic_fstream/3.cc: New.
1672 * 27_io/basic_fstream/4.cc: New.
1673 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
1674 * 27_io/basic_ifstream/1.cc: New.
1675 * 27_io/basic_ifstream/2.cc: New.
1676 * 27_io/basic_ifstream/3.cc: New.
1677 * 27_io/basic_ifstream/4.cc: New.
1678 * 27_io/basic_ifstream/cons/char/1.cc: New.
1679 * 27_io/basic_ifstream/open/char/1.cc: New.
1680 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
1681 * 27_io/basic_ios/1.cc: New.
1682 * 27_io/basic_ios/2.cc: New.
1683 * 27_io/basic_ios/3.cc: New.
1684 * 27_io/basic_ios/4.cc: New.
1685 * 27_io/basic_ios/clear/char/1.cc: New.
1686 * 27_io/basic_ios/cons/char/1.cc: New.
1687 * 27_io/basic_ios/cons/char/2.cc: New.
1688 * 27_io/basic_ios/cons/char/3.cc: New.
1689 * 27_io/basic_ios/copyfmt/char/1.cc: New.
1690 * 27_io/basic_ios/copyfmt/char/2.cc: New.
1691 * 27_io/basic_ios/exceptions/char/1.cc: New.
1692 * 27_io/basic_ios/locales/char/1.cc: New.
1693 * 27_io/basic_iostream/1.cc: New.
1694 * 27_io/basic_iostream/2.cc: New.
1695 * 27_io/basic_iostream/3.cc: New.
1696 * 27_io/basic_iostream/4.cc: New.
1697 * 27_io/basic_istream/1.cc: New.
1698 * 27_io/basic_istream/2.cc: New.
1699 * 27_io/basic_istream/3.cc: New.
1700 * 27_io/basic_istream/4.cc: New.
1701 * 27_io/basic_istream/exceptions/char/9561.cc: New.
1702 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
1703 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
1704 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
1705 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
1706 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
1707 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
1708 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
1709 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
1710 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
1711 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
1712 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
1713 * 27_io/basic_istream/extractors_character/char/1.cc: New.
1714 * 27_io/basic_istream/extractors_character/char/2.cc: New.
1715 * 27_io/basic_istream/extractors_character/char/3.cc: New.
1716 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
1717 * 27_io/basic_istream/extractors_other/char/1.cc: New.
1718 * 27_io/basic_istream/extractors_other/char/2.cc: New.
1719 * 27_io/basic_istream/extractors_other/char/3.cc: New.
1720 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
1721 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
1722 * 27_io/basic_istream/get/char/1.cc: New.
1723 * 27_io/basic_istream/get/char/2.cc: New.
1724 * 27_io/basic_istream/getline/char/1.cc: New.
1725 * 27_io/basic_istream/getline/char/2.cc: New.
1726 * 27_io/basic_istream/getline/char/3.cc: New.
1727 * 27_io/basic_istream/ignore/char/1.cc: New.
1728 * 27_io/basic_istream/ignore/char/6360.cc: New.
1729 * 27_io/basic_istream/ignore/char/7220.cc: New.
1730 * 27_io/basic_istream/peek/char/1.cc: New.
1731 * 27_io/basic_istream/peek/char/6414.cc: New.
1732 * 27_io/basic_istream/putback/char/1.cc: New.
1733 * 27_io/basic_istream/read/char/1.cc: New.
1734 * 27_io/basic_istream/read/char/2.cc: New.
1735 * 27_io/basic_istream/read/char/3.cc: New.
1736 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
1737 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
1738 * 27_io/basic_istream/readsome/char/8258.cc: New.
1739 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
1740 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
1741 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
1742 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
1743 * 27_io/basic_istream/seekg/char/fstream.cc: New.
1744 * 27_io/basic_istream/seekg/char/sstream.cc: New.
1745 * 27_io/basic_istream/sentry/char/1.cc: New.
1746 * 27_io/basic_istream/sentry/char/2.cc: New.
1747 * 27_io/basic_istream/sentry/char/3.cc: New.
1748 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
1749 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
1750 * 27_io/basic_istream/tellg/char/1.cc: New.
1751 * 27_io/basic_istream/tellg/char/8348.cc: New.
1752 * 27_io/basic_istream/tellg/char/fstream.cc: New.
1753 * 27_io/basic_istream/tellg/char/sstream.cc: New.
1754 * 27_io/basic_istream/ws/char/1.cc: New.
1755 * 27_io/basic_istringstream/1.cc: New.
1756 * 27_io/basic_istringstream/2.cc: New.
1757 * 27_io/basic_istringstream/3.cc: New.
1758 * 27_io/basic_istringstream/4.cc: New.
1759 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
1760 * 27_io/basic_istringstream/str/char/1.cc: New.
1761 * 27_io/basic_ofstream/1.cc: New.
1762 * 27_io/basic_ofstream/2.cc: New.
1763 * 27_io/basic_ofstream/3.cc: New.
1764 * 27_io/basic_ofstream/4.cc: New.
1765 * 27_io/basic_ofstream/cons/char/2.cc: New.
1766 * 27_io/basic_ofstream/open/char/1.cc: New.
1767 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
1768 * 27_io/basic_ostream/1.cc: New.
1769 * 27_io/basic_ostream/2.cc: New.
1770 * 27_io/basic_ostream/3.cc: New.
1771 * 27_io/basic_ostream/4.cc: New.
1772 * 27_io/basic_ostream/cons/char/9827.cc: New.
1773 * 27_io/basic_ostream/endl/char/1.cc: New.
1774 * 27_io/basic_ostream/ends/char/1.cc: New.
1775 * 27_io/basic_ostream/ends/char/2.cc: New.
1776 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
1777 * 27_io/basic_ostream/flush/char/1.cc: New.
1778 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
1779 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
1780 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
1781 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
1782 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
1783 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
1784 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
1785 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
1786 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
1787 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
1788 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
1789 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
1790 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
1791 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
1792 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
1793 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
1794 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
1795 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
1796 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
1797 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
1798 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
1799 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
1800 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
1801 * 27_io/basic_ostream/sentry/char/1.cc: New.
1802 * 27_io/basic_ostream/sentry/char/2.cc: New.
1803 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
1804 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
1805 * 27_io/basic_ostream/tellp/char/1.cc: New.
1806 * 27_io/basic_ostream/tellp/char/2.cc: New.
1807 * 27_io/basic_ostringstream/1.cc: New.
1808 * 27_io/basic_ostringstream/2.cc: New.
1809 * 27_io/basic_ostringstream/3.cc: New.
1810 * 27_io/basic_ostringstream/4.cc: New.
1811 * 27_io/basic_ostringstream/cons/char/3.cc: New.
1812 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
1813 * 27_io/basic_ostringstream/str/char/1.cc: New.
1814 * 27_io/basic_ostringstream/str/char/2.cc: New.
1815 * 27_io/basic_streambuf/1.cc: New.
1816 * 27_io/basic_streambuf/2.cc: New.
1817 * 27_io/basic_streambuf/3.cc: New.
1818 * 27_io/basic_streambuf/cons/char/1.cc: New.
1819 * 27_io/basic_streambuf/imbue/char/1.cc: New.
1820 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
1821 * 27_io/basic_streambuf/overflow/char/1.cc: New.
1822 * 27_io/basic_streambuf/overflow/char/2.cc: New.
1823 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
1824 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
1825 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
1826 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
1827 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
1828 * 27_io/basic_streambuf/sputn/char/1.cc: New.
1829 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
1830 * 27_io/basic_streambuf/sync/char/1057.cc: New.
1831 * 27_io/basic_stringbuf/1.cc: New.
1832 * 27_io/basic_stringbuf/2.cc: New.
1833 * 27_io/basic_stringbuf/3.cc: New.
1834 * 27_io/basic_stringbuf/4.cc: New.
1835 * 27_io/basic_stringbuf/5.cc: New.
1836 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
1837 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
1838 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
1839 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
1840 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
1841 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
1842 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
1843 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
1844 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
1845 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
1846 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
1847 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
1848 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
1849 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
1850 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
1851 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
1852 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
1853 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
1854 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
1855 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
1856 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
1857 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
1858 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
1859 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
1860 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
1861 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
1862 * 27_io/basic_stringbuf/str/char/1.cc: New.
1863 * 27_io/basic_stringbuf/str/char/2.cc: New.
1864 * 27_io/basic_stringbuf/str/char/3.cc: New.
1865 * 27_io/basic_stringbuf/str/char/3955.cc: New.
1866 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
1867 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
1868 * 27_io/basic_stringstream/1.cc: New.
1869 * 27_io/basic_stringstream/2.cc: New.
1870 * 27_io/basic_stringstream/3.cc: New.
1871 * 27_io/basic_stringstream/4.cc: New.
1872 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
1873 * 27_io/basic_stringstream/str/char/1.cc: New.
1874 * 27_io/basic_stringstream/str/char/2.cc: New.
1875 * 27_io/basic_stringstream/str/char/3.cc: New.
1876 * 27_io/basic_stringstream/str/char/4.cc: New.
1877 * 27_io/fpos/1.cc: New.
1878 * 27_io/fpos/2.cc: New.
1879 * 27_io/fpos/3.cc: New.
1880 * 27_io/ios_base/callbacks/1.cc: New.
1881 * 27_io/ios_base/state/1.cc: New.
1882 * 27_io/ios_base/storage/1.cc: New.
1883 * 27_io/ios_base/storage/2.cc: New.
1884 * 27_io/ios_base/storage/3.cc: New.
1885 * 27_io/ios_base/sync_with_stdio/1.cc: New.
1886 * 27_io/ios_base/sync_with_stdio/2.cc: New.
1887 * 27_io/manipulators/adjustfield/char/1.cc: New.
1888 * 27_io/manipulators/adjustfield/char/2.cc: New.
1889 * 27_io/manipulators/basefield/char/1.cc: New.
1890 * 27_io/manipulators/standard/char/1.cc: New.
1891 * 27_io/manipulators/standard/char/2.cc: New.
1892 * 27_io/objects/char/1.cc: New.
1893 * 27_io/objects/char/2.cc: New.
1894 * 27_io/objects/char/2523-1_xin.cc: New.
1895 * 27_io/objects/char/2523-1_xin.in: New.
1896 * 27_io/objects/char/2523-2_xin.cc: New.
1897 * 27_io/objects/char/2523-2_xin.in: New.
1898 * 27_io/objects/char/3045.cc: New.
1899 * 27_io/objects/char/3647.cc: New.
1900 * 27_io/objects/char/3_xin.cc: New.
1901 * 27_io/objects/char/3_xin.in: New.
1902 * 27_io/objects/char/4_xin.cc: New.
1903 * 27_io/objects/char/4_xin.in: New.
1904 * 27_io/objects/char/5268.cc: New.
1905 * 27_io/objects/char/5280_xin.cc: New.
1906 * 27_io/objects/char/5280_xin.in: New.
1907 * 27_io/objects/char/6548_xin.cc: New.
1908 * 27_io/objects/char/6548_xin.in: New.
1909 * 27_io/objects/char/6648-1_xin.cc: New.
1910 * 27_io/objects/char/6648-1_xin.in: New.
1911 * 27_io/objects/char/6648-2_xin.cc: New.
1912 * 27_io/objects/char/6648-2_xin.in: New.
1913 * 27_io/objects/char/7744_xin.cc: New.
1914 * 27_io/objects/char/7744_xin.in: New.
1915 * 27_io/objects/wchar_t/1.cc: New.
1916 * 27_io/types/1.cc: New.
1917 * 27_io/types/2.cc: New.
1918 * data/filebuf_members-1.tst: New.
1919 * data/filebuf_members-1.txt: New.
1920 * data/filebuf_virtuals-1.tst: New.
1921 * data/filebuf_virtuals-1.txt: New.
1922 * data/filebuf_virtuals-2.tst: New.
1923 * data/filebuf_virtuals-3.tst: New.
1924 * data/ifstream_members-1.tst: New.
1925 * data/ifstream_members-1.txt: New.
1926 * data/ios_base_members_static-1.tst: New.
1927 * data/istream_extractor_other-1.tst: New.
1928 * data/istream_extractor_other-1.txt: New.
1929 * data/istream_extractor_other-2.tst: New.
1930 * data/istream_seeks-1.tst: New.
1931 * data/istream_seeks-1.txt: New.
1932 * data/istream_seeks-2.tst: New.
1933 * data/istream_seeks-3.tst: New.
1934 * data/istream_unformatted-1.tst: New.
1935 * data/istream_unformatted-1.txt: New.
1936 * data/ofstream_members-1.tst: New.
1937 * data/ostream_inserter_char-1.tst: New.
1938 * data/ostream_inserter_char-1.txt: New.
1939 * data/ostream_inserter_other-1.tst: New.
1940 * data/ostream_inserter_other-2.tst: New.
1941 * data/ostream_seeks-1.tst: New.
1943 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1945 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
1946 requirement that __mode must be strict input or output.
1948 * include/std/std_streambuf.h (basic_streambuf::setp): Set
1951 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
1952 output string shouldn't core.
1953 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
1955 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
1957 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
1960 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1962 * testsuite/data: New directory.
1963 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1964 to copy files from the testsuite data directory.
1965 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
1966 testfiles containing _xin, which now means this is an interactive
1967 test and should be run with the interactive dejagnu hooks.
1968 * testsuite/Makefile.am: Remove testsuite_* files.
1969 * testsuite/Makefile.in: Regenerate.
1971 2003-04-09 Zack Weinberg <zack@codesourcery.com>
1973 * docs/html/install.html: Document complete list of locales
1974 required by test suite. Document procedure for installing
1975 said locales under Debian. Solicit instructions for other
1978 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
1980 * include/bits/sstream.tcc (overflow): Make sure operands of min
1981 and max have the same type.
1983 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
1986 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
1989 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
1991 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
1992 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1993 Don't set _M_out_end.
1994 (basic_filebuf::overflow): Replace _M_out_buf_size() with
1995 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
1996 * include/bits/sstream.tcc (basic_stringbuf::overflow):
1997 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
1998 * include/bits/streambuf.tcc (basic_streambuf::sputc):
1999 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
2000 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
2001 _M_out_end - _M_out_cur.
2002 (__copy_streambufs): Likewise.
2003 * include/std/std_fstream.h (_M_set_determinate): Set
2006 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
2008 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
2009 _M_convert_to_external, _M_really_overflow, seekoff): Fix
2010 test for synced buffer.
2011 * include/std/std_fstream.h (sync): Likewise.
2012 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2013 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
2015 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
2017 * include/std/std_sstream.h (basic_istringstream): Adjust
2019 (basic_ostringstream): Same.
2020 (basic_stringstream): Same.
2021 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
2022 (basic_ofstream): Same.
2023 (basic_fstream): Same.
2024 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
2025 that does not call init.
2026 * include/std/std_istream.h (basic_istream): Same.
2027 (basic_iostream): Construct istream, ostream uninitialized, use
2028 init to initialize just once. Add protected ctor that does not
2031 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
2032 Nathan Myers <ncm@cantrip.org>
2035 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
2037 (basic_filebuf<>::showmanyc): Use the information provided
2038 by codecvt and __basic_file<>::showmanyc_helper to implement
2039 a non-trivial showmanyc.
2040 * config/io/basic_file_stdio.h
2041 (__basic_file<>::showmanyc_helper): New, declare.
2042 * config/io/basic_file_stdio.cc
2043 (__basic_file<>::showmanyc_helper): Define.
2044 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
2045 (__basic_file<char>::open): Don't call fcntl().
2046 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
2047 GLIBCPP_CHECK_POLL): New macros.
2048 * configure.in: Call here.
2049 * acconfig.h: Add #undefs for the corresponding symbols.
2050 * aclocal.m4: Regenerate.
2051 * configure: Regenerate.
2052 * config.h.in: Regenerate.
2054 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
2056 * config/linker-map.gnu: Remove string export restrictions.
2058 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
2060 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
2061 find_first_of, find_last_of and find_last_not_of tests.
2062 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
2063 tests here, new file.
2064 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
2065 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
2066 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
2067 wchar_t find_first_of tests here, new file.
2068 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
2070 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
2072 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
2073 wchar_t find_last_of tests here.
2074 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
2075 wchar_t find_last_not_of tests here.
2077 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
2079 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
2080 Correct return value.
2082 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
2085 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
2086 * include/std/std_complex.h (norm): Use faster,
2087 less accurate computation for builtin float types under --fast-math.
2089 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
2091 * testsuite/testsuite_hooks.h: Fix warning nits.
2093 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
2095 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
2096 Only .set mips2 for the o32 ABI.
2098 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
2100 * testsuite/21_strings/char_traits/requirements/char/1.cc:
2101 Test char not wchar_t.
2103 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2105 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
2106 Correct size, taking into account sizeof(wchar_t).
2108 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2110 Reshuffle 21_strings testsuite.
2111 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
2112 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
2113 element_access.cc, operations.cc, char_traits_requirements.cc,
2114 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
2115 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
2116 wchar_t tests as follows.
2117 * 21_strings/basic_string/append/char/1.cc: New.
2118 * 21_strings/basic_string/append/wchar_t/1.cc: New.
2119 * 21_strings/basic_string/assign/char/1.cc: New.
2120 * 21_strings/basic_string/assign/char/2.cc: New.
2121 * 21_strings/basic_string/assign/char/3.cc: New.
2122 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
2123 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
2124 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
2125 * 21_strings/basic_string/capacity/1.cc: New.
2126 * 21_strings/basic_string/capacity/char/1.cc: New.
2127 * 21_strings/basic_string/capacity/char/2.cc: New.
2128 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
2129 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
2130 * 21_strings/basic_string/compare/char/1.cc: New.
2131 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
2132 * 21_strings/basic_string/cons/char/1.cc: New.
2133 * 21_strings/basic_string/cons/char/2.cc: New.
2134 * 21_strings/basic_string/cons/char/3.cc: New.
2135 * 21_strings/basic_string/cons/char/4.cc: New.
2136 * 21_strings/basic_string/cons/char/5.cc: New.
2137 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
2138 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
2139 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
2140 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
2141 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
2142 * 21_strings/basic_string/element_access/char/1.cc: New.
2143 * 21_strings/basic_string/element_access/char/2.cc: New.
2144 * 21_strings/basic_string/element_access/char/3.cc: New.
2145 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
2146 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
2147 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
2148 * 21_strings/basic_string/find/char/1.cc: New.
2149 * 21_strings/basic_string/find/wchar_t/1.cc: New.
2150 * 21_strings/basic_string/insert/char/1.cc: New.
2151 * 21_strings/basic_string/insert/char/2.cc: New.
2152 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
2153 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
2154 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
2155 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
2156 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
2157 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
2158 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
2159 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
2160 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
2161 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
2162 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
2163 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
2164 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
2165 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
2166 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
2167 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
2168 * 21_strings/basic_string/operators/char/1.cc: New.
2169 * 21_strings/basic_string/operators/char/2.cc: New.
2170 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
2171 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
2172 * 21_strings/basic_string/replace/char/1.cc: New.
2173 * 21_strings/basic_string/replace/char/2.cc: New.
2174 * 21_strings/basic_string/replace/char/3.cc: New.
2175 * 21_strings/basic_string/replace/char/4.cc: New.
2176 * 21_strings/basic_string/replace/char/5.cc: New.
2177 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
2178 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
2179 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
2180 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
2181 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
2182 * 21_strings/basic_string/rfind/char/1.cc: New.
2183 * 21_strings/basic_string/rfind/char/2.cc: New.
2184 * 21_strings/basic_string/rfind/char/3.cc: New.
2185 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
2186 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
2187 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
2188 * 21_strings/basic_string/substr/char/1.cc: New.
2189 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
2190 * 21_strings/c_strings/char/1.cc: New.
2191 * 21_strings/c_strings/char/2.cc: New.
2192 * 21_strings/c_strings/wchar_t/1.cc: New.
2193 * 21_strings/c_strings/wchar_t/2.cc: New.
2194 * 21_strings/char_traits/requirements/char/1.cc: New.
2195 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
2196 * 21_strings/char_traits/typedefs/char/1.cc: New.
2198 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
2199 Petur Runolfsson <peturr02@ru.is>
2202 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2203 basic_filebuf<wchar_t>::_M_underflow_common):
2204 if (gptr() < egptr()) return *gptr().
2205 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
2207 * testsuite/27_io/filebuf_members.cc (test_04): Minor
2208 changes: unlink fifo before making it, fix spelling error.
2210 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
2212 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
2213 * testsuite/Makefile.in: Regenerate.
2214 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
2217 2003-03-17 Petur Runolfsson <peturr02@ru.is>
2220 * include/bits/fstream.tcc (basic_filebuf::close):
2221 Always close file, even when write fails.
2222 * testsuite/27_io/filebuf_members.cc (test_07): New test.
2224 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
2226 * libsupc++/Makefile.am (C_COMPILE): Remove.
2227 (LTCOMPILE): Likewise.
2228 * libsupc++/Makefile.in: Regenerate.
2230 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2232 * testsuite/23_containers/bitset_members.cc: Add test variable.
2233 * testsuite/23_containers/map_insert.cc: Same.
2234 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
2235 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
2236 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
2237 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
2238 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
2239 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
2240 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
2241 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
2242 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
2243 * testsuite/27_io/istream_exception.cc: Same.
2244 * testsuite/27_io/filebuf_virtuals.cc: Same.
2245 * testsuite/27_io/stringbuf_virtuals.cc: Same.
2246 * testsuite/27_io/ostream_inserter_arith.cc: Same.
2247 * testsuite/26_numerics/valarray_operators.cc: Same.
2248 * testsuite/26_numerics/slice.cc: Same.
2249 * testsuite/26_numerics/slice_array_assignment.cc: Same.
2250 * testsuite/24_iterators/istream_iterator.cc: Same.
2251 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
2253 2003-03-14 Petur Runolfsson <peturr02@ru.is>
2257 * config/locale/generic/ctype_members.cc,
2258 * config/locale/gnu/ctype_members.cc
2259 (ctype<wchar_t>::do_widen(char)): Cast argument to
2260 unsigned char before passing to btowc.
2261 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
2262 Convert characters with btowc instead of mbsrtowcs.
2263 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
2265 Convert characters with wctob instead of wcsrtombs.
2266 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
2267 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
2268 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
2270 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2272 * include/stdc++.h: New.
2273 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
2274 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
2275 * include/Makefile.in: Regenerate.
2276 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
2277 (--cxxflags): Put -g -O2 here.
2278 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
2280 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
2282 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
2283 missing named locale.
2285 2003-03-14 Andreas Schwab <schwab@suse.de>
2287 * configure.in: Only append to makefiles that are newly created to
2288 avoid multiple multi-do/multi-clean rules.
2289 * configure: Rebuilt.
2291 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
2293 * docs/html/configopts.html, docs/html/documentation.html,
2294 docs/html/explanations.html, docs/html/install.html,
2295 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
2296 invalid XHTML and make page header style consistent.
2298 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
2300 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
2301 * docs/html/faq/index.txt: Regenerate.
2302 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
2304 2003-03-12 Andreas Schwab <schwab@suse.de>
2306 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2307 glibcpp_toolexeclibdir.
2308 * aclocal.m4, configure: Rebuilt.
2310 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
2312 * docs/html/faq/index.html: Update text about location of headers.
2313 * docs/html/faq/index.txt: Regenerate.
2315 2003-03-11 Carlo Wood <carlo@alinoe.com>
2317 * include/bits/demangle.h: Prepend accessors of
2318 class qualifier with 'get_' in order to fix warnings
2319 when compiling with -Wshadow.
2321 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
2323 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
2325 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
2327 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
2328 report lack of setenv().
2330 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2332 * config/io/basic_file_stdio.cc: include <unistd.h>.
2334 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2335 Nathan Myers <ncm@cantrip.org>
2338 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
2339 seekoff, seekpos): Add a boolean parameter __stdio.
2340 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
2341 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
2342 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
2344 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
2345 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
2346 * include/std/std_fstream.h (sync): Likewise.
2347 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
2348 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
2349 libstdc++/8399 commit involving isatty(0).
2350 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
2351 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
2352 * configure.in: Remove call.
2353 * aclocal.m4: Regenerate.
2354 * config.h.in: Regenerate.
2355 * configure: Regenerate.
2356 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
2358 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2361 * include/bits/fstream.tcc (overflow): don't write EOF to file.
2362 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
2364 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2367 * include/bits/basic_ios.h (_M_setstate): New.
2368 * include/bits/ostream.tcc (operator<<): Use it.
2369 * include/bits/istream.tcc (operator>>): Use it.
2370 * include/std/std_ostream.h (operator<<): Make friends.
2371 * include/std/std_istream.h (operator>>): Make friends.
2372 * testsuite/27_io/ostream_exception.cc,
2373 testsuite/27_io/istream_exception.cc: New tests.
2375 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
2377 * include/bits/locale_facets.tcc: Fix typo.
2379 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
2381 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
2383 * config/locale/generic/c_locale.cc
2384 (locale::facet::_S_create_c_locale): Throw runtime exception when
2385 unsupported language is specified.
2386 * testsuite/testsuite_hooks.h
2387 (run_test_wrapped_generic_locale_exception_catcher): New function.
2388 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
2389 Suppress runtime exception thrown by generic implementation.
2390 (run_tests_wrapped_env): Likewise.
2391 (run_test_wrapped_generic_locale_exception_catcher): New function.
2392 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
2393 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
2394 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
2395 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
2396 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
2397 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
2398 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
2399 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
2400 * testsuite/22_locale/facet/2.cc: New test wrap.
2401 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
2402 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
2403 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
2404 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
2405 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
2406 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
2407 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
2408 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
2409 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
2410 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
2411 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
2412 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
2413 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
2414 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
2415 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
2416 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
2417 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
2418 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
2419 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
2420 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
2421 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
2422 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
2423 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
2424 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
2425 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
2426 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
2427 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
2428 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
2429 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
2430 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
2431 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
2432 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
2433 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
2434 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
2435 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
2436 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
2437 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
2438 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
2439 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
2440 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
2441 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
2442 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
2443 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
2444 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
2445 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
2446 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
2447 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
2448 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
2449 * testsuite/27_io/ios_members.cc: New test wrap.
2450 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
2452 * testsuite/27_io/streambuf_members.cc: New test wrap.
2453 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
2455 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
2456 Petur Runolfsson <peturr02@ru.is>
2459 * include/bits/streambuf.tcc (__copy_streambufs): Use
2460 sgetn-sputn only when sputn cannot fail, otherwise fall back
2461 to safe snextc-sputc.
2462 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
2464 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2466 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
2467 locale cache for truename and falsename.
2469 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2471 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
2472 _M_word_size initialization.
2474 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2476 * include/bits/fstream.tcc (_M_convert_to_external):
2477 Set __elen to zero if codecvt::out eventually fails.
2479 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2482 * include/bits/fstream.tcc (_M_really_overflow): Check
2483 for _M_convert_to_external possible failures.
2484 * include/std/std_fstream.h (sync): Check _M_really_overflow
2485 return value and return -1 in case of failure.
2486 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
2488 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2491 * include/bits/istream.tcc (operator>>(_CharT*),
2492 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
2493 * testsuite/27_io/stringstream.cc (test02): Add.
2495 * include/bits/istream.tcc (operator>>(_CharT*)):
2496 Assign a char_type to *__s.
2498 2003-03-07 Petur Runolfsson <peturr02@ru.is>
2501 * include/bits/locale_facets.tcc
2502 (collate::do_compare, collate::do_transform):
2503 Handle nul characters in input.
2504 * testsuite/22_locale/collate/compare/char/3.cc: New test.
2505 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
2506 * testsuite/22_locale/collate/transform/char/3.cc: New test.
2507 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
2509 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
2511 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
2513 * testsuite/27_io/ostream_fail.cc: New test.
2515 2003-03-07 Matthias Klose <doko@debian.org>
2517 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
2518 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
2519 * Makefile.in: Regenerate.
2520 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
2522 AM_MAKEFLAGS: Pass gxx_include_dir.
2523 * libsupc++/Makefile.in: Regenerate.
2525 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
2527 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
2528 mask. Test setting small-numbered pword and iword slots. Test
2529 behavior at limit of numeric_limits::max. Check that values are
2530 still good after failures.
2532 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
2534 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
2535 (ios_base::ios_base): Set _M_word, _M_word_size.
2536 (ios_base::~ios_base): Remove redundant test.
2537 * testsuite/27_io/ios_base_storage.cc (test03): New.
2539 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
2541 * src/strstream.cc, include/bits/basic_string.tcc: Remove
2542 incorrect whitespace added in my previous change.
2544 2003-03-05 Carlo Wood <carlo@alinoe.com>
2546 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
2547 _S_initialized() in order to allow debugging libraries to detect
2548 when the std streams are initialized from an overloaded operator
2551 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
2553 * libsupc++/demangle.h: Move to..
2554 * include/bits/demangle.h: ...here.
2555 * src/demangle.cc: Adjust include.
2556 * include/Makefile.am (bits_headers): Add.
2557 * include/Makefile.in: Regenerate.
2559 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
2561 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
2563 * config/linker-map.gnu: Filter typeinfo and vtable info.
2565 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
2567 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
2568 new failure. Throw exception if badbit and exception mask when ix
2569 >= numeric_limits<int>::max().
2571 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
2573 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
2574 min and max have the same type.
2575 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
2577 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
2579 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
2580 * include/Makefile.in: Regenerate.
2582 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
2584 * testsuite/abi_check.cc (report_symbol_info): Add version info.
2586 * config/linker-map.gnu: Hide more stuff.
2587 * include/Makefile.am: Cleanups.
2588 * include/Makefile.in: Regenerate.
2590 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
2592 * config/locale/generic/messages_members.h (messages::messages):
2593 Remove name from unused parameter.
2595 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
2597 * src/Makefile.am (sources): Add demangle.cc.
2600 * src/Makefile.in: Regenerate.
2601 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
2602 * libsupc++/Makefile.in: Regenerate.
2604 * testsuite/testsuite_hooks.h
2605 (__gnu_cxx_test::verify_demangle): New.
2606 * testsuite/testsuite_hooks.cc: Define.
2608 2003-02-27 Carlo Wood <carlo@alinoe.com>
2610 * src/demangle.cc: New.
2611 * libsupc++/demangle.h: New.
2613 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
2614 Carlo Wood <carlo@alinoe.com>
2616 * testsuite/demangle/abi_examples/01.cc: New.
2617 * testsuite/demangle/abi_examples/02.cc: New.
2618 * testsuite/demangle/abi_examples/03.cc: New.
2619 * testsuite/demangle/abi_examples/04.cc: New.
2620 * testsuite/demangle/abi_examples/05.cc: New.
2621 * testsuite/demangle/abi_examples/06.cc: New.
2622 * testsuite/demangle/abi_examples/07.cc: New.
2623 * testsuite/demangle/abi_examples/08.cc: New.
2624 * testsuite/demangle/abi_examples/09.cc: New.
2625 * testsuite/demangle/abi_examples/10.cc: New.
2626 * testsuite/demangle/abi_examples/11.cc: New.
2627 * testsuite/demangle/abi_examples/12.cc: New.
2628 * testsuite/demangle/abi_examples/13.cc: New.
2629 * testsuite/demangle/abi_examples/14.cc: New.
2630 * testsuite/demangle/abi_examples/15.cc: New.
2631 * testsuite/demangle/abi_examples/16.cc: New.
2632 * testsuite/demangle/abi_examples/17.cc: New.
2633 * testsuite/demangle/abi_examples/18.cc: New.
2634 * testsuite/demangle/abi_examples/19.cc: New.
2635 * testsuite/demangle/abi_examples/20.cc: New.
2636 * testsuite/demangle/abi_examples/21.cc: New.
2637 * testsuite/demangle/abi_examples/22.cc: New.
2638 * testsuite/demangle/abi_examples/23.cc: New.
2639 * testsuite/demangle/abi_examples/24.cc: New.
2640 * testsuite/demangle/abi_examples/25.cc: New.
2641 * testsuite/demangle/abi_examples/26.cc: New.
2642 * testsuite/demangle/abi_text/01.cc: New.
2643 * testsuite/demangle/abi_text/02.cc: New.
2644 * testsuite/demangle/abi_text/03.cc: New.
2645 * testsuite/demangle/abi_text/04.cc: New.
2646 * testsuite/demangle/abi_text/05.cc: New.
2647 * testsuite/demangle/abi_text/06.cc: New.
2648 * testsuite/demangle/abi_text/07.cc: New.
2649 * testsuite/demangle/abi_text/08.cc: New.
2650 * testsuite/demangle/abi_text/09.cc: New.
2651 * testsuite/demangle/abi_text/10.cc: New.
2652 * testsuite/demangle/abi_text/11.cc: New.
2653 * testsuite/demangle/abi_text/12.cc: New.
2654 * testsuite/demangle/abi_text/13.cc: New.
2655 * testsuite/demangle/abi_text/14.cc: New.
2656 * testsuite/demangle/regression/3111-1.cc: New.
2657 * testsuite/demangle/regression/3111-2.cc: New.
2658 * testsuite/demangle/regression/7986-01.cc: New.
2659 * testsuite/demangle/regression/7986-02.cc: New.
2660 * testsuite/demangle/regression/7986-03.cc: New.
2661 * testsuite/demangle/regression/7986-04.cc: New.
2662 * testsuite/demangle/regression/7986-05.cc: New.
2663 * testsuite/demangle/regression/7986-06.cc: New.
2664 * testsuite/demangle/regression/7986-07.cc: New.
2665 * testsuite/demangle/regression/7986-08.cc: New.
2666 * testsuite/demangle/regression/7986-09.cc: New.
2667 * testsuite/demangle/regression/7986-10.cc: New.
2668 * testsuite/demangle/regression/7986-11.cc: New.
2669 * testsuite/demangle/regression/7986-12.cc: New.
2670 * testsuite/demangle/regression/7986.cc: New.
2671 * testsuite/demangle/regression/8897.cc: New.
2672 * testsuite/demangle/regression/cw-01.cc: New.
2673 * testsuite/demangle/regression/cw-02.cc: New.
2674 * testsuite/demangle/regression/cw-03.cc: New.
2675 * testsuite/demangle/regression/cw-04.cc: New.
2676 * testsuite/demangle/regression/cw-05.cc: New.
2677 * testsuite/demangle/regression/cw-06.cc: New.
2678 * testsuite/demangle/regression/cw-07.cc: New.
2679 * testsuite/demangle/regression/cw-08.cc: New.
2680 * testsuite/demangle/regression/cw-09.cc: New.
2681 * testsuite/demangle/regression/cw-10.cc: New.
2682 * testsuite/demangle/regression/cw-11.cc: New.
2683 * testsuite/demangle/regression/cw-12.cc: New.
2684 * testsuite/demangle/regression/cw-13.cc: New.
2685 * testsuite/demangle/regression/cw-14.cc: New.
2686 * testsuite/demangle/regression/old.cc: New.
2688 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
2690 * docs/doxygen/Intro.3: Update with new (proper) names.
2691 * docs/doxygen/TODO: Update.
2692 * docs/doxygen/run_doxygen: More comments, fix up man pages.
2693 Fake entries for standard typedefs.
2694 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
2695 * docs/html/documentation.html: Top-level man page is now called
2697 * include/std/std_limits.h: Doxygenate.
2699 2003-02-25 Scott Snyder <snyder@fnal.gov>
2702 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
2703 Correct documentation.
2704 * include/bits/stl_multimap.h (lower_bound, upper_bound,
2705 equal_range): Likewise.
2707 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2711 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
2712 __bump is true (uflow), always increment the read pointer
2713 (_M_in_cur) before returning successfully.
2714 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
2716 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2717 Nathan Myers <ncm@cantrip.org>
2719 PR libstdc++/9404, PR libstdc++/9701 (partial)
2720 (aka pptr == epptr implies overflow)
2721 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
2722 Consistently, _M_out_end points to the end of the buffer just
2724 (overflow): Tweak to use _M_out_buf_size().
2725 (_M_convert_to_external): The role of the old _M_out_end is
2726 now played by _M_out_lim.
2727 (_M_really_overflow): Likewise.
2728 (seekoff): Likewise.
2729 (setbuf): _M_out_end points to the end of the external buffer.
2730 * include/bits/sstream.tcc (overflow): Rewrote, taking into
2731 account the resolution of DR 169 (TC).
2732 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
2733 (seekpos): Use _M_string.capacity(); tweak.
2734 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
2735 * include/std/std_fstream.h (sync): The role of the old
2736 _M_out_end is now played by _M_out_lim.
2737 (_M_set_indeterminate): Use _M_set_determinate.
2738 (_M_set_determinate): _M_out_end is now _M_out_lim.
2739 (_M_is_indeterminate): Likewise.
2740 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
2741 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
2742 which have the information readily available as _M_string.capacity();
2743 for ate and app modes, pass the string size to _M_really_sync.
2744 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
2745 point to the end of the buffer (i.e., epptr) and to the string end,
2747 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
2748 which points to the right limit of the used put area.
2749 (_M_out_cur_move): The role of the old _M_out_end is now played
2751 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
2752 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
2754 (basic_streambuf()): Initialize _M_out_lim too.
2755 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
2756 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
2757 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
2759 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
2761 * testsuite/27_io/ios_base_storage.cc (main): Call
2764 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
2766 * include/bits/locale_facets.tcc (_M_convert_float): Replace
2767 numpunct facet accesses with data from __locale_cache.
2769 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2771 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
2772 * docs/html/faq/index.txt: Regenerate.
2774 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2776 * config/linker-map.gnu: Also export locking symbols needed for the
2777 generic atomicity.h case.
2779 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2781 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2783 * configure: Rebuilt.
2785 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
2787 * include/bits/sstream.tcc (overflow): According to
2788 27.7.1.3, p5, actual output is performed by sputc(c).
2790 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
2793 * include/bits/stl_alloc.h: Remove all traces of assert().
2795 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
2797 * include/std/std_sstream.h (str()): the size of the
2798 current string may be different from the initial one
2799 whenever _M_out_end > _M_out_beg.
2800 * testsuite/27_io/stringbuf_members.cc (test07): Add.
2802 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
2805 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
2807 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
2809 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
2810 * testsuite/27_io/ios_members.cc (test03): New.
2812 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
2814 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
2815 (basic_ios::_M_cache_facets): Move into above.
2816 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
2818 (basic_ios::imbue): Force locale cache to be built.
2819 (basic_ios::_M_init): Create and initialize locale cache.
2820 * include/bits/ios_base.h (__locale_cache_base): Declare.
2821 (ios_base::_M_locale_cache): New.
2822 (ios_base::_M_cache): Define.
2823 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
2825 (__locale_cache_base,__locale_cache<_CharT>): New classes.
2826 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
2827 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
2828 cache literal string, grouping flag, thousands separator.
2829 (__locale_cache<_CharT>::__locale_cache): New.
2830 (__locale_cache<_CharT>::_M_init): New.
2831 * src/ios.cc: Clear _M_locale_cache in constructor.
2832 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
2835 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2837 * src/locale-inst.cc: Do not include <cassert>.
2838 * src/locale.cc: Likewise.
2840 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2843 * include/std/std_fstream.h: Declare underflow and uflow
2844 specializations, change generic definitions to do nothing.
2845 * src/fstream.cc: Add underflow and uflow specializations.
2847 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2850 * include/bits/fstream.tcc (_M_convert_to_external):
2851 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
2852 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
2854 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
2856 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
2857 * include/bits/basic_ios.tcc: Guard use of extern template.
2858 * include/std/std_iomanip.h: Same.
2859 * include/bits/streambuf.tcc: Same.
2860 * include/bits/stl_alloc.h: Same.
2861 * include/bits/locale_facets.tcc: Same.
2862 * include/bits/ostream.tcc: Same.
2863 * include/bits/istream.tcc: Same.
2864 * include/bits/fstream.tcc: Same.
2865 * include/bits/basic_string.tcc: Same.
2867 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
2869 * include/bits/ostream.tcc (sentry::sentry): Improve
2870 performance-wise the fix for libstdc++/9563.
2872 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
2874 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
2875 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
2876 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
2877 when we don't have static mutex initialization.
2878 (__exchange_and_add): Use _Atomic_add_mutex_once.
2879 * src/misc-inst.cc: Definitions of all the above.
2881 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
2884 * include/bits/ostream.tcc (sentry::sentry): Check
2885 the state of the stream after the preparation.
2886 * testsuite/27_io/ostream_sentry.cc (test02): Add.
2888 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
2890 * include/Makefile.am (stamp-std-precompile): Add rule.
2891 * include/Makefile.in: Regenerated.
2893 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
2894 Benjamin Kosnik <benjamin@redhat.com>
2896 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
2897 Add indexes into this array.
2898 (__num_base::_S_atoms): To _S_atoms_in.
2899 (num_put::_M_insert): Rename to _M_pad.
2900 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
2901 (num_put::_M_widen_int): Rename to _M_group_int.
2902 (num_put::_M_widen_float): Rename to _M_group_float.
2903 * include/bits/locale_facets.tcc (__int_to_char): New inline
2904 function and adapter functions.
2905 (num_put::_M_group_int): Streamline.
2906 (num_put::_M_group_float): Streamline.
2907 (num_put::_M_convert_int): Remove unused parameter names. Choose
2908 large enough buffer for text. Use __int_to_char instead of
2909 __convert_from_v. Formatted text is now at the end of the buffer.
2910 (num_put::_M_convert_float): Preliminary fixups.
2911 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
2912 (__int_to_char<unsigned long long>): Same.
2913 (__int_to_char<char, unsigned long>): New.
2914 (__int_to_char<char, unsigned long long>): New.
2915 (__int_to_char<wchar_t, unsigned long>): New.
2916 (__int_to_char<wchar_t, unsigned long long>): New.
2918 2003-02-11 Scott Snyder <snyder@fnal.gov>
2921 * include/bits/fstream.tcc (seekoff): Avoid operator+
2924 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2927 * include/ext/stdio_filebuf.h
2928 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
2929 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
2930 Change to take a __size parameter of type size_t, not
2931 of type (template parameter dependent) int_type.
2932 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
2933 size vars to size_t.
2934 * testsuite/ext/stdio_filebuf.cc: Add.
2936 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2937 Petur Runolfsson <peturr02@ru.is>
2940 * include/bits/streambuf.tcc (__copy_streambufs):
2941 Don't conditionalize the copy to __testput.
2942 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
2944 2002-02-11 DJ Delorie <dj@redhat.com>
2946 * acinclude.m4: Check for native targets that can't link at
2947 this point in the build.
2948 * aclocal.m4: Regenerate.
2949 * configure: Regenerate.
2951 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2953 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
2955 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
2958 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
2960 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
2961 unsigned char platforms.
2963 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2966 * include/std/std_istream.h
2967 (basic_istream::sentry::operator bool()): Make const.
2968 * include/std/std_ostream.h
2969 (basic_ostream::sentry::operator bool()): Likewise.
2970 * testsuite/27_io/istream_sentry.cc (test03): Add.
2971 * testsuite/27_io/ostream_sentry.cc: Add.
2973 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2976 Implement resolution of DR 231 (Ready)
2977 * include/bits/locale_facets.h (__num_base::_S_format_float):
2978 Change declaration: return void, remove __prec parameter.
2979 * src/locale.cc (__num_base::_S_format_float): Implement
2980 resolution of DR 231.
2981 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2982 Tweak uses. Check for negative precision.
2983 * testsuite/22_locale/num_put/put/char/6.cc: Add
2984 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2986 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
2988 * config/io/basic_file_libio.h: Fixups.
2989 * config/io/c_io_libio.h: Same.
2990 * libio/Makefile.am: Same.
2991 * libio/Makefile.in: Regenerated.
2993 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
2995 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
2996 Explicitly use the "C" locale.
2997 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
2999 2003-02-06 Petur Runolfsson <peturr02@ru.is>
3003 PR libstdc++/9028 (partial)
3009 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
3010 codecvt<wchar_t, char, mbstate_t>::do_length,
3011 codecvt<wchar_t, char, mbstate_t>::do_max_length):
3013 * config/locale/generic/codecvt_members.cc: ...here.
3014 * config/locale/gnu/codecvt_members.cc: ...and here.
3016 * config/locale/generic/codecvt_members.cc,
3017 * config/locale/gnu/codecvt_members.cc
3018 (codecvt<wchar_t, char, mbstate_t>::do_encoding
3019 codecvt<wchar_t, char, mbstate_t>::do_in,
3020 codecvt<wchar_t, char, mbstate_t>::do_length,
3021 codecvt<wchar_t, char, mbstate_t>::do_max_length,
3022 codecvt<wchar_t, char, mbstate_t>::do_out):
3023 New implementation that handles stateless encodings,
3026 * config/locale/generic/codecvt_members.cc,
3027 * config/locale/gnu/codecvt_members.cc,
3028 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
3029 * include/bits/codecvt.h,
3031 (codecvt::length, codecvt::do_length):
3032 Change type of first argument of length and do_length from
3033 'const state_type&' to 'state_type&' according to DR 75.
3035 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
3036 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
3037 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
3038 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
3039 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
3040 Cleanup and check for correct return value from encoding
3042 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
3043 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
3044 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
3045 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
3046 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
3047 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
3048 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
3049 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
3050 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
3051 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
3052 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
3053 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
3054 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
3055 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
3056 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
3057 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
3058 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
3059 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
3060 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
3061 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
3062 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
3063 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
3064 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
3065 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
3066 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
3067 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
3068 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
3069 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
3070 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
3071 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
3072 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
3073 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
3074 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
3075 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
3076 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
3077 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
3078 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
3080 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
3082 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
3083 (money_put::do_put): Same.
3085 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
3087 * include/bits/ios_base.h (ios_base): Document reserved storage.
3089 * include/bits/locale_facets.h: (struct __pad): Comment on
3091 (__verify_grouping): Same.
3092 (__add_grouping): Same.
3093 * include/bits/locale_facets.tcc (__verify_grouping): Move
3094 comments to declaration.
3095 (__add_grouping): Same.
3097 * include/bits/locale_facets.tcc:
3098 (__write<_CharT, _OutIter>): New function.
3099 (__write<_CharT>): New function specialization.
3100 (num_put::_M_insert): Remove explicit loop over iterator. Use
3102 (num_put::_M_widen_float): Remove __basefield.
3103 (num_put::_M_widen_int): Move __basefield to within grouping block.
3105 * include/bits/streambuf_iterator.h: Include <streambuf>.
3106 (ostreambuf_iterator::_M_put): Add.
3108 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
3110 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
3112 2003-02-04 Nathan Myers <ncm@cantrip.org>
3114 * testsuite/25_algorithms/min_max.cc (test02): Add.
3116 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3118 PR libstdc++/9439, PR libstdc++/9425
3119 * config/io/basic_file_stdio.cc
3120 (__basic_file<char>::seekoff, seekpos): Return -1L if
3122 * include/bits/fstream.tcc (basic_filebuf::seekoff):
3123 Check _M_file.seekoff return value; always return
3124 pos_type(off_type(-1)) in case of failure.
3125 (basic_filebuf::pbackfail): Check this->seekoff return
3126 value and return traits_type::eof() in case of failure.
3127 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
3129 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
3131 * include/std/std_ostream.h (ostream::_M_write): Declare.
3132 * ostream.tcc (ostream::_M_write): Define.
3133 (basic_ostream::write): Use it.
3134 (operator<<(basic_ostream, _CharT)): Ditto.
3135 (operator<<(basic_ostream, char)): Ditto.
3136 (operator<<(basic_ostream, _CharT*)): Ditto.
3137 (operator<<(basic_ostream, char*)): Ditto.
3138 (operator<<(basic_ostream, basic_string)): Ditto.
3140 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
3142 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
3144 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3146 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
3147 add HTML comment about updating links if numbering changes.
3149 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3152 * include/bits/streambuf.tcc (sputbackc): Access
3153 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
3154 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3156 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3159 * include/bits/fstream.tcc (open): If the 'ate' repositioning
3160 operation fails, calls close _and_ returns a null pointer
3161 to indicate failure (27.8.1.3,4).
3162 * testsuite/27_io/filebuf_members.cc (test_06): Add.
3164 2003-02-04 Petur Runolfsson <peturr02@ru.is>
3166 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
3168 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3170 * docs/html/27_io/howto.html: New section on stdio_filebuf.
3171 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
3172 * docs/html/documentation.html: Regenerate.
3174 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3176 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
3177 * docs/html/17_intro/porting.html: Regenerate.
3179 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3180 Phil Edwards <pme@gcc.gnu.org>
3182 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
3183 numeric_limits for bits-per-word values.
3184 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
3185 Use __builtin_popcountl instead.
3186 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
3187 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
3188 Use __builtin_ctzl instead.
3189 (_S_bit_count, _S_first_one): Remove.
3190 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
3191 * src/Makefile.am (sources): Remove bitset.cc.
3192 * src/bitset.cc: Delete file.
3193 * src/Makefile.in: Regenerate.
3195 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
3197 PR libstdc++/9527, PR libstdc++/8713
3198 * docs/html/install.html: Mention glibc version requirement.
3199 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
3200 with 3.2.1+ (formatting bugfixes).
3201 * docs/html/faq/index.txt: Regenerate.
3203 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3206 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
3209 * include/bits/valarray_before.h (__not_equal_to): Use != instead
3212 * testsuite/26_numerics/valarray_operators.cc: New test.
3214 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
3216 * docs/html/faq/index.html: Correct link to libg++ information.
3217 * docs/html/faq/index.txt: Regenerated.
3219 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
3220 Benjamin Kosnik <bkoz@redhat.com>
3222 Const correctness issue:
3223 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
3224 * include/bits/locale_classes.h
3225 (locale::_Impl::_M_facets): Change type to const facet**.
3226 (locale::_Impl::_M_install_facet): Change declaration to
3228 (locale::facet::_M_references): Make mutable.
3229 (locale::facet::_M_add_reference): Declare const.
3230 (locale::facet::_M_remove_reference): Likewise.
3231 * include/bits/locale_facets.tcc
3232 (use_facet(const locale&)): Tweak for const facet** _M_facets.
3233 (has_facet(const locale&)): Likewise.
3235 (locale::facet::_M_add_reference): Adjust definition.
3236 (locale::facet::_M_remove_reference): Likewise.
3238 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
3239 const facet** _M_facets.
3240 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
3241 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
3242 (locale::_Impl::_M_install_facet): Adjust definition to take
3243 const facet* and for const facet** _M_facets.
3244 * testsuite/22_locale/locale/cons/8.cc: Add.
3246 2003-01-29 Mark Mitchell <mark@codesourcery.com>
3248 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
3249 Use __FLT_HAS_INIFINITY__ to initialize.
3250 (numeric_limits<float>::has_quiet_NaN): Likewise.
3251 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
3253 (numeric_limits<double>::has_quiet_NaN): Likewise.
3254 (numeric_limits<long double>::has_infinity): Use
3255 __LDBL_HAS_INIFINITY__ to initialize.
3256 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
3258 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
3261 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
3262 with bases which are very ambiguous.
3264 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3266 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
3267 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
3268 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
3269 * src/Makefile.in: Regenerate.
3270 * libsupc++/Makefile.in: Regenerate.
3272 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
3274 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
3275 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
3276 version_specific_libs is enabled.
3277 * aclocal.m4, configure: Rebuilt.
3279 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
3281 * include/bits/valarray_meta.h: Remove, split into ...
3282 * include/bits/valarray_before.h: ... this, and ...
3283 * include/bits/valarray_after.h: ... this.
3284 * include/std/std_valarray.h: Adjust.
3285 * include/Makefile.am (bits_headers): Adjust.
3286 * include/Makefile.in: Regenerate.
3288 2003-01-24 Andreas Schwab <schwab@suse.de>
3290 * config/linker-map.gnu: Fix for size_t variance.
3292 2003-01-23 Petur Runolfsson <peturr02@ru.is>
3295 * include/std/std_streambuf.h
3296 (basic_streambuf::basic_streambuf,
3297 basic_streambuf::~basic_streambuf,
3298 basic_streambuf::getloc, basic_streambuf::imbue):
3299 Remove _M_buf_locale_init
3300 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
3301 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3302 * testsuite/27_io/streambuf_members.cc (test08): Add.
3303 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
3305 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3307 Revert include ordering.
3308 * config/locale/generic/c_locale.h: Add include guards.
3309 * config/locale/gnu/c_locale.h: Same.
3310 * include/bits/locale_classes.h: Remove cctype include.
3311 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
3312 * include/std/std_fstream.h: Remove streambuf include.
3313 * include/std/std_sstream.h: Remove streambuf include.
3315 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3317 * configure.in (libtool_VERSION): To 6:0:0.
3318 * configure: Regenerated.
3319 * config/linker-map.gnu: Clean.
3321 * src/misc-inst.cc: Remove instantiations.
3323 * include/bits/stl_alloc.h (__malloc_alloc_template):
3325 (__default_alloc_template): To __pool_alloc.
3326 * src/stl-inst.cc: Same.
3327 * include/backward/alloc.h: Update.
3328 * testsuite/ext/allocators.cc: Update.
3330 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
3331 really try to remove these if possible.
3332 * src/locale.cc (std): Same.
3334 * testsuite/abi_check.cc (check_version): Add.
3336 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3337 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
3338 Mark Mitchell <mark@codesourcery.com>
3341 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
3342 (basic_filebuf::underflow): Declare.
3345 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3347 * include/bits/locale_facets.h: Move non-facet classes requiring
3349 * include/bits/locale_classes.h: New.
3350 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
3351 * include/bits/Makefile.in: Regenerate.
3353 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
3354 * config/locale/gnu/c_locale.h: ...here.
3355 * config/locale/generic/c_locale.h: Same.
3357 * include/bits/locale_facets.tcc: Move declarations to...
3358 * include/bits/locale_facets.h: ...here.
3359 * include/bits/basic_ios.h: Tweak includes accordingly.
3360 * include/std/std_sstream.h: Add streambuf include.
3361 * include/std/std_fstream.h: Ditto.
3362 * include/std/std_locale.h: Add locale_classes.h include.
3363 * include/std/std_iosfwd.h: Tweak.
3364 * src/concept-inst.cc: Add iterator include.
3366 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
3367 bits as unexported in the future.
3369 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
3371 Reshuffle 22_locale testsuite.
3372 * 22_locale/(codecvt.cc money_get.cc
3373 codecvt_members_char_char.cc money_get_members_char.cc
3374 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
3375 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
3376 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
3377 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
3378 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
3379 money_put_members_char.cc ctor_copy_dtor.cc
3380 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
3381 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
3382 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
3383 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
3384 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
3385 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
3386 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
3387 operators.cc ctype_widen_char.cc static_members.cc
3388 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
3389 global_templates.cc time_get_members_wchar_t.cc, members.cc,
3390 time_put.cc, messages_byname.cc, time_put_members_char.cc,
3391 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
3392 Split up into individual test cases...
3393 * 22_locale/codecvt/1.cc: New.
3394 * 22_locale/codecvt/2.cc: New.
3395 * 22_locale/codecvt/always_noconv/char/1.cc: New.
3396 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
3397 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
3398 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
3399 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
3400 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
3401 * 22_locale/codecvt/encoding/char/1.cc: New.
3402 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
3403 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
3404 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
3405 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
3406 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
3407 * 22_locale/codecvt/in/char/1.cc: New.
3408 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
3409 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
3410 * 22_locale/codecvt/in/wchar_t/1.cc: New.
3411 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
3412 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
3413 * 22_locale/codecvt/length/char/1.cc: New.
3414 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
3415 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
3416 * 22_locale/codecvt/length/wchar_t/1.cc: New.
3417 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
3418 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
3419 * 22_locale/codecvt/max_length/char/1.cc: New.
3420 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
3421 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
3422 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
3423 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
3424 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
3425 * 22_locale/codecvt/out/char/1.cc: New.
3426 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
3427 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
3428 * 22_locale/codecvt/out/wchar_t/1.cc: New.
3429 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
3430 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
3431 * 22_locale/codecvt/unicode/char.cc: New.
3432 * 22_locale/codecvt/unicode/wchar_t.cc: New.
3433 * 22_locale/codecvt/unshift/char/1.cc: New.
3434 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
3435 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
3436 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
3437 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
3438 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
3439 * 22_locale/collate/1.cc: New.
3440 * 22_locale/collate/2.cc: New.
3441 * 22_locale/collate/compare/char/1.cc: New.
3442 * 22_locale/collate/compare/char/2.cc: New.
3443 * 22_locale/collate/compare/char/wrapped_env.cc: New.
3444 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
3445 * 22_locale/collate/compare/wchar_t/1.cc: New.
3446 * 22_locale/collate/compare/wchar_t/2.cc: New.
3447 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
3448 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
3449 * 22_locale/collate/hash/char/1.cc: New.
3450 * 22_locale/collate/hash/char/2.cc: New.
3451 * 22_locale/collate/hash/char/wrapped_env.cc: New.
3452 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
3453 * 22_locale/collate/hash/wchar_t/1.cc: New.
3454 * 22_locale/collate/hash/wchar_t/2.cc: New.
3455 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
3456 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
3457 * 22_locale/collate/transform/char/2.cc: New.
3458 * 22_locale/collate/transform/char/wrapped_env.cc: New.
3459 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
3460 * 22_locale/collate/transform/wchar_t/2.cc: New.
3461 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
3462 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
3463 * 22_locale/collate_byname/1.cc: New.
3464 * 22_locale/ctype/1.cc: New.
3465 * 22_locale/ctype/2.cc: New.
3466 * 22_locale/ctype/cons/char/1.cc: New.
3467 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
3468 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
3469 * 22_locale/ctype/is/char/1.cc: New.
3470 * 22_locale/ctype/is/char/2.cc: New.
3471 * 22_locale/ctype/is/char/3.cc: New.
3472 * 22_locale/ctype/is/char/wrapped_env.cc: New.
3473 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
3474 * 22_locale/ctype/is/wchar_t/1.cc: New.
3475 * 22_locale/ctype/is/wchar_t/2.cc: New.
3476 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
3477 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
3478 * 22_locale/ctype/narrow/char/1.cc: New.
3479 * 22_locale/ctype/narrow/char/2.cc: New.
3480 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
3481 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
3482 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
3483 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
3484 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
3485 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
3486 * 22_locale/ctype/scan/char/1.cc: New.
3487 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
3488 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
3489 * 22_locale/ctype/scan/wchar_t/1.cc: New.
3490 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
3491 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
3492 * 22_locale/ctype/to/char/1.cc: New.
3493 * 22_locale/ctype/to/char/wrapped_env.cc: New.
3494 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
3495 * 22_locale/ctype/to/wchar_t/1.cc: New.
3496 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
3497 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
3498 * 22_locale/ctype/widen/char/1.cc: New.
3499 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
3500 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
3501 * 22_locale/ctype/widen/wchar_t/1.cc: New.
3502 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
3503 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
3504 * 22_locale/facet/1.cc: New.
3505 * 22_locale/facet/2.cc: New.
3506 * 22_locale/global_templates/1.cc: New.
3507 * 22_locale/locale/cons/1.cc: New.
3508 * 22_locale/locale/cons/2.cc: New.
3509 * 22_locale/locale/cons/3.cc: New.
3510 * 22_locale/locale/cons/4.cc: New.
3511 * 22_locale/locale/cons/5.cc: New.
3512 * 22_locale/locale/cons/6.cc: New.
3513 * 22_locale/locale/cons/7.cc: New.
3514 * 22_locale/locale/global_locale_objects/1.cc: New.
3515 * 22_locale/locale/global_locale_objects/2.cc: New.
3516 * 22_locale/locale/global_locale_objects/3.cc: New.
3517 * 22_locale/locale/operations/1.cc: New.
3518 * 22_locale/locale/operations/2.cc: New.
3519 * 22_locale/messages/1.cc: New.
3520 * 22_locale/messages/2.cc: New.
3521 * 22_locale/messages/members/char/1.cc: New.
3522 * 22_locale/messages/members/char/2.cc: New.
3523 * 22_locale/messages/members/char/3.cc: New.
3524 * 22_locale/messages/members/char/wrapped_env.cc: New.
3525 * 22_locale/messages/members/char/wrapped_locale.cc: New.
3526 * 22_locale/messages_byname/1.cc: New.
3527 * 22_locale/money_get/1.cc: New.
3528 * 22_locale/money_get/2.cc: New.
3529 * 22_locale/money_get/get/char/1.cc: New.
3530 * 22_locale/money_get/get/char/2.cc: New.
3531 * 22_locale/money_get/get/char/3.cc: New.
3532 * 22_locale/money_get/get/char/4.cc: New.
3533 * 22_locale/money_get/get/char/5.cc: New.
3534 * 22_locale/money_get/get/char/6.cc: New.
3535 * 22_locale/money_get/get/char/7.cc: New.
3536 * 22_locale/money_get/get/char/8.cc: New.
3537 * 22_locale/money_get/get/char/wrapped_env.cc: New.
3538 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
3539 * 22_locale/money_get/get/wchar_t/1.cc: New.
3540 * 22_locale/money_get/get/wchar_t/2.cc: New.
3541 * 22_locale/money_get/get/wchar_t/3.cc: New.
3542 * 22_locale/money_get/get/wchar_t/4.cc: New.
3543 * 22_locale/money_get/get/wchar_t/5.cc: New.
3544 * 22_locale/money_get/get/wchar_t/6.cc: New.
3545 * 22_locale/money_get/get/wchar_t/7.cc: New.
3546 * 22_locale/money_get/get/wchar_t/8.cc: New.
3547 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
3548 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
3549 * 22_locale/money_put/1.cc: New.
3550 * 22_locale/money_put/2.cc: New.
3551 * 22_locale/money_put/put/char/1.cc: New.
3552 * 22_locale/money_put/put/char/2.cc: New.
3553 * 22_locale/money_put/put/char/3.cc: New.
3554 * 22_locale/money_put/put/char/4.cc: New.
3555 * 22_locale/money_put/put/char/5.cc: New.
3556 * 22_locale/money_put/put/char/6.cc: New.
3557 * 22_locale/money_put/put/char/wrapped_env.cc: New.
3558 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
3559 * 22_locale/money_put/put/wchar_t/1.cc: New.
3560 * 22_locale/money_put/put/wchar_t/2.cc: New.
3561 * 22_locale/money_put/put/wchar_t/3.cc: New.
3562 * 22_locale/money_put/put/wchar_t/4.cc: New.
3563 * 22_locale/money_put/put/wchar_t/5.cc: New.
3564 * 22_locale/money_put/put/wchar_t/6.cc: New.
3565 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
3566 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
3567 * 22_locale/moneypunct/1.cc: New.
3568 * 22_locale/moneypunct/2.cc: New.
3569 * 22_locale/moneypunct/3.cc: New.
3570 * 22_locale/moneypunct/members/char/1.cc: New.
3571 * 22_locale/moneypunct/members/char/2.cc: New.
3572 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
3573 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
3574 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
3575 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
3576 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
3577 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
3578 * 22_locale/moneypunct_byname/1.cc: New.
3579 * 22_locale/num_get/1.cc: New.
3580 * 22_locale/num_get/2.cc: New.
3581 * 22_locale/num_get/get/char/1.cc: New.
3582 * 22_locale/num_get/get/char/2.cc: New.
3583 * 22_locale/num_get/get/char/3.cc: New.
3584 * 22_locale/num_get/get/char/4.cc: New.
3585 * 22_locale/num_get/get/char/5.cc: New.
3586 * 22_locale/num_get/get/char/6.cc: New.
3587 * 22_locale/num_get/get/char/wrapped_env.cc: New.
3588 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
3589 * 22_locale/num_get/get/wchar_t/1.cc: New.
3590 * 22_locale/num_get/get/wchar_t/2.cc: New.
3591 * 22_locale/num_get/get/wchar_t/3.cc: New.
3592 * 22_locale/num_get/get/wchar_t/4.cc: New.
3593 * 22_locale/num_get/get/wchar_t/5.cc: New.
3594 * 22_locale/num_get/get/wchar_t/6.cc: New.
3595 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
3596 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
3597 * 22_locale/num_put/1.cc: New.
3598 * 22_locale/num_put/2.cc: New.
3599 * 22_locale/num_put/put/char/1.cc: New.
3600 * 22_locale/num_put/put/char/2.cc: New.
3601 * 22_locale/num_put/put/char/3.cc: New.
3602 * 22_locale/num_put/put/char/4.cc: New.
3603 * 22_locale/num_put/put/char/5.cc: New.
3604 * 22_locale/num_put/put/char/wrapped_env.cc: New.
3605 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
3606 * 22_locale/num_put/put/wchar_t/1.cc: New.
3607 * 22_locale/num_put/put/wchar_t/2.cc: New.
3608 * 22_locale/num_put/put/wchar_t/3.cc: New.
3609 * 22_locale/num_put/put/wchar_t/4.cc: New.
3610 * 22_locale/num_put/put/wchar_t/5.cc: New.
3611 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
3612 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
3613 * 22_locale/numpunct/1.cc: New.
3614 * 22_locale/numpunct/2.cc: New.
3615 * 22_locale/numpunct/members/char/1.cc: New.
3616 * 22_locale/numpunct/members/char/2.cc: New.
3617 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
3618 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
3619 * 22_locale/numpunct/members/wchar_t/1.cc: New.
3620 * 22_locale/numpunct/members/wchar_t/2.cc: New.
3621 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
3622 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
3623 * 22_locale/numpunct_byname/1.cc: New.
3624 * 22_locale/numpunct_byname/2.cc: New.
3625 * 22_locale/time_get/1.cc: New.
3626 * 22_locale/time_get/2.cc: New.
3627 * 22_locale/time_get/date_order/char/1.cc: New.
3628 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
3629 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
3630 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
3631 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
3632 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
3633 * 22_locale/time_get/get_date/char/1.cc: New.
3634 * 22_locale/time_get/get_date/char/2.cc: New.
3635 * 22_locale/time_get/get_date/char/3.cc: New.
3636 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
3637 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
3638 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
3639 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
3640 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
3641 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
3642 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
3643 * 22_locale/time_get/get_monthname/char/1.cc: New.
3644 * 22_locale/time_get/get_monthname/char/2.cc: New.
3645 * 22_locale/time_get/get_monthname/char/3.cc: New.
3646 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
3647 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
3648 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
3649 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
3650 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
3651 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
3652 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
3653 * 22_locale/time_get/get_time/char/1.cc: New.
3654 * 22_locale/time_get/get_time/char/2.cc: New.
3655 * 22_locale/time_get/get_time/char/3.cc: New.
3656 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
3657 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
3658 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
3659 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
3660 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
3661 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
3662 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
3663 * 22_locale/time_get/get_weekday/char/1.cc: New.
3664 * 22_locale/time_get/get_weekday/char/2.cc: New.
3665 * 22_locale/time_get/get_weekday/char/3.cc: New.
3666 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
3667 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
3668 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
3669 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
3670 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
3671 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
3672 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
3673 * 22_locale/time_get/get_year/char/1.cc: New.
3674 * 22_locale/time_get/get_year/char/3.cc: New.
3675 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
3676 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
3677 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
3678 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
3679 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
3680 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
3681 * 22_locale/time_put/1.cc: New.
3682 * 22_locale/time_put/2.cc: New.
3683 * 22_locale/time_put/put/char/1.cc: New.
3684 * 22_locale/time_put/put/char/10.cc: New.
3685 * 22_locale/time_put/put/char/2.cc: New.
3686 * 22_locale/time_put/put/char/3.cc: New.
3687 * 22_locale/time_put/put/char/4.cc: New.
3688 * 22_locale/time_put/put/char/5.cc: New.
3689 * 22_locale/time_put/put/char/6.cc: New.
3690 * 22_locale/time_put/put/char/7.cc: New.
3691 * 22_locale/time_put/put/char/8.cc: New.
3692 * 22_locale/time_put/put/char/9.cc: New.
3693 * 22_locale/time_put/put/char/wrapped_env.cc: New.
3694 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
3695 * 22_locale/time_put/put/wchar_t/1.cc: New.
3696 * 22_locale/time_put/put/wchar_t/10.cc: New.
3697 * 22_locale/time_put/put/wchar_t/2.cc: New.
3698 * 22_locale/time_put/put/wchar_t/3.cc: New.
3699 * 22_locale/time_put/put/wchar_t/4.cc: New.
3700 * 22_locale/time_put/put/wchar_t/5.cc: New.
3701 * 22_locale/time_put/put/wchar_t/6.cc: New.
3702 * 22_locale/time_put/put/wchar_t/7.cc: New.
3703 * 22_locale/time_put/put/wchar_t/8.cc: New.
3704 * 22_locale/time_put/put/wchar_t/9.cc: New.
3705 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
3706 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
3708 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
3710 * config/locale/generic/messages_members.h
3711 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
3712 unqualified members of base clasess.
3714 2003-01-16 Mark Mitchell <mark@codesourcery.com>
3715 Jeffrey Oldham <oldham@codesourcery.com>
3717 * config/locale/gnu/messages_members.h: Use this-> to refer to
3718 unqualified members of base clasess.
3719 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
3720 * include/bits/codecvt.h: Likewise.
3721 * include/bits/deque.tcc: Likewise.
3722 * include/bits/fstream.tcc: Likewise.
3723 * include/bits/istream.tcc: Likewise.
3724 * include/bits/list.tcc: Likewise.
3725 * include/bits/locale_facets.h: Likewise.
3726 * include/bits/ostream.tcc: Likewise.
3727 * include/bits/sstream.tcc: Likewise.
3728 * include/bits/stl_bvector.h: Likewise.
3729 * include/bits/stl_deque.h: Likewise.
3730 * include/bits/stl_list.h: Likewise.
3731 * include/bits/stl_tree.h: Likewise.
3732 * include/bits/stl_vector.h: Likewise.
3733 * include/bits/vector.tcc: Likewise.
3734 * include/ext/ropeimpl.h: Likewise.
3735 * include/ext/stdio_filebuf.h: Likewise.
3736 * include/ext/stl_rope.h: Likewise.
3737 * include/std/std_fstream.h: Likewise.
3738 * include/std/std_sstream.h: Likewise.
3740 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
3742 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
3744 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
3746 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
3747 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
3748 * aclocal.m4: Regenerate.
3749 * configure: Regenerate.
3750 * testsuite/Makefile.am (all-local): Add conditional rule to
3751 generate testsuite_wchar_t.
3752 * testsuite/Makefile.in: Regenerate.
3753 * testsuite/lib/libstdc++-v3-dg.exp
3754 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
3755 testsuite_wchar_t is not present in the build directory.
3756 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
3757 Remove setulimit bits.
3758 * testsuite/26_numerics/complex_value.cc: Set to noopts.
3759 * testsuite/Makefile.am (CLEANFILES): Add.
3760 * testsuite/Makefile.in: Regenerate.
3762 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3764 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
3767 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
3769 Further conform g++'s __vmi_class_type_info to the C++ ABI
3771 * libsupc++/cxxabi.h
3772 (__vmi_class_type_info::__flags_masks): Remove enumerations not
3773 required by the specification.
3775 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
3777 Renames, namespaces for testsuite utilities.
3778 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
3779 (gnu_allocator_tracker): Rename to allocation_tracker.
3780 (gnu_new_allocator): Rename to tracker_alloc.
3781 (__set_testsuite_memlimit): Rename to set_memory_limits.
3782 (gnu_assignment_operator): Rename to assignment_operator.
3783 (gnu_destructor): Rename to destructor.
3784 (gnu_copy_tracker): Rename to copy_tracker.
3785 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
3786 (run_tests_wrapped_locale): New.
3787 (run_tests_wrapped_env): New.
3788 * testsuite/testsuite_hooks.cc: Same.
3789 (class locale_data): Add.
3790 (class enviornment_variable): Add.
3791 (class not_found): Add.
3792 * testsuite/testsuite_allocator.h: Same.
3793 * testsuite/testsuite_allocator.cc: Same.
3794 * testsuite/23_containers/deque_ctor.cc
3795 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
3797 Change gnu_new_allocator to tracker_alloc.
3798 Change gnu_counting_struct to counter.
3799 Change gnu_copy_tracker to copy_tracker.
3800 Change gnu_copy_constructor to copy_constructor.
3801 Change gnu_assignment_operator to assignment_operator.
3803 * testsuite/23_containers/vector_capacity.cc: Same.
3804 * testsuite/23_containers/vector_ctor.cc (test01): Same.
3805 * testsuite/23_containers/list_modifiers.cc: Change
3806 gnu_copy_tracker to copy_tracker.
3807 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
3808 __set_testsuite_memlimit to set_memory_limits.
3809 * testsuite/21_strings/insert.cc (main): Same.
3810 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
3811 * testsuite/27_io/stringstream.cc: Same.
3812 * testsuite/27_io/stringbuf.cc: Same.
3813 * testsuite/27_io/streambuf.cc: Same.
3814 * testsuite/27_io/ostream.cc: Same.
3815 * testsuite/27_io/istream.cc: Same.
3816 * testsuite/27_io/fstream.cc: Same.
3817 * testsuite/lib/libstdc++-v3-dg.exp
3818 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
3819 three levels deeper in glob patterns.
3821 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
3823 * docs/doxygen/tables.html: Finished now.
3824 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
3825 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
3828 * include/bits/deque.tcc, include/bits/stl_alloc.h,
3829 include/bits/stl_deque.h, include/bits/stl_list.h,
3830 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
3833 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
3835 * configure.in: Revert.
3836 * configure: Regenerate.
3838 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3840 * include/Makefile.am (install-data-local): Prepend
3841 $(DESTDIR) to destination paths in all (un)installation
3842 commands. Use ${c_base_builddir} and ${std_builddir}
3843 as destination subdirectories to achieve consistency with
3844 preceding mkinstalldirs commands. No effect because both
3845 variables contain "." only.
3846 * include/Makefile.in: Regenerate.
3848 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
3850 * include/Makefile.am (stamp-*): Add checks for existing stamps.
3851 * include/Makefile.in: Regenerate.
3853 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
3854 * aclocal.m4: Regenerate.
3856 * configure.in: Don't add new multi-do rules every time the
3857 directory is reconfigured.
3858 * configure: Regenerate.
3860 2003-01-08 Brad Spencer <spencer@infointeractive.com>
3861 Nathan Myers <ncm@cantrip.org>
3863 * src/Makefile.am (stamp-debug): Clean.
3864 * src/Makefile.in: Regenerate.
3866 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
3869 * Makefile.am (distclean-multi): Fix.
3870 * Makefile.in: Regenerate.
3872 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
3874 * include/bits/locale_facets.h (messages): Move ctor, dtor
3876 (__timepunct): Same.
3877 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
3878 definitions. Conditionalize for GNU systems.
3879 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
3881 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
3882 definitions. Conditionalize for GNU systems.
3883 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
3885 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
3886 * src/locale.cc: Define.
3887 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
3889 * config/locale/gnu/time_members.h: Use it.
3890 * config/locale/gnu/messages_members.h: Use it.
3891 * config/linker-map.gnu: Add locale::facets details.
3892 * include/Makefile.am (target_headers_extra): Add time_members.h.
3893 * include/Makefile.in: Regenerate.
3894 * acinclude.m4: Export CTIME_H.
3895 * aclocal.m4: Regenerate.
3896 * configure: Regnerate.
3898 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3901 (codecvt<char, char, mbstate_t>::do_in, do_out):
3902 Tweak parameters to avoid unused parameter warnings.
3904 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3907 * include/bits/locale_facets.cc (num_put::_M_convert_float):
3908 Limit __prec to digits10 + 2, not digits10 + 1, taking into
3909 account the possibility of %{g,G} conversion specifiers
3910 inside _S_format_float.
3911 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
3913 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3915 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
3916 libstdc++-v3-list-sourcefiles): Additionally handle files one
3917 level deeper in glob patterns.
3919 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
3920 * testsuite/27_io/istream_extractor_arith/01.cc,
3921 testsuite/27_io/istream_extractor_arith/02.cc,
3922 testsuite/27_io/istream_extractor_arith/03.cc,
3923 testsuite/27_io/istream_extractor_arith/06.cc,
3924 testsuite/27_io/istream_extractor_arith/07.cc,
3925 testsuite/27_io/istream_extractor_arith/08.cc,
3926 testsuite/27_io/istream_extractor_arith/09.cc,
3927 testsuite/27_io/istream_extractor_arith/10.cc,
3928 testsuite/27_io/istream_extractor_arith/11.cc,
3929 testsuite/27_io/istream_extractor_arith/12.cc,
3930 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
3931 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
3934 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
3938 (codecvt<char, char, mbstate_t>::do_in, do_out):
3939 Implement the resolution of DR19 (TC).
3940 * testsuite/22_locale/codecvt_members_char_char.cc
3943 2003-01-02 Jason Merrill <jason@redhat.com>
3945 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
3946 *__mem is also an output.
3947 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.