1 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
3 * config/abi/i686-pc-linux-gnu: To..
4 * config/abi/i486-linux-gnu: ...this.
5 * config/abi/alphaev67-unknown-linux-gnu: To..
6 * config/abi/alpha-linux-gnu: ...this.
7 * config/abi/ia64-unknown-linux-gnu: To...
8 * config/abi/ia64-linux-gnu: ...this.
9 * config/abi/x86_64-unknown-linux-gnu: To...
10 * config/abi/x86_64-linux-gnu: ...this.
11 * config/abi/i386-unknown-freebsd4: To...
12 * config/abi/i386-freebsd4: ...this.
13 * configure.host: abi_baseline_triplet to abi_baseline_pair.
14 Simplify cpu bits so that abi_baseline_pair can use the same
17 * aclocal.m4: Regenerate.
18 * configure.in: Can't get enable_abi_check to yes unless native.
19 * configure: Regenerate.
21 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
23 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
24 fix for missing seeks between gets and puts into...
25 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
26 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
27 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
28 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
29 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
30 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
31 for missing seeks between gets and puts.
32 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
33 * testsuite/data/seekoff-1.tst: New.
34 * testsuite/data/seekoff-2.tst: New.
35 * testsuite/data/seekpos-1.tst: New.
36 * testsuite/data/seekpos-2.tst: New.
38 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
40 Avoid multi-processor bus contention on increment/decrement-and-
41 test of the reference count in the empty-string object, by comparing
42 addresses first, and never touching the reference count of the empty-
44 * include/bits/basic_string.h:
45 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
47 (_Rep::_S_empty_rep()): New accessor.
48 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
49 a base class _Rep_base.
50 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
51 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
52 since no longer must increment its refcount.
53 * include/bits/basic_string.tcc:
54 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
55 return immediately. The former might be unnecessary. The latter
56 prevents begin() and end() from cloning it unnecessarily.
57 (_S_construct(_InIterator, _InIterator, const _Alloc&,
58 input_iterator_tag), _S_construct(_InIterator, _InIterator,
59 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
60 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
61 (_M_mutate): Check for the empty string and treat it as shared.
62 This is necessary here because _M_mutate is sometimes called with
63 all-zero arguments; in all other uses of _M_is_shared, the test comes
66 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
68 * src/allocator-inst.cc: Explicitly instantiate.
69 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
71 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
73 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
75 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
76 * aclocal.m4: Regenerate.
77 * Makefile.am (SUBDIRS): Remove libio.
78 * Makefile.in: Regenerate.
80 * configure: Regenerate.
81 * config/io/basic_file_libio.cc: Remove.
82 * config/io/basic_file_libio.h: Remove.
83 * config/io/c_io_libio_codecvt.c: Remove.
84 * config/io/c_io_libio.h: Remove.
86 * src/Makefile.am: Same.
87 * src/Makefile.in: Regenerate.
88 * docs/html/configopts.html: Edits.
89 * docs/html/explanations.html: Edits.
91 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
93 * include/bits/stl_alloc.h (__debug_alloc): Move out.
94 (__malloc_alloc): Same.
98 * include/bits/allocator.h: ...this.
99 * include/bits/stl_deque.h: Modify comment.
100 * include/bits/stl_tree.h: Modify include.
101 * include/std/std_memory.h: Same.
102 * include/ext/rope: Same.
103 * include/ext/slist: Same.
104 * include/std/std_vector.h: Same.
105 * include/std/std_stack.h: Same.
106 * include/std/std_queue.h: Same.
107 * include/std/std_list.h: Same.
108 * include/std/std_deque.h: Same.
109 * include/backward/alloc.h: Same.
110 * include/ext/debug_allocator.h: New.
111 * include/ext/malloc_allocator.h: New.
112 * include/ext/pool_allocator.h: New.
113 * include/ext/new_allocator.h: New.
114 * include/bits/pthread_allocimpl.h: Remove.
115 * include/bits/stl_pthread_alloc.h: Remove.
116 * include/Makefile.am (ext_headers): Add.
117 * include/Makefile.in: Regenerate.
118 * src/stl-inst.cc: Use __gnu_cxx namespace.
119 * src/stl-inst.cc: Move to...
120 * src/allocator-inst.cc: Here.
121 * src/Makefile.am (sources): Update.
122 * src/Makefile.in: Regenerate.
123 * config/linker-map.gnu: Remove __pool_alloc bits.
124 * testsuite/ext/headers.cc: Add.
125 * testsuite/ext/allocators.cc: Fixup.
127 2003-06-11 Stefan Olsson <stefan@snon.net>
128 Ola Rönnerup <fnolis@home.se>
130 * include/Makefile.am (ext_headers): Add.
131 * include/Makefile.in: Regenerate.
132 * include/ext/mt_allocator.h: New file.
134 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
136 * include/bits/fstream.tcc (close): Clean up a bit.
138 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
140 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
141 - the saved _M_in_cur, that is - cannot be null.
142 (sync): Constify a variable.
144 * include/std/std_streambuf.h: Tweak a comment.
145 (in_avail): Constify a variable.
147 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
149 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
150 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
151 correctness of container::iterator typedefs. Fix whitespace.
152 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
154 * docs/html/documentation.html: Regenerate.
156 * include/bits/basic_string.h, include/bits/basic_string.tcc,
157 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
158 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
159 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
160 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
161 include/bits/stl_vector.h, include/bits/vector.tcc,
162 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
163 Change _Iter names to _Iterator, and __pos to __position.
165 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
166 include/bits/stl_multiset.h, include/bits/stl_set.h:
167 Remove emacs markers.
169 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
171 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
173 * include/bits/fstream.tcc (overflow): According to
174 27.5.2.4.5, overflow() returns not_eof(eof()).
175 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
176 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
178 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
180 * include/bits/fstream.tcc (_M_underflow): Check overflow return
181 value; tweak slightly.
183 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
185 * include/bits/fstream.tcc (_M_underflow): Do not special
186 case the unbuffered case, which really means simply a one char
188 (basic_filebuf): Initialize _M_buf_size.
189 (setbuf): Unbuffered means _M_buf_size == 1, since only
190 _M_buf_size - 1 == 0 chars are going to be used for the
191 put area and 1 for the get area.
192 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
193 (~basic_streambuf): Tweak.
194 (basic_streambuf): Do not initialize _M_buf_size.
195 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
196 (~basic_filebuf): Tweak.
197 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
198 unbuffered situation (i.e., put area pointers NULL).
199 * include/bits/streambuf.tcc (sbumpc): Clean up.
200 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
201 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
202 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
203 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
204 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
205 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
206 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
208 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
210 * acinclude.m4: Move all AM_CONDITIONAL calls out.
211 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
213 * configure.in: Centralize AM_CONDITIONALs so that they are always
214 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
215 * aclocal.m4, configure: Regenerated.
217 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
219 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
221 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
223 * include/bits/stl_iterator.h
224 (reverse_iterator::reverse_iterator()): Apply DR235: default
225 constructor default-initializes data member. Instantiated on a
226 pointer type, the member has to end up equal to zero.
228 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
230 * include/bits/stl_alloc.h: Cleanups.
231 * include/ext/functional: Same.
232 * include/ext/hash_map: Same.
233 * include/ext/hash_set: Same.
234 * include/ext/iterator: Same.
235 * include/ext/memory: Same.
236 * include/ext/numeric: Same.
237 * include/ext/rb_tree: Same.
238 * include/ext/ropeimpl.h: Same.
239 * include/ext/slist: Same.
240 * include/ext/stdio_filebuf.h: Same.
241 * include/ext/stdio_sync_filebuf.h: Same.
242 * include/ext/stl_rope.h: Move to...
243 * include/ext/rope: ...here.
244 * include/ext/stl_hash_fun.h: Move to...
245 * include/ext/hash_fun.h: ...here.
246 * include/ext/stl_hashtable.h: Move to...
247 * include/ext/hashtable.h: ...here.
248 * include/backward/hashtable.h: Reflect new names.
249 * include/Makefile.am: Same.
250 * include/Makefile.in: Regenerated.
252 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
255 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
256 * include/bits/stl_algobase.h: Tweak.
257 * include/std/std_fstream.h: Move _M_buf_size to...
258 * include/std/std_streambuf.h: ...here. Modify.
259 * include/bits/streambuf.tcc: Same.
260 * testsuite/testsuite_hooks.h: Tweak.
261 * testsuite/testsuite_io.h (constraint_filebuf): New.
262 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
263 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
264 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
265 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
266 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
267 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
268 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
269 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
270 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
271 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
272 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
273 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
274 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
275 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
276 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
277 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
278 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
279 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
280 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
281 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
282 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
283 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
284 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
285 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
286 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
287 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
288 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
289 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
290 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
291 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
292 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
293 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
294 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
295 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
296 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
297 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
298 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
299 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
300 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
301 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
302 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
303 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
304 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
305 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
306 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
307 * testsuite/data/sgetc.txt: New.
308 * testsuite/data/sgetn.txt: New.
310 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
313 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
314 Deal with width() smaller than zero.
315 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
316 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
317 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
318 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
319 operator<<(basic_ostream, const basic_string&)): Likewise.
321 * testsuite/27_io/basic_istream/extractors_character/char/
322 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
323 * testsuite/27_io/basic_ostream/inserters_character/char/
324 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
325 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
326 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
328 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
330 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
331 .gch compilation works.
332 * aclocal.m4, configure: Regenerate.
333 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
336 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
338 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
339 erase(iterator), erase(iterator, iterator), c_str,
340 compare(const basic_string&)): Constify various variables.
341 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
342 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
343 _S_create, resize, _M_replace, _M_replace_safe,
344 append(const basic_string&), append(const basic_string&, size_type,
345 size_type), append(const _CharT*, size_type), append(size_type,
346 _CharT), operator+(const _CharT*, const basic_string&),
347 operator+(_CharT, const basic_string&), replace(iterator, iterator,
348 size_type, _CharT), find(const _CharT*, size_type, size_type),
349 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
350 rfind(_CharT, size_type), compare(size_type, size_type,
351 const basic_string&), compare(size_type, size_type,
352 const basic_string&, size_type, size_type), compare(const _CharT*),
353 compare(size_type, size_type, const _CharT*), compare(size_type,
354 size_type, const _CharT*, size_type)): Likewise.
356 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
358 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
359 'if' branch less obscure.
361 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
364 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
366 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
367 (__atomic_add): likewise.
369 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
371 * include/bits/sstream.tcc (pbackfail): Minor clean up and
372 reformatting, consistent with basic_filebuf::pbackfail.
374 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
377 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
378 __attribute__ ((__unused__)).
379 * config/os/aix/atomicity.h: Likewise.
381 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
384 * include/bits/fstream.tcc (pbackfail): If the pback buffer
385 is already active don't try to store in it a second char.
386 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
388 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
390 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
392 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
395 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
397 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
398 instead of unnecessarily taking the address of _M_pback.
399 (xsgetn): Simplify slightly for a single char pback buffer.
401 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
403 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
404 variables and two 'if', clean up.
406 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
408 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
409 not _M_out_end, since the former actually points to the string
411 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
413 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
415 * docs/doxygen/filter: New file.
416 * docs/doxygen/filter.sed: New file.
417 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
418 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
419 * docs/html/documentation.html: Fix links to doxygen pages.
421 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
423 * include/bits/fstream.tcc (_M_convert_to_external): Don't
424 check for __ilen > 0.
426 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
429 * include/bits/stl_iterator.h (class __normal_iterator):
430 Don't inherit from iterator, add missing typedefs.
432 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
434 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
435 * testsuite/24_iterators/reverse_iterator/1.cc: New.
436 * testsuite/24_iterators/reverse_iterator/2.cc: New.
437 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
440 2003-05-27 Steve Ellcey <sje@cup.hp.com>
442 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
444 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
445 _LIBUNWIND_STD_ABI is set.
447 2003-05-26 Brendan Kehoe <brendan@zen.org>
449 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
450 make sure the number of digits required after the decimal-point
451 (if any) is exactly the value returned by frac_digits().
452 * testsuite/22_locale/money_get/get/char/9.cc: New.
453 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
455 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
457 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
460 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
463 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
464 (_M_pback): No array necessary.
465 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
466 unbuffered case, coalesec into ...
467 (basic_filebuf::overflow): ...this.
468 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
469 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
471 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
473 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
474 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
475 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
476 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
477 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
478 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
479 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
480 libsupc++/eh_unex_handler.cc, libsupc++/exception,
481 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
482 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
483 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
484 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
485 Replace "GNU CC" with "GCC".
487 * include/backward/new.h: Replace "GNU CC" with "GCC".
489 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
492 * configure.in: Switch target to host, don't assume newlib.
493 (target_alias): Remove.
494 * configure: Regenerate.
495 * acinclude.m4: Same.
496 * aclocal.m4: Regenerate.
497 * configure.target: Same. Rename to...
498 * configure.host: This.
500 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
502 * include/std/std_fstream.h (_S_pback_size): Remove definition.
503 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
505 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
506 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
507 of _S_pback_size for systems with no COMDAT or weak support.
508 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
509 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
510 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
511 * testsuite/27_io/basic_fstream/3.cc: Likewise.
512 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
513 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
514 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
515 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
516 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
518 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
520 * include/bits/fstream.tcc (_M_underflow): Simplify:
521 !__testout implies _M_filepos == _M_in_end, therefore
522 the first _M_file.seekoff call is never issued.
524 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
526 * configure.in: Sort cross table.
527 * configure: Regenerate.
529 2003-05-22 Brad Spencer <spencer@infointeractive.com>
532 * configure.in: Add Solaris cross bits.
534 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
536 * libstdc++-v3/config/os/mingw32/os_defines.h
537 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
538 (NOMINMAX): Define. Update copyright year.
540 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
542 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
544 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
546 * docs/html/faq/index.html: Fix typo.
547 * docs/html/faq/index.txt: Regenerate.
549 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
551 * docs/html/test.html: Fix markup.
553 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
555 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
557 Update copyright year.
559 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
561 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
563 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
565 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
566 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
568 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
570 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
571 Cast via void* to avoid -Wcast-align warnings.
572 (__default_alloc_template::_S_refill): Likewise.
574 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
576 * testsuite/README: Move to...
577 * docs/html/test.html: ...here. Add documentation.
578 * docs/html/install.html: Move testing bits out..
579 * docs/html/documentation.html: Add separate testing link.
580 * testsuite/performance: Add.
581 * testsuite/performance/allocator.cc: New.
582 * testsuite/performance/complex_norm.cc: New.
583 * testsuite/performance/cout_insert_int.cc: New.
584 * testsuite/performance/fstream_seek_write.cc: New.
585 * testsuite/performance/ifstream_getline.cc: New.
586 * testsuite/performance/map_create_fill.cc: New.
587 * testsuite/performance/ofstream_insert_float.cc: New.
588 * testsuite/performance/ofstream_insert_int.cc: New.
589 * testsuite/performance/string_append.cc: New.
590 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
593 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
596 * include/std/std_complex.h (pow): Tidy.
598 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
600 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
601 that upon filebuf::close() 27.8.1.1,3 is enforced.
603 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
605 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
607 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
608 Nathan Myers <ncm@cantrip.org>
610 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
611 _M_convert_to_external only once (_M_buf_size is now the size of
612 the put area + 1 for the overflow char of a full area); call
613 _M_set_buffer instead of _M_set_indeterminate.
614 (setbuf): Don't accept a buffer smaller than 2 chars.
615 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
616 instead of _M_set_determinate.
617 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
619 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
620 std::ios_base::openmode, bool, size_t),
621 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
623 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
624 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
626 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
627 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
628 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
629 the put area is now BUFSIZ - 1.
630 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
631 that now the smallest _M_buf_size is 2 (still fails, for the same
634 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
636 * testsuite/thread/pthread4.cc: Tweak test.
638 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
640 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
641 excess errors dg marker, use dg-errors instead.
642 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
643 * testsuite/20_util/auto_ptr_neg.cc: Same.
645 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
647 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
649 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
650 Initialize _M_codecvt.
651 (basic_filebuf::imbue): Same.
652 (basic_filebuf::showmanyc): Use it.
653 (basic_filebuf::underflow): Use it.
654 (basic_filebuf::_M_convert_to_external): Use it.
655 (basic_filebuf::seekoff): Use it.
656 (basic_filebuf::imbue): Use it, tweaks.
657 * include/bits/localefwd.h (__check_facet): New.
658 * include/bits/locale_classes.h: Tweaks.
659 * include/bits/locale_facets.tcc: Tweaks.
660 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
661 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
662 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
663 * include/bits/basic_ios.tcc: Same.
664 * include/bits/istream.tcc: Same.
665 * include/bits/ostream.tcc: Same.
666 * include/std/std_streambuf.h: Same.
667 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
668 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
669 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
670 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
671 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
672 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
674 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
676 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
677 unnecessary includes and unused string literals.
678 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
679 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
680 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
681 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
683 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
685 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
687 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
689 * include/std/std_fstream.h (_M_convert_to_external): Change
690 to return bool, take two less streamsize parameters.
691 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
692 consistently definition.
693 (_M_overflow): Adjust call points.
695 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
697 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
699 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
701 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
702 * testsuite/Makefile.in: Regenerate.
704 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
706 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
707 * testsuite/Makefile.in: Regenerate.
709 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
712 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
713 (acos): Handle integer argument.
732 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
733 (__enable_if): Likewise.
734 * testsuite/26_numerics/cmath/overloads.C: New test.
736 2003-05-10 Petur Runolfsson <peturr02@ru.is>
741 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
742 implementation, based on old wchar_t specialization, add support
743 for codecvt::in() return value of codecvt_base::noconv, remove
744 _M_file.sys_ungetc() call.
745 * include/std/std_fstream.h (basic_file::underflow,
746 basic_file::uflow, basic_file::_M_underflow): Remove
747 specialization declarations, call _M_underflow from generic versions
748 of underflow and uflow.
749 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
750 basic_file::_M_underflow): Remove specializations.
751 * src/Makefile.am (sources): Remove fstream.cc.
752 * src/Makefile.in: Regenerated.
753 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
754 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
755 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
756 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
758 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
760 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
762 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
764 (__basic_file::xsputn): Same.
765 (__basic_file::seekoff): Same.
766 (__basic_file::seekpos): Same.
767 (__basic_file::showmanyc): Same.
768 * config/io/basic_file_stdio.cc: Same.
769 * include/std/std_fstream.h: Same.
770 * include/bits/fstream.tcc: Same.
771 * src/fstream.cc: Same.
772 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
774 2003-05-10 Petur Runolfsson <peturr02@ru.is>
779 * include/ext/stdio_sync_filebuf.h: New file.
780 (basic_stdiobuf): New.
781 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
782 * include/Makefile.in: Regenerate.
783 * include/bits/ios_base.h (Init::_S_create_buffers,
784 Init::_S_destroy_buffers): Remove declarations.
785 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
786 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
787 * src/ios.cc (Init::_S_create_buffers,
788 Init::_S_destroy_buffers): Remove.
789 (Init::Init): Create and use syncronized buffers.
790 (ios_base::sync_with_stdio): Destroy syncronized buffers,
791 create and install unsyncronized buffers.
792 * testsuite/27_io/objects/char/10.cc: New test.
793 * testsuite/27_io/objects/char/9.cc: New test.
794 * testsuite/27_io/objects/char/9661-1.cc: New test.
795 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
796 * testsuite/27_io/objects/char/9661-2_xin.in: New.
797 * testsuite/27_io/objects/wchar_t/1.cc: New test.
798 * testsuite/27_io/objects/wchar_t/10.cc: New test.
799 * testsuite/27_io/objects/wchar_t/2.cc: New test.
800 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
801 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
802 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
803 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
804 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
805 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
806 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
807 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
808 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
809 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
810 * testsuite/27_io/objects/wchar_t/5.cc: New test.
811 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
812 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
813 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
814 * testsuite/27_io/objects/wchar_t/6.cc: New test.
815 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
816 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
817 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
818 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
819 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
820 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
821 * testsuite/27_io/objects/wchar_t/7.cc: New test.
822 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
823 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
824 * testsuite/27_io/objects/wchar_t/8.cc: New test.
825 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
826 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
827 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
828 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
829 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
830 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
831 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
832 * testsuite/ext/stdiobuf_char.cc: New test.
833 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
835 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
837 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
838 unnecessary includes and unused string literals.
839 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
841 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
843 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
845 2003-05-07 Richard Henderson <rth@redhat.com>
848 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
849 (__cxa_end_catch): Likewise.
850 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
851 _Unwind_Resume_or_Rethrow.
852 * libsupc++/eh_personality.cc (empty_exception_spec): New.
853 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
854 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
855 exceptions. Don't push terminate/unexpected to cxa functions.
856 (__cxa_call_unexpected): Remove foreign exception fixmes.
858 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
860 * testsuite/27_io/ios_base/cons: New.
861 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
862 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
864 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
866 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
868 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
869 there is no buffer or __testget == !__testinit.
872 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
873 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
875 * include/std/std_fstream.h (_M_destroy_pback): Don't set
876 unnecessarily _M_pback_cur_save and _M_pback_end_save.
878 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
880 * include/std/std_sstream.h (_M_sync): Minor tweak.
882 * include/bits/fstream.tcc (close): No need to call
883 _M_destroy_pback, setting _M_pback_init to false suffices
886 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
888 * include/bits/stl_algo.h: Enums as _S_.
889 * include/bits/stl_tree.h: Same.
890 * include/bits/stl_bvector.h: Same.
891 * include/bits/ios_base.h: Same.
892 * include/bits/stl_alloc.h: Same.
893 * include/ext/stl_hashtable.h: Same.
894 * src/ios.cc: And here.
896 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
897 * include/bits/sstream.tcc: Same.
899 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
901 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
903 * include/bits/locale_facets.h (__num_base): Remove protected.
904 Use _S_[io]* names for enumerations.
905 (_S_format_int): Remove.
906 * include/bits/locale_facets.tcc: Same.
907 * src/locale.cc: Same.
909 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
911 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
913 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
914 * docs/html/faq/index.txt: Regenerated.
916 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
917 Matt Kraai <kraai@alumni.cmu.edu>
919 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
922 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
924 * configure.target (mips*): Use the generic atomicity.h by default.
926 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
927 (Inspired by an alternate patch from Danny Smith.)
929 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
930 (_Swap_lock_struct<>): ...and the horse it rode in on.
931 * src/globals.cc (_Swap_lock_struct<>): Likewise.
932 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
934 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
935 visibility rules related to POSIX threads.
936 * testsuite/thread/pthread7-rope.cc: New test.
938 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
940 * testsuite/21_strings/basic_string/find/char/3.cc: New
941 file, testing basic_string<char>::find_first_not_of.
942 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
943 Likewise for basic_string<wchar_t>.
945 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
947 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
949 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
951 * include/Makefile.am (CLEANFILES): Remove PCH files in target
953 * include/Makefile.in: Regenerate.
955 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
957 * include/std/std_sstream.h (str()): Tidy.
959 2003-05-02 Nathan Myers <ncm@cantrip.org>
960 Paolo Carlini <pcarlini@unitus.it>
962 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
964 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
966 * include/bits/basic_string.h (swap): Remove redundant template
967 parameters from declaration of non-template member function.
969 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
971 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
972 * configure.in: Move libintl.h header test...
973 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
974 the NLS-related test results into one symbol.
975 * src/functexcept.cc: Use it here.
976 * aclocal.m4, config.h.in, configure: Regenerated.
978 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
980 * include/bits/sstream.tcc (overflow): Instead of calling
981 str(), then _M_string.reserve, thus copying the contents
982 of the current buffer two times, just copy the latter in
983 a temporary, then use the 'swap trick'.
985 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
987 * include/std/std_sstream.h (str()): Revert the best of the
988 previous 'improvement', incorrect due to the COW nature of
989 v3 basic_string; simplify.
991 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
993 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
994 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
996 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
998 * testsuite/abi_check.cc (check_version): Update known versions.
999 Check added symbols for version_name != base version. Add missing
1000 symbols to incompatible list.
1002 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
1004 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
1005 * aclocal.m4: Regenerated.
1006 * configure: Regenerated.
1008 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1010 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
1011 Const-ify some variables.
1012 (basic_streambuf::xsputn): Likewise; change the type of some
1013 variables to size_t.
1014 (__copy_streambufs): Change some variables to size_t.
1016 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1018 * include/std/std_sstream.h (str()): Avoid constructing
1019 a basic_string temporary not only when it would turn out
1020 to be zero-sized but also when identical to the current
1023 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
1025 * include/ext/stdio_filebuf.h
1026 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
1027 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
1028 Shorten a bit (-10 lines) by factoring out some code.
1030 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
1032 * acinclude.m4: Add bit missing from previous patch.
1033 * aclocal.m4, configure: Regenerated.
1035 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
1037 * docs/doxygen/mainpage.html: Bring up to date.
1038 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
1040 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
1041 breaks everything. Don't scan them.
1042 * docs/html/documentation.html: Point to "Write after approval"
1045 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
1047 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
1048 of libc if message translations are being used. Fix info text in
1049 xieee_1003.1-2001 case.
1050 * aclocal.m4, configure: Regenerate.
1052 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
1053 Loren J. Rittle <ljrittle@acm.org>
1054 Martin v. Loewis <martin@v.loewis.de>
1056 * config/cpu/i386/atomicity.h: New file.
1058 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
1060 * include/bits/fstream.tcc (open): Change to single return.
1062 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
1064 * include/std/std_sstream.h (underflow): Change to single return.
1066 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1068 * include/std/std_streambuf.h (_M_buf): is currently
1069 used only for basic_filebuf, therefore move it there.
1070 (basic_streambuf(), ~basic_streambuf()): Adjust.
1071 * include/std/std_fstream.h (_M_buf): Moved here.
1072 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
1073 is actually redundant for basic_stringbuf.
1074 (_M_really_sync): Likewise.
1075 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
1076 * include/bits/sstream.tcc (seekoff): Adjust.
1078 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1080 * src/localename.cc: Standardize exception strings.
1081 * src/locale.cc: Same.
1083 * include/bits/basic_string.tcc: Same.
1084 * include/bits/basic_ios.tcc: Same.
1085 * include/std/std_bitset.h: Same.
1086 * include/ext/ropeimpl.h: Same.
1087 * include/bits/stl_vector.h: Same.
1088 * include/bits/stl_deque.h: Same.
1089 * include/bits/stl_bvector.h: Same.
1090 * config/locale/generic/c_locale.cc: Same.
1091 * config/locale/gnu/c_locale.cc: Same.
1092 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
1094 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
1096 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1098 * include/std/std_streambuf.h (_M_buf_size): is currently
1099 used only for basic_filebuf, therefore move it there.
1100 (basic_streambuf(), ~basic_streambuf()): Adjust.
1101 * include/std/std_fstream.h (_M_buf_size): Moved here.
1102 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
1104 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1106 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
1107 _M_buf_size (synced input is now correctly dealt with
1108 elsewhere); when the output buffer is full don't fall back
1109 to a snextc-sputc loop, call overflow instead.
1111 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
1113 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
1114 the innermost 'if' by factoring out some code.
1116 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
1118 * configure.in: Test for libintl.h.
1119 * include/bits/c++config: Define __N for everybody.
1120 * include/bits/basic_string.h, include/bits/stl_bvector.h,
1121 include/bits/stl_deque.h, include/bits/stl_vector.h,
1122 include/std/std_bitset.h: Wrap all __throw* text with __N.
1123 * po/Makefile.am (pot): New rule, mostly working.
1124 * src/functexcept.cc: Call gettext on all __throw* arguments when
1125 -fexceptions is in effect.
1126 * po/Makefile.in, config.h.in, configure: Regenerate.
1128 2003-04-28 Petur Runolfsson <peturr02@ru.is>
1131 * include/bits/ios_base.h (Init::_S_ios_create,
1132 Init::_S_ios_destroy): Remove declarations.
1133 (Init::_S_create_buffers,
1134 Init::_S_destroy_buffers): Declare
1135 * src/ios.cc (Init::_S_ios_create): Remove
1136 (Init::_S_create_buffers): Create buffers and add to streams.
1137 (Init::_S_ios_destroy): Rename to...
1138 (Init::_S_destroy_buffers): this.
1139 (Init::Init): Only construct streams once.
1140 (Init::~Init): Flush streams, don't destroy them.
1141 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
1142 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
1143 * testsuite/27_io/objects/char/5.cc: New test.
1144 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
1145 * testsuite/27_io/objects/char/6.cc: New test.
1146 * testsuite/27_io/objects/char/7.cc: New test.
1148 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1150 * testsuite/27_io/objects/char/8.cc: New test.
1152 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
1154 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
1155 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
1157 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
1159 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
1160 _M_destroy_pback. _M_pback_create to
1161 _M_create_pback. _M_underflow_common to
1162 _M_underflow. _M_really_overflow to _M_overflow.
1163 * include/bits/fstream.tcc: Same.
1164 * src/fstream.cc: Same.
1165 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
1166 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
1167 * include/bits/streambuf.tcc: Same.
1168 * include/bits/fstream.tcc: Same.
1169 * include/bits/sstream.tcc: Same.
1171 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
1173 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
1174 from fixed size array.
1175 (locale): Change _S_categories as well.
1177 * include/bits/locale_facets.tcc: Tweak.
1178 * config/locale/gnu/c_locale.cc: Assign _S_categories.
1179 * config/locale/generic/c_locale.cc: Same.
1180 * src/locale.cc: Tweak.
1181 * src/globals.cc: Change facet_name to name_vec, add names_c.
1182 * src/localename.cc: Use them.
1183 (locale::_Impl::~_Impl): Destroy _M_names.
1184 (locale::_Impl::_Impl): Create _M_names.
1186 2003-04-27 Andreas Schwab <schwab@suse.de>
1188 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
1189 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
1191 2003-04-27 Nathan Myers <ncm@cantrip.org>
1193 Move some basic_string members out of line because
1194 they are too big to reasonably be inline.
1195 * include/bits/basic_string.h
1196 (assign(const basic_string&, size_type, size_type),
1197 assign(const _CharT*, size_type),
1198 insert(size_type, const basic_string&, size_type, size_type),
1199 insert(size_type, const _CharT*, size_type),
1200 replace(size_type, size_type, const _CharT*, size_type)):
1201 Move from here to...
1202 * include/bits/basic_string.tcc: ...here.
1204 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1206 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
1207 the innermost 'if' by factoring out some code.
1209 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1211 * include/bits/streambuf.tcc (__copy_streambufs): Don't
1212 use in_avail(), simplify.
1214 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
1216 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
1217 in basic_stringbuf it's unused.
1219 * include/std/std_sstream.h (underflow): consistently use
1220 _M_in_cur, not gptr().
1222 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
1223 Phil Edwards <pme@gcc.gnu.org>
1225 * testsuite_flags.in: Guard against the possibility
1226 of having "xgcc" as a part of a folder name in the
1227 path to the GCC build folder.
1228 * testsuite/Makefile.am: Likewise.
1229 * testsuite/Makefile.in: Regenerated.
1231 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1234 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
1235 exception specifications.
1236 (basic_filebuf::close): Same.
1237 (basic_filebuf::_M_pback_destroy): Same.
1238 (basic_filebuf::_M_destroy_internal_buffer): Same.
1239 (basic_filebuf): Remove __res_type typedef.
1240 * src/fstream.cc: Same.
1241 * include/bits/fstream.tcc
1242 (basic_filebuf::_M_convert_to_external): Simplify.
1243 (basic_filebuf::seekoff): Use has_facet before use_facet.
1244 (basic_filebuf::close): Add exception specification of throw().
1245 * testsuite/27_io/basic_filebuf/cons: New.
1246 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
1247 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
1248 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
1249 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
1251 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1253 * include/bits/locale_classes.h
1254 (locale::_S_extra_categories_size): Remove.
1255 * src/locale.cc: Remove _S_extra_categories_size.
1256 * src/localename.cc: Same.
1257 * config/locale/gnu/c_locale.cc: Same.
1258 * config/locale/generic/c_locale.cc: Same.
1260 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
1262 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
1264 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
1266 * docs/html/17_intro/howto.html: Update some links.
1267 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
1268 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
1269 * docs/html/ext/howto.html: Link to demangler notes and API.
1270 * docs/html/faq/index.html: Remove trailing whitespace.
1271 (1.4, 2.4, 3.8, 4.1): Bring up to date.
1272 (5.6): Change to a bulleted list.
1274 * docs/html/faq/index.txt, docs/html/documentation.html,
1275 docs/html/17_intro/porting.html: Regenerate.
1277 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
1279 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
1280 belongs to basic_filebuf.
1281 * testsuite/27_io/basic_fstream/3.cc: Likewise.
1282 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
1283 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
1284 instantiation (now belongs to basic_filebuf).
1285 * testsuite/27_io/basic_iostream/3.cc: Likewise.
1286 * testsuite/27_io/basic_istream/3.cc: Likewise.
1287 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1288 _S_pback_size now belongs to basic_filebuf.
1289 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
1290 instantiation (now belongs to basic_filebuf).
1291 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
1292 belongs to basic_filebuf.
1293 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
1294 instantiation (now belongs to basic_filebuf).
1295 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
1296 _S_pback_size now belongs to basic_filebuf.
1297 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
1298 instantiation (now belongs to basic_filebuf).
1299 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
1301 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
1302 instantiation (now belongs to basic_filebuf).
1303 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
1305 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1307 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
1308 * configure: Regenerated.
1310 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1312 * config/locale/generic/c_locale.h (__convert_from_v): Use
1315 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
1317 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
1318 implementation only.
1319 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
1320 Comment and change to comply with DR 60 and the effect on gcount().
1321 * include/std/std_istream.h: Update comments.
1322 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
1323 comments about reasons for tests. Test sync() against gcount().
1324 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
1325 for effect on gcount().
1326 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
1327 for effect on gcount().
1329 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
1331 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
1334 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
1336 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
1337 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1338 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
1339 (basic_streambuf::basic_streambuf()): Adjust.
1340 * include/std/std_fstream.h (_S_pback_size, _M_pback,
1341 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1342 _M_pback_create(), _M_pback_destroy()): Moved here
1343 from basic_streambuf.
1344 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
1346 (basic_filebuf::_S_pback_size): Add declaration.
1347 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
1350 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1352 Consistently use _M_in_beg instead of eback(), _M_in_cur
1353 instead of gptr(), and so on.
1354 * include/bits/fstream.tcc (pbackfail, imbue): Here.
1355 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
1356 * include/bits/streambuf.tcc (sbumpc, sputbackc,
1357 __copy_streambufs): Ditto.
1358 * include/std/std_streambuf.h (sgetc): Ditto.
1360 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1362 * include/bits/sstream.tcc (pbackfail, overflow):
1365 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1367 * include/std/std_streambuf.h (uflow()): It's used only by
1368 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
1369 therefore do not consider the _M_buf_unified == true case.
1371 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
1373 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1375 * docs/html/ext/howto.html ('LWG Issues'):
1376 Add issues 19, 90, 171, 231, 271.
1378 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1380 * include/bits/sstream.tcc (pbackfail): Remove redundant
1381 NULL pointer check from test involving _M_in_*.
1382 (overflow, seekoff, seekpos): Const qualify bool variables.
1383 * include/std/std_sstream.h (underflow): Remove redundant
1384 NULL pointer check from test involving _M_in_*.
1385 (_M_really_sync): Const qualify bool variables.
1386 * src/fstream.cc (_M_underflow_common): Remove redundant
1387 NULL pointer check from test involving _M_in_*, const qualify
1390 * include/std/std_streambuf.h (sgetc): Remove redundant
1393 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
1395 According to 5.9 para 2 (second bullet) for pointers p, q
1396 pointing to the same type, with p == 0 and q == 0, (p < q)
1398 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
1399 seekoff): Remove redundant NULL pointer checks from tests
1400 involving _M_out_* and _M_in_*, const qualify bool variables.
1401 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
1402 qualify bool variables.
1403 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
1404 Remove redundant NULL pointer checks from tests involving
1405 _M_out_* and _M_in_*, const qualify bool variables.
1406 * include/std/std_fstream.h (sync): Likewise.
1407 (_M_is_indeterminate): Const qualify bool variables.
1408 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
1409 NULL pointer checks from tests involving _M_out_* and _M_in_*,
1410 const qualify bool variables.
1411 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
1414 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
1416 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
1417 C99 FP macros, if actually captured.
1419 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
1420 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1421 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1422 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1423 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
1425 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1426 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1427 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1428 * include/c_std/std_cstdlib.h: Use new macros.
1429 * include/c_std/std_cstdio.h: Use new macros.
1430 * include/c_std/std_cwchar.h: Use new macros.
1432 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
1435 * include/bits/ostream.tcc: Catch all exceptions for formatted
1436 output, instead of std::exception and derivatives.
1437 * include/bits/istream.tcc: Same.
1438 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
1439 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
1440 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
1441 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
1442 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
1443 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
1446 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
1448 * include/bits/c++config: Minor cosmetic tweaks.
1450 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
1452 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
1453 * include/Makefile.am (pch_input): Find in ${target_builddir}.
1454 (pch_output): Rename to...
1455 (pch_output_builddir): ..this. Find in ${target_builddir}.
1456 (pch_source): Tweak.
1457 (pch_build): Key off a built file.
1458 (pch_output rule): Rename to...
1459 (pch_input rule): ...this. Produce ${pch_output_builddir}
1460 instead of ${pch_output}.
1461 (install-pch rule): Install ${pch_output_builddir}.
1462 * include/Makefile.in: Regenerated.
1464 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
1466 * include/std/std_streambuf.h (setp): _M_out_lim, being
1467 the end limit of used put area, is set equal to _M_out_beg.
1469 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
1471 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
1472 * aclocal.m4: Regenerated.
1473 * configure.in: Remove old demangler bits.
1475 * configure: Regenerate.
1476 * config.h.in: Regenerate.
1477 * include/Makefile.am (allstamps): Now allstamped.
1478 (allcreated): Define this.
1479 (all-local): Use 'em.
1480 Conditionally define pch_build, pch_install based on
1482 (${pch_output}): New rule.
1483 (install-pch): New rule.
1484 (install-headers): New rule.
1485 (install-data-local): Install headers and conditionally pch.
1486 * include/Makefile.in: Regenerate.
1487 * testsuite_flags.in (--build-cxx): Use pch file.
1489 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
1491 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
1493 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
1494 Paolo Carlini <pcarlini at unitus dot it>
1497 * docs/html/27_io/howto.html
1498 ('The buffering is screwing up my program!'): Explain that
1499 opening counts as an I/O operation.
1501 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
1503 * testsuite/thread/pthread1.cc: Enable for darwin test.
1504 * testsuite/thread/pthread2.cc: Same.
1505 * testsuite/thread/pthread3.cc: Same.
1506 * testsuite/thread/pthread4.cc: Same.
1507 * testsuite/thread/pthread5.cc: Same.
1508 * testsuite/thread/pthread6.cc: Same.
1510 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
1513 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
1514 Populate it with multiple legal ways to obtain the C99 float
1515 transcendentals. Use them instead of direct global reference.
1516 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
1517 * docs/html/17_intro/porting.texi
1518 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1519 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1520 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
1521 * config/os/bsd/freebsd/os_defines.h
1522 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1523 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1524 * testsuite/26_numerics/c_math_dynamic.cc: New file.
1526 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
1527 Benjamin Kosnik <bkoz@redhat.com>
1529 * config/os/generic/ctype_inline.h: Fix.
1531 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
1533 * testsuite/testsuite_hooks.h
1534 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
1535 Change to try_named_locale.
1536 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
1538 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
1540 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1541 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1542 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
1543 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
1544 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
1545 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
1546 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
1547 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
1548 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
1549 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
1550 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
1551 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
1552 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
1553 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
1554 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
1555 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1556 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1557 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1558 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
1559 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
1560 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
1561 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
1562 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
1563 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
1564 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
1565 * testsuite/22_locale/collate/compare/char/1.cc: Same.
1566 * testsuite/22_locale/collate/compare/char/2.cc: Same.
1567 * testsuite/22_locale/collate/compare/char/3.cc: Same.
1568 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
1569 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
1570 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
1571 * testsuite/22_locale/collate/hash/char/2.cc: Same.
1572 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
1573 * testsuite/22_locale/collate/transform/char/2.cc: Same.
1574 * testsuite/22_locale/collate/transform/char/3.cc: Same.
1575 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
1576 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
1577 * testsuite/22_locale/collate_byname/1.cc: Same.
1578 * testsuite/22_locale/ctype/is/char/2.cc: Same.
1579 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
1580 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
1581 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
1582 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
1583 * testsuite/22_locale/facet/2.cc: Same.
1584 * testsuite/22_locale/locale/cons/2.cc: Same.
1585 * testsuite/22_locale/locale/cons/4.cc: Same.
1586 * testsuite/22_locale/locale/cons/5.cc: Same.
1587 * testsuite/22_locale/locale/cons/7.cc: Same.
1588 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
1589 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
1590 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
1591 * testsuite/22_locale/messages/members/char/1.cc: Same.
1592 * testsuite/22_locale/messages/members/char/2.cc: Same.
1593 * testsuite/22_locale/messages/members/char/3.cc: Same.
1594 * testsuite/22_locale/messages_byname/1.cc: Same.
1595 * testsuite/22_locale/money_get/get/char/1.cc: Same.
1596 * testsuite/22_locale/money_get/get/char/2.cc: Same.
1597 * testsuite/22_locale/money_get/get/char/3.cc: Same.
1598 * testsuite/22_locale/money_get/get/char/4.cc: Same.
1599 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
1600 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
1601 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
1602 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
1603 * testsuite/22_locale/money_put/put/char/1.cc: Same.
1604 * testsuite/22_locale/money_put/put/char/2.cc: Same.
1605 * testsuite/22_locale/money_put/put/char/3.cc: Same.
1606 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
1607 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
1608 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
1609 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
1610 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
1611 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
1612 * testsuite/22_locale/num_get/get/char/1.cc: Same.
1613 * testsuite/22_locale/num_get/get/char/2.cc: Same.
1614 * testsuite/22_locale/num_get/get/char/3.cc: Same.
1615 * testsuite/22_locale/num_get/get/char/5.cc: Same.
1616 * testsuite/22_locale/num_get/get/char/6.cc: Same.
1617 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
1618 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
1619 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
1620 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
1621 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
1622 * testsuite/22_locale/num_put/put/char/1.cc: Same.
1623 * testsuite/22_locale/num_put/put/char/2.cc: Same.
1624 * testsuite/22_locale/num_put/put/char/3.cc: Same.
1625 * testsuite/22_locale/num_put/put/char/5.cc: Same.
1626 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
1627 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
1628 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
1629 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
1630 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
1631 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
1632 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
1633 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
1634 * testsuite/22_locale/numpunct_byname/1.cc: Same.
1635 * testsuite/22_locale/numpunct_byname/2.cc: Same.
1636 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
1637 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
1638 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
1639 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
1640 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
1641 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
1642 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
1643 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
1644 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
1645 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
1646 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
1647 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
1648 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
1649 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
1650 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
1651 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
1652 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
1653 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
1654 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
1655 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
1656 * testsuite/22_locale/time_put/put/char/1.cc: Same.
1657 * testsuite/22_locale/time_put/put/char/2.cc: Same.
1658 * testsuite/22_locale/time_put/put/char/3.cc: Same.
1659 * testsuite/22_locale/time_put/put/char/4.cc: Same.
1660 * testsuite/22_locale/time_put/put/char/5.cc: Same.
1661 * testsuite/22_locale/time_put/put/char/6.cc: Same.
1662 * testsuite/22_locale/time_put/put/char/7.cc: Same.
1663 * testsuite/22_locale/time_put/put/char/8.cc: Same.
1664 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
1665 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
1666 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
1667 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
1668 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
1669 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
1670 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
1671 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
1672 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
1673 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
1674 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
1675 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
1676 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
1678 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
1680 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
1681 solaris includes, not generic.
1683 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
1685 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
1687 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
1688 * include/bits/concept_check.h: Fix multi-line comment.
1689 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
1690 when target is *-*-freebsd*.
1692 2003-04-14 Nathan Myers <ncm@cantrip.org>
1693 Paolo Carlini <pcarlini@unitus.it>
1695 PR libstdc++/9701 (in_avail())
1696 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
1697 doesn't care if there is anything in some putback cell.
1698 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
1700 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
1701 unused string literals.
1703 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
1705 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
1706 _M_out_end, _M_set_indeterminate() does it.
1708 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1710 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
1712 2003-04-12 David Edelsohn <edelsohn@gnu.org>
1714 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1715 Change basic_streambuf instantiation to "unsigned char".
1716 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1718 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
1720 Remove _M_buf_size_opt, use directly _M_buf_size instead.
1721 * include/bits/fstream.tcc
1722 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
1723 references to _M_buf_size_opt.
1724 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
1725 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
1726 __bufsize to __in_avail and __size_opt to __buf_size.
1727 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
1728 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
1729 * include/std/std_streambuf.h (~basic_streambuf(),
1730 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
1731 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
1732 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
1733 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
1734 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
1735 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
1736 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
1737 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
1738 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
1739 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
1740 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
1741 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
1742 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
1744 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
1746 * include/ext/stdio_filebuf.h
1747 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
1748 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
1749 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
1750 since a stack-based buffer is used for small values of the size_t
1752 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
1753 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
1754 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
1756 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
1759 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
1760 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
1762 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1764 * testsuite/22_locale/locale/cons/3.cc: Split.
1765 * testsuite/22_locale/locale/cons/7222-c.cc: New.
1766 * testsuite/22_locale/locale/cons/7222-env.cc: New.
1767 Check before trying to create a locale from the environment.
1768 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
1769 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
1772 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1774 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
1775 locale to construct this hybrid locale, not the global locale.
1777 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1779 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
1780 instantiation for AIX.
1781 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1782 * testsuite/25_algorithms/min_max.cc: Same.
1784 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1786 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
1787 twice. Always set _M_cfile to 0 when stream was open.
1789 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1791 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
1792 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
1793 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
1794 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
1795 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
1796 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
1797 ifstream_members.cc, instantiations.cc, ios.cc,
1798 ios_base_callbacks.cc, ios_base_members_static-1.tst,
1799 ios_base_members_static.cc, ios_base_storage.cc,
1800 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
1801 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
1802 iostream.cc, iostream_members.cc, istream.cc,
1803 istream_exception.cc, istream_extractor_char.cc,
1804 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
1805 istream_extractor_other-2.tst, istream_extractor_other.cc,
1806 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
1807 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
1808 istream_sentry.cc, istream_unformatted-1.tst,
1809 istream_unformatted-1.txt, istream_unformatted.cc,
1810 istringstream.cc, istringstream_members.cc,
1811 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
1812 ofstream_members.cc, ostream.cc, ostream_exception.cc,
1813 ostream_fail.cc, ostream_inserter_arith.cc,
1814 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
1815 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
1816 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
1817 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
1818 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
1819 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
1820 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
1821 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
1822 wide_stream_objects.cc, istream_extractor_arith/01.cc,
1823 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
1824 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
1825 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
1826 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
1827 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
1829 * 27_io/basic_filebuf/1.cc: New.
1830 * 27_io/basic_filebuf/2.cc: New.
1831 * 27_io/basic_filebuf/3.cc: New.
1832 * 27_io/basic_filebuf/4.cc: New.
1833 * 27_io/basic_filebuf/close/char/1.cc: New.
1834 * 27_io/basic_filebuf/close/char/2.cc: New.
1835 * 27_io/basic_filebuf/close/char/3.cc: New.
1836 * 27_io/basic_filebuf/close/char/4879.cc: New.
1837 * 27_io/basic_filebuf/close/char/9964.cc: New.
1838 * 27_io/basic_filebuf/imbue/char/1.cc: New.
1839 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
1840 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
1841 * 27_io/basic_filebuf/is_open/char/1.cc: New.
1842 * 27_io/basic_filebuf/open/char/1.cc: New.
1843 * 27_io/basic_filebuf/open/char/2.cc: New.
1844 * 27_io/basic_filebuf/open/char/3.cc: New.
1845 * 27_io/basic_filebuf/open/char/9507.cc: New.
1846 * 27_io/basic_filebuf/overflow/char/1.cc: New.
1847 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
1848 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
1849 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
1850 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
1851 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
1852 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
1853 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
1854 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
1855 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
1856 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
1857 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
1858 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
1859 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
1860 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
1861 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
1862 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
1863 * 27_io/basic_filebuf/snextc/char/1.cc: New.
1864 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
1865 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
1866 * 27_io/basic_filebuf/sputc/char/1.cc: New.
1867 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
1868 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
1869 * 27_io/basic_filebuf/sputn/char/1.cc: New.
1870 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
1871 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
1872 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
1873 * 27_io/basic_filebuf/sync/char/1057.cc: New.
1874 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
1875 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
1876 * 27_io/basic_fstream/1.cc: New.
1877 * 27_io/basic_fstream/2.cc: New.
1878 * 27_io/basic_fstream/3.cc: New.
1879 * 27_io/basic_fstream/4.cc: New.
1880 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
1881 * 27_io/basic_ifstream/1.cc: New.
1882 * 27_io/basic_ifstream/2.cc: New.
1883 * 27_io/basic_ifstream/3.cc: New.
1884 * 27_io/basic_ifstream/4.cc: New.
1885 * 27_io/basic_ifstream/cons/char/1.cc: New.
1886 * 27_io/basic_ifstream/open/char/1.cc: New.
1887 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
1888 * 27_io/basic_ios/1.cc: New.
1889 * 27_io/basic_ios/2.cc: New.
1890 * 27_io/basic_ios/3.cc: New.
1891 * 27_io/basic_ios/4.cc: New.
1892 * 27_io/basic_ios/clear/char/1.cc: New.
1893 * 27_io/basic_ios/cons/char/1.cc: New.
1894 * 27_io/basic_ios/cons/char/2.cc: New.
1895 * 27_io/basic_ios/cons/char/3.cc: New.
1896 * 27_io/basic_ios/copyfmt/char/1.cc: New.
1897 * 27_io/basic_ios/copyfmt/char/2.cc: New.
1898 * 27_io/basic_ios/exceptions/char/1.cc: New.
1899 * 27_io/basic_ios/locales/char/1.cc: New.
1900 * 27_io/basic_iostream/1.cc: New.
1901 * 27_io/basic_iostream/2.cc: New.
1902 * 27_io/basic_iostream/3.cc: New.
1903 * 27_io/basic_iostream/4.cc: New.
1904 * 27_io/basic_istream/1.cc: New.
1905 * 27_io/basic_istream/2.cc: New.
1906 * 27_io/basic_istream/3.cc: New.
1907 * 27_io/basic_istream/4.cc: New.
1908 * 27_io/basic_istream/exceptions/char/9561.cc: New.
1909 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
1910 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
1911 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
1912 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
1913 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
1914 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
1915 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
1916 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
1917 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
1918 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
1919 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
1920 * 27_io/basic_istream/extractors_character/char/1.cc: New.
1921 * 27_io/basic_istream/extractors_character/char/2.cc: New.
1922 * 27_io/basic_istream/extractors_character/char/3.cc: New.
1923 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
1924 * 27_io/basic_istream/extractors_other/char/1.cc: New.
1925 * 27_io/basic_istream/extractors_other/char/2.cc: New.
1926 * 27_io/basic_istream/extractors_other/char/3.cc: New.
1927 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
1928 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
1929 * 27_io/basic_istream/get/char/1.cc: New.
1930 * 27_io/basic_istream/get/char/2.cc: New.
1931 * 27_io/basic_istream/getline/char/1.cc: New.
1932 * 27_io/basic_istream/getline/char/2.cc: New.
1933 * 27_io/basic_istream/getline/char/3.cc: New.
1934 * 27_io/basic_istream/ignore/char/1.cc: New.
1935 * 27_io/basic_istream/ignore/char/6360.cc: New.
1936 * 27_io/basic_istream/ignore/char/7220.cc: New.
1937 * 27_io/basic_istream/peek/char/1.cc: New.
1938 * 27_io/basic_istream/peek/char/6414.cc: New.
1939 * 27_io/basic_istream/putback/char/1.cc: New.
1940 * 27_io/basic_istream/read/char/1.cc: New.
1941 * 27_io/basic_istream/read/char/2.cc: New.
1942 * 27_io/basic_istream/read/char/3.cc: New.
1943 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
1944 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
1945 * 27_io/basic_istream/readsome/char/8258.cc: New.
1946 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
1947 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
1948 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
1949 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
1950 * 27_io/basic_istream/seekg/char/fstream.cc: New.
1951 * 27_io/basic_istream/seekg/char/sstream.cc: New.
1952 * 27_io/basic_istream/sentry/char/1.cc: New.
1953 * 27_io/basic_istream/sentry/char/2.cc: New.
1954 * 27_io/basic_istream/sentry/char/3.cc: New.
1955 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
1956 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
1957 * 27_io/basic_istream/tellg/char/1.cc: New.
1958 * 27_io/basic_istream/tellg/char/8348.cc: New.
1959 * 27_io/basic_istream/tellg/char/fstream.cc: New.
1960 * 27_io/basic_istream/tellg/char/sstream.cc: New.
1961 * 27_io/basic_istream/ws/char/1.cc: New.
1962 * 27_io/basic_istringstream/1.cc: New.
1963 * 27_io/basic_istringstream/2.cc: New.
1964 * 27_io/basic_istringstream/3.cc: New.
1965 * 27_io/basic_istringstream/4.cc: New.
1966 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
1967 * 27_io/basic_istringstream/str/char/1.cc: New.
1968 * 27_io/basic_ofstream/1.cc: New.
1969 * 27_io/basic_ofstream/2.cc: New.
1970 * 27_io/basic_ofstream/3.cc: New.
1971 * 27_io/basic_ofstream/4.cc: New.
1972 * 27_io/basic_ofstream/cons/char/2.cc: New.
1973 * 27_io/basic_ofstream/open/char/1.cc: New.
1974 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
1975 * 27_io/basic_ostream/1.cc: New.
1976 * 27_io/basic_ostream/2.cc: New.
1977 * 27_io/basic_ostream/3.cc: New.
1978 * 27_io/basic_ostream/4.cc: New.
1979 * 27_io/basic_ostream/cons/char/9827.cc: New.
1980 * 27_io/basic_ostream/endl/char/1.cc: New.
1981 * 27_io/basic_ostream/ends/char/1.cc: New.
1982 * 27_io/basic_ostream/ends/char/2.cc: New.
1983 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
1984 * 27_io/basic_ostream/flush/char/1.cc: New.
1985 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
1986 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
1987 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
1988 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
1989 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
1990 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
1991 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
1992 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
1993 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
1994 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
1995 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
1996 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
1997 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
1998 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
1999 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
2000 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
2001 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
2002 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
2003 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
2004 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
2005 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
2006 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
2007 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
2008 * 27_io/basic_ostream/sentry/char/1.cc: New.
2009 * 27_io/basic_ostream/sentry/char/2.cc: New.
2010 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
2011 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
2012 * 27_io/basic_ostream/tellp/char/1.cc: New.
2013 * 27_io/basic_ostream/tellp/char/2.cc: New.
2014 * 27_io/basic_ostringstream/1.cc: New.
2015 * 27_io/basic_ostringstream/2.cc: New.
2016 * 27_io/basic_ostringstream/3.cc: New.
2017 * 27_io/basic_ostringstream/4.cc: New.
2018 * 27_io/basic_ostringstream/cons/char/3.cc: New.
2019 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
2020 * 27_io/basic_ostringstream/str/char/1.cc: New.
2021 * 27_io/basic_ostringstream/str/char/2.cc: New.
2022 * 27_io/basic_streambuf/1.cc: New.
2023 * 27_io/basic_streambuf/2.cc: New.
2024 * 27_io/basic_streambuf/3.cc: New.
2025 * 27_io/basic_streambuf/cons/char/1.cc: New.
2026 * 27_io/basic_streambuf/imbue/char/1.cc: New.
2027 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
2028 * 27_io/basic_streambuf/overflow/char/1.cc: New.
2029 * 27_io/basic_streambuf/overflow/char/2.cc: New.
2030 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
2031 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
2032 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
2033 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
2034 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
2035 * 27_io/basic_streambuf/sputn/char/1.cc: New.
2036 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
2037 * 27_io/basic_streambuf/sync/char/1057.cc: New.
2038 * 27_io/basic_stringbuf/1.cc: New.
2039 * 27_io/basic_stringbuf/2.cc: New.
2040 * 27_io/basic_stringbuf/3.cc: New.
2041 * 27_io/basic_stringbuf/4.cc: New.
2042 * 27_io/basic_stringbuf/5.cc: New.
2043 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
2044 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
2045 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
2046 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
2047 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
2048 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
2049 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
2050 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
2051 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
2052 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
2053 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
2054 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
2055 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
2056 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
2057 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
2058 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
2059 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
2060 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
2061 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
2062 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
2063 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
2064 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
2065 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
2066 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
2067 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
2068 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
2069 * 27_io/basic_stringbuf/str/char/1.cc: New.
2070 * 27_io/basic_stringbuf/str/char/2.cc: New.
2071 * 27_io/basic_stringbuf/str/char/3.cc: New.
2072 * 27_io/basic_stringbuf/str/char/3955.cc: New.
2073 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
2074 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
2075 * 27_io/basic_stringstream/1.cc: New.
2076 * 27_io/basic_stringstream/2.cc: New.
2077 * 27_io/basic_stringstream/3.cc: New.
2078 * 27_io/basic_stringstream/4.cc: New.
2079 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
2080 * 27_io/basic_stringstream/str/char/1.cc: New.
2081 * 27_io/basic_stringstream/str/char/2.cc: New.
2082 * 27_io/basic_stringstream/str/char/3.cc: New.
2083 * 27_io/basic_stringstream/str/char/4.cc: New.
2084 * 27_io/fpos/1.cc: New.
2085 * 27_io/fpos/2.cc: New.
2086 * 27_io/fpos/3.cc: New.
2087 * 27_io/ios_base/callbacks/1.cc: New.
2088 * 27_io/ios_base/state/1.cc: New.
2089 * 27_io/ios_base/storage/1.cc: New.
2090 * 27_io/ios_base/storage/2.cc: New.
2091 * 27_io/ios_base/storage/3.cc: New.
2092 * 27_io/ios_base/sync_with_stdio/1.cc: New.
2093 * 27_io/ios_base/sync_with_stdio/2.cc: New.
2094 * 27_io/manipulators/adjustfield/char/1.cc: New.
2095 * 27_io/manipulators/adjustfield/char/2.cc: New.
2096 * 27_io/manipulators/basefield/char/1.cc: New.
2097 * 27_io/manipulators/standard/char/1.cc: New.
2098 * 27_io/manipulators/standard/char/2.cc: New.
2099 * 27_io/objects/char/1.cc: New.
2100 * 27_io/objects/char/2.cc: New.
2101 * 27_io/objects/char/2523-1_xin.cc: New.
2102 * 27_io/objects/char/2523-1_xin.in: New.
2103 * 27_io/objects/char/2523-2_xin.cc: New.
2104 * 27_io/objects/char/2523-2_xin.in: New.
2105 * 27_io/objects/char/3045.cc: New.
2106 * 27_io/objects/char/3647.cc: New.
2107 * 27_io/objects/char/3_xin.cc: New.
2108 * 27_io/objects/char/3_xin.in: New.
2109 * 27_io/objects/char/4_xin.cc: New.
2110 * 27_io/objects/char/4_xin.in: New.
2111 * 27_io/objects/char/5268.cc: New.
2112 * 27_io/objects/char/5280_xin.cc: New.
2113 * 27_io/objects/char/5280_xin.in: New.
2114 * 27_io/objects/char/6548_xin.cc: New.
2115 * 27_io/objects/char/6548_xin.in: New.
2116 * 27_io/objects/char/6648-1_xin.cc: New.
2117 * 27_io/objects/char/6648-1_xin.in: New.
2118 * 27_io/objects/char/6648-2_xin.cc: New.
2119 * 27_io/objects/char/6648-2_xin.in: New.
2120 * 27_io/objects/char/7744_xin.cc: New.
2121 * 27_io/objects/char/7744_xin.in: New.
2122 * 27_io/objects/wchar_t/1.cc: New.
2123 * 27_io/types/1.cc: New.
2124 * 27_io/types/2.cc: New.
2125 * data/filebuf_members-1.tst: New.
2126 * data/filebuf_members-1.txt: New.
2127 * data/filebuf_virtuals-1.tst: New.
2128 * data/filebuf_virtuals-1.txt: New.
2129 * data/filebuf_virtuals-2.tst: New.
2130 * data/filebuf_virtuals-3.tst: New.
2131 * data/ifstream_members-1.tst: New.
2132 * data/ifstream_members-1.txt: New.
2133 * data/ios_base_members_static-1.tst: New.
2134 * data/istream_extractor_other-1.tst: New.
2135 * data/istream_extractor_other-1.txt: New.
2136 * data/istream_extractor_other-2.tst: New.
2137 * data/istream_seeks-1.tst: New.
2138 * data/istream_seeks-1.txt: New.
2139 * data/istream_seeks-2.tst: New.
2140 * data/istream_seeks-3.tst: New.
2141 * data/istream_unformatted-1.tst: New.
2142 * data/istream_unformatted-1.txt: New.
2143 * data/ofstream_members-1.tst: New.
2144 * data/ostream_inserter_char-1.tst: New.
2145 * data/ostream_inserter_char-1.txt: New.
2146 * data/ostream_inserter_other-1.tst: New.
2147 * data/ostream_inserter_other-2.tst: New.
2148 * data/ostream_seeks-1.tst: New.
2150 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2152 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
2153 requirement that __mode must be strict input or output.
2155 * include/std/std_streambuf.h (basic_streambuf::setp): Set
2158 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
2159 output string shouldn't core.
2160 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
2162 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
2164 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
2167 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
2169 * testsuite/data: New directory.
2170 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2171 to copy files from the testsuite data directory.
2172 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
2173 testfiles containing _xin, which now means this is an interactive
2174 test and should be run with the interactive dejagnu hooks.
2175 * testsuite/Makefile.am: Remove testsuite_* files.
2176 * testsuite/Makefile.in: Regenerate.
2178 2003-04-09 Zack Weinberg <zack@codesourcery.com>
2180 * docs/html/install.html: Document complete list of locales
2181 required by test suite. Document procedure for installing
2182 said locales under Debian. Solicit instructions for other
2185 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
2187 * include/bits/sstream.tcc (overflow): Make sure operands of min
2188 and max have the same type.
2190 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
2193 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
2196 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
2198 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
2199 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
2200 Don't set _M_out_end.
2201 (basic_filebuf::overflow): Replace _M_out_buf_size() with
2202 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
2203 * include/bits/sstream.tcc (basic_stringbuf::overflow):
2204 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
2205 * include/bits/streambuf.tcc (basic_streambuf::sputc):
2206 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
2207 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
2208 _M_out_end - _M_out_cur.
2209 (__copy_streambufs): Likewise.
2210 * include/std/std_fstream.h (_M_set_determinate): Set
2213 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
2215 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
2216 _M_convert_to_external, _M_really_overflow, seekoff): Fix
2217 test for synced buffer.
2218 * include/std/std_fstream.h (sync): Likewise.
2219 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2220 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
2222 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
2224 * include/std/std_sstream.h (basic_istringstream): Adjust
2226 (basic_ostringstream): Same.
2227 (basic_stringstream): Same.
2228 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
2229 (basic_ofstream): Same.
2230 (basic_fstream): Same.
2231 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
2232 that does not call init.
2233 * include/std/std_istream.h (basic_istream): Same.
2234 (basic_iostream): Construct istream, ostream uninitialized, use
2235 init to initialize just once. Add protected ctor that does not
2238 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
2239 Nathan Myers <ncm@cantrip.org>
2242 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
2244 (basic_filebuf<>::showmanyc): Use the information provided
2245 by codecvt and __basic_file<>::showmanyc_helper to implement
2246 a non-trivial showmanyc.
2247 * config/io/basic_file_stdio.h
2248 (__basic_file<>::showmanyc_helper): New, declare.
2249 * config/io/basic_file_stdio.cc
2250 (__basic_file<>::showmanyc_helper): Define.
2251 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
2252 (__basic_file<char>::open): Don't call fcntl().
2253 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
2254 GLIBCPP_CHECK_POLL): New macros.
2255 * configure.in: Call here.
2256 * acconfig.h: Add #undefs for the corresponding symbols.
2257 * aclocal.m4: Regenerate.
2258 * configure: Regenerate.
2259 * config.h.in: Regenerate.
2261 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
2263 * config/linker-map.gnu: Remove string export restrictions.
2265 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
2267 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
2268 find_first_of, find_last_of and find_last_not_of tests.
2269 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
2270 tests here, new file.
2271 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
2272 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
2273 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
2274 wchar_t find_first_of tests here, new file.
2275 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
2277 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
2279 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
2280 wchar_t find_last_of tests here.
2281 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
2282 wchar_t find_last_not_of tests here.
2284 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
2286 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
2287 Correct return value.
2289 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
2292 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
2293 * include/std/std_complex.h (norm): Use faster,
2294 less accurate computation for builtin float types under --fast-math.
2296 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
2298 * testsuite/testsuite_hooks.h: Fix warning nits.
2300 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
2302 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
2303 Only .set mips2 for the o32 ABI.
2305 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
2307 * testsuite/21_strings/char_traits/requirements/char/1.cc:
2308 Test char not wchar_t.
2310 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2312 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
2313 Correct size, taking into account sizeof(wchar_t).
2315 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2317 Reshuffle 21_strings testsuite.
2318 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
2319 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
2320 element_access.cc, operations.cc, char_traits_requirements.cc,
2321 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
2322 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
2323 wchar_t tests as follows.
2324 * 21_strings/basic_string/append/char/1.cc: New.
2325 * 21_strings/basic_string/append/wchar_t/1.cc: New.
2326 * 21_strings/basic_string/assign/char/1.cc: New.
2327 * 21_strings/basic_string/assign/char/2.cc: New.
2328 * 21_strings/basic_string/assign/char/3.cc: New.
2329 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
2330 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
2331 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
2332 * 21_strings/basic_string/capacity/1.cc: New.
2333 * 21_strings/basic_string/capacity/char/1.cc: New.
2334 * 21_strings/basic_string/capacity/char/2.cc: New.
2335 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
2336 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
2337 * 21_strings/basic_string/compare/char/1.cc: New.
2338 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
2339 * 21_strings/basic_string/cons/char/1.cc: New.
2340 * 21_strings/basic_string/cons/char/2.cc: New.
2341 * 21_strings/basic_string/cons/char/3.cc: New.
2342 * 21_strings/basic_string/cons/char/4.cc: New.
2343 * 21_strings/basic_string/cons/char/5.cc: New.
2344 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
2345 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
2346 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
2347 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
2348 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
2349 * 21_strings/basic_string/element_access/char/1.cc: New.
2350 * 21_strings/basic_string/element_access/char/2.cc: New.
2351 * 21_strings/basic_string/element_access/char/3.cc: New.
2352 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
2353 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
2354 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
2355 * 21_strings/basic_string/find/char/1.cc: New.
2356 * 21_strings/basic_string/find/wchar_t/1.cc: New.
2357 * 21_strings/basic_string/insert/char/1.cc: New.
2358 * 21_strings/basic_string/insert/char/2.cc: New.
2359 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
2360 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
2361 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
2362 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
2363 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
2364 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
2365 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
2366 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
2367 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
2368 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
2369 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
2370 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
2371 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
2372 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
2373 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
2374 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
2375 * 21_strings/basic_string/operators/char/1.cc: New.
2376 * 21_strings/basic_string/operators/char/2.cc: New.
2377 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
2378 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
2379 * 21_strings/basic_string/replace/char/1.cc: New.
2380 * 21_strings/basic_string/replace/char/2.cc: New.
2381 * 21_strings/basic_string/replace/char/3.cc: New.
2382 * 21_strings/basic_string/replace/char/4.cc: New.
2383 * 21_strings/basic_string/replace/char/5.cc: New.
2384 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
2385 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
2386 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
2387 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
2388 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
2389 * 21_strings/basic_string/rfind/char/1.cc: New.
2390 * 21_strings/basic_string/rfind/char/2.cc: New.
2391 * 21_strings/basic_string/rfind/char/3.cc: New.
2392 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
2393 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
2394 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
2395 * 21_strings/basic_string/substr/char/1.cc: New.
2396 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
2397 * 21_strings/c_strings/char/1.cc: New.
2398 * 21_strings/c_strings/char/2.cc: New.
2399 * 21_strings/c_strings/wchar_t/1.cc: New.
2400 * 21_strings/c_strings/wchar_t/2.cc: New.
2401 * 21_strings/char_traits/requirements/char/1.cc: New.
2402 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
2403 * 21_strings/char_traits/typedefs/char/1.cc: New.
2405 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
2406 Petur Runolfsson <peturr02@ru.is>
2409 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2410 basic_filebuf<wchar_t>::_M_underflow_common):
2411 if (gptr() < egptr()) return *gptr().
2412 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
2414 * testsuite/27_io/filebuf_members.cc (test_04): Minor
2415 changes: unlink fifo before making it, fix spelling error.
2417 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
2419 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
2420 * testsuite/Makefile.in: Regenerate.
2421 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
2424 2003-03-17 Petur Runolfsson <peturr02@ru.is>
2427 * include/bits/fstream.tcc (basic_filebuf::close):
2428 Always close file, even when write fails.
2429 * testsuite/27_io/filebuf_members.cc (test_07): New test.
2431 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
2433 * libsupc++/Makefile.am (C_COMPILE): Remove.
2434 (LTCOMPILE): Likewise.
2435 * libsupc++/Makefile.in: Regenerate.
2437 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2439 * testsuite/23_containers/bitset_members.cc: Add test variable.
2440 * testsuite/23_containers/map_insert.cc: Same.
2441 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
2442 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
2443 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
2444 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
2445 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
2446 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
2447 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
2448 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
2449 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
2450 * testsuite/27_io/istream_exception.cc: Same.
2451 * testsuite/27_io/filebuf_virtuals.cc: Same.
2452 * testsuite/27_io/stringbuf_virtuals.cc: Same.
2453 * testsuite/27_io/ostream_inserter_arith.cc: Same.
2454 * testsuite/26_numerics/valarray_operators.cc: Same.
2455 * testsuite/26_numerics/slice.cc: Same.
2456 * testsuite/26_numerics/slice_array_assignment.cc: Same.
2457 * testsuite/24_iterators/istream_iterator.cc: Same.
2458 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
2460 2003-03-14 Petur Runolfsson <peturr02@ru.is>
2464 * config/locale/generic/ctype_members.cc,
2465 * config/locale/gnu/ctype_members.cc
2466 (ctype<wchar_t>::do_widen(char)): Cast argument to
2467 unsigned char before passing to btowc.
2468 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
2469 Convert characters with btowc instead of mbsrtowcs.
2470 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
2472 Convert characters with wctob instead of wcsrtombs.
2473 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
2474 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
2475 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
2477 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2479 * include/stdc++.h: New.
2480 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
2481 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
2482 * include/Makefile.in: Regenerate.
2483 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
2484 (--cxxflags): Put -g -O2 here.
2485 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
2487 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
2489 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
2490 missing named locale.
2492 2003-03-14 Andreas Schwab <schwab@suse.de>
2494 * configure.in: Only append to makefiles that are newly created to
2495 avoid multiple multi-do/multi-clean rules.
2496 * configure: Rebuilt.
2498 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
2500 * docs/html/configopts.html, docs/html/documentation.html,
2501 docs/html/explanations.html, docs/html/install.html,
2502 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
2503 invalid XHTML and make page header style consistent.
2505 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
2507 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
2508 * docs/html/faq/index.txt: Regenerate.
2509 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
2511 2003-03-12 Andreas Schwab <schwab@suse.de>
2513 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2514 glibcpp_toolexeclibdir.
2515 * aclocal.m4, configure: Rebuilt.
2517 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
2519 * docs/html/faq/index.html: Update text about location of headers.
2520 * docs/html/faq/index.txt: Regenerate.
2522 2003-03-11 Carlo Wood <carlo@alinoe.com>
2524 * include/bits/demangle.h: Prepend accessors of
2525 class qualifier with 'get_' in order to fix warnings
2526 when compiling with -Wshadow.
2528 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
2530 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
2532 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
2534 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
2535 report lack of setenv().
2537 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2539 * config/io/basic_file_stdio.cc: include <unistd.h>.
2541 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2542 Nathan Myers <ncm@cantrip.org>
2545 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
2546 seekoff, seekpos): Add a boolean parameter __stdio.
2547 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
2548 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
2549 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
2551 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
2552 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
2553 * include/std/std_fstream.h (sync): Likewise.
2554 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
2555 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
2556 libstdc++/8399 commit involving isatty(0).
2557 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
2558 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
2559 * configure.in: Remove call.
2560 * aclocal.m4: Regenerate.
2561 * config.h.in: Regenerate.
2562 * configure: Regenerate.
2563 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
2565 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2568 * include/bits/fstream.tcc (overflow): don't write EOF to file.
2569 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
2571 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2574 * include/bits/basic_ios.h (_M_setstate): New.
2575 * include/bits/ostream.tcc (operator<<): Use it.
2576 * include/bits/istream.tcc (operator>>): Use it.
2577 * include/std/std_ostream.h (operator<<): Make friends.
2578 * include/std/std_istream.h (operator>>): Make friends.
2579 * testsuite/27_io/ostream_exception.cc,
2580 testsuite/27_io/istream_exception.cc: New tests.
2582 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
2584 * include/bits/locale_facets.tcc: Fix typo.
2586 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
2588 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
2590 * config/locale/generic/c_locale.cc
2591 (locale::facet::_S_create_c_locale): Throw runtime exception when
2592 unsupported language is specified.
2593 * testsuite/testsuite_hooks.h
2594 (run_test_wrapped_generic_locale_exception_catcher): New function.
2595 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
2596 Suppress runtime exception thrown by generic implementation.
2597 (run_tests_wrapped_env): Likewise.
2598 (run_test_wrapped_generic_locale_exception_catcher): New function.
2599 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
2600 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
2601 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
2602 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
2603 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
2604 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
2605 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
2606 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
2607 * testsuite/22_locale/facet/2.cc: New test wrap.
2608 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
2609 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
2610 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
2611 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
2612 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
2613 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
2614 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
2615 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
2616 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
2617 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
2618 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
2619 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
2620 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
2621 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
2622 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
2623 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
2624 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
2625 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
2626 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
2627 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
2628 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
2629 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
2630 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
2631 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
2632 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
2633 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
2634 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
2635 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
2636 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
2637 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
2638 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
2639 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
2640 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
2641 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
2642 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
2643 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
2644 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
2645 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
2646 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
2647 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
2648 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
2649 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
2650 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
2651 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
2652 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
2653 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
2654 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
2655 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
2656 * testsuite/27_io/ios_members.cc: New test wrap.
2657 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
2659 * testsuite/27_io/streambuf_members.cc: New test wrap.
2660 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
2662 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
2663 Petur Runolfsson <peturr02@ru.is>
2666 * include/bits/streambuf.tcc (__copy_streambufs): Use
2667 sgetn-sputn only when sputn cannot fail, otherwise fall back
2668 to safe snextc-sputc.
2669 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
2671 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2673 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
2674 locale cache for truename and falsename.
2676 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2678 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
2679 _M_word_size initialization.
2681 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2683 * include/bits/fstream.tcc (_M_convert_to_external):
2684 Set __elen to zero if codecvt::out eventually fails.
2686 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2689 * include/bits/fstream.tcc (_M_really_overflow): Check
2690 for _M_convert_to_external possible failures.
2691 * include/std/std_fstream.h (sync): Check _M_really_overflow
2692 return value and return -1 in case of failure.
2693 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
2695 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2698 * include/bits/istream.tcc (operator>>(_CharT*),
2699 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
2700 * testsuite/27_io/stringstream.cc (test02): Add.
2702 * include/bits/istream.tcc (operator>>(_CharT*)):
2703 Assign a char_type to *__s.
2705 2003-03-07 Petur Runolfsson <peturr02@ru.is>
2708 * include/bits/locale_facets.tcc
2709 (collate::do_compare, collate::do_transform):
2710 Handle nul characters in input.
2711 * testsuite/22_locale/collate/compare/char/3.cc: New test.
2712 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
2713 * testsuite/22_locale/collate/transform/char/3.cc: New test.
2714 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
2716 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
2718 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
2720 * testsuite/27_io/ostream_fail.cc: New test.
2722 2003-03-07 Matthias Klose <doko@debian.org>
2724 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
2725 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
2726 * Makefile.in: Regenerate.
2727 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
2729 AM_MAKEFLAGS: Pass gxx_include_dir.
2730 * libsupc++/Makefile.in: Regenerate.
2732 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
2734 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
2735 mask. Test setting small-numbered pword and iword slots. Test
2736 behavior at limit of numeric_limits::max. Check that values are
2737 still good after failures.
2739 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
2741 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
2742 (ios_base::ios_base): Set _M_word, _M_word_size.
2743 (ios_base::~ios_base): Remove redundant test.
2744 * testsuite/27_io/ios_base_storage.cc (test03): New.
2746 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
2748 * src/strstream.cc, include/bits/basic_string.tcc: Remove
2749 incorrect whitespace added in my previous change.
2751 2003-03-05 Carlo Wood <carlo@alinoe.com>
2753 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
2754 _S_initialized() in order to allow debugging libraries to detect
2755 when the std streams are initialized from an overloaded operator
2758 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
2760 * libsupc++/demangle.h: Move to..
2761 * include/bits/demangle.h: ...here.
2762 * src/demangle.cc: Adjust include.
2763 * include/Makefile.am (bits_headers): Add.
2764 * include/Makefile.in: Regenerate.
2766 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
2768 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
2770 * config/linker-map.gnu: Filter typeinfo and vtable info.
2772 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
2774 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
2775 new failure. Throw exception if badbit and exception mask when ix
2776 >= numeric_limits<int>::max().
2778 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
2780 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
2781 min and max have the same type.
2782 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
2784 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
2786 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
2787 * include/Makefile.in: Regenerate.
2789 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
2791 * testsuite/abi_check.cc (report_symbol_info): Add version info.
2793 * config/linker-map.gnu: Hide more stuff.
2794 * include/Makefile.am: Cleanups.
2795 * include/Makefile.in: Regenerate.
2797 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
2799 * config/locale/generic/messages_members.h (messages::messages):
2800 Remove name from unused parameter.
2802 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
2804 * src/Makefile.am (sources): Add demangle.cc.
2807 * src/Makefile.in: Regenerate.
2808 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
2809 * libsupc++/Makefile.in: Regenerate.
2811 * testsuite/testsuite_hooks.h
2812 (__gnu_cxx_test::verify_demangle): New.
2813 * testsuite/testsuite_hooks.cc: Define.
2815 2003-02-27 Carlo Wood <carlo@alinoe.com>
2817 * src/demangle.cc: New.
2818 * libsupc++/demangle.h: New.
2820 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
2821 Carlo Wood <carlo@alinoe.com>
2823 * testsuite/demangle/abi_examples/01.cc: New.
2824 * testsuite/demangle/abi_examples/02.cc: New.
2825 * testsuite/demangle/abi_examples/03.cc: New.
2826 * testsuite/demangle/abi_examples/04.cc: New.
2827 * testsuite/demangle/abi_examples/05.cc: New.
2828 * testsuite/demangle/abi_examples/06.cc: New.
2829 * testsuite/demangle/abi_examples/07.cc: New.
2830 * testsuite/demangle/abi_examples/08.cc: New.
2831 * testsuite/demangle/abi_examples/09.cc: New.
2832 * testsuite/demangle/abi_examples/10.cc: New.
2833 * testsuite/demangle/abi_examples/11.cc: New.
2834 * testsuite/demangle/abi_examples/12.cc: New.
2835 * testsuite/demangle/abi_examples/13.cc: New.
2836 * testsuite/demangle/abi_examples/14.cc: New.
2837 * testsuite/demangle/abi_examples/15.cc: New.
2838 * testsuite/demangle/abi_examples/16.cc: New.
2839 * testsuite/demangle/abi_examples/17.cc: New.
2840 * testsuite/demangle/abi_examples/18.cc: New.
2841 * testsuite/demangle/abi_examples/19.cc: New.
2842 * testsuite/demangle/abi_examples/20.cc: New.
2843 * testsuite/demangle/abi_examples/21.cc: New.
2844 * testsuite/demangle/abi_examples/22.cc: New.
2845 * testsuite/demangle/abi_examples/23.cc: New.
2846 * testsuite/demangle/abi_examples/24.cc: New.
2847 * testsuite/demangle/abi_examples/25.cc: New.
2848 * testsuite/demangle/abi_examples/26.cc: New.
2849 * testsuite/demangle/abi_text/01.cc: New.
2850 * testsuite/demangle/abi_text/02.cc: New.
2851 * testsuite/demangle/abi_text/03.cc: New.
2852 * testsuite/demangle/abi_text/04.cc: New.
2853 * testsuite/demangle/abi_text/05.cc: New.
2854 * testsuite/demangle/abi_text/06.cc: New.
2855 * testsuite/demangle/abi_text/07.cc: New.
2856 * testsuite/demangle/abi_text/08.cc: New.
2857 * testsuite/demangle/abi_text/09.cc: New.
2858 * testsuite/demangle/abi_text/10.cc: New.
2859 * testsuite/demangle/abi_text/11.cc: New.
2860 * testsuite/demangle/abi_text/12.cc: New.
2861 * testsuite/demangle/abi_text/13.cc: New.
2862 * testsuite/demangle/abi_text/14.cc: New.
2863 * testsuite/demangle/regression/3111-1.cc: New.
2864 * testsuite/demangle/regression/3111-2.cc: New.
2865 * testsuite/demangle/regression/7986-01.cc: New.
2866 * testsuite/demangle/regression/7986-02.cc: New.
2867 * testsuite/demangle/regression/7986-03.cc: New.
2868 * testsuite/demangle/regression/7986-04.cc: New.
2869 * testsuite/demangle/regression/7986-05.cc: New.
2870 * testsuite/demangle/regression/7986-06.cc: New.
2871 * testsuite/demangle/regression/7986-07.cc: New.
2872 * testsuite/demangle/regression/7986-08.cc: New.
2873 * testsuite/demangle/regression/7986-09.cc: New.
2874 * testsuite/demangle/regression/7986-10.cc: New.
2875 * testsuite/demangle/regression/7986-11.cc: New.
2876 * testsuite/demangle/regression/7986-12.cc: New.
2877 * testsuite/demangle/regression/7986.cc: New.
2878 * testsuite/demangle/regression/8897.cc: New.
2879 * testsuite/demangle/regression/cw-01.cc: New.
2880 * testsuite/demangle/regression/cw-02.cc: New.
2881 * testsuite/demangle/regression/cw-03.cc: New.
2882 * testsuite/demangle/regression/cw-04.cc: New.
2883 * testsuite/demangle/regression/cw-05.cc: New.
2884 * testsuite/demangle/regression/cw-06.cc: New.
2885 * testsuite/demangle/regression/cw-07.cc: New.
2886 * testsuite/demangle/regression/cw-08.cc: New.
2887 * testsuite/demangle/regression/cw-09.cc: New.
2888 * testsuite/demangle/regression/cw-10.cc: New.
2889 * testsuite/demangle/regression/cw-11.cc: New.
2890 * testsuite/demangle/regression/cw-12.cc: New.
2891 * testsuite/demangle/regression/cw-13.cc: New.
2892 * testsuite/demangle/regression/cw-14.cc: New.
2893 * testsuite/demangle/regression/old.cc: New.
2895 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
2897 * docs/doxygen/Intro.3: Update with new (proper) names.
2898 * docs/doxygen/TODO: Update.
2899 * docs/doxygen/run_doxygen: More comments, fix up man pages.
2900 Fake entries for standard typedefs.
2901 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
2902 * docs/html/documentation.html: Top-level man page is now called
2904 * include/std/std_limits.h: Doxygenate.
2906 2003-02-25 Scott Snyder <snyder@fnal.gov>
2909 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
2910 Correct documentation.
2911 * include/bits/stl_multimap.h (lower_bound, upper_bound,
2912 equal_range): Likewise.
2914 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2918 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
2919 __bump is true (uflow), always increment the read pointer
2920 (_M_in_cur) before returning successfully.
2921 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
2923 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2924 Nathan Myers <ncm@cantrip.org>
2926 PR libstdc++/9404, PR libstdc++/9701 (partial)
2927 (aka pptr == epptr implies overflow)
2928 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
2929 Consistently, _M_out_end points to the end of the buffer just
2931 (overflow): Tweak to use _M_out_buf_size().
2932 (_M_convert_to_external): The role of the old _M_out_end is
2933 now played by _M_out_lim.
2934 (_M_really_overflow): Likewise.
2935 (seekoff): Likewise.
2936 (setbuf): _M_out_end points to the end of the external buffer.
2937 * include/bits/sstream.tcc (overflow): Rewrote, taking into
2938 account the resolution of DR 169 (TC).
2939 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
2940 (seekpos): Use _M_string.capacity(); tweak.
2941 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
2942 * include/std/std_fstream.h (sync): The role of the old
2943 _M_out_end is now played by _M_out_lim.
2944 (_M_set_indeterminate): Use _M_set_determinate.
2945 (_M_set_determinate): _M_out_end is now _M_out_lim.
2946 (_M_is_indeterminate): Likewise.
2947 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
2948 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
2949 which have the information readily available as _M_string.capacity();
2950 for ate and app modes, pass the string size to _M_really_sync.
2951 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
2952 point to the end of the buffer (i.e., epptr) and to the string end,
2954 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
2955 which points to the right limit of the used put area.
2956 (_M_out_cur_move): The role of the old _M_out_end is now played
2958 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
2959 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
2961 (basic_streambuf()): Initialize _M_out_lim too.
2962 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
2963 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
2964 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
2966 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
2968 * testsuite/27_io/ios_base_storage.cc (main): Call
2971 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
2973 * include/bits/locale_facets.tcc (_M_convert_float): Replace
2974 numpunct facet accesses with data from __locale_cache.
2976 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2978 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
2979 * docs/html/faq/index.txt: Regenerate.
2981 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2983 * config/linker-map.gnu: Also export locking symbols needed for the
2984 generic atomicity.h case.
2986 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2988 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2990 * configure: Rebuilt.
2992 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
2994 * include/bits/sstream.tcc (overflow): According to
2995 27.7.1.3, p5, actual output is performed by sputc(c).
2997 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
3000 * include/bits/stl_alloc.h: Remove all traces of assert().
3002 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
3004 * include/std/std_sstream.h (str()): the size of the
3005 current string may be different from the initial one
3006 whenever _M_out_end > _M_out_beg.
3007 * testsuite/27_io/stringbuf_members.cc (test07): Add.
3009 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
3012 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
3014 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
3016 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
3017 * testsuite/27_io/ios_members.cc (test03): New.
3019 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
3021 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
3022 (basic_ios::_M_cache_facets): Move into above.
3023 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
3025 (basic_ios::imbue): Force locale cache to be built.
3026 (basic_ios::_M_init): Create and initialize locale cache.
3027 * include/bits/ios_base.h (__locale_cache_base): Declare.
3028 (ios_base::_M_locale_cache): New.
3029 (ios_base::_M_cache): Define.
3030 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
3032 (__locale_cache_base,__locale_cache<_CharT>): New classes.
3033 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
3034 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
3035 cache literal string, grouping flag, thousands separator.
3036 (__locale_cache<_CharT>::__locale_cache): New.
3037 (__locale_cache<_CharT>::_M_init): New.
3038 * src/ios.cc: Clear _M_locale_cache in constructor.
3039 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
3042 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3044 * src/locale-inst.cc: Do not include <cassert>.
3045 * src/locale.cc: Likewise.
3047 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3050 * include/std/std_fstream.h: Declare underflow and uflow
3051 specializations, change generic definitions to do nothing.
3052 * src/fstream.cc: Add underflow and uflow specializations.
3054 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
3057 * include/bits/fstream.tcc (_M_convert_to_external):
3058 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
3059 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
3061 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
3063 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
3064 * include/bits/basic_ios.tcc: Guard use of extern template.
3065 * include/std/std_iomanip.h: Same.
3066 * include/bits/streambuf.tcc: Same.
3067 * include/bits/stl_alloc.h: Same.
3068 * include/bits/locale_facets.tcc: Same.
3069 * include/bits/ostream.tcc: Same.
3070 * include/bits/istream.tcc: Same.
3071 * include/bits/fstream.tcc: Same.
3072 * include/bits/basic_string.tcc: Same.
3074 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
3076 * include/bits/ostream.tcc (sentry::sentry): Improve
3077 performance-wise the fix for libstdc++/9563.
3079 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
3081 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
3082 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
3083 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
3084 when we don't have static mutex initialization.
3085 (__exchange_and_add): Use _Atomic_add_mutex_once.
3086 * src/misc-inst.cc: Definitions of all the above.
3088 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
3091 * include/bits/ostream.tcc (sentry::sentry): Check
3092 the state of the stream after the preparation.
3093 * testsuite/27_io/ostream_sentry.cc (test02): Add.
3095 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
3097 * include/Makefile.am (stamp-std-precompile): Add rule.
3098 * include/Makefile.in: Regenerated.
3100 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
3101 Benjamin Kosnik <benjamin@redhat.com>
3103 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
3104 Add indexes into this array.
3105 (__num_base::_S_atoms): To _S_atoms_in.
3106 (num_put::_M_insert): Rename to _M_pad.
3107 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
3108 (num_put::_M_widen_int): Rename to _M_group_int.
3109 (num_put::_M_widen_float): Rename to _M_group_float.
3110 * include/bits/locale_facets.tcc (__int_to_char): New inline
3111 function and adapter functions.
3112 (num_put::_M_group_int): Streamline.
3113 (num_put::_M_group_float): Streamline.
3114 (num_put::_M_convert_int): Remove unused parameter names. Choose
3115 large enough buffer for text. Use __int_to_char instead of
3116 __convert_from_v. Formatted text is now at the end of the buffer.
3117 (num_put::_M_convert_float): Preliminary fixups.
3118 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
3119 (__int_to_char<unsigned long long>): Same.
3120 (__int_to_char<char, unsigned long>): New.
3121 (__int_to_char<char, unsigned long long>): New.
3122 (__int_to_char<wchar_t, unsigned long>): New.
3123 (__int_to_char<wchar_t, unsigned long long>): New.
3125 2003-02-11 Scott Snyder <snyder@fnal.gov>
3128 * include/bits/fstream.tcc (seekoff): Avoid operator+
3131 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
3134 * include/ext/stdio_filebuf.h
3135 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
3136 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
3137 Change to take a __size parameter of type size_t, not
3138 of type (template parameter dependent) int_type.
3139 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
3140 size vars to size_t.
3141 * testsuite/ext/stdio_filebuf.cc: Add.
3143 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
3144 Petur Runolfsson <peturr02@ru.is>
3147 * include/bits/streambuf.tcc (__copy_streambufs):
3148 Don't conditionalize the copy to __testput.
3149 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
3151 2002-02-11 DJ Delorie <dj@redhat.com>
3153 * acinclude.m4: Check for native targets that can't link at
3154 this point in the build.
3155 * aclocal.m4: Regenerate.
3156 * configure: Regenerate.
3158 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3160 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
3162 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
3165 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
3167 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
3168 unsigned char platforms.
3170 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
3173 * include/std/std_istream.h
3174 (basic_istream::sentry::operator bool()): Make const.
3175 * include/std/std_ostream.h
3176 (basic_ostream::sentry::operator bool()): Likewise.
3177 * testsuite/27_io/istream_sentry.cc (test03): Add.
3178 * testsuite/27_io/ostream_sentry.cc: Add.
3180 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
3183 Implement resolution of DR 231 (Ready)
3184 * include/bits/locale_facets.h (__num_base::_S_format_float):
3185 Change declaration: return void, remove __prec parameter.
3186 * src/locale.cc (__num_base::_S_format_float): Implement
3187 resolution of DR 231.
3188 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
3189 Tweak uses. Check for negative precision.
3190 * testsuite/22_locale/num_put/put/char/6.cc: Add
3191 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
3193 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
3195 * config/io/basic_file_libio.h: Fixups.
3196 * config/io/c_io_libio.h: Same.
3197 * libio/Makefile.am: Same.
3198 * libio/Makefile.in: Regenerated.
3200 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
3202 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
3203 Explicitly use the "C" locale.
3204 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
3206 2003-02-06 Petur Runolfsson <peturr02@ru.is>
3210 PR libstdc++/9028 (partial)
3216 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
3217 codecvt<wchar_t, char, mbstate_t>::do_length,
3218 codecvt<wchar_t, char, mbstate_t>::do_max_length):
3220 * config/locale/generic/codecvt_members.cc: ...here.
3221 * config/locale/gnu/codecvt_members.cc: ...and here.
3223 * config/locale/generic/codecvt_members.cc,
3224 * config/locale/gnu/codecvt_members.cc
3225 (codecvt<wchar_t, char, mbstate_t>::do_encoding
3226 codecvt<wchar_t, char, mbstate_t>::do_in,
3227 codecvt<wchar_t, char, mbstate_t>::do_length,
3228 codecvt<wchar_t, char, mbstate_t>::do_max_length,
3229 codecvt<wchar_t, char, mbstate_t>::do_out):
3230 New implementation that handles stateless encodings,
3233 * config/locale/generic/codecvt_members.cc,
3234 * config/locale/gnu/codecvt_members.cc,
3235 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
3236 * include/bits/codecvt.h,
3238 (codecvt::length, codecvt::do_length):
3239 Change type of first argument of length and do_length from
3240 'const state_type&' to 'state_type&' according to DR 75.
3242 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
3243 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
3244 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
3245 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
3246 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
3247 Cleanup and check for correct return value from encoding
3249 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
3250 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
3251 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
3252 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
3253 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
3254 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
3255 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
3256 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
3257 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
3258 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
3259 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
3260 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
3261 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
3262 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
3263 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
3264 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
3265 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
3266 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
3267 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
3268 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
3269 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
3270 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
3271 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
3272 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
3273 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
3274 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
3275 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
3276 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
3277 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
3278 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
3279 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
3280 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
3281 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
3282 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
3283 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
3284 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
3285 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
3287 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
3289 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
3290 (money_put::do_put): Same.
3292 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
3294 * include/bits/ios_base.h (ios_base): Document reserved storage.
3296 * include/bits/locale_facets.h: (struct __pad): Comment on
3298 (__verify_grouping): Same.
3299 (__add_grouping): Same.
3300 * include/bits/locale_facets.tcc (__verify_grouping): Move
3301 comments to declaration.
3302 (__add_grouping): Same.
3304 * include/bits/locale_facets.tcc:
3305 (__write<_CharT, _OutIter>): New function.
3306 (__write<_CharT>): New function specialization.
3307 (num_put::_M_insert): Remove explicit loop over iterator. Use
3309 (num_put::_M_widen_float): Remove __basefield.
3310 (num_put::_M_widen_int): Move __basefield to within grouping block.
3312 * include/bits/streambuf_iterator.h: Include <streambuf>.
3313 (ostreambuf_iterator::_M_put): Add.
3315 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
3317 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
3319 2003-02-04 Nathan Myers <ncm@cantrip.org>
3321 * testsuite/25_algorithms/min_max.cc (test02): Add.
3323 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3325 PR libstdc++/9439, PR libstdc++/9425
3326 * config/io/basic_file_stdio.cc
3327 (__basic_file<char>::seekoff, seekpos): Return -1L if
3329 * include/bits/fstream.tcc (basic_filebuf::seekoff):
3330 Check _M_file.seekoff return value; always return
3331 pos_type(off_type(-1)) in case of failure.
3332 (basic_filebuf::pbackfail): Check this->seekoff return
3333 value and return traits_type::eof() in case of failure.
3334 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
3336 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
3338 * include/std/std_ostream.h (ostream::_M_write): Declare.
3339 * ostream.tcc (ostream::_M_write): Define.
3340 (basic_ostream::write): Use it.
3341 (operator<<(basic_ostream, _CharT)): Ditto.
3342 (operator<<(basic_ostream, char)): Ditto.
3343 (operator<<(basic_ostream, _CharT*)): Ditto.
3344 (operator<<(basic_ostream, char*)): Ditto.
3345 (operator<<(basic_ostream, basic_string)): Ditto.
3347 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
3349 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
3351 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3353 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
3354 add HTML comment about updating links if numbering changes.
3356 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3359 * include/bits/streambuf.tcc (sputbackc): Access
3360 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
3361 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3363 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3366 * include/bits/fstream.tcc (open): If the 'ate' repositioning
3367 operation fails, calls close _and_ returns a null pointer
3368 to indicate failure (27.8.1.3,4).
3369 * testsuite/27_io/filebuf_members.cc (test_06): Add.
3371 2003-02-04 Petur Runolfsson <peturr02@ru.is>
3373 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
3375 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3377 * docs/html/27_io/howto.html: New section on stdio_filebuf.
3378 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
3379 * docs/html/documentation.html: Regenerate.
3381 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3383 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
3384 * docs/html/17_intro/porting.html: Regenerate.
3386 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3387 Phil Edwards <pme@gcc.gnu.org>
3389 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
3390 numeric_limits for bits-per-word values.
3391 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
3392 Use __builtin_popcountl instead.
3393 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
3394 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
3395 Use __builtin_ctzl instead.
3396 (_S_bit_count, _S_first_one): Remove.
3397 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
3398 * src/Makefile.am (sources): Remove bitset.cc.
3399 * src/bitset.cc: Delete file.
3400 * src/Makefile.in: Regenerate.
3402 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
3404 PR libstdc++/9527, PR libstdc++/8713
3405 * docs/html/install.html: Mention glibc version requirement.
3406 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
3407 with 3.2.1+ (formatting bugfixes).
3408 * docs/html/faq/index.txt: Regenerate.
3410 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3413 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
3416 * include/bits/valarray_before.h (__not_equal_to): Use != instead
3419 * testsuite/26_numerics/valarray_operators.cc: New test.
3421 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
3423 * docs/html/faq/index.html: Correct link to libg++ information.
3424 * docs/html/faq/index.txt: Regenerated.
3426 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
3427 Benjamin Kosnik <bkoz@redhat.com>
3429 Const correctness issue:
3430 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
3431 * include/bits/locale_classes.h
3432 (locale::_Impl::_M_facets): Change type to const facet**.
3433 (locale::_Impl::_M_install_facet): Change declaration to
3435 (locale::facet::_M_references): Make mutable.
3436 (locale::facet::_M_add_reference): Declare const.
3437 (locale::facet::_M_remove_reference): Likewise.
3438 * include/bits/locale_facets.tcc
3439 (use_facet(const locale&)): Tweak for const facet** _M_facets.
3440 (has_facet(const locale&)): Likewise.
3442 (locale::facet::_M_add_reference): Adjust definition.
3443 (locale::facet::_M_remove_reference): Likewise.
3445 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
3446 const facet** _M_facets.
3447 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
3448 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
3449 (locale::_Impl::_M_install_facet): Adjust definition to take
3450 const facet* and for const facet** _M_facets.
3451 * testsuite/22_locale/locale/cons/8.cc: Add.
3453 2003-01-29 Mark Mitchell <mark@codesourcery.com>
3455 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
3456 Use __FLT_HAS_INIFINITY__ to initialize.
3457 (numeric_limits<float>::has_quiet_NaN): Likewise.
3458 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
3460 (numeric_limits<double>::has_quiet_NaN): Likewise.
3461 (numeric_limits<long double>::has_infinity): Use
3462 __LDBL_HAS_INIFINITY__ to initialize.
3463 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
3465 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
3468 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
3469 with bases which are very ambiguous.
3471 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3473 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
3474 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
3475 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
3476 * src/Makefile.in: Regenerate.
3477 * libsupc++/Makefile.in: Regenerate.
3479 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
3481 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
3482 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
3483 version_specific_libs is enabled.
3484 * aclocal.m4, configure: Rebuilt.
3486 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
3488 * include/bits/valarray_meta.h: Remove, split into ...
3489 * include/bits/valarray_before.h: ... this, and ...
3490 * include/bits/valarray_after.h: ... this.
3491 * include/std/std_valarray.h: Adjust.
3492 * include/Makefile.am (bits_headers): Adjust.
3493 * include/Makefile.in: Regenerate.
3495 2003-01-24 Andreas Schwab <schwab@suse.de>
3497 * config/linker-map.gnu: Fix for size_t variance.
3499 2003-01-23 Petur Runolfsson <peturr02@ru.is>
3502 * include/std/std_streambuf.h
3503 (basic_streambuf::basic_streambuf,
3504 basic_streambuf::~basic_streambuf,
3505 basic_streambuf::getloc, basic_streambuf::imbue):
3506 Remove _M_buf_locale_init
3507 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
3508 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3509 * testsuite/27_io/streambuf_members.cc (test08): Add.
3510 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
3512 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3514 Revert include ordering.
3515 * config/locale/generic/c_locale.h: Add include guards.
3516 * config/locale/gnu/c_locale.h: Same.
3517 * include/bits/locale_classes.h: Remove cctype include.
3518 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
3519 * include/std/std_fstream.h: Remove streambuf include.
3520 * include/std/std_sstream.h: Remove streambuf include.
3522 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3524 * configure.in (libtool_VERSION): To 6:0:0.
3525 * configure: Regenerated.
3526 * config/linker-map.gnu: Clean.
3528 * src/misc-inst.cc: Remove instantiations.
3530 * include/bits/stl_alloc.h (__malloc_alloc_template):
3532 (__default_alloc_template): To __pool_alloc.
3533 * src/stl-inst.cc: Same.
3534 * include/backward/alloc.h: Update.
3535 * testsuite/ext/allocators.cc: Update.
3537 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
3538 really try to remove these if possible.
3539 * src/locale.cc (std): Same.
3541 * testsuite/abi_check.cc (check_version): Add.
3543 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3544 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
3545 Mark Mitchell <mark@codesourcery.com>
3548 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
3549 (basic_filebuf::underflow): Declare.
3552 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3554 * include/bits/locale_facets.h: Move non-facet classes requiring
3556 * include/bits/locale_classes.h: New.
3557 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
3558 * include/bits/Makefile.in: Regenerate.
3560 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
3561 * config/locale/gnu/c_locale.h: ...here.
3562 * config/locale/generic/c_locale.h: Same.
3564 * include/bits/locale_facets.tcc: Move declarations to...
3565 * include/bits/locale_facets.h: ...here.
3566 * include/bits/basic_ios.h: Tweak includes accordingly.
3567 * include/std/std_sstream.h: Add streambuf include.
3568 * include/std/std_fstream.h: Ditto.
3569 * include/std/std_locale.h: Add locale_classes.h include.
3570 * include/std/std_iosfwd.h: Tweak.
3571 * src/concept-inst.cc: Add iterator include.
3573 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
3574 bits as unexported in the future.
3576 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
3578 Reshuffle 22_locale testsuite.
3579 * 22_locale/(codecvt.cc money_get.cc
3580 codecvt_members_char_char.cc money_get_members_char.cc
3581 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
3582 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
3583 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
3584 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
3585 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
3586 money_put_members_char.cc ctor_copy_dtor.cc
3587 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
3588 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
3589 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
3590 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
3591 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
3592 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
3593 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
3594 operators.cc ctype_widen_char.cc static_members.cc
3595 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
3596 global_templates.cc time_get_members_wchar_t.cc, members.cc,
3597 time_put.cc, messages_byname.cc, time_put_members_char.cc,
3598 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
3599 Split up into individual test cases...
3600 * 22_locale/codecvt/1.cc: New.
3601 * 22_locale/codecvt/2.cc: New.
3602 * 22_locale/codecvt/always_noconv/char/1.cc: New.
3603 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
3604 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
3605 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
3606 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
3607 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
3608 * 22_locale/codecvt/encoding/char/1.cc: New.
3609 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
3610 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
3611 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
3612 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
3613 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
3614 * 22_locale/codecvt/in/char/1.cc: New.
3615 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
3616 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
3617 * 22_locale/codecvt/in/wchar_t/1.cc: New.
3618 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
3619 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
3620 * 22_locale/codecvt/length/char/1.cc: New.
3621 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
3622 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
3623 * 22_locale/codecvt/length/wchar_t/1.cc: New.
3624 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
3625 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
3626 * 22_locale/codecvt/max_length/char/1.cc: New.
3627 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
3628 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
3629 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
3630 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
3631 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
3632 * 22_locale/codecvt/out/char/1.cc: New.
3633 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
3634 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
3635 * 22_locale/codecvt/out/wchar_t/1.cc: New.
3636 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
3637 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
3638 * 22_locale/codecvt/unicode/char.cc: New.
3639 * 22_locale/codecvt/unicode/wchar_t.cc: New.
3640 * 22_locale/codecvt/unshift/char/1.cc: New.
3641 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
3642 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
3643 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
3644 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
3645 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
3646 * 22_locale/collate/1.cc: New.
3647 * 22_locale/collate/2.cc: New.
3648 * 22_locale/collate/compare/char/1.cc: New.
3649 * 22_locale/collate/compare/char/2.cc: New.
3650 * 22_locale/collate/compare/char/wrapped_env.cc: New.
3651 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
3652 * 22_locale/collate/compare/wchar_t/1.cc: New.
3653 * 22_locale/collate/compare/wchar_t/2.cc: New.
3654 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
3655 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
3656 * 22_locale/collate/hash/char/1.cc: New.
3657 * 22_locale/collate/hash/char/2.cc: New.
3658 * 22_locale/collate/hash/char/wrapped_env.cc: New.
3659 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
3660 * 22_locale/collate/hash/wchar_t/1.cc: New.
3661 * 22_locale/collate/hash/wchar_t/2.cc: New.
3662 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
3663 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
3664 * 22_locale/collate/transform/char/2.cc: New.
3665 * 22_locale/collate/transform/char/wrapped_env.cc: New.
3666 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
3667 * 22_locale/collate/transform/wchar_t/2.cc: New.
3668 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
3669 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
3670 * 22_locale/collate_byname/1.cc: New.
3671 * 22_locale/ctype/1.cc: New.
3672 * 22_locale/ctype/2.cc: New.
3673 * 22_locale/ctype/cons/char/1.cc: New.
3674 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
3675 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
3676 * 22_locale/ctype/is/char/1.cc: New.
3677 * 22_locale/ctype/is/char/2.cc: New.
3678 * 22_locale/ctype/is/char/3.cc: New.
3679 * 22_locale/ctype/is/char/wrapped_env.cc: New.
3680 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
3681 * 22_locale/ctype/is/wchar_t/1.cc: New.
3682 * 22_locale/ctype/is/wchar_t/2.cc: New.
3683 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
3684 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
3685 * 22_locale/ctype/narrow/char/1.cc: New.
3686 * 22_locale/ctype/narrow/char/2.cc: New.
3687 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
3688 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
3689 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
3690 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
3691 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
3692 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
3693 * 22_locale/ctype/scan/char/1.cc: New.
3694 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
3695 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
3696 * 22_locale/ctype/scan/wchar_t/1.cc: New.
3697 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
3698 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
3699 * 22_locale/ctype/to/char/1.cc: New.
3700 * 22_locale/ctype/to/char/wrapped_env.cc: New.
3701 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
3702 * 22_locale/ctype/to/wchar_t/1.cc: New.
3703 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
3704 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
3705 * 22_locale/ctype/widen/char/1.cc: New.
3706 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
3707 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
3708 * 22_locale/ctype/widen/wchar_t/1.cc: New.
3709 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
3710 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
3711 * 22_locale/facet/1.cc: New.
3712 * 22_locale/facet/2.cc: New.
3713 * 22_locale/global_templates/1.cc: New.
3714 * 22_locale/locale/cons/1.cc: New.
3715 * 22_locale/locale/cons/2.cc: New.
3716 * 22_locale/locale/cons/3.cc: New.
3717 * 22_locale/locale/cons/4.cc: New.
3718 * 22_locale/locale/cons/5.cc: New.
3719 * 22_locale/locale/cons/6.cc: New.
3720 * 22_locale/locale/cons/7.cc: New.
3721 * 22_locale/locale/global_locale_objects/1.cc: New.
3722 * 22_locale/locale/global_locale_objects/2.cc: New.
3723 * 22_locale/locale/global_locale_objects/3.cc: New.
3724 * 22_locale/locale/operations/1.cc: New.
3725 * 22_locale/locale/operations/2.cc: New.
3726 * 22_locale/messages/1.cc: New.
3727 * 22_locale/messages/2.cc: New.
3728 * 22_locale/messages/members/char/1.cc: New.
3729 * 22_locale/messages/members/char/2.cc: New.
3730 * 22_locale/messages/members/char/3.cc: New.
3731 * 22_locale/messages/members/char/wrapped_env.cc: New.
3732 * 22_locale/messages/members/char/wrapped_locale.cc: New.
3733 * 22_locale/messages_byname/1.cc: New.
3734 * 22_locale/money_get/1.cc: New.
3735 * 22_locale/money_get/2.cc: New.
3736 * 22_locale/money_get/get/char/1.cc: New.
3737 * 22_locale/money_get/get/char/2.cc: New.
3738 * 22_locale/money_get/get/char/3.cc: New.
3739 * 22_locale/money_get/get/char/4.cc: New.
3740 * 22_locale/money_get/get/char/5.cc: New.
3741 * 22_locale/money_get/get/char/6.cc: New.
3742 * 22_locale/money_get/get/char/7.cc: New.
3743 * 22_locale/money_get/get/char/8.cc: New.
3744 * 22_locale/money_get/get/char/wrapped_env.cc: New.
3745 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
3746 * 22_locale/money_get/get/wchar_t/1.cc: New.
3747 * 22_locale/money_get/get/wchar_t/2.cc: New.
3748 * 22_locale/money_get/get/wchar_t/3.cc: New.
3749 * 22_locale/money_get/get/wchar_t/4.cc: New.
3750 * 22_locale/money_get/get/wchar_t/5.cc: New.
3751 * 22_locale/money_get/get/wchar_t/6.cc: New.
3752 * 22_locale/money_get/get/wchar_t/7.cc: New.
3753 * 22_locale/money_get/get/wchar_t/8.cc: New.
3754 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
3755 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
3756 * 22_locale/money_put/1.cc: New.
3757 * 22_locale/money_put/2.cc: New.
3758 * 22_locale/money_put/put/char/1.cc: New.
3759 * 22_locale/money_put/put/char/2.cc: New.
3760 * 22_locale/money_put/put/char/3.cc: New.
3761 * 22_locale/money_put/put/char/4.cc: New.
3762 * 22_locale/money_put/put/char/5.cc: New.
3763 * 22_locale/money_put/put/char/6.cc: New.
3764 * 22_locale/money_put/put/char/wrapped_env.cc: New.
3765 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
3766 * 22_locale/money_put/put/wchar_t/1.cc: New.
3767 * 22_locale/money_put/put/wchar_t/2.cc: New.
3768 * 22_locale/money_put/put/wchar_t/3.cc: New.
3769 * 22_locale/money_put/put/wchar_t/4.cc: New.
3770 * 22_locale/money_put/put/wchar_t/5.cc: New.
3771 * 22_locale/money_put/put/wchar_t/6.cc: New.
3772 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
3773 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
3774 * 22_locale/moneypunct/1.cc: New.
3775 * 22_locale/moneypunct/2.cc: New.
3776 * 22_locale/moneypunct/3.cc: New.
3777 * 22_locale/moneypunct/members/char/1.cc: New.
3778 * 22_locale/moneypunct/members/char/2.cc: New.
3779 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
3780 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
3781 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
3782 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
3783 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
3784 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
3785 * 22_locale/moneypunct_byname/1.cc: New.
3786 * 22_locale/num_get/1.cc: New.
3787 * 22_locale/num_get/2.cc: New.
3788 * 22_locale/num_get/get/char/1.cc: New.
3789 * 22_locale/num_get/get/char/2.cc: New.
3790 * 22_locale/num_get/get/char/3.cc: New.
3791 * 22_locale/num_get/get/char/4.cc: New.
3792 * 22_locale/num_get/get/char/5.cc: New.
3793 * 22_locale/num_get/get/char/6.cc: New.
3794 * 22_locale/num_get/get/char/wrapped_env.cc: New.
3795 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
3796 * 22_locale/num_get/get/wchar_t/1.cc: New.
3797 * 22_locale/num_get/get/wchar_t/2.cc: New.
3798 * 22_locale/num_get/get/wchar_t/3.cc: New.
3799 * 22_locale/num_get/get/wchar_t/4.cc: New.
3800 * 22_locale/num_get/get/wchar_t/5.cc: New.
3801 * 22_locale/num_get/get/wchar_t/6.cc: New.
3802 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
3803 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
3804 * 22_locale/num_put/1.cc: New.
3805 * 22_locale/num_put/2.cc: New.
3806 * 22_locale/num_put/put/char/1.cc: New.
3807 * 22_locale/num_put/put/char/2.cc: New.
3808 * 22_locale/num_put/put/char/3.cc: New.
3809 * 22_locale/num_put/put/char/4.cc: New.
3810 * 22_locale/num_put/put/char/5.cc: New.
3811 * 22_locale/num_put/put/char/wrapped_env.cc: New.
3812 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
3813 * 22_locale/num_put/put/wchar_t/1.cc: New.
3814 * 22_locale/num_put/put/wchar_t/2.cc: New.
3815 * 22_locale/num_put/put/wchar_t/3.cc: New.
3816 * 22_locale/num_put/put/wchar_t/4.cc: New.
3817 * 22_locale/num_put/put/wchar_t/5.cc: New.
3818 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
3819 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
3820 * 22_locale/numpunct/1.cc: New.
3821 * 22_locale/numpunct/2.cc: New.
3822 * 22_locale/numpunct/members/char/1.cc: New.
3823 * 22_locale/numpunct/members/char/2.cc: New.
3824 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
3825 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
3826 * 22_locale/numpunct/members/wchar_t/1.cc: New.
3827 * 22_locale/numpunct/members/wchar_t/2.cc: New.
3828 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
3829 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
3830 * 22_locale/numpunct_byname/1.cc: New.
3831 * 22_locale/numpunct_byname/2.cc: New.
3832 * 22_locale/time_get/1.cc: New.
3833 * 22_locale/time_get/2.cc: New.
3834 * 22_locale/time_get/date_order/char/1.cc: New.
3835 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
3836 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
3837 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
3838 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
3839 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
3840 * 22_locale/time_get/get_date/char/1.cc: New.
3841 * 22_locale/time_get/get_date/char/2.cc: New.
3842 * 22_locale/time_get/get_date/char/3.cc: New.
3843 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
3844 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
3845 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
3846 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
3847 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
3848 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
3849 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
3850 * 22_locale/time_get/get_monthname/char/1.cc: New.
3851 * 22_locale/time_get/get_monthname/char/2.cc: New.
3852 * 22_locale/time_get/get_monthname/char/3.cc: New.
3853 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
3854 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
3855 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
3856 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
3857 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
3858 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
3859 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
3860 * 22_locale/time_get/get_time/char/1.cc: New.
3861 * 22_locale/time_get/get_time/char/2.cc: New.
3862 * 22_locale/time_get/get_time/char/3.cc: New.
3863 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
3864 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
3865 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
3866 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
3867 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
3868 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
3869 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
3870 * 22_locale/time_get/get_weekday/char/1.cc: New.
3871 * 22_locale/time_get/get_weekday/char/2.cc: New.
3872 * 22_locale/time_get/get_weekday/char/3.cc: New.
3873 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
3874 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
3875 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
3876 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
3877 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
3878 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
3879 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
3880 * 22_locale/time_get/get_year/char/1.cc: New.
3881 * 22_locale/time_get/get_year/char/3.cc: New.
3882 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
3883 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
3884 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
3885 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
3886 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
3887 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
3888 * 22_locale/time_put/1.cc: New.
3889 * 22_locale/time_put/2.cc: New.
3890 * 22_locale/time_put/put/char/1.cc: New.
3891 * 22_locale/time_put/put/char/10.cc: New.
3892 * 22_locale/time_put/put/char/2.cc: New.
3893 * 22_locale/time_put/put/char/3.cc: New.
3894 * 22_locale/time_put/put/char/4.cc: New.
3895 * 22_locale/time_put/put/char/5.cc: New.
3896 * 22_locale/time_put/put/char/6.cc: New.
3897 * 22_locale/time_put/put/char/7.cc: New.
3898 * 22_locale/time_put/put/char/8.cc: New.
3899 * 22_locale/time_put/put/char/9.cc: New.
3900 * 22_locale/time_put/put/char/wrapped_env.cc: New.
3901 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
3902 * 22_locale/time_put/put/wchar_t/1.cc: New.
3903 * 22_locale/time_put/put/wchar_t/10.cc: New.
3904 * 22_locale/time_put/put/wchar_t/2.cc: New.
3905 * 22_locale/time_put/put/wchar_t/3.cc: New.
3906 * 22_locale/time_put/put/wchar_t/4.cc: New.
3907 * 22_locale/time_put/put/wchar_t/5.cc: New.
3908 * 22_locale/time_put/put/wchar_t/6.cc: New.
3909 * 22_locale/time_put/put/wchar_t/7.cc: New.
3910 * 22_locale/time_put/put/wchar_t/8.cc: New.
3911 * 22_locale/time_put/put/wchar_t/9.cc: New.
3912 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
3913 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
3915 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
3917 * config/locale/generic/messages_members.h
3918 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
3919 unqualified members of base clasess.
3921 2003-01-16 Mark Mitchell <mark@codesourcery.com>
3922 Jeffrey Oldham <oldham@codesourcery.com>
3924 * config/locale/gnu/messages_members.h: Use this-> to refer to
3925 unqualified members of base clasess.
3926 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
3927 * include/bits/codecvt.h: Likewise.
3928 * include/bits/deque.tcc: Likewise.
3929 * include/bits/fstream.tcc: Likewise.
3930 * include/bits/istream.tcc: Likewise.
3931 * include/bits/list.tcc: Likewise.
3932 * include/bits/locale_facets.h: Likewise.
3933 * include/bits/ostream.tcc: Likewise.
3934 * include/bits/sstream.tcc: Likewise.
3935 * include/bits/stl_bvector.h: Likewise.
3936 * include/bits/stl_deque.h: Likewise.
3937 * include/bits/stl_list.h: Likewise.
3938 * include/bits/stl_tree.h: Likewise.
3939 * include/bits/stl_vector.h: Likewise.
3940 * include/bits/vector.tcc: Likewise.
3941 * include/ext/ropeimpl.h: Likewise.
3942 * include/ext/stdio_filebuf.h: Likewise.
3943 * include/ext/stl_rope.h: Likewise.
3944 * include/std/std_fstream.h: Likewise.
3945 * include/std/std_sstream.h: Likewise.
3947 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
3949 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
3951 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
3953 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
3954 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
3955 * aclocal.m4: Regenerate.
3956 * configure: Regenerate.
3957 * testsuite/Makefile.am (all-local): Add conditional rule to
3958 generate testsuite_wchar_t.
3959 * testsuite/Makefile.in: Regenerate.
3960 * testsuite/lib/libstdc++-v3-dg.exp
3961 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
3962 testsuite_wchar_t is not present in the build directory.
3963 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
3964 Remove setulimit bits.
3965 * testsuite/26_numerics/complex_value.cc: Set to noopts.
3966 * testsuite/Makefile.am (CLEANFILES): Add.
3967 * testsuite/Makefile.in: Regenerate.
3969 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3971 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
3974 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
3976 Further conform g++'s __vmi_class_type_info to the C++ ABI
3978 * libsupc++/cxxabi.h
3979 (__vmi_class_type_info::__flags_masks): Remove enumerations not
3980 required by the specification.
3982 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
3984 Renames, namespaces for testsuite utilities.
3985 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
3986 (gnu_allocator_tracker): Rename to allocation_tracker.
3987 (gnu_new_allocator): Rename to tracker_alloc.
3988 (__set_testsuite_memlimit): Rename to set_memory_limits.
3989 (gnu_assignment_operator): Rename to assignment_operator.
3990 (gnu_destructor): Rename to destructor.
3991 (gnu_copy_tracker): Rename to copy_tracker.
3992 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
3993 (run_tests_wrapped_locale): New.
3994 (run_tests_wrapped_env): New.
3995 * testsuite/testsuite_hooks.cc: Same.
3996 (class locale_data): Add.
3997 (class enviornment_variable): Add.
3998 (class not_found): Add.
3999 * testsuite/testsuite_allocator.h: Same.
4000 * testsuite/testsuite_allocator.cc: Same.
4001 * testsuite/23_containers/deque_ctor.cc
4002 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
4004 Change gnu_new_allocator to tracker_alloc.
4005 Change gnu_counting_struct to counter.
4006 Change gnu_copy_tracker to copy_tracker.
4007 Change gnu_copy_constructor to copy_constructor.
4008 Change gnu_assignment_operator to assignment_operator.
4010 * testsuite/23_containers/vector_capacity.cc: Same.
4011 * testsuite/23_containers/vector_ctor.cc (test01): Same.
4012 * testsuite/23_containers/list_modifiers.cc: Change
4013 gnu_copy_tracker to copy_tracker.
4014 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
4015 __set_testsuite_memlimit to set_memory_limits.
4016 * testsuite/21_strings/insert.cc (main): Same.
4017 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
4018 * testsuite/27_io/stringstream.cc: Same.
4019 * testsuite/27_io/stringbuf.cc: Same.
4020 * testsuite/27_io/streambuf.cc: Same.
4021 * testsuite/27_io/ostream.cc: Same.
4022 * testsuite/27_io/istream.cc: Same.
4023 * testsuite/27_io/fstream.cc: Same.
4024 * testsuite/lib/libstdc++-v3-dg.exp
4025 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
4026 three levels deeper in glob patterns.
4028 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
4030 * docs/doxygen/tables.html: Finished now.
4031 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
4032 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
4035 * include/bits/deque.tcc, include/bits/stl_alloc.h,
4036 include/bits/stl_deque.h, include/bits/stl_list.h,
4037 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
4040 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
4042 * configure.in: Revert.
4043 * configure: Regenerate.
4045 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
4047 * include/Makefile.am (install-data-local): Prepend
4048 $(DESTDIR) to destination paths in all (un)installation
4049 commands. Use ${c_base_builddir} and ${std_builddir}
4050 as destination subdirectories to achieve consistency with
4051 preceding mkinstalldirs commands. No effect because both
4052 variables contain "." only.
4053 * include/Makefile.in: Regenerate.
4055 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
4057 * include/Makefile.am (stamp-*): Add checks for existing stamps.
4058 * include/Makefile.in: Regenerate.
4060 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
4061 * aclocal.m4: Regenerate.
4063 * configure.in: Don't add new multi-do rules every time the
4064 directory is reconfigured.
4065 * configure: Regenerate.
4067 2003-01-08 Brad Spencer <spencer@infointeractive.com>
4068 Nathan Myers <ncm@cantrip.org>
4070 * src/Makefile.am (stamp-debug): Clean.
4071 * src/Makefile.in: Regenerate.
4073 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
4076 * Makefile.am (distclean-multi): Fix.
4077 * Makefile.in: Regenerate.
4079 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
4081 * include/bits/locale_facets.h (messages): Move ctor, dtor
4083 (__timepunct): Same.
4084 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
4085 definitions. Conditionalize for GNU systems.
4086 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
4088 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
4089 definitions. Conditionalize for GNU systems.
4090 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
4092 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
4093 * src/locale.cc: Define.
4094 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
4096 * config/locale/gnu/time_members.h: Use it.
4097 * config/locale/gnu/messages_members.h: Use it.
4098 * config/linker-map.gnu: Add locale::facets details.
4099 * include/Makefile.am (target_headers_extra): Add time_members.h.
4100 * include/Makefile.in: Regenerate.
4101 * acinclude.m4: Export CTIME_H.
4102 * aclocal.m4: Regenerate.
4103 * configure: Regnerate.
4105 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
4108 (codecvt<char, char, mbstate_t>::do_in, do_out):
4109 Tweak parameters to avoid unused parameter warnings.
4111 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
4114 * include/bits/locale_facets.cc (num_put::_M_convert_float):
4115 Limit __prec to digits10 + 2, not digits10 + 1, taking into
4116 account the possibility of %{g,G} conversion specifiers
4117 inside _S_format_float.
4118 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
4120 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4122 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
4123 libstdc++-v3-list-sourcefiles): Additionally handle files one
4124 level deeper in glob patterns.
4126 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
4127 * testsuite/27_io/istream_extractor_arith/01.cc,
4128 testsuite/27_io/istream_extractor_arith/02.cc,
4129 testsuite/27_io/istream_extractor_arith/03.cc,
4130 testsuite/27_io/istream_extractor_arith/06.cc,
4131 testsuite/27_io/istream_extractor_arith/07.cc,
4132 testsuite/27_io/istream_extractor_arith/08.cc,
4133 testsuite/27_io/istream_extractor_arith/09.cc,
4134 testsuite/27_io/istream_extractor_arith/10.cc,
4135 testsuite/27_io/istream_extractor_arith/11.cc,
4136 testsuite/27_io/istream_extractor_arith/12.cc,
4137 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
4138 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
4141 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
4145 (codecvt<char, char, mbstate_t>::do_in, do_out):
4146 Implement the resolution of DR19 (TC).
4147 * testsuite/22_locale/codecvt_members_char_char.cc
4150 2003-01-02 Jason Merrill <jason@redhat.com>
4152 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
4153 *__mem is also an output.
4154 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.