1 2003-11-19 Paolo Carlini <pcarlini@suse.de>
3 * config/locale/gnu/codecvt_members.cc (do_out): If
4 we can upper bound the total number of external chars
5 to something smaller than __to_end - __to, avoid the
6 temporary buffer, the memcopy and simplify the loop.
7 * config/locale/generic/codecvt_members.cc (do_out):
10 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
12 * testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
13 * testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
16 2003-11-18 Jonathan Wakely <redi@gcc.gnu.org>
18 * docs/html/configopts.html, docs/html/debug.html,
19 docs/html/documentation.html, docs/html/explanations.html,
20 docs/html/install.html, docs/html/17_intro/contribute.html,
21 docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
22 docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
23 docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
24 docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
25 docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
26 docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
27 docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
28 docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
29 docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags.
31 2003-11-18 Paolo Carlini <pcarlini@suse.de>
34 * include/bits/fstream.tcc (imbue): For encodings != -1 it's
35 always ok to imbue a new locale, provided seekoff(0, cur, ...)
36 doesn't fail, of course.
37 (underflow): In order for the above to work, deal gracefully
38 with _M_codecvt->in returning codecvt_base::error while
39 (__ilen = __iend - this->eback()) > 0: it just means __ilen
40 correctly converted internal characters before an error.
41 * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New.
43 2003-11-17 Paolo Carlini <pcarlini@suse.de>
45 * include/bits/locale_facets.tcc: Fix typo in comment.
47 2003-11-17 Paolo Carlini <pcarlini@suse.de>
49 * testsuite/22_locale/num_put/put/char/8.cc: New test,
50 summarizing the discussion ensuing libstdc++/12988.
51 * testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto.
53 2003-11-15 Paolo Carlini <pcarlini@suse.de>
55 * include/std/std_fstream.h: Tweak a comment.
57 2003-11-15 Roger Sayle <roger@eyesopen.com>
59 * include/c_std/std_cmath.h: Don't import C99's float transcendentals
60 into the __gnu_cxx::__c99_binding namespace.
61 (acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
62 ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
63 GCC's math builtins, i.e. __builtin_foo.
64 * libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
65 ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
66 ldexpf, ldexpl, modff, modfl): Provide stub implementations.
68 2003-11-14 Paolo Carlini <pcarlini@suse.de>
70 * testsuite/22_locale/locale/cons/12352.cc: Use
71 __gnu_test::try_named_locale.
73 2003-11-14 Paolo Carlini <pcarlini@suse.de>
75 * docs/html/ext/howto.html: Add entries for DR 63, 75
76 and 305; tweak entries for DR 60 and 328.
78 2003-11-13 Douglas Gregor <gregod@cs.rpi.edu>
80 * docs/html/debug.html: Users are allowed to specialize in
81 namespace __gnu_debug, unlike in the Apple version of the debug
82 mode. Clear up a confusing double-negative. Note that
83 std::basic_string does provide extra debugging capabilities, but
85 * include/bits/basic_string.tcc: Make sure there's never an
86 ambiguity when calling __is_null_pointer.
87 * include/debug/deque: (deque::erase) Properly handle invalidation
88 when erasing at the end of the deque.
89 * include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity.
90 (vector::clear): Set the guaranteed capacity to 0.
91 * testsuite/23_containers/deque/invalidation/4.cc: (test04): Test
92 iterator invalidation when erasing at the end of the deque.
94 2003-11-13 Paolo Carlini <pcarlini@suse.de>
95 Petur Runolfsson <peturr02@ru.is>
98 * include/bits/fstream.tcc (imbue): Don't touch the stored
100 * include/std/std_streambuf.h (imbue): According to the
101 standard, base class version does nothing.
102 (pubimbue): Store the locale.
103 * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
104 * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
105 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
106 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
107 * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
108 * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
109 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
110 * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.
112 2003-11-13 Petur Runolfsson <peturr02@ru.is>
115 * include/bits/ostream.tcc
116 (basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
117 basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
118 basic_ostream::operator<<(ios_base& (*)(ios_base&))):
119 Implement the resolution of DR 60 (TC): These are not formatted
120 output functions so don't construct sentry objects and don't
122 (basic_ostream::put, basic_ostream::write): Implement the
123 resolution of DR 63 (TC) by catching exceptions and setting
125 (basic_ostream::flush): Implement the resolution of DR 60 (TC):
126 This is not an unformatted output function so don't construct
128 * testsuite/testsuite_io.h (sync_streambuf): Define.
129 * testsuite/27_io/basic_ostream/flush/char/2.cc: New test.
130 * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test.
131 * testsuite/27_io/basic_ostream/put/char/1.cc: New test.
132 * testsuite/27_io/basic_ostream/write/char/1.cc: New test.
134 2003-11-13 Paolo Carlini <pcarlini@suse.de>
136 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
137 Fix, closely following the testcase included in the PR.
138 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
139 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
140 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
142 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
144 * docs/html/17_intro/configury.html: XHTML tweak.
146 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
148 * docs/html/debug_mode.html: XHTML fixes.
150 2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
152 * docs/html/debug_mode.html: Update.
153 * docs/html/17_intro/TODO: Update.
155 2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
157 * include/bits/c++config: Move using directive...
158 * include/debug/formatter.h: ...here.
160 2003-11-12 Carlo Wood <carlo@alinoe.com>
164 (_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS): Added.
165 (_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Added.
166 (session<Allocator>::next_peek() const): Added.
167 (decode_non_negative_decimal_integer(string_type&)):
168 Renamed from decode_decimal_integer(string_type&).
169 (session<Allocator>::decode_nested_name):
170 Decode <template_param> as well.
171 (session<Allocator>::add_substitution):
172 Handle <template-param> for <nested-name>'s.
173 (enum xary_nt): Added.
174 (struct entry_st): Added member `xary_nt type' instead of `bool unary'.
175 (symbol_name_table_c): Updated for `entry_st::type' and additional
176 operators (unary `operator+' and `sizeof(type)').
177 (offset_table_c): Updated for new operators (causing a new hash map).
178 (decode_operator_name): Match the updated hash map.
179 (session<Allocator>::decode_expression):
180 Support for `sizeof ([typename] type)' (st),
181 dependent names (sr) and casting operator (cv). Handle
182 `entry_st::type'. Handle _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS
183 and _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME.
184 (session<Allocator>::decode_type_with_postfix):
185 Support `extern "C"' function types (FY).
186 * testsuite/demangle/regression/cw-16.cc: Added tests for the
188 * testsuite/demangle/regression/3111-2.cc: sizeof now has a space
191 2003-11-11 Paolo Carlini <pcarlini@suse.de>
194 * include/bits/fstream.tcc (setbuf): Don't do anything
195 after open(), in particular don't discard data.
196 (_M_allocate_internal_buffer): Tweak to not allocate memory
197 in case the buffer is provided by the user via setbuf.
198 * include/ext/stdio_filebuf.h: Tweak comment.
199 * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New.
200 * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise.
201 * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now
202 setbuf does nothing after open().
203 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
205 2003-11-11 Doug Gregor <gregod@cs.rpi.edu>
207 * docs/html/debug.html: Document libstdc++ debug mode.
208 * docs/html/debug_mode.html: Document libstdc++ debug mode design.
209 * docs/html/test.html: Document how to test under debug mode.
210 * docs/html/17_intro/howto.html: Document debug-mode macros.
211 * include/Makefile.am: Install debug-mode headers.
212 * src/Makefile.am: Include debug.cc.
213 * include/bits/basic_string.tcc:
214 (basic_string::_S_construct): Fix NULL pointer check.
215 (__is_null_pointer): New.
216 Add precondition annotations.
217 * include/bits/stream_iterator.h (istream_iterator,
218 ostream_iterator): Added precondition annotations.
219 * include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto.
220 * include/bits/stl_queue.h (queue, priority_queue): Ditto.
221 * include/bits/stl_stack.h (stack): Ditto.
222 * include/bits/basic_string.h (basic_string): Ditto.
223 * include/bits/basic_string.tcc (basic_string): Ditto.
224 * include/std/std_memory.h (auto_ptr): Ditto.
225 * include/std/std_valarray.h (valarray): Ditto.
226 * include/bits/stl_algo.h: Added algorithm precondition
228 * include/bits/stl_algobase.h: Added algorithm precondition
230 * include/bits/stl_numeric.h: Ditto.
231 * include/ext/algorithm: Added algorithm precondition
233 (__is_heap): Moved away from here.
234 * include/bits/stl_heap.h: Added algorithm precondition
236 (__is_heap): Moved to the top of this file.
237 (__is_heap): Added iterator range overloads.
238 * testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up
239 with changes in std_memory.h.
240 * testsuite/23_containers/list/operators/4.cc: Don't verify
241 performance guarantees when in debug mode.
242 * testsuite/23_containers/bitset/invalidation/1.cc: New.
243 * testsuite/23_containers/deque/invalidation/1.cc: New.
244 * testsuite/23_containers/deque/invalidation/2.cc: New.
245 * testsuite/23_containers/deque/invalidation/3.cc: New.
246 * testsuite/23_containers/deque/invalidation/4.cc: New.
247 * testsuite/23_containers/list/invalidation/1.cc: New.
248 * testsuite/23_containers/list/invalidation/2.cc: New.
249 * testsuite/23_containers/list/invalidation/3.cc: New.
250 * testsuite/23_containers/list/invalidation/4.cc: New.
251 * testsuite/23_containers/map/invalidation/1.cc: New.
252 * testsuite/23_containers/map/invalidation/2.cc: New.
253 * testsuite/23_containers/multimap/invalidation/1.cc: New.
254 * testsuite/23_containers/multimap/invalidation/2.cc: New.
255 * testsuite/23_containers/multiset/invalidation/1.cc: New.
256 * testsuite/23_containers/multiset/invalidation/2.cc: New.
257 * testsuite/23_containers/set/invalidation/1.cc: New.
258 * testsuite/23_containers/set/invalidation/2.cc: New.
259 * testsuite/23_containers/vector/invalidation/1.cc: New.
260 * testsuite/23_containers/vector/invalidation/2.cc: New.
261 * testsuite/23_containers/vector/invalidation/3.cc: New.
262 * testsuite/23_containers/vector/invalidation/4.cc: New.
263 * testsuite/25_algorithms/heap.cc: Don't verify
264 performance guarantees when in debug mode.
265 * include/debug/bitset: New.
266 * include/debug/debug.h: New.
267 * include/debug/deque: New.
268 * include/debug/formatter.h: New.
269 * include/debug/hash_map: New.
270 * include/debug/hash_map.h: New.
271 * include/debug/hash_multimap.h: New.
272 * include/debug/hash_set: New.
273 * include/debug/hash_set.h: New.
274 * include/debug/hash_multiset.h: New.
275 * include/debug/list: New.
276 * include/debug/map: New.
277 * include/debug/map.h: New.
278 * include/debug/multimap.h: New.
279 * include/debug/multiset.h: New.
280 * include/debug/safe_base.h: New.
281 * include/debug/safe_iterator.h: New.
282 * include/debug/safe_iterator.tcc: New.
283 * include/debug/safe_sequence.h: New.
284 * include/debug/set: New.
285 * include/debug/set.h: New.
286 * include/debug/string: New.
287 * include/debug/vector: New.
289 * config/linker-map.gnu: Add debug mode symbols.
291 2003-11-11 Benjamin Kosnik <bkoz@redhat.com>
293 * src/string-inst.cc: Tweak namespaces.
294 * src/misc-inst.cc: Same.
295 * docs/html/debug.html: Edits.
296 * config/link-map.gnu: Remove cruft.
298 * include/bits/c++config: Add in namespace associations.
299 * include/std/std_bitset.h: Adjust namespace to __gnu_norm,
301 * include/bits/deque.tcc: Same.
302 * include/bits/list.tcc: Same.
303 * include/bits/stl_bvector.h: Same.
304 * include/bits/stl_deque.h: Same.
305 * include/bits/stl_list.h: Same.
306 * include/bits/stl_map.h: Same.
307 * include/bits/stl_multimap.h: Same.
308 * include/bits/stl_multiset.h: Same.
309 * include/bits/stl_set.h: Same.
310 * include/bits/stl_vector.h: Same.
311 * include/bits/vector.tcc: Same.
313 * include/std/std_algorithm.h: Remove markup comments.
314 * include/std/std_functional.h: Same.
315 * include/std/std_iterator.h: Same.
316 * include/std/std_numeric.h: Same.
317 * include/std/std_utility.h: Same.
318 * include/bits/stl_queue.h: Formatting tweaks.
319 * include/bits/stl_stack.h: Same.
320 * include/std/std_deque.h: Include debugging version in debug mode.
321 * include/std/std_list.h: Same.
322 * include/std/std_map.h: Same.
323 * include/std/std_set.h: Same.
324 * include/std/std_vector.h: Same.
325 * include/std/std_queue.h: Use deque, vector.
326 * include/std/std_stack.h: Same.
328 2003-11-09 Paolo Carlini <pcarlini@suse.de>
330 * include/bits/locale_facets.tcc (_M_insert_int,
331 _M_insert_float): Move a couple of vars inside an if block.
333 2003-11-09 Paolo Carlini <pcarlini@suse.de>
336 * include/bits/locale_facets.tcc
337 (money_put::do_put(..., long double)): Fix conversion
338 specification as per DR 328 [WP].
339 * testsuite/22_locale/money_put/put/char/12971.cc: Add.
340 * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto.
341 * docs/html/ext/howto.html: Add entry for DR 328.
343 2003-11-08 Paolo Carlini <pcarlini@suse.de>
346 * include/bits/list.tcc (merge): Implement resolution of
348 * docs/html/ext/howto.html: Add entry for DR 300; tweak entry
351 * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
354 2003-11-07 Jonathan Wakely <redi@gcc.gnu.org>
356 * libsupc++/vec.cc: Conform to C++STYLE.
358 2003-11-07 Carlo Wood <carlo@alinoe.com>
361 * bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added.
362 (qualifier_list<Allocator>::decode_qualifiers): Collect concatenated
363 K, V, r and A qualifiers before processing them as a group.
364 * testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers.
365 * testsuite/demangle/regression/cw-16.cc: New.
367 2003-11-07 Robert Millan <robertmh@gnu.org>
369 * configure.host: Add kfreebsd*-gnu and knetbsd*-gnu.
370 * crossconfig.m4: Likewise.
371 * configure: Regenerate.
373 2003-11-07 Carlo Wood <carlo@alinoe.com>
375 * include/bits/demangle.h
376 (qualifier_list<Allocator>::decode_qualifiers(string_type&,
377 string_type&, bool member_function_pointer_qualifiers):
378 Always separate the '[' of an array type with a space from
379 what is left of it, except when that is the closing bracket
380 of another array dimension.
382 2003-11-07 Carlo Wood <carlo@alinoe.com>
384 * include/bits/demangle.h
385 (qualifier_list<Allocator>::decode_qualifiers(string_type&,
386 string_type&, bool) const): Made const.
387 (qualifier_list<Allocator>::M_printing_suppressed): Added mutable.
388 (_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3,
389 std::ostream& operator<<(std::ostream&, qualifier const&),
390 std::ostream& operator<<(std::ostream&, qualifier_list const&),
391 qualifier_list<Allocator>::decode_qualifiers(string_type&,
392 string_type&, bool) const,
393 session<Allocator>::decode_type_with_postfix(string_type&,
394 string_type&, qualifier_list<Allocator>*))
395 Added and/or changed debug-only hooks and code.
397 2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com>
399 * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
400 immediately return. This reflects a C++ ABI change 2003 Nov 03.
401 (__cxa_vec_delete3): Likewise.
403 2003-11-03 Petur Runolfsson <peturr02@ru.is>
406 * include/bits/fstream.tcc: Delete _M_last_overflowed.
407 (basic_filebuf::basic_filebuf): Initialize _M_state_last.
408 (basic_filebuf::open, basic_filebuf::close): Assign
409 _M_state_beg to _M_state_cur and _M_state_last.
410 (basic_filebuf::close): Call _M_terminate_output to handle
411 unshift and flushing.
412 (basic_filebuf::underflow): Assign _M_state_last, throw
413 exception instead of calling abort when codecvt::max_length()
415 (basic_filebuf::seekoff): Use _M_state_last when calling
416 codecvt::length(), pass correct state to _M_seek.
417 (basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
418 (basic_filebuf::_M_seek): Add __state_type parameter,
419 set _M_state_cur correctly, store the resulting state in
420 the return value and use _M_terminate_output to handle
421 flushing and unshift.
422 (basic_filebuf::_M_terminate_output): Flush contents of
423 output buffer, if any, then call codecvt::unshift as
424 needed and output the result.
425 (basic_filebuf::sync): Move here, don't modify _M_writing
428 * include/std/std_fstream.h
429 (basic_filebuf::_M_state_last): Declare it.
430 (basic_filebuf::_M_last_overflowed): Delete.
431 (basic_filebuf::_M_seek): Add __state_type parameter.
432 (basic_filebuf::sync): Declare only.
433 (basic_filebuf::_M_output_unshift): Delete.
434 (basic_filebuf::_M_terminate_output): Declare it.
436 * testsuite/testsuite_character.h:
437 Define character class and state class plus char_traits and
438 codecvt specializations for same for testing support for
441 * testsuite/27_io/basic_filebuf/close/12790-1.cc,
442 * testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
443 * testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
444 * testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
445 * testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
446 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
447 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
448 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
449 * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
450 * testsuite/27_io/basic_filebuf/open/12790-1.cc,
451 * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
452 * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
453 * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
454 * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
455 * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
456 * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
457 * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
458 * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
459 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
460 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
461 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
462 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
463 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
464 * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
465 * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
466 * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
467 * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
468 * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
469 * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
470 * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
471 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
472 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
473 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
474 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
475 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
476 * testsuite/27_io/basic_filebuf/sync/char/1.cc,
477 * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
480 * testsuite/27_io/basic_filebuf/3.cc,
481 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
482 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
483 * testsuite/27_io/basic_fstream/3.cc,
484 * testsuite/27_io/basic_ifstream/3.cc,
485 * testsuite/27_io/basic_ofstream/3.cc:
486 Use streamoff as off_type and fpos<state_type> as pos_type.
488 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
489 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
490 Check that sync does *not* set _M_writing to false.
492 2003-11-03 Anthony Green <green@redhat.com>
494 * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
497 2003-11-03 Benjamin Kosnik <bkoz@redhat.com>
499 * include/bits/locale_facets.h (time_get::_M_extract_name): Add
501 * include/bits/locale_facets.tcc: Same, use it to allow
504 * include/bits/fstream.tcc: Spacing tweak.
505 * include/bits/istream.tcc: Same.
506 * include/bits/ostream.tcc: Same.
508 2003-10-30 Paolo Carlini <pcarlini@suse.de>
510 * include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
511 __mod is only assigned, never used its value, remove it.
513 2003-10-29 Paolo Carlini <pcarlini@suse.de>
515 * include/bits/locale_facets.tcc (time_get::do_get_year):
516 Absolutely avoid dereferencing end iterators.
517 (time_put::put): Minor clean up.
519 * include/bits/locale_facets.tcc: Cosmetic reformattings.
521 2003-10-29 Paolo Carlini <pcarlini@suse.de>
523 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
524 Revert the last commit, is not correct, sorry.
526 2003-10-29 Paolo Carlini <pcarlini@suse.de>
528 * config/locale/generic/c_locale.cc: Add back <cmath> and
531 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
534 2003-10-29 Paolo Carlini <pcarlini@suse.de>
536 * include/bits/locale_facets.tcc (time_put::put): Absolutely
537 avoid dereferencing end iterators; clean up.
539 * include/bits/locale_facets.tcc (num_get::_M_extract_float,
540 num_get::_M_extract_int): Minor tweak.
542 2003-10-29 Paolo Carlini <pcarlini@suse.de>
544 * include/bits/locale_facets.tcc: Remove some unnecessary
546 * config/locale/generic/c_locale.cc: Include <cerrno> here.
547 * config/locale/gnu/c_locale.cc: Likewise.
549 2003-10-28 Paolo Carlini <pcarlini@suse.de>
551 * include/bits/locale_facets.tcc
552 (money_get<>::do_get(..., string_type&)): Absolutely avoid
553 dereferencing end iterators; general clean up.
555 2003-10-28 Paolo Carlini <pcarlini@suse.de>
557 * include/bits/locale_facets.tcc (time_get::_M_extract_num):
558 Absolutely avoid dereferencing end iterators.
559 (time_get::_M_extract_name): Likewise.
561 * include/bits/locale_facets.tcc
562 (time_get::_M_extract_via_format, case 'e'): Don't try to
563 be smart wrt returning the right __beg in case of parse
564 error, time_get::_M_extract_num must be fixed instead.
566 2003-10-27 Paolo Carlini <pcarlini@suse.de>
569 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
570 * aclocal.m4: Regenerate.
571 * configure: Regenerate.
573 2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
575 * docs/html/17_intro/TODO: Add links.
576 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
579 2003-10-27 Paolo Carlini <pcarlini@suse.de>
582 * include/bits/locale_facets.tcc
583 (time_get::_M_extract_via_format): Deal with code 'e'.
584 * testsuite/22_locale/time_get/get_date/char/12750.cc: New.
585 * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
587 * include/bits/locale_facets.tcc
588 (time_get::_M_extract_via_format): Tweak to absolutely avoid
589 dereferencing end iterators.
591 * include/bits/locale_facets.h (__verify_grouping):
592 Const-ify second parameter.
593 * include/bits/locale_facets.tcc (__verify_grouping): Ditto.
594 * src/locale-inst.cc (__verify_grouping): Ditto.
596 2003-10-27 Paolo Carlini <pcarlini@suse.de>
598 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
599 Various things: 1- Avoid absolutely end iterator dereferences;
600 2- Improve performance-wise the code skipping leading zeros;
601 3- Fix two bugs wrt early bail out in case of parsing errors
602 (see testcases); 4- General clean up.
603 (num_get::_M_extract_int): Likewise, except 3-. Additionally,
604 use __builtin_expect to favor base 10 inputs.
605 * testsuite/22_locale/num_get/get/char/7.cc: New.
606 * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
608 2003-10-26 Paolo Carlini <pcarlini@suse.de>
610 * testsuite/22_locale/money_put/put/char/1.cc: Clean up.
611 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
613 2003-10-25 Paolo Carlini <pcarlini@suse.de>
615 * include/bits/locale_facets.tcc (num_get::_M_extract_int):
616 __pos in only incremented, never used its value, remove it.
618 2003-10-24 Robert Millan <robertmh@gnu.org>
620 * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
622 * aclocal.m4: Regenerated.
623 * configure: Regenerated.
625 2003-10-24 Paolo Carlini <pcarlini@suse.de>
627 * include/bits/locale_facets.tcc (money_get::do_get(...,
628 long double&): Properly size the temporary buffer.
629 * testsuite/22_locale/money_get/get/char/11.cc: New.
630 * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
632 * include/bits/locale_facets.tcc (num_put::_M_group_int,
633 num_put::_M_group_float, money_put::do_put(..., const
634 string_type&), collate::do_compare, collate::do_transform):
635 Prefer basic_string::data() to c_str() when the '\0'
636 terminator is not really needed.
638 2003-10-24 Paolo Carlini <pcarlini@suse.de>
640 * include/bits/locale_facets.tcc (__verify_grouping):
641 Prefer '=' to an unnecessary '&='.
643 2003-10-24 Paolo Carlini <pcarlini@suse.de>
645 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
646 Tweak my fix for libstdc++/12657.
648 2003-10-24 Paolo Carlini <pcarlini@suse.de>
650 * include/bits/locale_facets.tcc (money_get::do_get(...,
651 string_type&): Minor tweak to the previous commit.
653 2003-10-24 Paolo Carlini <pcarlini@suse.de>
655 * include/bits/locale_facets.tcc (money_get::do_get(...,
656 string_type&): Disregard the previous commit: doesn't hurt but
657 doesn't accomplish anything useful either. This is the right
658 one, speeding up greatly the function in case of early fail.
660 2003-10-24 Paolo Carlini <pcarlini@suse.de>
662 * include/bits/locale_facets.tcc (money_get::do_get(...,
663 string_type&): Move an if block, thus minimizing the amount
664 of code processed anyway when __tmp_units.size() == 0.
666 2003-10-24 Paolo Carlini <pcarlini@suse.de>
668 * include/bits/locale_facets.tcc
669 (time_get<>::_M_extract_via_format): Deal with case 'C' too,
672 2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
674 * docs/html/documentation.html: Add a pointer to the doxygen style
676 * docs/html/17_intro/TODO: Update.
677 * docs/html/test.html: Add instructions for running a subset of
680 2003-10-23 Paolo Carlini <pcarlini@suse.de>
682 * include/bits/locale_facets.tcc (money_get<>::do_get(...,
683 string_type&)): Use find_first_not_of to strip leading
684 zeros; if __tmp_units == "0" never prefix it with '-';
685 always fail if __tmp_units is empty.
686 * testsuite/22_locale/money_get/get/char/10.cc: New.
687 * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
689 2003-10-23 Phil Edwards <phil@codesourcery.com>
691 * config/os/vxworks/ctype_noninline.h: Adjust ctor to match
694 2003-10-22 Paolo Carlini <pcarlini@suse.de>
696 * include/bits/locale_facets.tcc (__int_to_char): Remove
697 the const int parameter.
698 (_M_insert_int): Update caller.
699 * src/locale-inst.cc (__int_to_char): Update instantiations.
701 2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
703 * include/bits/locale_facets.h: Correct byname facets for "C"
705 * config/locale/generic/ctype_members.cc: Same.
706 * config/locale/generic/messages_members.h: Same.
707 * config/locale/gnu/ctype_members.cc: Same.
708 * config/locale/gnu/messages_members.h: Same.
709 * include/bits/codecvt.h: Same.
710 * src/ctype.cc: Same.
711 * testsuite/22_locale/codecvt_byname/1.cc: New.
712 * testsuite/22_locale/collate/1.cc: Edit.
713 * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
714 * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
715 * testsuite/22_locale/ctype/1.cc: Derivation tests.
716 * testsuite/22_locale/ctype/11844.cc: Move...
717 * testsuite/22_locale/ctype_base/11844.cc: ...here.
718 * testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
719 * testsuite/22_locale/ctype_byname/1.cc: Name.
720 * testsuite/22_locale/messages_byname/1.cc: New.
721 * testsuite/22_locale/messages_byname/named_equivalence.cc: New.
722 * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
723 * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
724 * testsuite/22_locale/numpunct/1.cc: Edit.
725 * testsuite/22_locale/numpunct_byname/2.cc: Move...
726 * testsuite/22_locale/numpunct/members/char/3.cc: ...here.
727 * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
728 * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
730 2003-10-22 Paolo Carlini <pcarlini@suse.de>
733 * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
734 checking for the availability of int64_t.
735 (GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
736 * configure.ac: Call here.
737 * acconfig.h: Add undef for the corresponding symbols.
738 * config/io/basic_file_stdio.cc (__basic_file<char>::open):
739 Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
740 (__basic_file<char>::seekoff): Likewise, call lseek64 when
741 available, otherwise lseek, checking the __off parameter.
742 * include/bits/postypes.h: Typedef __streamoff_base_type
743 to int64_t if available, otherwise long long.
744 * aclocal.m4: Regenerate.
745 * config.h.in: Likewise.
746 * configure: Likewise.
748 * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
749 Use AC_TRY_LINK instead of AC_TRY_COMPILE.
751 2003-10-22 Paolo Carlini <pcarlini@suse.de>
754 * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
755 Implement resolution of DR 292 (WP).
756 * docs/html/ext/howto.html: Add entry for DR 292.
758 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
760 * include/ext/mt_allocator.h: Change include to gthr.h.
761 * include/ext/rope: Same. Add _Refcount_base definitions.
762 * include/ext/pool_allocator.h: Adjust namespaces.
763 * include/bits/stl_threads.h (_Refcount_base): Move.
764 Put remaining into namespace __gnu_cxx.
766 2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
769 * include/bits/locale_facets.h (ctype<char>): Remove
770 __ctype_abstract_base.
771 (ctype<char>::do_is): Remove.
772 (ctype<char>::do_scan_is): Remove.
773 * src/ctype.cc: Same. Inline the rest.
774 * testsuite/22_locale/ctype/is/char/9858.cc: New.
775 * config/os/aix/ctype_noninline.h: Adjust ctor.
776 * config/os/bsd/freebsd/ctype_noninline.h: Same.
777 * config/os/bsd/netbsd/ctype_noninline.h: Same.
778 * config/os/djgpp/ctype_noninline.h: Same.
779 * config/os/generic/ctype_noninline.h: Same.
780 * config/os/gnu-linux/ctype_noninline.h: Same.
781 * config/os/hpux/ctype_noninline.h: Same.
782 * config/os/irix/irix5.2/ctype_noninline.h: Same.
783 * config/os/irix/irix6.5/ctype_noninline.h: Same.
784 * config/os/mingw32/ctype_noninline.h: Same.
785 * config/os/newlib/ctype_noninline.h: Same.
786 * config/os/qnx/qnx6.1/ctype_noninline.h: Same.
787 * config/os/solaris/solaris2.5/ctype_noninline.h: Same.
788 * config/os/solaris/solaris2.6/ctype_noninline.h: Same.
789 * config/os/solaris/solaris2.7/ctype_noninline.h: Same.
790 * config/os/windiss/ctype_noninline.h: Same.
792 2003-10-21 Paolo Carlini <pcarlini@suse.de>
794 * src/locale.cc: Tweak a comment.
795 * src/localename.cc: Move a comment.
797 2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
800 * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
801 * testsuite_hooks.cc: Same.
802 * 22_locale/numpunct/members/pod/1.cc: Edit.
803 * 22_locale/numpunct/members/pod/2.cc: Same.
804 * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
805 * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
806 * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
807 * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
808 * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
809 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
810 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
811 * 27_io/basic_istream/sentry/pod/1.cc: New.
812 * 27_io/basic_ostream/sentry/pod/1.cc: New.
813 * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
814 * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
816 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
818 * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
819 of external _MIPS_SIM_ABI32.
821 2003-10-20 Phil Edwards <phil@codesourcery.com>
823 * configure.ac: Fix comment typo.
824 * configure.host: Add vxworks to host_os switch.
825 * crossconfig.m4: Remove old commented os_include_dir variables
826 left over from autotools transition.
827 (*-vxworks): New stanza.
828 (*-windiss): Add missing symbols.
829 * configure: Regenerate.
830 * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
831 config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
833 * config/os/windiss/os_defines.h: Define __C9X__.
835 2003-10-19 David Edelsohn <edelsohn@gnu.org>
838 * configure.host (aix4,aix*): Define os_include_dir to os/generic.
840 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
842 * src/locale.cc (locale::_S_initialize): Re-apply workaround a
843 confusion of the use of the gthr API when __gthread_active_p()
846 2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
848 * src/Makefile.am: Add new files.
849 * src/Makefile.in: Regenerate.
850 * src/globals.cc: Split into..
851 * src/globals_io.cc: New.
852 * src/globals_locale.cc: New.
853 * src/ios.cc: Split into...
854 * src/ios_init.cc: New.
855 * src/ios_locale.cc: New.
856 * src/locale-inst.cc: Split into..
857 * src/wlocale-inst.cc: New.
858 * src/locale-misc-inst.cc: New.
859 * src/locale.cc, src/localename: Split into...
860 * src/locale_facets.cc: New.
861 * src/locale_init.cc: New.
862 * src/wstring-inst.cc: Add copyright info.
864 2003-10-16 Petur Runolfsson <peturr02@ru.is>
869 * config/io/basic_file_stdio.cc (__basic_file::seekoff):
870 Change return value from streampos to streamoff.
871 (__basic_file::seekpos): Delete.
872 * config/io/basic_file_stdio.h: Same.
873 * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
874 * include/Makefile.am (bits_headers): Add bits/postypes.h.
875 * include/bits/char_traits.h: Include bits/postypes.h instead of
877 * include/bits/fstream.tcc (basic_filebuf::open,
878 basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
879 values, use == and != instead.
880 (basic_filebuf::_M_seek): Use explicit conversion from streamoff
882 (basic_filebuf::imbue): Don't use ! on pos_type values, use
883 == instead. Don't use __check_facet(_M_codecvt) unless is_open().
884 * include/bits/postypes.h: New file.
885 Add __streamoff_base_type typedef, streamsize.
886 (streamoff, streampos, wstreampos): Define typedefs, with
887 streamoff defined as...
888 (streamoff): New class. Document implementation defined
890 (fpos): New implementation. Document implementation defined
892 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
893 explicit conversion from pos_type to off_type.
894 * include/std/std_iosfwd.h: Include bits/postypes.h instead
896 * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
897 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
898 * testsuite/27_io/fpos/11450.cc: New test.
899 * testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
900 * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
901 * testsuite/27_io/types/3.cc: New test.
903 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
905 * configure.host: Remove fpos_include_dir.
906 * configure.ac: Remove FPOS_INC_SRCDIR.
907 * configure: Regenerate.
908 * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
909 * aclocal.m4: Regenerate.
910 * include/Makefile.am (host_headers): Remove fpos.h.
911 (bits_headers): Add postypes.h.
912 * include/Makefile.in: Regenerate.
913 * config/os/gnu-linux/fposh: Remove.
914 * config/os/generic/fpos.h: Remove.
916 * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
917 * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
918 * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
919 * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
920 * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
921 * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
922 * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
923 * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
924 * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
925 * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
926 * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
927 * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
928 * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
929 * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
930 * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
931 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
932 * testsuite/27_io/objects/char/10.cc: Same.
934 2003-10-16 Paolo Carlini <pcarlini@suse.de>
936 * src/locale.cc (locale::locale(const char*)): ... one
937 more comparison missed in the previous commit.
939 2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
941 * acconfig.h: Add HAVE_DRAND48.
942 * crossconfig.m4: Remove ISATTY.
943 * aclocal.m4: Regenerated.
944 * config.h.in: Regenerated.
945 * configure: Regenerated.
947 2003-10-16 Bernardo Innocenti <bernie@develer.com>
949 * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
950 __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
951 Document SMP safeness of asm macros.
953 2003-10-16 Paolo Carlini <pcarlini@suse.de>
955 * src/locale.cc (locale::locale(const char*)): Tweak
956 a couple of comparisons to use basic_string operators.
958 2003-10-16 Paolo Carlini <pcarlini@suse.de>
961 * config/locale/gnu/monetary_members.cc
962 (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
963 Don't leak memory if new throws.
964 * src/locale.cc (locale::locale(const char*)): In order not
965 to leak memory in case new throws, use a basic_string type
966 for __res too and avoid strdup.
968 2003-10-14 Jeff Bailey <jbailey@nisa.net>
971 * crossconfig.m4: Share the config between *-linux* and *-gnu*.
972 * configure: Regenerate.
974 2003-10-14 Carlo Wood <carlo@alinoe.com>
977 * include/bits/demangle.h (session<Allocator>::
978 decode_unqualified_name(string_type& output)): Fail on a
979 <operator-name> when decoding <template-argument>.
980 * testsuite/demangle/regression/cw-15.cc: New.
982 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
985 * include/bits/stl_algo.h (unique): Fix.
986 * testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
987 * testsuite/25_algorithms/unique/11480.cc: New, from the PR.
988 * testsuite/25_algorithms/unique/2.cc: New.
990 2003-10-14 Paolo Carlini <pcarlini@unitus.it>
992 * src/localename.cc (_M_replace_categories, M_replace_facet):
993 Const-ify a couple of variables.
995 2003-10-14 Petur Runolfsson <peturr02@ru.is>
996 Andreas Tobler <a.tobler@schweiz.ch>
998 * src/locale.cc (locale::_S_initialize): Workaround a confusion
999 of the use of the gthr API when __gthread_active_p() returns true.
1001 2003-10-12 Petur Runolfsson <peturr02@ru.is>
1002 Paolo Carlini <pcarlini@unitus.it>
1005 * src/strstream.cc (pbackfail): Fix to use to_int_type.
1006 * testsuite/backward/11460.cc: New, from the PR.
1008 2003-10-12 Paolo Carlini <pcarlini@unitus.it>
1010 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
1011 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
1012 * include/bits/basic_string.tcc: Likewise.
1013 * include/bits/ios_base.h: Likewise.
1014 * include/bits/istream.tcc: Likewise.
1015 * include/bits/locale_facets.tcc: Likewise.
1016 * include/bits/ostream.tcc: Likewise.
1017 * include/bits/stl_function.h: Likewise.
1018 * include/bits/stl_multiset.h: Likewise.
1019 * include/bits/stl_pair.h: Likewise.
1020 * include/bits/stl_set.h: Likewise.
1021 * include/bits/streambuf_iterator.h
1022 * include/std/std_iosfwd.h: Likewise.
1023 * include/std/std_istream.h: Likewise.
1024 * include/std/std_sstream.h: Likewise.
1025 * include/std/std_streambuf.h: Likewise.
1026 * src/ios.cc: Likewise.
1027 * include/bits/c++config:
1028 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
1029 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
1030 dg-error directive due to removal of a blank line.
1031 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
1033 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
1034 Paolo Carlini <pcarlini@unitus.it>
1036 PR libstdc++/11844/11740 (cont)
1037 * config/os/generic/ctype_inline.h (ctype<char>::is):
1038 Generically, use a bitmasksize of 15 (instead of 10);
1039 Fix the logic to actually return (M & m) != 0 as per
1042 2003-10-11 Bernardo Innocenti <bernie@develer.com>
1044 * crossconfig.m4 (*-uclinux*): New target.
1045 * configure: Regenerate.
1047 2003-10-10 Paolo Carlini <pcarlini@unitus.it>
1049 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
1050 Avoid unnecessarily calling __builtin_alloca and dealing
1051 explicitly with width() smaller than zero.
1052 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
1053 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
1054 const char*), operator<<(basic_ostream<char, _Traits>&,
1055 const char*), operator<<(basic_ostream, const basic_string&)):
1058 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
1060 * config/linker-map.gnu: Make more *_type_info bits visible.
1061 Move new/delete bits back into GLIBCXX space.
1063 * include/bits/locale_classes.h: Move _M_id out of line, so that
1064 locale::id::_S_highwater can be removed from the export list.
1065 * src/locale.cc (locale::id::_M_id): Define.
1067 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
1069 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
1072 2003-10-09 Paolo Carlini <pcarlini@unitus.it>
1075 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
1076 to conform to the requirements of 22.2.1.
1077 * config/os/bsd/freebsd/ctype_base.h: Likewise.
1078 * config/os/djgpp/ctype_base.h: Likewise.
1079 * config/os/generic/ctype_base.h: Likewise.
1080 * config/os/gnu-linux/ctype_base.h: Likewise.
1081 * config/os/hpux/ctype_base.h: Likewise.
1082 * config/os/irix/irix6.5/ctype_base.h: Likewise.
1083 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
1084 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
1085 * testsuite/22_locale/ctype/11844.cc: New.
1087 * config/locale/generic/ctype_members.cc (do_is):
1088 Generically, use a bitmasksize of 15 (instead of 10), since
1089 we don't know the numerical encoding of the various categories
1090 in the underlying /usr/include/ctype.h.
1092 2003-10-09 Benjamin Kosnik <bkoz@redhat.com>
1094 * src/string-inst.cc: Prune.
1095 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
1096 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1098 2003-10-09 Petur Runolfsson <peturr02@ru.is>
1100 * src/io-inst.cc: Don't include iostream.
1101 * include/bits/ios_base.h (ios_base::failure): Use string.
1102 * src/Makefile.am: Add ios_failure.cc.
1103 * src/Makefile.in: Regenerate.
1104 * src/ios.cc: Move ios_base::failure definitions to...
1105 * src/ios_failure.cc: ...here. New.
1107 2003-10-09 Petur Runolfsson <peturr02@ru.is>
1110 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1111 Move code needed for both seekoff and seekpos...
1112 (basic_filebuf::_M_seek): ...here. New function.
1113 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
1114 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
1115 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
1117 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
1119 2003-10-08 Paolo Carlini <pcarlini@unitus.it>
1121 * include/bits/locale_facets.tcc: More minor cosmetic
1122 changes and const-ifications of some variables.
1124 2003-10-07 Paolo Carlini <pcarlini@unitus.it>
1126 * include/bits/locale_facets.tcc: Minor cosmetic changes
1127 and const-ifications of some variables.
1129 * include/bits/locale_facets.tcc
1130 (money_get::do_get(..., string_type&)): Simplify an if-else.
1132 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
1135 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
1136 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
1137 * config/locale/generic/ctype_members.cc: Same.
1138 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
1140 2003-10-06 Paolo Carlini <pcarlini@unitus.it>
1142 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
1143 Improve performance-wise: avoid one traits::copy, avoid
1144 the __builtin_alloca, streamline.
1146 2003-10-05 Paolo Carlini <pcarlini@unitus.it>
1148 * include/bits/locale_facets.tcc
1149 (num_put::do_put(..., bool)): Prefer ?: to if-else.
1150 (time_get::_M_extract_name): Qualify min with std::.
1151 (__pad<>::_S_pad): Constify two variables; simplify an
1152 if-else statement factoring out some code.
1154 * include/bits/locale_facets.tcc: Minor cosmetic changes.
1156 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
1158 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1159 Constify a couple of variables.
1160 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
1161 ++__beg to *__beg++.
1163 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
1164 Petur Runolfsson <peturr02@ru.is>
1166 * include/ext/stdio_sync_filebuf.h: Don't include the whole
1167 <fstream>, only <streambuf> and <cstdio>.
1169 2003-10-04 Paolo Carlini <pcarlini@unitus.it>
1172 * include/bits/fstream.tcc (imbue): In case a codecvt facet
1173 is not available, set _M_codecvt = 0.
1174 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
1176 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
1179 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
1181 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
1183 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
1184 * src/locale.cc: Define.
1185 * src/localename.cc: Use it.
1186 * config/locale/generic/time_members.h: Same.
1187 * config/locale/gnu/messages_members.h: Same.
1188 * config/locale/gnu/time_members.h: Same.
1190 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
1193 * include/bits/fstream.tcc (seekoff): Ignore the openmode
1195 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
1196 seekpos): Remove the openmode argument.
1197 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
1198 seekpos): Remove redundant placeholder for the openmode argument.
1199 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
1200 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
1201 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
1202 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
1203 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
1205 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
1207 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
1208 (locale::facet::_S_get_c_locale): Same.
1210 2003-10-02 Benjamin Kosnik <bkoz@redhat.com>
1212 * config/linker-map.gnu: Export _S_get_c_locale instead of
1215 2003-10-02 Petur Runolfsson <peturr02@ru.is>
1217 * config/locale/generic/c_locale.cc
1218 (category_names, locale::_S_categories): Const qualify.
1219 * config/locale/gnu/c_locale.cc: Same.
1220 * config/locale/generic/time_members.h (__timepunct::__timepunct):
1221 Copy string contents before assigning to _M_name_timepunct,
1222 qualify strcpy and strlen with std::.
1223 * config/locale/gnu/time_members.h: Same.
1224 * config/locale/gnu/messages_members.h (messages::messages):
1225 Copy string contents before assigning to _M_name_messages,
1226 qualify strcpy and strlen with std::.
1227 * config/os/gnu-linux/ctype_noninline.h
1228 (ctype<char>::classic_table()): Don't call locale::classic().
1229 * include/bits/locale_classes.h
1230 (locale::_S_categories): Const qualify.
1231 (locale::_S_once, locale::_S_initialize_once,
1232 locale::facet::_S_once, locale::facet::_S_initialize_once,
1233 locale::facet::_S_get_c_locale): Declare.
1234 (locale::_S_initialize): Don't define.
1235 (locale::facet::_S_c_locale): Make private.
1236 (locale::facet::_S_c_name): Same, const qualify.
1237 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
1238 parameters, add throw() specifier.
1239 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
1240 messages::_M_name_messages): Const qualify.
1242 (locale::_S_once, locale::facet::_S_once): Define.
1243 (locale::classic): Move initialization code...
1244 (locale::_S_initialize_once): ...here.
1245 (locale::_S_initialize): Call _S_initialize_once through
1247 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
1248 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
1249 __gthread_once before returning _S_c_locale.
1250 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
1251 Drop unused parameters, add throw() specifier, don't initialize
1252 locale::facet::_S_c_locale and _S_c_name.
1254 * config/locale/generic/messages_members.h:
1255 Replace _S_c_locale with _S_get_c_locale().
1256 * config/locale/gnu/c_locale.cc: Same.
1257 * config/locale/gnu/messages_members.h: Same.
1258 * config/locale/gnu/numeric_members.cc: Same.
1259 * config/locale/gnu/time_members.cc: Same.
1260 * config/os/gnu-linux/ctype_noninline.h: Same.
1261 * include/bits/locale_facets.h: Same.
1262 * include/bits/locale_facets.tcc: Same.
1263 * src/codecvt.cc: Same.
1264 * src/ctype.cc: Same.
1266 2003-10-02 Carlo Wood <carlo@alinoe.com>
1268 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
1269 Decode symbols that start with _GLOBAL_[ID]_ differently: the
1270 trailing part ends with a terminating zero and is not necessarily an
1272 * src/demangle.cc (): Same.
1273 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
1275 2003-10-02 Paolo Carlini <pcarlini@unitus.it>
1277 * testsuite/22_locale/locale/cons/12438.cc: Use
1278 __gnu_test::try_named_locale("").
1280 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1282 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
1283 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
1285 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
1286 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
1288 * config.h.in, configure: Regenerate.
1289 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
1292 2003-10-01 Nathan Myers <ncm@cantrip.org>
1294 * include/bits/locale_facets.tcc (time_put::put): Avoid
1295 expensive *__s++, in favor of *__s, ++__s.
1297 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
1299 * include/bits/locale_facets.tcc (time_put::put): Minor
1300 tweak to the previous commit.
1302 2003-10-01 Paolo Carlini <pcarlini@unitus.it>
1305 * include/bits/locale_facets.tcc (time_put::put): Deal
1306 with the three issues pointed out by the PR.
1307 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
1308 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
1309 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
1310 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
1311 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
1313 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
1315 * include/bits/stl_algo.h: Minor cosmetic reformattings.
1317 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
1319 * include/bits/stl_algo.h (search_n): Tweak, to spare the
1322 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
1324 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
1325 qualify exception name.
1327 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
1330 * include/bits/locale_facets.tcc (locale::combine): Don't
1331 leak memory if _M_replace_facet throws.
1332 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
1334 * include/bits/locale_classes.h (locale::locale(const locale&,
1335 _Facet*)): Tweak, use consistently _M_remove_reference.
1337 2003-09-30 Paolo Carlini <pcarlini@unitus.it>
1339 PR libstdc++/12352 (cont)
1340 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
1341 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
1343 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
1344 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
1345 !_M_caches, !_M_names.
1347 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1349 * configure.host: Handle Solaris 2.5 micro releases explicitly.
1350 Remove wildcards from Solaris 2.6, 7-9: there were no
1352 Treat Solaris 10 and up like 7-9.
1354 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
1356 * include/bits/stl_algo.h (search_n): Improve the previous
1357 fix as suggested by Martin.
1359 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
1362 * include/bits/istream.tcc (peek): Set eofbit if sgetc
1364 * testsuite/27_io/basic_istream/peek/char/12296.cc:
1367 2003-09-29 Nathan Myers <ncm@cantrip.org>
1368 Paolo Carlini <pcarlini@unitus.it>
1371 * include/bits/stl_algo.h (search_n):
1372 Use iterator_traits<>::difference_type for __n.
1373 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
1375 2003-09-29 Paolo Carlini <pcarlini@unitus.it>
1377 * testsuite/22_locale/locale/cons/12352.cc:
1378 Use __attribute__((unused)) for test.
1380 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
1382 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
1383 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
1384 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
1386 2003-09-26 Brad Spencer <spencer@infointeractive.com>
1388 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
1389 Explicitly qualify exceptions.
1390 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
1391 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1392 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1393 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1395 2003-09-25 Paolo Carlini <pcarlini@unitus.it>
1398 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
1399 size_t)): Don't leak if memory allocations for _M_facets,
1400 _M_caches, and _M_names fail.
1401 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
1402 (locale::_Impl::_M_replace_categories(const _Impl*,
1404 (locale::_Impl::_M_install_facet(const locale::id*,
1405 const facet*)): Ditto.
1406 * include/bits/locale_classes.h (locale::locale(const locale&,
1407 _Facet*)): Don't leak memory.
1408 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
1410 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
1411 bool)): Qualify with std:: strcpy, tweak.
1412 * include/bits/locale_classes.h
1413 (locale::_Impl::_M_check_same_name): Qualify strcmp.
1415 2003-09-25 Brad Spencer <spencer@infointeractive.com>
1418 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
1420 * aclocal.m4: Regenerate.
1421 * config.h.in: Regenerate.
1422 * configure: Regenerate.
1423 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
1424 * config/io/basic_file_stdio.cc: Guard unistd.h.
1425 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
1426 * include/c_std/std_cwchar.h: Same.
1427 * include/c_std/std_cwctype.h: Same.
1429 2003-09-25 Benjamin Kosnik <bkoz@redhat.com>
1432 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
1433 * config/locale/generic/ctype_members.cc: Same.
1434 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
1435 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
1437 * config/os/generic/ctype_inline.h: Update.
1439 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
1441 * src/Makefile.am (version_dep): New variable.
1442 (libstdc___la_DEPENDENCIES): Use it to add dependency on
1443 libstdc++-symbol.ver only when using symbol versioning.
1444 * src/Makefile.in: Regenerate.
1446 2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
1448 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
1449 * testsuite/testsuite_hooks.h: Same.
1450 * testsuite/*/*.cc: Same.
1452 2003-09-22 Petur Runolfsson <peturr02@ru.is>
1454 * include/bits/istream.tcc (basic_istream::read,
1455 basic_istream::readsome, basic_istream::putback,
1456 basic_istream::unget, operator>>(basic_istream, CharT)):
1457 Avoid redundant setstate(failbit) calls when sentry::operator bool()
1460 2003-09-22 Carlo Wood <carlo@alinoe.com>
1463 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
1464 char const*, int, int)): Remove unused identifier
1465 cv_qualifier for overloaded constructor.
1467 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>
1470 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
1471 WARN_FLAGS, remove -Wno-format.
1472 * aclocal.m4: Regenerate.
1473 * configure: Regenerate.
1475 2003-09-18 Petur Runolfsson <peturr02@ru.is>
1477 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
1478 * config/io/basic_file_stdio.h: Same.
1479 * include/std/std_fstream.h (__ctype_type): Delete.
1480 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
1482 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
1485 * configure.host (abi_baseline_pair): Error out on solaris2
1486 configurations without a minor version number.
1488 2003-09-13 Phil Edwards <phil@codesourcery.com>
1490 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
1491 if man pages are on.
1492 * docs/doxygen/user.cfg.in: And here.
1494 2003-09-10 Daniel Jacobowitz <drow@mvista.com>
1495 Andreas Jaeger <aj@suse.de>
1498 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
1499 abi_check if cross compiling.
1500 * aclocal.m4: Regenerated.
1501 * configure: Regenerated.
1503 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
1505 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
1506 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
1507 (__cxa_vec_new3): Likewise.
1509 2003-09-10 Petur Runolfsson <peturr02@ru.is>
1511 * include/bits/fstream.tcc (basic_filebuf::seekoff):
1512 Use codecvt::length to handle variable-width stateless encodings
1514 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
1515 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
1517 2003-09-10 Alan Modra <amodra@bigpond.net.au>
1519 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
1522 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1524 * configure: Regenerate.
1526 2003-09-09 David Edelsohn <edelsohn@gnu.org>
1528 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
1529 qualifier from _S_synced_with_stdio.
1531 2003-09-09 Bernardo Innocenti <bernie@develer.com>
1533 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
1535 2003-09-04 Petur Runolfsson <peturr02@ru.is>
1538 * include/bits/fstream.tcc
1539 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
1540 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
1541 _M_ext_buf_size, _M_ext_next and _M_ext_end.
1542 (basic_filebuf::underflow): Handle variable-width stateless
1543 encodings (codecvt::encoding() == 0), including UTF-8.
1544 * include/std/std_fstream.h (basic_filebuf):
1545 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
1546 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
1547 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
1548 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
1549 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
1550 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
1551 * testsuite/27_io/objects/wchar_t/12.cc: New test.
1552 * testsuite/27_io/objects/wchar_t/13.cc: New test.
1554 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
1556 * docs/html/faq/index.html: Note that a namespace alias can't be
1557 used when specialising templates in extension namespace.
1558 * docs/html/faq/index.txt: Regenerate.
1560 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1563 * include/ext/stdio_sync_filebuf.h
1564 (stdio_sync_filebuf::_M_unget_buf): Declare it.
1565 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
1566 (stdio_sync_filebuf::uflow): Store the returned character in
1568 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
1569 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
1570 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
1571 _M_unget_buf, if any, else eof().
1572 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
1573 _M_unget_buf, if any, else eof().
1574 * testsuite/27_io/objects/char/12048.cc: Rename to...
1575 * testsuite/27_io/objects/char/12048-1.cc: ...this.
1576 * testsuite/27_io/objects/char/12048-2.cc: New test.
1577 * testsuite/27_io/objects/char/12048-3.cc: New test.
1578 * testsuite/27_io/objects/char/12048-4.cc: New test.
1579 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
1580 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
1581 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
1582 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
1583 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
1584 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
1585 * testsuite/ext/stdio_sync_filebuf_char.cc
1586 (test02, test03, test04, test05): New tests.
1587 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
1588 (test02, test03, test04, test05): New tests.
1590 2003-09-03 Petur Runolfsson <peturr02@ru.is>
1592 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
1593 stringbuf or strstreambuf. Fix typos.
1595 2003-09-02 Phil Edwards <phil@codesourcery.com>
1597 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
1599 * config.h.in: Add _GLIBCXX_HOSTED.
1600 * libsupc++/eh_term_handler.cc: Test it here; initialize
1601 __terminate_handler to std::abort if freestanding.
1602 * aclocal.m4, configure: Regenerated.
1603 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
1605 2003-08-29 Nathan Myers <ncm@cantrip.org>
1608 * include/bits/locale_facets.tcc (__pad): delete dead code.
1610 2003-08-28 Alan Modra <amodra@bigpond.net.au>
1612 * configure.ac: Test $with_cross_host against $build_alias, not $build.
1613 * configure: Regenerate.
1615 2003-08-27 Petur Runolfsson <peturr02@ru.is>
1617 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
1618 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
1620 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1622 * Makefile.am: Remove trailing whitespace. Remove needless
1623 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
1624 * include/Makefile.am: Likewise.
1625 * libmath/Makefile.am: Likewise.
1626 * libsupc++/Makefile.am: Likewise.
1627 * po/Makefile.am: Likewise.
1628 * src/Makefile.am: Likewise.
1629 * testsuite/Makefile.am: Likewise.
1631 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
1632 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1633 testsuite/Makefile.in: Regenerated.
1635 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1637 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
1639 * aclocal.m4, configure: Regenerate.
1641 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1643 * acinclude.m4: Include no-executables.m4.
1644 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
1645 * aclocal.m4: Regenerated.
1646 * configure: Regenerated.
1648 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1650 * acinclude.m4: Don't call AC_ISC_POSIX.
1651 * aclocal.m4: Regenerated.
1652 * configure: Regenerated.
1654 2003-08-27 Phil Edwards <pme@gcc.gnu.org>
1656 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
1657 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
1658 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
1659 used elsewhere in this file.
1660 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
1661 * configure.ac: ...called here to expand all conditionals.
1662 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
1663 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
1664 (install-freestanding-headers): New target, a subset of
1665 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
1667 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1668 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1669 src/Makefile.in, testsuite/Makefile.in: Regenerated.
1671 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1673 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
1674 pathnames from generated tag file.
1676 2003-08-26 Phil Edwards <pme@gcc.gnu.org>
1678 * Makefile.am: Add comment.
1679 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
1681 * configure.ac: Use them both here, instead of hardcoded lists.
1683 * fragment.am: Add STAMP varaible.
1684 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
1686 (stamp-*): Move file creation rule outside of 'if' branches to
1687 ensure the stamp-* files are actually updated. Use $(STAMP).
1688 * src/Makefile.am: Remove now-nonexistant variable.
1689 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
1691 * po/Makefile.am: Include same fragment as all the others.
1693 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1694 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
1696 2003-08-26 Loren J. Rittle <ljrittle@acm.org>
1698 * testsuite/data/cin_unget-1.txt: New.
1699 * testsuite/27_io/objects/char/12048.cc: New.
1701 2003-08-25 Zack Weinberg <zack@codesourcery.com>
1703 * config/os/hpux/os_defines.h: Unconditionally define
1704 _GLIBCXX_GTHREAD_USE_WEAK to 0.
1706 2003-08-19 Geoffrey Keating <geoffk@apple.com>
1708 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
1709 crosses to Darwin targets.
1710 * configure: Regenerate.
1712 2003-08-19 Petur Runolfsson <peturr02@ru.is>
1714 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
1716 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1718 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
1719 in the patch from 3 minutes ago. Boy, is my face red.
1720 * configure: At least I remembered to regenerate this.
1722 2003-08-17 Phil Edwards <pme@gcc.gnu.org>
1724 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
1725 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
1726 things from the top level.
1727 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
1728 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
1729 (currently unused). Strip the fake-VPATH shell fragment from
1730 automake-generated rules, if present.
1731 * linkage.m4: Add comment.
1733 * fragment.am: New file, containing factored-out common settings.
1734 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
1735 * Makefile.am: Include fragment.am. Remove common variables.
1736 * include/Makefile.am: Likewise.
1737 * libmath/Makefile.am: Likewise.
1738 * libsupc++/Makefile.am: Likewise.
1739 * po/Makefile.am: Likewise. Print rules during check.
1740 * src/Makefile.am: Likewise.
1741 * testsuite/Makefile.am: Likewise.
1743 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
1744 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
1745 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1747 2003-08-11 John Levon <levon@movementarian.org>
1749 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
1750 remaining places for the name change from GLIBCPP_FORCE_NEW
1751 to GLIBCXX_FORCE_NEW
1753 2003-08-11 Benjamin Kosnik <bkoz@redhat.com>
1755 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
1757 * include/bits/basic_ios.tcc: Same.
1758 * include/bits/istream.tcc: Same.
1759 * include/bits/locale_facets.h: Same.
1760 * include/bits/ostream.tcc: Same.
1761 * include/std/std_istream.h: Same.
1762 * include/std/std_ostream.h: Same.
1763 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
1765 * include/ext/rope: Remove build warning.
1767 2003-08-11 Andreas Jaeger <aj@suse.de>
1769 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
1771 * include/Makefile.in: Regenerated.
1773 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1775 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
1776 when calling AC_PROG_CC.
1777 * aclocal.m4, configure: Regenerate.
1779 2003-08-11 Phil Edwards <pme@gcc.gnu.org>
1781 * acinclude.m4: Properly quote variable which will be expanded
1782 inside makefiles. Use CXX instead of CC to extract compiler info.
1783 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
1784 correct form in PACKAGE.
1785 * aclocal.m4, configure: Regenerate.
1787 2003-08-08 Benjamin Kosnik <bkoz@redhat.com>
1789 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
1790 (check-abi-verbose): Same.
1791 * testsuite/testsuite_performance.h (report_performance): Same.
1793 2003-08-08 Loren J. Rittle <ljrittle@acm.org>
1795 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
1797 2003-08-07 Doug Gregor <dgregor@apple.com>
1799 * include/bits/char_traits.h (char_traits::not_eof): Match operand
1802 2003-08-07 Bernardo Innocenti <bernie@develer.com>
1805 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
1806 Replace variants with new BSET-based version.
1808 2003-08-07 Carlo Wood <carlo@alinoe.com>
1810 * include/bits/demangle.h: Do not use cctype functions that depend
1813 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1815 * configure.in: Rename...
1816 * configure.ac: ...to this.
1817 * docs/html/17_intro/porting.texi: Update name.
1819 * docs/html/17_intro/porting.html: Regenerate.
1820 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
1821 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
1822 testsuite/Makefile.in: Regenerate (picks up new dependancy).
1824 2003-08-05 Phil Edwards <pme@gcc.gnu.org>
1826 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
1827 pipe, open the window to let out the fumes, redo the option-handling
1828 logic to properly execute the detection test.
1829 * aclocal.m4, configure: Regenerate.
1831 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1833 Convert to new autotools.
1834 * acconfig.h: Update with correct names.
1835 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
1836 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
1837 * configure.in: Update. Split hardcoded cross-configury settings
1839 * crossconfig.m4: ...here. New file. Contents untouched.
1840 * acinclude.m4: Reorganize and rewrite as needed. Split large
1842 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
1844 * scripts/testsuite_flags.in: Update.
1846 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
1847 variables (already generated by automake).
1848 * include/Makefile.am: Ditto.
1849 * libmath/Makefile.am: Ditto.
1850 * libsupc++/Makefile.am: Ditto.
1851 * po/Makefile.am: Ditto.
1852 * src/Makefile.am: Ditto.
1854 * aclocal.m4: Regenerate using new versions.
1855 * config.h.in: Ditto.
1857 * Makefile.in: Ditto.
1858 * include/Makefile.in: Ditto.
1859 * libmath/Makefile.in: Ditto.
1860 * libsupc++/Makefile.in: Ditto.
1861 * po/Makefile.in: Ditto.
1862 * src/Makefile.in: Ditto.
1863 * testsuite/Makefile.in: Ditto.
1865 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1867 * po/libstdc++.pot: Re-extract/regenerate.
1869 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1871 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
1872 Remove unneeded variable assignments. Leave them for automake.
1873 * testsuite/lib/libstdc++-v3.exp: Rename...
1874 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
1876 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
1877 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
1880 2003-08-04 Phil Edwards <pme@gcc.gnu.org>
1882 * docs/doxygen/guide.html: run_doxygen uses bash.
1883 * docs/doxygen/mainpage.html: We'll be shipping tag files.
1884 * docs/doxygen/run_doxygen: Tweaks and improvements.
1885 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
1886 * docs/html/install.html: Update autoconf/automake requirements.
1887 * docs/html/test.html: Add section describing DejaGNU support.
1888 * docs/html/17_intro/confdeps.dot: New file, generates...
1889 * docs/html/17_intro/confdeps.png: ...this new file.
1890 * docs/html/Makefile: Generated here.
1891 * docs/html/17_intro/configury.html: New file.
1893 2003-07-31 Phil Edwards <pme@gcc.gnu.org>
1895 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
1896 * testsuite/lib/libstdc++-v3.exp: ...to this.
1897 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
1899 2003-07-31 Doug Gregor <dgregor@apple.com>
1901 Add user specialization tests.
1902 * testsuite/23_containers/deque/1.cc: New.
1903 * testsuite/23_containers/list/1.cc: New.
1904 * testsuite/23_containers/map/1.cc: New.
1905 * testsuite/23_containers/multimap/1.cc: New.
1906 * testsuite/23_containers/multiset/1.cc: New.
1907 * testsuite/23_containers/set/1.cc: New.
1908 * testsuite/23_containers/vector/1.cc: New.
1910 2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
1912 Reshuffle 23_containers testsuite.
1913 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
1914 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
1915 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
1916 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
1917 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
1918 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
1919 vector_resize.cc: Split into...
1920 * 23_containers/bitset/cons/1.cc: New.
1921 * 23_containers/bitset/cons/6282.cc: New.
1922 * 23_containers/bitset/count/6124.cc: New.
1923 * 23_containers/bitset/operations/1.cc: New.
1924 * 23_containers/bitset/operations/2.cc: New.
1925 * 23_containers/bitset/test/1.cc: New.
1926 * 23_containers/bitset/to_ulong/1.cc: New.
1927 * 23_containers/deque/cons/1.cc: New.
1928 * 23_containers/deque/cons/2.cc: New.
1929 * 23_containers/deque/operators/1.cc: New.
1930 * 23_containers/list/capacity/1.cc: New.
1931 * 23_containers/list/cons/1.cc: New.
1932 * 23_containers/list/cons/2.cc: New.
1933 * 23_containers/list/cons/3.cc: New.
1934 * 23_containers/list/cons/4.cc: New.
1935 * 23_containers/list/cons/5.cc: New.
1936 * 23_containers/list/cons/6.cc: New.
1937 * 23_containers/list/cons/7.cc: New.
1938 * 23_containers/list/cons/8.cc: New.
1939 * 23_containers/list/cons/9.cc: New.
1940 * 23_containers/list/modifiers/1.cc: New.
1941 * 23_containers/list/modifiers/2.cc: New.
1942 * 23_containers/list/modifiers/3.cc: New.
1943 * 23_containers/list/operators/1.cc: New.
1944 * 23_containers/list/operators/2.cc: New.
1945 * 23_containers/list/operators/3.cc: New.
1946 * 23_containers/list/operators/4.cc: New.
1947 * 23_containers/map/insert/1.cc: New.
1948 * 23_containers/map/operators/1.cc: New.
1949 * 23_containers/map/operators/1_neg.cc: New.
1950 * 23_containers/multiset/insert/1.cc: New.
1951 * 23_containers/priority_queue/members/7161.cc: New.
1952 * 23_containers/queue/members/7157.cc: New.
1953 * 23_containers/set/operators/1_neg.cc: New.
1954 * 23_containers/stack/members/7158.cc: New.
1955 * 23_containers/vector/bool/1.cc: New.
1956 * 23_containers/vector/bool/6886.cc: New.
1957 * 23_containers/vector/capacity/1.cc: New.
1958 * 23_containers/vector/capacity/2.cc: New.
1959 * 23_containers/vector/capacity/8230.cc: New.
1960 * 23_containers/vector/cons/1.cc: New.
1961 * 23_containers/vector/cons/2.cc: New.
1962 * 23_containers/vector/cons/3.cc: New.
1963 * 23_containers/vector/cons/4.cc: New.
1964 * 23_containers/vector/cons/6513.cc: New.
1965 * 23_containers/vector/element_access/1.cc: New.
1966 * 23_containers/vector/modifiers/1.cc: New.
1967 * 23_containers/vector/modifiers/2.cc: New.
1968 * 23_containers/vector/resize/1.cc: New.
1970 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1972 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
1974 * testsuite/thread/pthread2.cc: Likewise.
1975 * testsuite/thread/pthread3.cc: Likewise.
1976 * testsuite/thread/pthread4.cc: Likewise.
1977 * testsuite/thread/pthread5.cc: Likewise.
1978 * testsuite/thread/pthread6.cc: Likewise.
1979 * testsuite/thread/pthread7-rope.cc: Likewise.
1981 2003-07-30 Phil Edwards <pme@gcc.gnu.org>
1983 * include/bits/c++config: Partial reversion (comment placement) of
1986 2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
1988 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
1989 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
1990 (_GLIBCXX_AT_AT): Remove.
1991 (__USE_MALLOC): Remove.
1992 * include/std/std_fstream.h: Modify.
1993 * include/bits/basic_ios.h: Same.
1994 * include/bits/valarray_array.h: Same.
1995 * include/c_std/std_cmath.h: Same.
1996 * include/c_std/cmath.tcc: Same.
1997 * include/std/std_vector.h: Same.
1998 * include/std/std_string.h: Same.
1999 * include/std/std_stack.h: Same.
2000 * include/std/std_queue.h: Same.
2001 * include/std/std_list.h: Same.
2002 * include/std/std_deque.h: Same.
2003 * include/std/std_streambuf.h: Same.
2004 * include/std/std_sstream.h: Same.
2005 * include/std/std_ostream.h: Same.
2006 * include/std/std_istream.h: Same.
2007 * include/bits/valarray_array.tcc: Same, format.
2009 * include/c/std_cctype.h: Fix include guards.
2010 * include/c/std_cerrno.h: Same.
2011 * include/c/std_cfloat.h: Same.
2012 * include/c/std_climits.h: Same.
2013 * include/c/std_clocale.h: Same.
2014 * include/c/std_cmath.h: Same.
2015 * include/c/std_csetjmp.h: Same.
2016 * include/c/std_csignal.h: Same.
2017 * include/c/std_cstdarg.h: Same.
2018 * include/c/std_cstddef.h: Same.
2019 * include/c/std_cstdio.h: Same.
2020 * include/c/std_cstdlib.h: Same.
2021 * include/c/std_cstring.h: Same.
2022 * include/c/std_ctime.h: Same.
2023 * include/c/std_cwchar.h: Same.
2024 * include/c/std_cwctype.h: Same.
2025 * include/c_std/cmath.tcc: Same.
2026 * include/c_std/std_cmath.h: Same.
2028 2003-07-30 Gawain Bolton <gp.bolton@computer.org>
2031 * include/bits/stl_tree.h: Replace C-style casts with C++-style
2032 casts. Changes to avoid casting away constness. Eliminate
2033 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
2034 initialization lists. Move out implementation of __black_count()
2036 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
2037 Rename_Rb_tree_base_iterator::_M_increment() to
2038 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
2040 * config/linker-map.gnu: Add and change symbols here.
2042 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
2044 * docs/html/22_locale/howto.html: Use locale::classic() instead
2047 2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
2049 * testsuite/testsuite_hooks.h: Remove list include.
2050 (func_callback): Define as unique type, not std::list.
2051 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
2052 * testsuite/libstdc++-v3.dg/dg.exp: Same.
2053 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
2054 * testsuite/23_containers/bitset_ctor.cc:
2055 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
2056 * testsuite/18_support/numeric_limits.cc: Same.
2057 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
2058 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
2059 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
2060 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
2061 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
2062 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
2063 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
2064 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
2065 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
2066 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
2067 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
2068 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
2069 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
2070 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
2071 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
2072 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
2073 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
2074 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
2075 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
2076 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
2077 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
2078 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
2079 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
2080 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
2081 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
2082 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
2083 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
2084 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
2085 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
2086 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
2087 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
2088 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
2089 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
2090 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
2091 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
2092 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
2093 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
2094 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
2095 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
2096 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
2097 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
2098 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
2099 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
2100 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
2101 * testsuite/23_containers/bitset_ctor.cc: Same.
2102 * testsuite/23_containers/bitset_shift.cc: Same.
2103 * testsuite/23_containers/vector_ctor.cc: Same.
2104 * testsuite/23_containers/vector_element_access.cc: Same.
2105 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
2106 * testsuite/24_iterators/iterator.cc: Same.
2107 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
2108 * testsuite/25_algorithms/lower_bound.cc: Same.
2109 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
2110 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
2111 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
2112 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
2113 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
2114 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
2115 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
2116 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
2117 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
2118 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
2119 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
2122 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
2124 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
2125 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
2126 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
2127 GLIBCPP to GLIBCXX (and explain as needed).
2129 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
2133 2003-07-28 Phil Edwards <pme@gcc.gnu.org>
2135 * testsuite/22_locale/messages/members/char/1.cc,
2136 testsuite/22_locale/messages/members/char/2.cc,
2137 testsuite/22_locale/messages/members/char/3.cc,
2138 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
2139 the origin of LOCALEDIR.
2140 * testsuite/lib/libstdc++-v3.exp: New file.
2142 2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
2144 * include/bits/char_traits.h: Update copyright, tweak.
2145 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
2148 2003-07-24 Matt Austern <austern@apple.com>
2150 * /include/bits/char_traits.h (class char_traits): Put all the
2151 real work into the new class template __gnu_cxx::char_traits.
2152 Gave generic definitions for member functions. Types are taken
2153 from the new class template __gnu_cxx::_Char_types.
2154 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
2155 file. Test of std::char_traits<short>, which serves as a test of
2156 the char_traits primary template.
2158 2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
2160 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
2162 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
2164 * testsuite/23_containers/map_operators.cc: Conform to
2165 container requirement as value must be Assignable.
2167 2003-07-23 Alexandre Oliva <aoliva@redhat.com>
2169 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
2170 tests not only generation of pch files, but also their use.
2171 * aclocal.m4, configure: Rebuilt.
2173 2003-07-23 Steve Ellcey <sje@cup.hp.com>
2175 * config/cpu/hppa/atomicity.h: Change
2176 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
2177 to match misc-inst.cc
2179 2003-07-23 Steve Ellcey <sje@cup.hp.com>
2181 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
2182 * include/c_std/std_cctype.h: Ditto.
2183 * include/c_std/std_cerrno.h: Ditto.
2184 * include/c_std/std_cfloat.h: Ditto.
2185 * include/c_std/std_climits.h: Ditto.
2186 * include/c_std/std_clocale.h: Ditto.
2187 * include/c_std/std_cmath.h: Ditto.
2188 * include/c_std/std_csetjmp.h: Ditto.
2189 * include/c_std/std_csignal.h: Ditto.
2190 * include/c_std/std_cstdarg.h: Ditto.
2191 * include/c_std/std_cstddef.h: Ditto.
2192 * include/c_std/std_cstdio.h: Ditto.
2193 * include/c_std/std_cstdlib.h: Ditto.
2194 * include/c_std/std_cstring.h: Ditto.
2195 * include/c_std/std_ctime.h: Ditto.
2196 * include/c_std/std_cwchar.h: Ditto.
2197 * include/c_std/std_cwctype.h: Ditto.
2198 * include/std/std_algorithm.h: Ditto.
2199 * include/std/std_bitset.h: Ditto.
2200 * include/std/std_complex.h: Ditto.
2201 * include/std/std_deque.h: Ditto.
2202 * include/std/std_fstream.h: Ditto.
2203 * include/std/std_functional.h: Ditto.
2204 * include/std/std_iomanip.h: Ditto.
2205 * include/std/std_ios.h: Ditto.
2206 * include/std/std_iosfwd.h: Ditto.
2207 * include/std/std_iostream.h: Ditto.
2208 * include/std/std_istream.h: Ditto.
2209 * include/std/std_iterator.h: Ditto.
2210 * include/std/std_limits.h: Ditto.
2211 * include/std/std_list.h: Ditto.
2212 * include/std/std_locale.h: Ditto.
2213 * include/std/std_map.h: Ditto.
2214 * include/std/std_memory.h: Ditto.
2215 * include/std/std_numeric.h: Ditto.
2216 * include/std/std_ostream.h: Ditto.
2217 * include/std/std_queue.h: Ditto.
2218 * include/std/std_set.h: Ditto.
2219 * include/std/std_sstream.h: Ditto.
2220 * include/std/std_stack.h: Ditto.
2221 * include/std/std_stdexcept.h: Ditto.
2222 * include/std/std_streambuf.h: Ditto.
2223 * include/std/std_string.h: Ditto.
2224 * include/std/std_utility.h: Ditto.
2225 * include/std/std_valarray.h: Ditto.
2226 * include/std/std_vector.h: Ditto.
2228 2003-07-22 Doug Gregor <dgregor@apple.com>
2230 * include/bits/basic_string.h (basic_string::insert): Deprecate
2233 2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
2235 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
2237 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
2238 (test03): Include typeinfo for bad_cast.
2239 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
2240 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
2241 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
2243 2003-07-21 Doug Gregor <dgregor@apple.com>
2245 * include/bits/boost_concept_check.h:
2246 (_EqualityComparableConcept::__constraints): Remove != from the
2247 list of constraints; it is not listed in Table 28 of the C++98
2250 2003-07-18 Andreas Jaeger <aj@suse.de>
2252 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
2253 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
2254 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
2255 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
2257 2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
2259 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
2260 * config/locale/generic/messages_members.h: Tweaks.
2261 * config/locale/generic/monetary_members.cc
2262 (moneypunct::_M_initialize_moneypunct): Use cache.
2263 (moneypunct::~moneypunct): Delete cache.
2264 * config/locale/generic/time_members.cc:
2265 (__timepunct::_M_initialize_timepunct): Use cache.
2266 * config/locale/generic/time_members.h:
2267 (__timepunct::~__timepunct): Delete cache.
2268 (__timepunct::__timepunct): Set cache.
2269 * config/locale/gnu/messages_members.h: Tweaks.
2270 * config/locale/gnu/monetary_members.cc:
2271 (moneypunct::_M_initialize_moneypunct): Use cache.
2272 (moneypunct::~moneypunct): Delete cache.
2273 * config/locale/gnu/time_members.cc:
2274 (__timepunct::_M_initialize_timepunct): Use cache.
2275 * config/locale/gnu/time_members.h:
2276 (__timepunct::~__timepunct): Delete cache.
2277 (__timepunct::__timepunct): Set cache.
2278 * include/bits/locale_facets.h (__timepunct_cache): New.
2279 (__moneypunct_cache): New.
2280 * include/bits/locale_facets.tcc: Tweak.
2281 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
2282 * src/locale-inst.cc: Instantiate caches.
2283 * src/globals.cc: Add "C" caches.
2284 * src/localename.cc: Use external "C" caches.
2286 2003-07-17 Phil Edwards <pme@gcc.gnu.org>
2288 * docs/doxygen/guide.html: Fix typo.
2290 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
2292 * include/ext/pod_char_traits.h: Add state template argument.
2294 2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
2296 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
2297 (num_get::_M_convert_int): To _M_insert_int.
2298 (num_get::_M_convert_float): To _M_insert_float.
2299 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
2300 Use caches for ctype, num_get.
2301 (num_get::_M_extract_int): Same.
2302 (num_get::get(bool)): Same.
2303 (__verify_grouping): Use size_t.
2304 * src/locale-inst.cc: Update.
2305 * src/locale.cc: Adjust _S_atoms_in.
2307 2003-07-16 Phil Edwards <pme@gcc.gnu.org>
2309 * docs/doxygen/mainpage.html: Move building/writing instructions...
2310 * docs/doxygen/guide.html: ...to here. New file.
2312 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
2314 * docs/html/ext/howto.html: Update URL for SGI STL docs.
2315 * docs/html/faq/index.html: Same.
2316 * docs/html/faq/index.txt: Regenerate.
2318 2003-07-16 Paolo Carlini <pcarlini@unitus.it>
2321 * include/bits/locale_facets.tcc (money_get::do_get):
2322 Strip only _leading_ zeros.
2323 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
2324 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
2326 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2328 * include/ext/hash_map (class hash_multimap): Remove extra
2329 semicolons from __glibcxx_class_requires3 entries.
2330 * include/ext/hash_set (class hash_set): Ditto.
2331 (class hash_multiset): Ditto.
2333 2003-07-15 Petur Runolfsson <peturr02@ru.is>
2335 * include/bits/char_traits.h (char_traits<wchar_t>::move):
2336 Change last parameter from int_type to size_t.
2338 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
2340 * include/bits/stl_algo.h (includes, set_union, set_intersection,
2341 set_difference, set_symmetric_difference, max_element, min_element,
2342 next_permutation, prev_permutation, find_first_of, find_end):
2344 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
2345 restrictions in docs.
2346 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
2348 * docs/doxygen/doxygroups.cc (setoperations): New group.
2350 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
2352 * include/bits/basic_string.h: Document public functions.
2353 * docs/doxygen/TODO: Update c21 todo.
2355 2003-07-15 Jerry Quinn <jlquinn@optonline.net>
2357 * include/bits/stl_list.h: Document more functions.
2358 * docs/doxygen/TODO: Update c23 todo.
2360 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2362 * config/locale/gnu/c_locale.h (__convert_from_v): One more
2365 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2367 * include/bits/stl_tempbuf.h: Qualify free with std::.
2368 * src/locale.cc: Include <cstdlib>, qualify getenv.
2370 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2372 * config/locale/gnu/c_locale.h (__convert_from_v): Include
2373 <cstdio>. Qualify names.
2374 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
2376 2003-07-14 Paolo Carlini <pcarlini@unitus.it>
2377 Nathan C. Myers <ncm-nospam@cantrip.org>
2380 * include/std/std_fstream.h (xsputn): Declare only.
2381 * include/bits/fstream.tcc (xsputn): Define, optimize for the
2382 always_noconv() case: when __n is sufficiently large flush
2383 the buffer and issue a direct write, if possible combining the
2384 two with writev in __basic_file<>::xsputn_2.
2385 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
2387 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
2389 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
2390 the availability of writev in <sys/uio.h>.
2391 * configure.in: Call here.
2392 * acconfig.h: Add undef for the corresponding symbol.
2393 * aclocal.m4: Regenerate.
2394 * configure: Regenerate.
2395 * config.h.in: Regenerate.
2396 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
2398 * include/std/std_fstream.h (sync): Constify a variable.
2400 2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
2402 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
2403 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2405 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
2407 * config/locale/gnu/c_locale.h (__convert_from_v): Include
2408 <cstring> and <cstdlib>. Qualify names.
2410 2003-07-13 Mark Mitchell <mark@codesourcery.com>
2412 * config/locale/generic/c_locale.h: Include <cstdlib> and
2414 * include/bits/boost_concept_check.h: Add this-> to unqualified
2416 * include/bits/deque.tcc: Likewise.
2417 * include/bits/locale_facets.h : Likewise.
2418 * include/bits/ostream.tcc: Likewise.
2419 * include/bits/stl_algo.h: Likewise.
2420 * include/bits/stl_bvector.h: Likewise.
2421 * include/bits/stl_deque.h: Likewise.
2422 * include/bits/stl_list.h: Likewise.
2423 * include/bits/stl_tree.h: Likewise.
2424 * include/bits/stl_vector.h: Likewise.
2425 * include/bits/vector.tcc: Likewise.
2426 * include/ext/rope: Likewise.
2427 * include/ext/ropeimpl.h: Likewise.
2428 * include/ext/stdio_filebuf.h: Likewise.
2430 2003-07-11 Jerry Quinn <jlquinn@optonline.net>
2432 * include/bits/basic_ios.h (copyfmt): Document.
2433 * include/bits/ios_base.h (event, event_callback, register_callback,
2434 xalloc, iword, pword): Document.
2435 (imbue, ~ios_base): Update docs on callbacks.
2437 2003-07-11 Phil Edwards <pme@gcc.gnu.org>
2439 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
2440 warning messages if the environment cannot support symbol versioning.
2441 (port_specific_symbol_file): It's plural, add an 's' on the end.
2442 * configure.host: Likewise.
2443 * src/Makefile.am: Likewise.
2444 * config/linker-map.gnu: Remove one semicolon, heh.
2445 * scripts/extract_symvers: Don't assume useful 'export' syntax.
2446 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
2447 * aclocal.m4, configure, src/Makefile.in: Regenerated.
2449 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
2451 * include/bits/locale_facets.tcc: Use function object for
2452 __use_cache instead of template function. Partially specialize for
2454 * include/bits/locale_classes.h: Update friend declaration for
2456 (_M_install_cache): No throw exception specs.
2457 * src/locale.cc: Remove __use_cache specializations.
2458 * include/ext/pod_char_traits.h (length): Tweak.
2459 * include/bits/locale_facets.h (__numpunct_cache): Remove
2461 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
2463 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
2464 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
2465 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
2466 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
2467 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
2468 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
2470 2003-07-09 Jerry Quinn <jlquinn@optonline.net>
2472 * src/ios.cc (_M_grow_words): Fix spelling.
2474 2003-07-09 Gawain Bolton <gp.bolton@computer.org>
2476 * include/bits/stl_tree.h: Move larger member functions in
2477 _Rb_tree_base_iterator and _Rb_tree_node to...
2478 * src/stl_tree.cc: Here.
2479 * src/Makefile.in: Add stl_tree.cc.
2480 * src/Makefile.in: Regenerated.
2481 * config/linker-map.gnu: Add symbols here.
2483 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2485 * testsuite/ext/pod_char_traits.cc: New.
2486 * include/ext/pod_char_traits.h: New.
2487 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
2488 * include/Makefile.in: Regenerate.
2489 * docs/html/21_strings/howto.html: Update.
2491 2003-07-08 Gawain Bolton <gp.bolton@computer.org>
2493 * testsuite/performance/list_create_fill_sort.cc: New.
2495 2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
2497 * config/locale/generic/numeric_members.cc: Correct type info.
2498 * config/locale/gnu/numeric_members.cc: Same.
2499 * include/bits/locale_facets.h: Same.
2501 * include/bits/char_traits.h: Correct spacing.
2503 * src/locale.cc: Wrap to 80 col.
2505 2003-07-07 Paolo Carlini <pcarlini@unitus.it>
2507 * include/std/std_complex.h: Partially revert last
2508 changes: cmath functions must not be qualified.
2510 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2512 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
2513 2.11 with globbing backport fix.
2514 * aclocal.m4, configure: Regenerated.
2516 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2518 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
2519 if output is at all possible (!_M_reading), cannot be active.
2521 * include/std/std_fstream.h: Tweak comments to doxygen style.
2523 2003-07-06 Paolo Carlini <pcarlini@unitus.it>
2525 * include/bits/locale_classes.h: Fully qualify standard
2526 functions with std::, thus avoiding Koenig lookup.
2527 * include/bits/locale_facets.tcc: Likewise.
2528 * src/locale.cc: Likewise.
2529 * src/localename.cc: Likewise.
2531 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2533 * include/bits/allocator_traits.h: Fix doxygen markup.
2534 * include/ext/mt_allocator.h: Likewise.
2536 2003-07-06 Phil Edwards <pme@gcc.gnu.org>
2538 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
2540 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2542 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
2543 requirement. Add port_specific_symbol_file variable.
2544 * configure.host: Add docs for port_specific_symbol_file.
2545 Clean up try_cpu block for x86.
2546 * config/linker-map.gnu: No more "last symbol can't have a
2547 semicolon" kaka. Add hook for port-specific symbols.
2548 * src/Makefile.am: Remove trailing whitespace.
2549 (libstdc++-symbol.ver): Detect the presence of port-specific
2550 symbols, and add them accordingly.
2552 * docs/html/17_intro/porting.texi: Bring up to date.
2554 * src/Makefile.in, aclocal.m4, configure,
2555 docs/html/17_intro/porting.html: Regenerated.
2557 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2559 * scripts/create_testsuite_files: New file.
2560 * testsuite/Makefile.am (all-local, check-performance): Use it.
2561 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
2562 * testsuite/Makefile.in: Regenerated.
2564 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
2566 * testsuite/performance/fstream_seek_write.cc: Likewise.
2567 * testsuite/performance/ofstream_insert_float.cc: Likewise.
2568 * testsuite/performance/ofstream_insert_int.cc: Likewise.
2569 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
2571 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2573 * include/bits/stl_list.h: Performance and memory usage
2574 improvements. In particular, the behaviour of the constructor and
2575 destructor as the list header node is no longer dynamically
2576 allocated/de-allocated.
2577 * include/bits/list.tcc: Likewise.
2579 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2581 * include/std/std_complex.h: Fully qualify standard
2582 functions with std::, thus avoiding Koenig lookup.
2583 * include/std/std_memory.h: Likewise.
2584 * include/std/std_valarray.h: Likewise.
2586 2003-07-05 Gawain Bolton <gp.bolton@computer.org>
2588 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
2589 variable for grandparent and use const
2591 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
2593 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
2594 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
2595 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
2596 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
2597 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
2598 * testsuite/27_io/objects/char/7.cc: Ditto
2599 * testsuite/27_io/objects/char/9661-1.cc: Ditto
2601 2003-07-05 Paolo Carlini <pcarlini@unitus.it>
2603 * include/std/std_bitset.h: Fully qualify standard
2604 functions with std::, thus avoiding Koenig lookup.
2606 * include/std/std_fstream.h: Change comment to doxygen style.
2608 2003-07-05 Phil Edwards <pme@gcc.gnu.org>
2610 * include/std/std_limits.h: More CPP->CXX changes.
2611 * scripts/check_survey.in: Likewise.
2613 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2615 Move from CPP to CXX.
2616 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
2617 * testsuite/Makefile.am: Same.
2618 * testsuite/Makefile.in: Regenerate.
2619 * po/Makefile.am: Same.
2620 * po/Makefile.in: Regenerate.
2621 * libsupc++/Makefile.am: Same.
2622 * libsupc++/Makefile.in: Regenerate.
2623 * libmath/Makefile.am: Same.
2624 * libmath/Makefile.in: Regenerate.
2625 * include/Makefile.am: Same.
2626 * include/Makefile.in: Regenerate.
2627 * src/Makefile.am: Same.
2628 * src/Makefile.in: Regenerate.
2630 * configure.host: Same.
2631 * configure.in: Same.
2632 * configure: Regenerate.
2633 * acinclude.m4: Same.
2635 * src: Change all files in this directory.
2637 * include: Same, standardize include guards.
2641 2003-07-04 Zack Weinberg <zack@codesourcery.com>
2643 * testsuite/22_locale/collate/compare/wchar_t/2.cc
2644 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
2645 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
2646 * testsuite/22_locale/collate/hash/wchar_t/2.cc
2647 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
2648 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
2649 * testsuite/22_locale/collate/transform/wchar_t/2.cc
2650 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
2651 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
2652 XFAIL on all targets.
2654 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2656 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
2657 * aclocal.m4: Regenerate.
2658 * configure: Regenerate.
2660 2003-07-04 Jerry Quinn <jlquinn@optonline.net>
2662 * include/bits/locale_facets.tcc (__int_to_char): Move common case
2665 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2666 Petur Runolfsson <peturr02@ru.is>
2668 * config/io/basic_file_stdio.cc: Revert.
2670 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2672 * include/bits/deque.tcc: Fully qualify standard
2673 functions with std::, thus avoiding Koenig lookup.
2674 * include/bits/gslice_array.h: Likewise.
2675 * include/bits/indirect_array.h: Likewise.
2676 * include/bits/list.tcc: Likewise.
2677 * include/bits/mask_array.h: Likewise.
2678 * include/bits/slice_array.h: Likewise.
2680 2003-07-04 Gawain Bolton <gbolton@free.fr>
2682 * include/bits/stl_tree.h: Performance and memory usage
2685 2003-07-04 H.J. Lu <hongjiu.lu@intel.com>
2687 * Makefile.am: Replace PWD with PWD_COMMAND.
2688 * Makefile.in: Regenerated.
2689 * docs/html/Makefile: Likewise.
2691 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2693 * include/bits/valarray_array.h: Fully qualify standard
2694 functions with std::, thus avoiding Koenig lookup.
2695 * include/bits/vector.tcc: Likewise.
2697 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2699 * include/Makefile.am: Update target_ to host_.
2700 * include/Makefile.in: Regenerate.
2701 * src/Makefile.am: Same.
2702 * src/Makefile.in: Regenerate.
2704 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
2706 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2708 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
2709 --enable-libstdcxx-debug-flags.
2710 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
2711 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
2712 * aclocal.m4: Regenerate.
2714 * docs/html/configopts.html: Update.
2716 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2718 Revert the fix for libstdc++/11378.
2720 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2723 * include/std/std_fstream.h (xsputn): In the unbuffered case,
2724 provided always_noconv(), issue directly _M_file.xsputn.
2725 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
2727 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2729 * include/bits/stl_list.h: Fully qualify standard
2730 functions with std::, thus avoiding Koenig lookup.
2731 * include/bits/stl_queue.h: Likewise.
2732 * include/bits/stl_raw_storage_iter.h: Likewise.
2733 * include/bits/stl_tempbuf.h: Likewise.
2734 * include/bits/stl_tree.h: Likewise.
2735 * include/bits/stl_uninitialized.h: Likewise.
2736 * include/bits/stl_vector.h: Likewise.
2737 * include/ext/rope: Change includes order.
2739 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
2741 * configure.host (fpos_include_dir): Fix.
2743 2003-07-04 Paolo Carlini <pcarlini@unitus.it>
2745 * include/bits/stl_heap.h: Fully qualify standard
2746 functions with std::, thus avoiding Koenig lookup.
2747 * include/bits/stl_iterator_base_funcs.h: Likewise.
2749 * include/bits/stl_algo.h: Qualify __iterator_category too.
2750 * include/bits/stl_algobase.h: Likewise.
2751 * include/bits/stl_bvector.h: Likewise.
2753 * include/bits/stl_algo.h: Don't qualify the pair type.
2755 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2757 * include/Makefile.am (target_headers): Add fpos.h
2758 (bits_headers): Remove.
2759 * include/Makefile.in: Regenerate.
2760 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
2761 * configure: Regenerate.
2762 * configure.host: Add fpos_include_dir.
2763 * config/os/gnu-linux/fpos.h: New.
2764 * config/os/generic/fpos.h: Add.
2765 * include/bits/fpos.h: Remove.
2767 * config/io/c_io_stdio.h: Remove fpos_t typedef.
2769 * include/bits/fstream.tcc: Tweaks.
2770 * include/std/std_fstream.h: Same.
2772 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
2773 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
2774 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
2775 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
2776 * testsuite/27_io/fpos/1.cc: New.
2778 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
2779 Petur Runolfsson <peturr02@ru.is>
2781 * include/std/std_streambuf.h: Remove _M_pos.
2782 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
2783 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
2784 use fread/fwrite instead of read/write.
2785 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
2786 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
2787 before reading again.
2788 * testsuite/27_io/objects/char/6.cc: Tweak.
2790 2003-07-03 David Edelsohn <edelsohn@gnu.org>
2792 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
2793 _GLIBCPP_USE_WCHAR_T.
2795 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2797 * include/bits/basic_string.tcc (_M_replace_aux): Constify
2800 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2802 * include/bits/stl_bvector.h: Fully qualify standard
2803 functions with std::, thus avoiding Koenig lookup.
2804 * include/bits/stl_construct.h: Likewise.
2805 * include/bits/stl_deque.h: Likewise.
2807 2003-07-02 Paolo Carlini <pcarlini@unitus.it>
2809 * testsuite/22_locale/num_put/put/char/7.cc: Include
2810 <testsuite_hooks.h>, tweak.
2811 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
2813 2003-07-01 Phil Edwards <pme@gcc.gnu.org>
2815 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
2816 check* targets, but not libs/programs).
2817 * testsuite/Makefile.in: Regenerate.
2819 2003-07-01 Roger Sayle <roger@eyesopen.com>
2821 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
2822 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
2823 * aclocal.m4: Regenerate.
2824 * configure: Regenerate.
2826 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>
2828 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
2829 * aclocal.m4: Regenerated.
2830 * configure: Regenerated.
2832 2003-07-01 Paolo Carlini <pcarlini@unitus.it>
2835 * include/bits/fstream.tcc (underflow): For encoding() == 0
2836 don't read more than __buflen chars.
2837 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
2838 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
2839 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
2840 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
2842 2003-07-01 Jerry Quinn <jlquinn@optonline.net>
2844 * 22_locale/num_put/put/char/7.cc: New.
2845 * 22_locale/num_put/put/wchar_t/7.cc: New.
2847 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2849 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
2850 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
2852 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2854 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
2855 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
2856 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
2857 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
2858 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
2859 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
2860 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
2861 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
2862 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
2863 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
2864 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
2865 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
2866 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
2867 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
2868 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
2869 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
2870 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
2871 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
2872 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
2873 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
2874 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
2875 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
2876 * data/seekoff-1.tst: Remove.
2877 * data/seekoff-1io.tst: New.
2878 * data/seekoff-1out.tst: New.
2879 * data/seekoff-2.tst: Remove.
2880 * data/seekoff-2io.tst: New.
2881 * data/seekoff-2out.tst: New.
2883 * data/seekpos-1.tst: Remove.
2884 * data/seekpos-1io.tst: New.
2885 * data/seekpos-1out.tst: New.
2886 * data/seekpos-2.tst: Remove.
2887 * data/seekpos-2io.tst: New.
2888 * data/seekpos-2out.tst: New.
2889 * data/seekpos.txt: New.
2891 2003-06-30 Jerry Quinn <jlquinn@optonline.net>
2893 * src/locale.cc (__use_cache<numpunct>): Move from here ...
2894 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
2897 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2899 * include/bits/stl_algobase.h: Fully qualify standard
2900 functions with std::, thus avoiding Koenig lookup.
2902 2003-06-30 Doug Gregor <dgregor@apple.com>
2904 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
2905 subscripting empty string.
2907 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2909 * testsuite/Makefile.am (check-am): Do not override.
2910 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
2911 * testsuite/Makefile.in: Regenerate.
2913 2003-06-30 Doug Gregor <dgregor@apple.com>
2915 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
2916 Don't initialize an insert_iterator with a singular iterator.
2918 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>
2920 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
2921 * aclocal.m4: Regenerate.
2922 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
2923 GLIBCPP_ENABLE_PCH, default to yes.
2924 * configure: Regenerate.
2925 * docs/html/configopts.html: Add --enable-pch.
2927 2003-06-30 Phil Edwards <pme@gcc.gnu.org>
2929 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
2930 (libstdc++-v3-init): Also set LD_RUN_PATH.
2932 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2934 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
2935 from here to filebuf and stringbuf.
2936 (~basic_streambuf()): Don't set _M_mode.
2937 (basic_streambuf()): Don't set _M_mode.
2938 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
2939 (~basic_filebuf()): Clean up.
2940 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
2941 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
2942 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
2943 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
2944 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
2945 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
2946 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
2948 2003-06-30 Paolo Carlini <pcarlini@unitus.it>
2950 * include/std/std_fstream.h (_M_underflow): Remove.
2951 (uflow): Remove, inherited from streambuf.
2952 (underflow): Only declare.
2953 * include/bits/fstream.tcc (_M_underflow): Rename to
2954 underflow, to which is equivalent for __bump == false,
2956 * include/std/std_sstream.h (_M_underflow): Remove.
2957 (uflow): Remove, inherited from streambuf.
2958 (underflow): Only declare.
2959 * include/bits/sstream.tcc (_M_underflow): Rename to
2960 underflow, to which is equivalent for __bump == false,
2963 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2965 * include/bits/stl_algo.h: Fully qualify standard functions
2966 with std::, thus avoiding Koenig lookup.
2968 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2970 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
2971 Improve type correctness-wise.
2972 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
2974 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
2976 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
2979 2003-06-29 Paolo Carlini <pcarlini@unitus.it>
2981 * include/std/std_streambuf.h (uflow): According to
2982 27.5.2.4.3,p16, don't check gptr() < egptr().
2984 2003-06-28 Paolo Carlini <pcarlini@unitus.it>
2987 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
2988 (seekpos): Likewise.
2989 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
2991 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
2994 2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
2996 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
2997 output name to libstdc++-v3-performance.sum.
2998 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
2999 * testsuite/Makefile.in: Regenerate.
3001 2003-06-27 Matthias Klose <doko@debian.org>
3003 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
3004 output of abi-check in libstdc++-v3-abi.sum.
3005 * testsuite/Makefile.in: Regenerate.
3007 2003-06-27 Krister Walfridsson <cato@df.lth.se>
3009 * config/os/bsd/netbsd/ctype_noninline.h
3010 (_C_ctype_): Declare.
3011 (ctype<char>::classic_table): Return _C_ctype_ + 1.
3012 (ctype<char>::ctype): Use classic_table.
3014 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
3015 Nathan C. Myers <ncm-nospam@cantrip.org>
3018 * include/bits/fstream.tcc (_M_underflow): Properly estimate
3019 the worst-case number of external bytes for a given get area.
3020 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
3022 2003-06-27 Paolo Carlini <pcarlini@unitus.it>
3023 Petur Runolfsson <peturr02@ru.is>
3026 * include/bits/fstream.tcc (overflow): Properly estimate the
3027 worst-case number of external bytes for a given put area
3028 (by using codecvt::max_length()).
3029 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
3030 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
3031 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
3032 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
3034 2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
3036 * config/linker-map.gnu: Remove ; after __numpunct_cache.
3038 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
3040 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
3041 to the imbued locale.
3042 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
3044 (num_put::_M_convert_float): Use.
3046 2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
3047 Jerry Quinn <jlquinn@optonline.net>
3049 * config/linker-map.gnu: Add __numpunct_cache.
3050 * config/locale/gnu/numeric_members.cc
3051 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
3052 all elements for "C" locale.
3053 (numpunct::~numpunct): Delete _M_data.
3054 * config/locale/generic/numeric_members.cc: Same.
3055 * include/bits/basic_ios.tcc
3056 (basic_ios::init): Remove __locale_cache bits.
3057 (basic_ios::_M_cache_locale): Same.
3058 * include/bits/ios_base.h: Same. Tweaks.
3059 * include/bits/locale_classes.h: Tweaks. Reorder classes.
3060 (__use_cache): Make friends with _Impl, locale.
3061 (_Impl::_M_caches): Add.
3062 (_Impl::_M_install_cache): Add.
3063 * include/bits/locale_facets.h (__numpunct_cache): New.
3064 (numpunct): Encapsulate data members in __numpunct_cache member,
3065 _M_data. Adjust virtuals.
3066 (numpunct::numpunct): New ctor for the same.
3067 (__locale_cache_base): Remove.
3068 (__locale_cache): Remove.
3069 * include/bits/locale_facets.tcc (__use_cache): New function,
3071 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
3072 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
3073 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
3074 * src/locale-inst.cc: Same. Add __numpunct_cache.
3075 * src/locale.cc: Tweak inlines.
3076 (__use_cache): Define specializations.
3077 * src/localename.cc: Use global bits.
3078 (_Impl::~Impl): Deal with __numpunct_cache destruction.
3079 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
3080 (_Impl::_M_init_facet): Take into account __numpunct_cache.
3081 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
3082 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
3084 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
3085 Paolo Carlini <pcarlini@unitus.it>
3087 * testsuite/performance/filebuf_copy.cc: New, testing char
3090 2003-06-26 Paolo Carlini <pcarlini@unitus.it>
3091 Nathan C. Myers <ncm-nospam@cantrip.org>
3093 * include/bits/fstream.tcc (_M_underflow): When the actual
3094 end of file is reached, set 'uncommitted' mode to allow a
3095 next write without an intervening seek (see C++98 27.8.1.1,2
3097 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
3099 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
3101 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
3102 sputc): Move inline, from here...
3103 * include/std/std_streambuf.h: ... to here.
3105 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
3106 sputbackc, sungetc, sputc): Use __builtin_expect.
3108 2003-06-24 Phil Edwards <pme@gcc.gnu.org>
3110 * docs/doxygen/mainpage.html: Use a useful title.
3112 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
3114 * docs/html/documentation.html: Remove assignment info.
3115 * docs/html/17_intro/contribute.html: Edits.
3116 * docs/html/17_intro/libstdc++-assign.tx: Remove.
3118 * docs/html/test.html: Update.
3122 2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
3123 Ulrich Drepper <drepper@redhat.com>
3125 * testsuite/testsuite_performance.h: Tweak mallinfo.
3127 2003-06-24 Paolo Carlini <pcarlini@unitus.it>
3128 Nathan C. Myers <ncm-nospam@cantrip.org>
3130 * include/std/std_fstream.h (_M_filepos): Remove.
3131 (_M_reading, _M_writing): New, encode the various I/O modes:
3132 'read', 'write' and 'uncommitted'.
3133 (sync): If there is something to flush, do it, then go to
3135 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
3136 with three different cases: __off > 0 (upon underflow),
3137 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
3139 (_M_underflow): Don't call overflow, set _M_reading to true
3141 (pbackfail): Set _M_reading to true on pback creation, tweak.
3142 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
3143 set _M_writing to true on success, tweak.
3144 (seekoff): Simplify, set _M_reading, _M_writing to false, call
3145 _M_set_buffer(-1) ('uncommitted').
3146 (open, close, setbuf): Set _M_reading, _M_writing to false and
3147 call _M_set_buffer(-1), tweak.
3148 (basic_filebuf): Don't set _M_buf_unified.
3149 (_M_destroy_internal_buffer): Don't call setg and setp.
3150 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
3151 _M_writing and _M_set_buffer(-1).
3152 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
3153 _M_out_lim, _M_buf_unified): Remove.
3154 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
3155 (setp): Don't set _M_out_lim.
3156 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
3157 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
3158 upon open the mode is 'uncommitted' and therefore the put area
3160 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
3161 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
3162 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
3163 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
3164 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
3165 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
3166 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
3167 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
3168 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
3169 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
3170 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
3171 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
3172 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
3173 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
3174 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
3175 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
3176 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
3177 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
3178 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
3179 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
3181 * include/bits/fstream.tcc (showmanyc): Use only the
3182 documented derivation interface to basic_streambuf (gptr(),
3183 setg(), etc.) to work right with user specializations.
3184 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
3185 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
3186 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
3188 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
3191 2003-06-23 Loren J. Rittle <ljrittle@acm.org>
3193 * configure.host (freebsd*): Set abi_baseline_pair.
3194 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
3195 (at or near first release) to 3.3.
3196 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
3197 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
3198 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
3200 * include/ext/mt_allocator.h: Portability.
3201 * testsuite/testsuite_performance.h: Likewise.
3203 2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
3205 * docs/html/17_intro/libstdc++-assign.txt: Update address.
3207 * testsuite/performance/ifstream_getline.cc: Fix.
3209 2003-06-23 Doug Gregor <dgregor@apple.com>
3211 * include/bits/boost_concept_check.h: Don't use _D or _R for type
3214 2003-06-22 Paolo Carlini <pcarlini@unitus.it>
3215 Nathan C. Myers <ncm-nospam@cantrip.org>
3217 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
3218 is now used only for filebuf, when _M_buf_unified is true.
3219 epgtr() plays the role of _M_out_lim but it's only updated
3220 upon overflow, underflow, uflow, seekoff/pos.
3221 * include/bits/sstream.tcc (_M_underflow): New, implements
3222 stringbuf::underflow and uflow.
3223 (seekoff, seekpos): Tweak, use _M_update_egptr.
3224 * include/std/std_sstream.h (str): Rewrote, deal correctly
3225 with the new logic, in particular, when pptr() > egptr().
3226 (_M_sync): When __testout && !__testin set all the get area
3227 pointers to the current string end.
3228 (_M_update_egptr): New, internal function updating egptr()
3229 to the actual string end.
3230 (_M_underflow): New, declare.
3231 (underflow): Dispatch to _M_underflow(false).
3232 (uflow): Dispatch to _M_underflow(true).
3234 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
3235 seekpos): Use only the documented derivation interface to
3236 basic_streambuf (gptr(), setg(), etc.) to work right with
3237 user specializations.
3238 * include/std/std_sstream.h (str, _M_sync): Likewise.
3240 2003-06-20 Doug Gregor <dgregor@apple.com>
3242 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
3243 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
3244 dereference end iterator.
3245 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
3246 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
3247 index equal to the length of a string.
3248 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
3249 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
3250 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
3251 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
3252 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
3253 * testsuite/23_containers/list_modifiers.cc: Don't dereference
3254 singular reverse iterator.
3255 * testsuite/23_containers/vector_bool.cc: Don't increment singular
3257 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
3259 2003-06-20 Doug Gregor <dgregor@apple.com>
3261 * include/bits/basic_string.h (basic_string::replace): Dispatch
3262 _InputIterator version based on _Is_integer.
3263 * include/bits/basic_string.tcc (basic_string::replace):
3264 Renamed replace(iterator, iterator, size_type, _CharT) to
3266 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
3267 Test basic_string::assign(_InputIterator, _InputIterator),
3268 which calls basic_string::replace(iterator, iterator,
3269 _Input_iterator, _InputIterator).
3271 2003-06-20 Benjamin Kosnik <bkoz@redhat.com>
3273 * testsuite/testsuite_performance.h (resource_counter): Don't use
3274 mallinfo at the moment.
3276 2003-06-20 Matthias Klose <doko@debian.org>
3278 * configure.host: Set try_cpu to target_cpu for existing
3281 2003-06-19 Andreas Jaeger <aj@suse.de>
3283 * testsuite/Makefile.am (extract_symvers): Revert accidental
3285 * testsuite/Makefile.in: Regenerate.
3287 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
3288 * configure: Regenerated.
3290 2003-06-19 Paolo Carlini <pcarlini@unitus.it>
3292 * include/std/std_sstream.h (_M_sync): Make non virtual.
3294 2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
3296 * testsuite/testsuite_performance.h (time_counter): New.
3297 (resource_counter): New.
3298 (report_performance): New.
3299 (start_counters): New.
3300 (stop_counters): New.
3301 (clear_counters): New.
3302 * testsuite/performance/allocator.cc: Instrument.
3303 * testsuite/performance/cout_insert_int.cc: Same.
3304 * testsuite/performance/complex_norm.cc: Same.
3305 * testsuite/performance/filebuf_sputc.cc: New.
3306 * testsuite/performance/fstream_seek_write.cc: Same.
3307 * testsuite/performance/ifstream_getline.cc: Same.
3308 * testsuite/performance/map_create_fill.cc: Same.
3309 * testsuite/performance/ofstream_insert_float.cc: Same.
3310 * testsuite/performance/ofstream_insert_int.cc: Same.
3311 * testsuite/performance/string_append.cc: Convert.
3312 * scripts/check_performance: New.
3313 * testsuite/Makefile.am (check-performance): New.
3316 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
3317 Benjamin Kosnik <bkoz@redhat.com>
3319 * include/std/std_sstream.h (setbuf): Check __n >= 0.
3320 * include/bits/fstream.tcc (setbuf): Tweak.
3322 2003-06-18 Paolo Carlini <pcarlini@unitus.it>
3324 * include/bits/sstream.tcc (seekoff): We can't seek beyond
3325 _M_out_lim, therefore _M_move_out_cur boils down to simply
3326 updating _M_out_cur.
3327 (seekpos): Likewise, clean up.
3329 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
3330 Paolo Carlini <pcarlini@unitus.it>
3332 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
3333 simply equivalent to the unbuffered case (0, 0) as far as
3334 _M_buf_size is concerned.
3336 2003-06-18 Andreas Jaeger <aj@suse.de>
3338 * testsuite/Makefile.am (new-abi-baseline): Create baseline
3340 (baseline_file): Use baseline_dir.
3341 (baseline_dir): New.
3342 (mkinstalldirs): New.
3344 * acinclude.m4: Rename baseline_file to baseline_dir, strip
3345 filename from baseline_dir.
3347 * testsuite/Makefile.in: Regenerated.
3348 * Makefile.in: Regenerated.
3349 * aclocal.m4: Regenerated.
3350 * configure: Regenerated.
3352 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
3354 * configure.in: Missed check_survey bit.
3355 * configure: Regenerated.
3357 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
3360 * config/abi/extract_symvers: Move to...
3361 * scripts/extract_symvers: ...here.
3362 * mkcheck.in: Move to..
3363 * scripts/check_survey.in: ...here.
3364 * testsuite_flags.in: Move to..
3365 * scripts/testsuite_flags.in: ...here.
3366 * configure.in: Change check and testsuite_flags locations.
3367 * configure: Regenerate.
3368 * testsuite/Makefile.am (current_symbols.txt): Change location.
3369 * testsuite/Makefile.in: Regenerate.
3370 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
3371 location of testsuite_flags.
3372 * Makefile.am (check-script): Move..
3373 (check-script-install): Move...
3374 * testsuite/Makefile.am: ... here.
3375 * testsuite/Makefile.in: Regenerate.
3376 * Makefile.in: Regenerate.
3378 2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
3380 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
3382 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
3384 * Makefile.am (check-abi): Move...
3385 (new-abi-baseline): Move...
3386 * testsuite/Makefile.am: ...here.
3387 (new-abi-baseline): Conditionalize.
3388 (check-abi): Conditionalize.
3389 (check-abi-verbose): New.
3390 * Makefile.in: Regenerate.
3391 * testsuite/Makefile.in: Regenerate.
3392 * configure.in: Consolidate testsuite configure bits.
3393 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
3394 * configure: Regenerate.
3395 * aclocal.m4: Regenerate.
3396 * testsuite/abi_check.cc: Add --check-verbose.
3397 Only output detailed information if --check-verbose.
3399 2003-06-16 Andreas Jaeger <aj@suse.de>
3401 * testsuite/abi_check.cc: Create summary report.
3403 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3405 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
3406 for systems with BUFSIZ != 8192.
3407 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
3408 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
3411 2003-06-16 Andreas Jaeger <aj@suse.de>
3413 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
3414 check-abi multilib aware.
3415 * aclocal.m4: Regenerate.
3416 * configure: Regenerate.
3418 2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
3419 Andreas Jaeger <aj@suse.de>
3421 * configure.host: Set x86_64 abi_baseline pair correctly.
3423 2003-06-16 Paolo Carlini <pcarlini@unitus.it>
3425 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
3426 fix for missing seeks between gets and puts into...
3427 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
3428 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
3429 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
3430 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
3431 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
3432 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
3434 2003-06-15 Richard Henderson <rth@redhat.com>
3436 * config/linker-map.gnu: Export virtual function thunks for
3439 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
3441 * config/abi/i686-pc-linux-gnu: To..
3442 * config/abi/i486-linux-gnu: ...this.
3443 * config/abi/alphaev67-unknown-linux-gnu: To..
3444 * config/abi/alpha-linux-gnu: ...this.
3445 * config/abi/ia64-unknown-linux-gnu: To...
3446 * config/abi/ia64-linux-gnu: ...this.
3447 * config/abi/x86_64-unknown-linux-gnu: To...
3448 * config/abi/x86_64-linux-gnu: ...this.
3449 * config/abi/i386-unknown-freebsd4: To...
3450 * config/abi/i386-freebsd4: ...this.
3451 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
3453 * configure.host: abi_baseline_triplet to abi_baseline_pair.
3454 Simplify cpu bits so that abi_baseline_pair can use the same
3456 * acinclude.m4: Same.
3457 * aclocal.m4: Regenerate.
3458 * configure.in: Can't get enable_abi_check to yes unless native.
3459 * configure: Regenerate.
3461 2003-06-13 Paolo Carlini <pcarlini@unitus.it>
3463 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
3464 fix for missing seeks between gets and puts into...
3465 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
3466 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
3467 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
3468 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
3469 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
3470 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
3471 for missing seeks between gets and puts.
3472 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
3473 * testsuite/data/seekoff-1.tst: New.
3474 * testsuite/data/seekoff-2.tst: New.
3475 * testsuite/data/seekpos-1.tst: New.
3476 * testsuite/data/seekpos-2.tst: New.
3478 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
3480 Avoid multi-processor bus contention on increment/decrement-and-
3481 test of the reference count in the empty-string object, by comparing
3482 addresses first, and never touching the reference count of the empty-
3484 * include/bits/basic_string.h:
3485 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
3487 (_Rep::_S_empty_rep()): New accessor.
3488 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
3489 a base class _Rep_base.
3490 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
3491 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
3492 since no longer must increment its refcount.
3493 * include/bits/basic_string.tcc:
3494 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
3495 return immediately. The former might be unnecessary. The latter
3496 prevents begin() and end() from cloning it unnecessarily.
3497 (_S_construct(_InIterator, _InIterator, const _Alloc&,
3498 input_iterator_tag), _S_construct(_InIterator, _InIterator,
3499 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
3500 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
3501 (_M_mutate): Check for the empty string and treat it as shared.
3502 This is necessary here because _M_mutate is sometimes called with
3503 all-zero arguments; in all other uses of _M_is_shared, the test comes
3506 2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
3508 * src/allocator-inst.cc: Explicitly instantiate.
3509 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
3511 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
3513 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3515 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
3516 * aclocal.m4: Regenerate.
3517 * Makefile.am (SUBDIRS): Remove libio.
3518 * Makefile.in: Regenerate.
3519 * configure.in: Same.
3520 * configure: Regenerate.
3521 * config/io/basic_file_libio.cc: Remove.
3522 * config/io/basic_file_libio.h: Remove.
3523 * config/io/c_io_libio_codecvt.c: Remove.
3524 * config/io/c_io_libio.h: Remove.
3526 * src/Makefile.am: Same.
3527 * src/Makefile.in: Regenerate.
3528 * docs/html/configopts.html: Edits.
3529 * docs/html/explanations.html: Edits.
3531 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
3533 * include/bits/stl_alloc.h (__debug_alloc): Move out.
3534 (__malloc_alloc): Same.
3535 (__pool_alloc): Same.
3536 (__new_alloc): Same.
3538 * include/bits/allocator.h: ...this.
3539 * include/bits/stl_deque.h: Modify comment.
3540 * include/bits/stl_tree.h: Modify include.
3541 * include/std/std_memory.h: Same.
3542 * include/ext/rope: Same.
3543 * include/ext/slist: Same.
3544 * include/std/std_vector.h: Same.
3545 * include/std/std_stack.h: Same.
3546 * include/std/std_queue.h: Same.
3547 * include/std/std_list.h: Same.
3548 * include/std/std_deque.h: Same.
3549 * include/backward/alloc.h: Same.
3550 * include/ext/debug_allocator.h: New.
3551 * include/ext/malloc_allocator.h: New.
3552 * include/ext/pool_allocator.h: New.
3553 * include/ext/new_allocator.h: New.
3554 * include/bits/pthread_allocimpl.h: Remove.
3555 * include/bits/stl_pthread_alloc.h: Remove.
3556 * include/Makefile.am (ext_headers): Add.
3557 * include/Makefile.in: Regenerate.
3558 * src/stl-inst.cc: Use __gnu_cxx namespace.
3559 * src/stl-inst.cc: Move to...
3560 * src/allocator-inst.cc: Here.
3561 * src/Makefile.am (sources): Update.
3562 * src/Makefile.in: Regenerate.
3563 * config/linker-map.gnu: Remove __pool_alloc bits.
3564 * testsuite/ext/headers.cc: Add.
3565 * testsuite/ext/allocators.cc: Fixup.
3567 2003-06-11 Stefan Olsson <stefan@snon.net>
3568 Ola Rönnerup <fnolis@home.se>
3570 * include/Makefile.am (ext_headers): Add.
3571 * include/Makefile.in: Regenerate.
3572 * include/ext/mt_allocator.h: New file.
3574 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3576 * include/bits/fstream.tcc (close): Clean up a bit.
3578 * include/bits/streambuf.tcc (sbumpc): Clean up a bit.
3580 * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
3581 - the saved _M_in_cur, that is - cannot be null.
3582 (sync): Constify a variable.
3584 * include/std/std_streambuf.h: Tweak a comment.
3585 (in_avail): Constify a variable.
3587 2003-06-10 Phil Edwards <pme@gcc.gnu.org>
3589 * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
3590 * docs/html/17_intro/CHECKLIST: Bring up to date with respect to
3591 correctness of container::iterator typedefs. Fix whitespace.
3592 * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
3594 * docs/html/documentation.html: Regenerate.
3596 * include/bits/basic_string.h, include/bits/basic_string.tcc,
3597 include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
3598 include/bits/stl_algobase.h, include/bits/stl_bvector.h,
3599 include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
3600 include/bits/stl_list.h, include/bits/stl_uninitialized.h,
3601 include/bits/stl_vector.h, include/bits/vector.tcc,
3602 include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
3603 Change _Iter names to _Iterator, and __pos to __position.
3605 * include/bits/stl_relops.h, include/bits/stl_numeric.h,
3606 include/bits/stl_multiset.h, include/bits/stl_set.h:
3607 Remove emacs markers.
3609 * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
3611 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3613 * include/bits/fstream.tcc (overflow): According to
3614 27.5.2.4.5, overflow() returns not_eof(eof()).
3615 * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
3616 * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
3618 2003-06-10 Paolo Carlini <pcarlini@unitus.it>
3620 * include/bits/fstream.tcc (_M_underflow): Check overflow return
3621 value; tweak slightly.
3623 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3625 * include/bits/fstream.tcc (_M_underflow): Do not special
3626 case the unbuffered case, which really means simply a one char
3628 (basic_filebuf): Initialize _M_buf_size.
3629 (setbuf): Unbuffered means _M_buf_size == 1, since only
3630 _M_buf_size - 1 == 0 chars are going to be used for the
3631 put area and 1 for the get area.
3632 * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
3633 (~basic_streambuf): Tweak.
3634 (basic_streambuf): Do not initialize _M_buf_size.
3635 * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
3636 (~basic_filebuf): Tweak.
3637 (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
3638 unbuffered situation (i.e., put area pointers NULL).
3639 * include/bits/streambuf.tcc (sbumpc): Clean up.
3640 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
3641 * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
3642 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
3643 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
3644 * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
3645 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
3646 * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
3648 2003-06-09 Phil Edwards <pme@gcc.gnu.org>
3650 * acinclude.m4: Move all AM_CONDITIONAL calls out.
3651 (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
3653 * configure.in: Centralize AM_CONDITIONALs so that they are always
3654 run. Make use of GLIBCPP_IS_CROSS_COMPILING.
3655 * aclocal.m4, configure: Regenerated.
3657 2003-06-09 Paolo Carlini <pcarlini@unitus.it>
3659 * docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
3661 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
3663 * include/bits/stl_iterator.h
3664 (reverse_iterator::reverse_iterator()): Apply DR235: default
3665 constructor default-initializes data member. Instantiated on a
3666 pointer type, the member has to end up equal to zero.
3668 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
3670 * include/bits/stl_alloc.h: Cleanups.
3671 * include/ext/functional: Same.
3672 * include/ext/hash_map: Same.
3673 * include/ext/hash_set: Same.
3674 * include/ext/iterator: Same.
3675 * include/ext/memory: Same.
3676 * include/ext/numeric: Same.
3677 * include/ext/rb_tree: Same.
3678 * include/ext/ropeimpl.h: Same.
3679 * include/ext/slist: Same.
3680 * include/ext/stdio_filebuf.h: Same.
3681 * include/ext/stdio_sync_filebuf.h: Same.
3682 * include/ext/stl_rope.h: Move to...
3683 * include/ext/rope: ...here.
3684 * include/ext/stl_hash_fun.h: Move to...
3685 * include/ext/hash_fun.h: ...here.
3686 * include/ext/stl_hashtable.h: Move to...
3687 * include/ext/hashtable.h: ...here.
3688 * include/backward/hashtable.h: Reflect new names.
3689 * include/Makefile.am: Same.
3690 * include/Makefile.in: Regenerated.
3692 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
3695 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
3696 * include/bits/stl_algobase.h: Tweak.
3697 * include/std/std_fstream.h: Move _M_buf_size to...
3698 * include/std/std_streambuf.h: ...here. Modify.
3699 * include/bits/streambuf.tcc: Same.
3700 * testsuite/testsuite_hooks.h: Tweak.
3701 * testsuite/testsuite_io.h (constraint_filebuf): New.
3702 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
3703 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
3704 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
3705 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
3706 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
3707 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
3708 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
3709 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
3710 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
3711 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
3712 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
3713 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
3714 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
3715 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
3716 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
3717 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
3718 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
3719 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
3720 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
3721 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
3722 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
3723 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
3724 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
3725 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
3726 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
3727 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
3728 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
3729 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
3730 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
3731 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
3732 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
3733 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
3734 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
3735 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
3736 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
3737 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
3738 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
3739 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
3740 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
3741 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
3742 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
3743 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
3744 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
3745 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
3746 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
3747 * testsuite/data/sgetc.txt: New.
3748 * testsuite/data/sgetn.txt: New.
3750 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
3753 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
3754 Deal with width() smaller than zero.
3755 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
3756 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
3757 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
3758 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
3759 operator<<(basic_ostream, const basic_string&)): Likewise.
3761 * testsuite/27_io/basic_istream/extractors_character/char/
3762 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3763 * testsuite/27_io/basic_ostream/inserters_character/char/
3764 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
3765 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
3766 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
3768 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3770 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
3771 .gch compilation works.
3772 * aclocal.m4, configure: Regenerate.
3773 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
3774 initialize PCHFLAGS.
3776 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
3778 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
3779 erase(iterator), erase(iterator, iterator), c_str,
3780 compare(const basic_string&)): Constify various variables.
3781 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
3782 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
3783 _S_create, resize, _M_replace, _M_replace_safe,
3784 append(const basic_string&), append(const basic_string&, size_type,
3785 size_type), append(const _CharT*, size_type), append(size_type,
3786 _CharT), operator+(const _CharT*, const basic_string&),
3787 operator+(_CharT, const basic_string&), replace(iterator, iterator,
3788 size_type, _CharT), find(const _CharT*, size_type, size_type),
3789 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
3790 rfind(_CharT, size_type), compare(size_type, size_type,
3791 const basic_string&), compare(size_type, size_type,
3792 const basic_string&, size_type, size_type), compare(const _CharT*),
3793 compare(size_type, size_type, const _CharT*), compare(size_type,
3794 size_type, const _CharT*, size_type)): Likewise.
3796 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
3798 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
3799 'if' branch less obscure.
3801 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
3804 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
3806 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
3807 (__atomic_add): likewise.
3809 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3811 * include/bits/sstream.tcc (pbackfail): Minor clean up and
3812 reformatting, consistent with basic_filebuf::pbackfail.
3814 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
3817 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
3818 __attribute__ ((__unused__)).
3819 * config/os/aix/atomicity.h: Likewise.
3821 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3824 * include/bits/fstream.tcc (pbackfail): If the pback buffer
3825 is already active don't try to store in it a second char.
3826 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
3828 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
3830 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3832 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
3835 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3837 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
3838 instead of unnecessarily taking the address of _M_pback.
3839 (xsgetn): Simplify slightly for a single char pback buffer.
3841 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3843 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
3844 variables and two 'if', clean up.
3846 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
3848 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
3849 not _M_out_end, since the former actually points to the string
3850 end (vs buffer end).
3851 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
3853 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
3855 * docs/doxygen/filter: New file.
3856 * docs/doxygen/filter.sed: New file.
3857 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
3858 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
3859 * docs/html/documentation.html: Fix links to doxygen pages.
3861 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
3863 * include/bits/fstream.tcc (_M_convert_to_external): Don't
3864 check for __ilen > 0.
3866 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
3869 * include/bits/stl_iterator.h (class __normal_iterator):
3870 Don't inherit from iterator, add missing typedefs.
3872 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
3874 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
3875 * testsuite/24_iterators/reverse_iterator/1.cc: New.
3876 * testsuite/24_iterators/reverse_iterator/2.cc: New.
3877 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
3880 2003-05-27 Steve Ellcey <sje@cup.hp.com>
3882 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
3884 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
3885 _LIBUNWIND_STD_ABI is set.
3887 2003-05-26 Brendan Kehoe <brendan@zen.org>
3889 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
3890 make sure the number of digits required after the decimal-point
3891 (if any) is exactly the value returned by frac_digits().
3892 * testsuite/22_locale/money_get/get/char/9.cc: New.
3893 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
3895 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
3897 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
3900 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
3903 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
3904 (_M_pback): No array necessary.
3905 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
3906 unbuffered case, coalesec into ...
3907 (basic_filebuf::overflow): ...this.
3908 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
3909 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
3911 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
3913 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
3914 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
3915 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
3916 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
3917 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
3918 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
3919 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
3920 libsupc++/eh_unex_handler.cc, libsupc++/exception,
3921 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
3922 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
3923 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
3924 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
3925 Replace "GNU CC" with "GCC".
3927 * include/backward/new.h: Replace "GNU CC" with "GCC".
3929 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3932 * configure.in: Switch target to host, don't assume newlib.
3933 (target_alias): Remove.
3934 * configure: Regenerate.
3935 * acinclude.m4: Same.
3936 * aclocal.m4: Regenerate.
3937 * configure.target: Same. Rename to...
3938 * configure.host: This.
3940 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3942 * include/std/std_fstream.h (_S_pback_size): Remove definition.
3943 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
3945 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
3946 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
3947 of _S_pback_size for systems with no COMDAT or weak support.
3948 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
3949 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
3950 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
3951 * testsuite/27_io/basic_fstream/3.cc: Likewise.
3952 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
3953 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
3954 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
3955 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
3956 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
3958 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
3960 * include/bits/fstream.tcc (_M_underflow): Simplify:
3961 !__testout implies _M_filepos == _M_in_end, therefore
3962 the first _M_file.seekoff call is never issued.
3964 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
3966 * configure.in: Sort cross table.
3967 * configure: Regenerate.
3969 2003-05-22 Brad Spencer <spencer@infointeractive.com>
3972 * configure.in: Add Solaris cross bits.
3974 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3976 * libstdc++-v3/config/os/mingw32/os_defines.h
3977 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
3978 (NOMINMAX): Define. Update copyright year.
3980 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
3982 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
3984 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3986 * docs/html/faq/index.html: Fix typo.
3987 * docs/html/faq/index.txt: Regenerate.
3989 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
3991 * docs/html/test.html: Fix markup.
3993 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
3995 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
3997 Update copyright year.
3999 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
4001 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
4003 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
4005 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
4006 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
4008 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4010 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
4011 Cast via void* to avoid -Wcast-align warnings.
4012 (__default_alloc_template::_S_refill): Likewise.
4014 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
4016 * testsuite/README: Move to...
4017 * docs/html/test.html: ...here. Add documentation.
4018 * docs/html/install.html: Move testing bits out..
4019 * docs/html/documentation.html: Add separate testing link.
4020 * testsuite/performance: Add.
4021 * testsuite/performance/allocator.cc: New.
4022 * testsuite/performance/complex_norm.cc: New.
4023 * testsuite/performance/cout_insert_int.cc: New.
4024 * testsuite/performance/fstream_seek_write.cc: New.
4025 * testsuite/performance/ifstream_getline.cc: New.
4026 * testsuite/performance/map_create_fill.cc: New.
4027 * testsuite/performance/ofstream_insert_float.cc: New.
4028 * testsuite/performance/ofstream_insert_int.cc: New.
4029 * testsuite/performance/string_append.cc: New.
4030 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
4033 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
4036 * include/std/std_complex.h (pow): Tidy.
4038 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
4040 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
4041 that upon filebuf::close() 27.8.1.1,3 is enforced.
4043 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
4045 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
4047 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
4048 Nathan Myers <ncm@cantrip.org>
4050 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
4051 _M_convert_to_external only once (_M_buf_size is now the size of
4052 the put area + 1 for the overflow char of a full area); call
4053 _M_set_buffer instead of _M_set_indeterminate.
4054 (setbuf): Don't accept a buffer smaller than 2 chars.
4055 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
4056 instead of _M_set_determinate.
4057 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
4058 (seekoff): Likewise.
4059 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
4060 std::ios_base::openmode, bool, size_t),
4061 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
4063 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
4064 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
4066 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
4067 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
4068 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
4069 the put area is now BUFSIZ - 1.
4070 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
4071 that now the smallest _M_buf_size is 2 (still fails, for the same
4074 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
4076 * testsuite/thread/pthread4.cc: Tweak test.
4078 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
4080 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
4081 excess errors dg marker, use dg-errors instead.
4082 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
4083 * testsuite/20_util/auto_ptr_neg.cc: Same.
4085 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
4087 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
4089 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
4090 Initialize _M_codecvt.
4091 (basic_filebuf::imbue): Same.
4092 (basic_filebuf::showmanyc): Use it.
4093 (basic_filebuf::underflow): Use it.
4094 (basic_filebuf::_M_convert_to_external): Use it.
4095 (basic_filebuf::seekoff): Use it.
4096 (basic_filebuf::imbue): Use it, tweaks.
4097 * include/bits/localefwd.h (__check_facet): New.
4098 * include/bits/locale_classes.h: Tweaks.
4099 * include/bits/locale_facets.tcc: Tweaks.
4100 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
4101 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
4102 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
4103 * include/bits/basic_ios.tcc: Same.
4104 * include/bits/istream.tcc: Same.
4105 * include/bits/ostream.tcc: Same.
4106 * include/std/std_streambuf.h: Same.
4107 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
4108 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
4109 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
4110 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
4111 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
4112 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
4114 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
4116 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
4117 unnecessary includes and unused string literals.
4118 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
4119 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
4120 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
4121 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
4123 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
4125 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
4127 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
4129 * include/std/std_fstream.h (_M_convert_to_external): Change
4130 to return bool, take two less streamsize parameters.
4131 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
4132 consistently definition.
4133 (_M_overflow): Adjust call points.
4135 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
4137 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
4139 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
4141 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
4142 * testsuite/Makefile.in: Regenerate.
4144 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
4146 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
4147 * testsuite/Makefile.in: Regenerate.
4149 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
4152 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
4153 (acos): Handle integer argument.
4172 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
4173 (__enable_if): Likewise.
4174 * testsuite/26_numerics/cmath/overloads.C: New test.
4176 2003-05-10 Petur Runolfsson <peturr02@ru.is>
4181 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
4182 implementation, based on old wchar_t specialization, add support
4183 for codecvt::in() return value of codecvt_base::noconv, remove
4184 _M_file.sys_ungetc() call.
4185 * include/std/std_fstream.h (basic_file::underflow,
4186 basic_file::uflow, basic_file::_M_underflow): Remove
4187 specialization declarations, call _M_underflow from generic versions
4188 of underflow and uflow.
4189 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
4190 basic_file::_M_underflow): Remove specializations.
4191 * src/Makefile.am (sources): Remove fstream.cc.
4192 * src/Makefile.in: Regenerated.
4193 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
4194 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
4195 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
4196 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
4198 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
4200 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
4202 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
4204 (__basic_file::xsputn): Same.
4205 (__basic_file::seekoff): Same.
4206 (__basic_file::seekpos): Same.
4207 (__basic_file::showmanyc): Same.
4208 * config/io/basic_file_stdio.cc: Same.
4209 * include/std/std_fstream.h: Same.
4210 * include/bits/fstream.tcc: Same.
4211 * src/fstream.cc: Same.
4212 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
4214 2003-05-10 Petur Runolfsson <peturr02@ru.is>
4219 * include/ext/stdio_sync_filebuf.h: New file.
4220 (basic_stdiobuf): New.
4221 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
4222 * include/Makefile.in: Regenerate.
4223 * include/bits/ios_base.h (Init::_S_create_buffers,
4224 Init::_S_destroy_buffers): Remove declarations.
4225 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
4226 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
4227 * src/ios.cc (Init::_S_create_buffers,
4228 Init::_S_destroy_buffers): Remove.
4229 (Init::Init): Create and use syncronized buffers.
4230 (ios_base::sync_with_stdio): Destroy syncronized buffers,
4231 create and install unsyncronized buffers.
4232 * testsuite/27_io/objects/char/10.cc: New test.
4233 * testsuite/27_io/objects/char/9.cc: New test.
4234 * testsuite/27_io/objects/char/9661-1.cc: New test.
4235 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
4236 * testsuite/27_io/objects/char/9661-2_xin.in: New.
4237 * testsuite/27_io/objects/wchar_t/1.cc: New test.
4238 * testsuite/27_io/objects/wchar_t/10.cc: New test.
4239 * testsuite/27_io/objects/wchar_t/2.cc: New test.
4240 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
4241 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
4242 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
4243 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
4244 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
4245 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
4246 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
4247 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
4248 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
4249 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
4250 * testsuite/27_io/objects/wchar_t/5.cc: New test.
4251 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
4252 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
4253 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
4254 * testsuite/27_io/objects/wchar_t/6.cc: New test.
4255 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
4256 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
4257 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
4258 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
4259 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
4260 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
4261 * testsuite/27_io/objects/wchar_t/7.cc: New test.
4262 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
4263 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
4264 * testsuite/27_io/objects/wchar_t/8.cc: New test.
4265 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
4266 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
4267 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
4268 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
4269 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
4270 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
4271 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
4272 * testsuite/ext/stdiobuf_char.cc: New test.
4273 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
4275 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
4277 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
4278 unnecessary includes and unused string literals.
4279 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
4281 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
4283 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
4285 2003-05-07 Richard Henderson <rth@redhat.com>
4288 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
4289 (__cxa_end_catch): Likewise.
4290 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
4291 _Unwind_Resume_or_Rethrow.
4292 * libsupc++/eh_personality.cc (empty_exception_spec): New.
4293 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
4294 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
4295 exceptions. Don't push terminate/unexpected to cxa functions.
4296 (__cxa_call_unexpected): Remove foreign exception fixmes.
4298 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
4300 * testsuite/27_io/ios_base/cons: New.
4301 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
4302 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
4304 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
4306 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
4308 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
4309 there is no buffer or __testget == !__testinit.
4312 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
4313 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
4315 * include/std/std_fstream.h (_M_destroy_pback): Don't set
4316 unnecessarily _M_pback_cur_save and _M_pback_end_save.
4318 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
4320 * include/std/std_sstream.h (_M_sync): Minor tweak.
4322 * include/bits/fstream.tcc (close): No need to call
4323 _M_destroy_pback, setting _M_pback_init to false suffices
4326 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
4328 * include/bits/stl_algo.h: Enums as _S_.
4329 * include/bits/stl_tree.h: Same.
4330 * include/bits/stl_bvector.h: Same.
4331 * include/bits/ios_base.h: Same.
4332 * include/bits/stl_alloc.h: Same.
4333 * include/ext/stl_hashtable.h: Same.
4334 * src/ios.cc: And here.
4336 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
4337 * include/bits/sstream.tcc: Same.
4339 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
4341 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
4343 * include/bits/locale_facets.h (__num_base): Remove protected.
4344 Use _S_[io]* names for enumerations.
4345 (_S_format_int): Remove.
4346 * include/bits/locale_facets.tcc: Same.
4347 * src/locale.cc: Same.
4349 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
4351 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
4353 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
4354 * docs/html/faq/index.txt: Regenerated.
4356 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
4357 Matt Kraai <kraai@alumni.cmu.edu>
4359 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
4362 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
4364 * configure.target (mips*): Use the generic atomicity.h by default.
4366 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
4367 (Inspired by an alternate patch from Danny Smith.)
4369 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
4370 (_Swap_lock_struct<>): ...and the horse it rode in on.
4371 * src/globals.cc (_Swap_lock_struct<>): Likewise.
4372 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
4373 member to support...
4374 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
4375 visibility rules related to POSIX threads.
4376 * testsuite/thread/pthread7-rope.cc: New test.
4378 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
4380 * testsuite/21_strings/basic_string/find/char/3.cc: New
4381 file, testing basic_string<char>::find_first_not_of.
4382 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
4383 Likewise for basic_string<wchar_t>.
4385 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
4387 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
4389 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
4391 * include/Makefile.am (CLEANFILES): Remove PCH files in target
4393 * include/Makefile.in: Regenerate.
4395 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
4397 * include/std/std_sstream.h (str()): Tidy.
4399 2003-05-02 Nathan Myers <ncm@cantrip.org>
4400 Paolo Carlini <pcarlini@unitus.it>
4402 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
4404 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
4406 * include/bits/basic_string.h (swap): Remove redundant template
4407 parameters from declaration of non-template member function.
4409 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
4411 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
4412 * configure.in: Move libintl.h header test...
4413 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
4414 the NLS-related test results into one symbol.
4415 * src/functexcept.cc: Use it here.
4416 * aclocal.m4, config.h.in, configure: Regenerated.
4418 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4420 * include/bits/sstream.tcc (overflow): Instead of calling
4421 str(), then _M_string.reserve, thus copying the contents
4422 of the current buffer two times, just copy the latter in
4423 a temporary, then use the 'swap trick'.
4425 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4427 * include/std/std_sstream.h (str()): Revert the best of the
4428 previous 'improvement', incorrect due to the COW nature of
4429 v3 basic_string; simplify.
4431 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4433 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
4434 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
4436 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4438 * testsuite/abi_check.cc (check_version): Update known versions.
4439 Check added symbols for version_name != base version. Add missing
4440 symbols to incompatible list.
4442 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
4444 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
4445 * aclocal.m4: Regenerated.
4446 * configure: Regenerated.
4448 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4450 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
4451 Const-ify some variables.
4452 (basic_streambuf::xsputn): Likewise; change the type of some
4453 variables to size_t.
4454 (__copy_streambufs): Change some variables to size_t.
4456 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4458 * include/std/std_sstream.h (str()): Avoid constructing
4459 a basic_string temporary not only when it would turn out
4460 to be zero-sized but also when identical to the current
4463 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
4465 * include/ext/stdio_filebuf.h
4466 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
4467 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
4468 Shorten a bit (-10 lines) by factoring out some code.
4470 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
4472 * acinclude.m4: Add bit missing from previous patch.
4473 * aclocal.m4, configure: Regenerated.
4475 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4477 * docs/doxygen/mainpage.html: Bring up to date.
4478 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
4480 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
4481 breaks everything. Don't scan them.
4482 * docs/html/documentation.html: Point to "Write after approval"
4485 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
4487 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
4488 of libc if message translations are being used. Fix info text in
4489 xieee_1003.1-2001 case.
4490 * aclocal.m4, configure: Regenerate.
4492 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
4493 Loren J. Rittle <ljrittle@acm.org>
4494 Martin v. Loewis <martin@v.loewis.de>
4496 * config/cpu/i386/atomicity.h: New file.
4498 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4500 * include/bits/fstream.tcc (open): Change to single return.
4502 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
4504 * include/std/std_sstream.h (underflow): Change to single return.
4506 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4508 * include/std/std_streambuf.h (_M_buf): is currently
4509 used only for basic_filebuf, therefore move it there.
4510 (basic_streambuf(), ~basic_streambuf()): Adjust.
4511 * include/std/std_fstream.h (_M_buf): Moved here.
4512 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
4513 is actually redundant for basic_stringbuf.
4514 (_M_really_sync): Likewise.
4515 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4516 * include/bits/sstream.tcc (seekoff): Adjust.
4518 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4520 * src/localename.cc: Standardize exception strings.
4521 * src/locale.cc: Same.
4523 * include/bits/basic_string.tcc: Same.
4524 * include/bits/basic_ios.tcc: Same.
4525 * include/std/std_bitset.h: Same.
4526 * include/ext/ropeimpl.h: Same.
4527 * include/bits/stl_vector.h: Same.
4528 * include/bits/stl_deque.h: Same.
4529 * include/bits/stl_bvector.h: Same.
4530 * config/locale/generic/c_locale.cc: Same.
4531 * config/locale/gnu/c_locale.cc: Same.
4532 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
4534 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
4536 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4538 * include/std/std_streambuf.h (_M_buf_size): is currently
4539 used only for basic_filebuf, therefore move it there.
4540 (basic_streambuf(), ~basic_streambuf()): Adjust.
4541 * include/std/std_fstream.h (_M_buf_size): Moved here.
4542 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
4544 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4546 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
4547 _M_buf_size (synced input is now correctly dealt with
4548 elsewhere); when the output buffer is full don't fall back
4549 to a snextc-sputc loop, call overflow instead.
4551 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
4553 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
4554 the innermost 'if' by factoring out some code.
4556 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
4558 * configure.in: Test for libintl.h.
4559 * include/bits/c++config: Define __N for everybody.
4560 * include/bits/basic_string.h, include/bits/stl_bvector.h,
4561 include/bits/stl_deque.h, include/bits/stl_vector.h,
4562 include/std/std_bitset.h: Wrap all __throw* text with __N.
4563 * po/Makefile.am (pot): New rule, mostly working.
4564 * src/functexcept.cc: Call gettext on all __throw* arguments when
4565 -fexceptions is in effect.
4566 * po/Makefile.in, config.h.in, configure: Regenerate.
4568 2003-04-28 Petur Runolfsson <peturr02@ru.is>
4571 * include/bits/ios_base.h (Init::_S_ios_create,
4572 Init::_S_ios_destroy): Remove declarations.
4573 (Init::_S_create_buffers,
4574 Init::_S_destroy_buffers): Declare
4575 * src/ios.cc (Init::_S_ios_create): Remove
4576 (Init::_S_create_buffers): Create buffers and add to streams.
4577 (Init::_S_ios_destroy): Rename to...
4578 (Init::_S_destroy_buffers): this.
4579 (Init::Init): Only construct streams once.
4580 (Init::~Init): Flush streams, don't destroy them.
4581 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
4582 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
4583 * testsuite/27_io/objects/char/5.cc: New test.
4584 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
4585 * testsuite/27_io/objects/char/6.cc: New test.
4586 * testsuite/27_io/objects/char/7.cc: New test.
4588 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4590 * testsuite/27_io/objects/char/8.cc: New test.
4592 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
4594 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
4595 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
4597 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4599 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
4600 _M_destroy_pback. _M_pback_create to
4601 _M_create_pback. _M_underflow_common to
4602 _M_underflow. _M_really_overflow to _M_overflow.
4603 * include/bits/fstream.tcc: Same.
4604 * src/fstream.cc: Same.
4605 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
4606 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
4607 * include/bits/streambuf.tcc: Same.
4608 * include/bits/fstream.tcc: Same.
4609 * include/bits/sstream.tcc: Same.
4611 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
4613 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
4614 from fixed size array.
4615 (locale): Change _S_categories as well.
4617 * include/bits/locale_facets.tcc: Tweak.
4618 * config/locale/gnu/c_locale.cc: Assign _S_categories.
4619 * config/locale/generic/c_locale.cc: Same.
4620 * src/locale.cc: Tweak.
4621 * src/globals.cc: Change facet_name to name_vec, add names_c.
4622 * src/localename.cc: Use them.
4623 (locale::_Impl::~_Impl): Destroy _M_names.
4624 (locale::_Impl::_Impl): Create _M_names.
4626 2003-04-27 Andreas Schwab <schwab@suse.de>
4628 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
4629 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
4631 2003-04-27 Nathan Myers <ncm@cantrip.org>
4633 Move some basic_string members out of line because
4634 they are too big to reasonably be inline.
4635 * include/bits/basic_string.h
4636 (assign(const basic_string&, size_type, size_type),
4637 assign(const _CharT*, size_type),
4638 insert(size_type, const basic_string&, size_type, size_type),
4639 insert(size_type, const _CharT*, size_type),
4640 replace(size_type, size_type, const _CharT*, size_type)):
4641 Move from here to...
4642 * include/bits/basic_string.tcc: ...here.
4644 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4646 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
4647 the innermost 'if' by factoring out some code.
4649 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4651 * include/bits/streambuf.tcc (__copy_streambufs): Don't
4652 use in_avail(), simplify.
4654 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
4656 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
4657 in basic_stringbuf it's unused.
4659 * include/std/std_sstream.h (underflow): consistently use
4660 _M_in_cur, not gptr().
4662 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
4663 Phil Edwards <pme@gcc.gnu.org>
4665 * testsuite_flags.in: Guard against the possibility
4666 of having "xgcc" as a part of a folder name in the
4667 path to the GCC build folder.
4668 * testsuite/Makefile.am: Likewise.
4669 * testsuite/Makefile.in: Regenerated.
4671 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4674 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
4675 exception specifications.
4676 (basic_filebuf::close): Same.
4677 (basic_filebuf::_M_pback_destroy): Same.
4678 (basic_filebuf::_M_destroy_internal_buffer): Same.
4679 (basic_filebuf): Remove __res_type typedef.
4680 * src/fstream.cc: Same.
4681 * include/bits/fstream.tcc
4682 (basic_filebuf::_M_convert_to_external): Simplify.
4683 (basic_filebuf::seekoff): Use has_facet before use_facet.
4684 (basic_filebuf::close): Add exception specification of throw().
4685 * testsuite/27_io/basic_filebuf/cons: New.
4686 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
4687 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
4688 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
4689 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
4691 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
4693 * include/bits/locale_classes.h
4694 (locale::_S_extra_categories_size): Remove.
4695 * src/locale.cc: Remove _S_extra_categories_size.
4696 * src/localename.cc: Same.
4697 * config/locale/gnu/c_locale.cc: Same.
4698 * config/locale/generic/c_locale.cc: Same.
4700 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
4702 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
4704 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
4706 * docs/html/17_intro/howto.html: Update some links.
4707 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
4708 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
4709 * docs/html/ext/howto.html: Link to demangler notes and API.
4710 * docs/html/faq/index.html: Remove trailing whitespace.
4711 (1.4, 2.4, 3.8, 4.1): Bring up to date.
4712 (5.6): Change to a bulleted list.
4714 * docs/html/faq/index.txt, docs/html/documentation.html,
4715 docs/html/17_intro/porting.html: Regenerate.
4717 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
4719 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
4720 belongs to basic_filebuf.
4721 * testsuite/27_io/basic_fstream/3.cc: Likewise.
4722 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
4723 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
4724 instantiation (now belongs to basic_filebuf).
4725 * testsuite/27_io/basic_iostream/3.cc: Likewise.
4726 * testsuite/27_io/basic_istream/3.cc: Likewise.
4727 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
4728 _S_pback_size now belongs to basic_filebuf.
4729 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
4730 instantiation (now belongs to basic_filebuf).
4731 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
4732 belongs to basic_filebuf.
4733 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
4734 instantiation (now belongs to basic_filebuf).
4735 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
4736 _S_pback_size now belongs to basic_filebuf.
4737 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
4738 instantiation (now belongs to basic_filebuf).
4739 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
4741 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
4742 instantiation (now belongs to basic_filebuf).
4743 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
4745 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4747 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
4748 * configure: Regenerated.
4750 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
4752 * config/locale/generic/c_locale.h (__convert_from_v): Use
4755 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
4757 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
4758 implementation only.
4759 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
4760 Comment and change to comply with DR 60 and the effect on gcount().
4761 * include/std/std_istream.h: Update comments.
4762 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
4763 comments about reasons for tests. Test sync() against gcount().
4764 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
4765 for effect on gcount().
4766 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
4767 for effect on gcount().
4769 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
4771 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
4774 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
4776 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
4777 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4778 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
4779 (basic_streambuf::basic_streambuf()): Adjust.
4780 * include/std/std_fstream.h (_S_pback_size, _M_pback,
4781 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
4782 _M_pback_create(), _M_pback_destroy()): Moved here
4783 from basic_streambuf.
4784 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
4786 (basic_filebuf::_S_pback_size): Add declaration.
4787 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
4790 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4792 Consistently use _M_in_beg instead of eback(), _M_in_cur
4793 instead of gptr(), and so on.
4794 * include/bits/fstream.tcc (pbackfail, imbue): Here.
4795 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
4796 * include/bits/streambuf.tcc (sbumpc, sputbackc,
4797 __copy_streambufs): Ditto.
4798 * include/std/std_streambuf.h (sgetc): Ditto.
4800 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4802 * include/bits/sstream.tcc (pbackfail, overflow):
4805 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
4807 * include/std/std_streambuf.h (uflow()): It's used only by
4808 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
4809 therefore do not consider the _M_buf_unified == true case.
4811 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
4813 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4815 * docs/html/ext/howto.html ('LWG Issues'):
4816 Add issues 19, 90, 171, 231, 271.
4818 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
4820 * include/bits/sstream.tcc (pbackfail): Remove redundant
4821 NULL pointer check from test involving _M_in_*.
4822 (overflow, seekoff, seekpos): Const qualify bool variables.
4823 * include/std/std_sstream.h (underflow): Remove redundant
4824 NULL pointer check from test involving _M_in_*.
4825 (_M_really_sync): Const qualify bool variables.
4826 * src/fstream.cc (_M_underflow_common): Remove redundant
4827 NULL pointer check from test involving _M_in_*, const qualify
4830 * include/std/std_streambuf.h (sgetc): Remove redundant
4833 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
4835 According to 5.9 para 2 (second bullet) for pointers p, q
4836 pointing to the same type, with p == 0 and q == 0, (p < q)
4838 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
4839 seekoff): Remove redundant NULL pointer checks from tests
4840 involving _M_out_* and _M_in_*, const qualify bool variables.
4841 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
4842 qualify bool variables.
4843 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
4844 Remove redundant NULL pointer checks from tests involving
4845 _M_out_* and _M_in_*, const qualify bool variables.
4846 * include/std/std_fstream.h (sync): Likewise.
4847 (_M_is_indeterminate): Const qualify bool variables.
4848 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
4849 NULL pointer checks from tests involving _M_out_* and _M_in_*,
4850 const qualify bool variables.
4851 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
4854 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
4856 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
4857 C99 FP macros, if actually captured.
4859 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
4860 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4861 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4862 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4863 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
4865 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
4866 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
4867 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
4868 * include/c_std/std_cstdlib.h: Use new macros.
4869 * include/c_std/std_cstdio.h: Use new macros.
4870 * include/c_std/std_cwchar.h: Use new macros.
4872 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
4875 * include/bits/ostream.tcc: Catch all exceptions for formatted
4876 output, instead of std::exception and derivatives.
4877 * include/bits/istream.tcc: Same.
4878 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
4879 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
4880 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
4881 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
4882 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
4883 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
4886 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
4888 * include/bits/c++config: Minor cosmetic tweaks.
4890 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
4892 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
4893 * include/Makefile.am (pch_input): Find in ${target_builddir}.
4894 (pch_output): Rename to...
4895 (pch_output_builddir): ..this. Find in ${target_builddir}.
4896 (pch_source): Tweak.
4897 (pch_build): Key off a built file.
4898 (pch_output rule): Rename to...
4899 (pch_input rule): ...this. Produce ${pch_output_builddir}
4900 instead of ${pch_output}.
4901 (install-pch rule): Install ${pch_output_builddir}.
4902 * include/Makefile.in: Regenerated.
4904 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
4906 * include/std/std_streambuf.h (setp): _M_out_lim, being
4907 the end limit of used put area, is set equal to _M_out_beg.
4909 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
4911 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
4912 * aclocal.m4: Regenerated.
4913 * configure.in: Remove old demangler bits.
4915 * configure: Regenerate.
4916 * config.h.in: Regenerate.
4917 * include/Makefile.am (allstamps): Now allstamped.
4918 (allcreated): Define this.
4919 (all-local): Use 'em.
4920 Conditionally define pch_build, pch_install based on
4922 (${pch_output}): New rule.
4923 (install-pch): New rule.
4924 (install-headers): New rule.
4925 (install-data-local): Install headers and conditionally pch.
4926 * include/Makefile.in: Regenerate.
4927 * testsuite_flags.in (--build-cxx): Use pch file.
4929 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
4931 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
4933 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
4934 Paolo Carlini <pcarlini at unitus dot it>
4937 * docs/html/27_io/howto.html
4938 ('The buffering is screwing up my program!'): Explain that
4939 opening counts as an I/O operation.
4941 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
4943 * testsuite/thread/pthread1.cc: Enable for darwin test.
4944 * testsuite/thread/pthread2.cc: Same.
4945 * testsuite/thread/pthread3.cc: Same.
4946 * testsuite/thread/pthread4.cc: Same.
4947 * testsuite/thread/pthread5.cc: Same.
4948 * testsuite/thread/pthread6.cc: Same.
4950 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
4953 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
4954 Populate it with multiple legal ways to obtain the C99 float
4955 transcendentals. Use them instead of direct global reference.
4956 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
4957 * docs/html/17_intro/porting.texi
4958 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4959 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4960 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
4961 * config/os/bsd/freebsd/os_defines.h
4962 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
4963 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
4964 * testsuite/26_numerics/c_math_dynamic.cc: New file.
4966 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
4967 Benjamin Kosnik <bkoz@redhat.com>
4969 * config/os/generic/ctype_inline.h: Fix.
4971 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
4973 * testsuite/testsuite_hooks.h
4974 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
4975 Change to try_named_locale.
4976 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
4978 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
4980 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
4981 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
4982 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
4983 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
4984 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
4985 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
4986 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
4987 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
4988 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
4989 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
4990 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
4991 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
4992 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
4993 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
4994 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
4995 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
4996 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
4997 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
4998 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
4999 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
5000 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
5001 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
5002 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
5003 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
5004 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
5005 * testsuite/22_locale/collate/compare/char/1.cc: Same.
5006 * testsuite/22_locale/collate/compare/char/2.cc: Same.
5007 * testsuite/22_locale/collate/compare/char/3.cc: Same.
5008 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
5009 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
5010 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
5011 * testsuite/22_locale/collate/hash/char/2.cc: Same.
5012 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
5013 * testsuite/22_locale/collate/transform/char/2.cc: Same.
5014 * testsuite/22_locale/collate/transform/char/3.cc: Same.
5015 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
5016 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
5017 * testsuite/22_locale/collate_byname/1.cc: Same.
5018 * testsuite/22_locale/ctype/is/char/2.cc: Same.
5019 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
5020 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
5021 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
5022 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
5023 * testsuite/22_locale/facet/2.cc: Same.
5024 * testsuite/22_locale/locale/cons/2.cc: Same.
5025 * testsuite/22_locale/locale/cons/4.cc: Same.
5026 * testsuite/22_locale/locale/cons/5.cc: Same.
5027 * testsuite/22_locale/locale/cons/7.cc: Same.
5028 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
5029 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
5030 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
5031 * testsuite/22_locale/messages/members/char/1.cc: Same.
5032 * testsuite/22_locale/messages/members/char/2.cc: Same.
5033 * testsuite/22_locale/messages/members/char/3.cc: Same.
5034 * testsuite/22_locale/messages_byname/1.cc: Same.
5035 * testsuite/22_locale/money_get/get/char/1.cc: Same.
5036 * testsuite/22_locale/money_get/get/char/2.cc: Same.
5037 * testsuite/22_locale/money_get/get/char/3.cc: Same.
5038 * testsuite/22_locale/money_get/get/char/4.cc: Same.
5039 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
5040 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
5041 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
5042 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
5043 * testsuite/22_locale/money_put/put/char/1.cc: Same.
5044 * testsuite/22_locale/money_put/put/char/2.cc: Same.
5045 * testsuite/22_locale/money_put/put/char/3.cc: Same.
5046 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
5047 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
5048 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
5049 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
5050 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
5051 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
5052 * testsuite/22_locale/num_get/get/char/1.cc: Same.
5053 * testsuite/22_locale/num_get/get/char/2.cc: Same.
5054 * testsuite/22_locale/num_get/get/char/3.cc: Same.
5055 * testsuite/22_locale/num_get/get/char/5.cc: Same.
5056 * testsuite/22_locale/num_get/get/char/6.cc: Same.
5057 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
5058 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
5059 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
5060 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
5061 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
5062 * testsuite/22_locale/num_put/put/char/1.cc: Same.
5063 * testsuite/22_locale/num_put/put/char/2.cc: Same.
5064 * testsuite/22_locale/num_put/put/char/3.cc: Same.
5065 * testsuite/22_locale/num_put/put/char/5.cc: Same.
5066 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
5067 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
5068 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
5069 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
5070 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
5071 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
5072 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
5073 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
5074 * testsuite/22_locale/numpunct_byname/1.cc: Same.
5075 * testsuite/22_locale/numpunct_byname/2.cc: Same.
5076 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
5077 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
5078 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
5079 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
5080 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
5081 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
5082 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
5083 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
5084 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
5085 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
5086 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
5087 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
5088 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
5089 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
5090 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
5091 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
5092 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
5093 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
5094 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
5095 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
5096 * testsuite/22_locale/time_put/put/char/1.cc: Same.
5097 * testsuite/22_locale/time_put/put/char/2.cc: Same.
5098 * testsuite/22_locale/time_put/put/char/3.cc: Same.
5099 * testsuite/22_locale/time_put/put/char/4.cc: Same.
5100 * testsuite/22_locale/time_put/put/char/5.cc: Same.
5101 * testsuite/22_locale/time_put/put/char/6.cc: Same.
5102 * testsuite/22_locale/time_put/put/char/7.cc: Same.
5103 * testsuite/22_locale/time_put/put/char/8.cc: Same.
5104 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
5105 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
5106 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
5107 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
5108 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
5109 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
5110 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
5111 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
5112 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
5113 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
5114 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
5115 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
5116 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
5118 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
5120 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
5121 solaris includes, not generic.
5123 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
5125 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
5127 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
5128 * include/bits/concept_check.h: Fix multi-line comment.
5129 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
5130 when target is *-*-freebsd*.
5132 2003-04-14 Nathan Myers <ncm@cantrip.org>
5133 Paolo Carlini <pcarlini@unitus.it>
5135 PR libstdc++/9701 (in_avail())
5136 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
5137 doesn't care if there is anything in some putback cell.
5138 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
5140 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
5141 unused string literals.
5143 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
5145 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
5146 _M_out_end, _M_set_indeterminate() does it.
5148 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5150 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
5152 2003-04-12 David Edelsohn <edelsohn@gnu.org>
5154 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
5155 Change basic_streambuf instantiation to "unsigned char".
5156 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
5158 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
5160 Remove _M_buf_size_opt, use directly _M_buf_size instead.
5161 * include/bits/fstream.tcc
5162 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
5163 references to _M_buf_size_opt.
5164 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
5165 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
5166 __bufsize to __in_avail and __size_opt to __buf_size.
5167 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
5168 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
5169 * include/std/std_streambuf.h (~basic_streambuf(),
5170 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
5171 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
5172 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
5173 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
5174 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
5175 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
5176 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
5177 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
5178 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
5179 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
5180 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
5181 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
5182 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
5184 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
5186 * include/ext/stdio_filebuf.h
5187 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
5188 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
5189 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
5190 since a stack-based buffer is used for small values of the size_t
5192 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
5193 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
5194 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
5196 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
5199 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
5200 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
5202 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
5204 * testsuite/22_locale/locale/cons/3.cc: Split.
5205 * testsuite/22_locale/locale/cons/7222-c.cc: New.
5206 * testsuite/22_locale/locale/cons/7222-env.cc: New.
5207 Check before trying to create a locale from the environment.
5208 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
5209 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
5212 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
5214 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
5215 locale to construct this hybrid locale, not the global locale.
5217 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
5219 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
5220 instantiation for AIX.
5221 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
5222 * testsuite/25_algorithms/min_max.cc: Same.
5224 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5226 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
5227 twice. Always set _M_cfile to 0 when stream was open.
5229 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5231 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
5232 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
5233 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
5234 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
5235 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
5236 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
5237 ifstream_members.cc, instantiations.cc, ios.cc,
5238 ios_base_callbacks.cc, ios_base_members_static-1.tst,
5239 ios_base_members_static.cc, ios_base_storage.cc,
5240 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
5241 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
5242 iostream.cc, iostream_members.cc, istream.cc,
5243 istream_exception.cc, istream_extractor_char.cc,
5244 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
5245 istream_extractor_other-2.tst, istream_extractor_other.cc,
5246 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
5247 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
5248 istream_sentry.cc, istream_unformatted-1.tst,
5249 istream_unformatted-1.txt, istream_unformatted.cc,
5250 istringstream.cc, istringstream_members.cc,
5251 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
5252 ofstream_members.cc, ostream.cc, ostream_exception.cc,
5253 ostream_fail.cc, ostream_inserter_arith.cc,
5254 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
5255 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
5256 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
5257 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
5258 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
5259 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
5260 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
5261 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
5262 wide_stream_objects.cc, istream_extractor_arith/01.cc,
5263 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
5264 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
5265 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
5266 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
5267 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
5269 * 27_io/basic_filebuf/1.cc: New.
5270 * 27_io/basic_filebuf/2.cc: New.
5271 * 27_io/basic_filebuf/3.cc: New.
5272 * 27_io/basic_filebuf/4.cc: New.
5273 * 27_io/basic_filebuf/close/char/1.cc: New.
5274 * 27_io/basic_filebuf/close/char/2.cc: New.
5275 * 27_io/basic_filebuf/close/char/3.cc: New.
5276 * 27_io/basic_filebuf/close/char/4879.cc: New.
5277 * 27_io/basic_filebuf/close/char/9964.cc: New.
5278 * 27_io/basic_filebuf/imbue/char/1.cc: New.
5279 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
5280 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
5281 * 27_io/basic_filebuf/is_open/char/1.cc: New.
5282 * 27_io/basic_filebuf/open/char/1.cc: New.
5283 * 27_io/basic_filebuf/open/char/2.cc: New.
5284 * 27_io/basic_filebuf/open/char/3.cc: New.
5285 * 27_io/basic_filebuf/open/char/9507.cc: New.
5286 * 27_io/basic_filebuf/overflow/char/1.cc: New.
5287 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
5288 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
5289 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
5290 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
5291 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
5292 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
5293 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
5294 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
5295 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
5296 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
5297 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
5298 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
5299 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
5300 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
5301 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
5302 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
5303 * 27_io/basic_filebuf/snextc/char/1.cc: New.
5304 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
5305 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
5306 * 27_io/basic_filebuf/sputc/char/1.cc: New.
5307 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
5308 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
5309 * 27_io/basic_filebuf/sputn/char/1.cc: New.
5310 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
5311 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
5312 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
5313 * 27_io/basic_filebuf/sync/char/1057.cc: New.
5314 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
5315 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
5316 * 27_io/basic_fstream/1.cc: New.
5317 * 27_io/basic_fstream/2.cc: New.
5318 * 27_io/basic_fstream/3.cc: New.
5319 * 27_io/basic_fstream/4.cc: New.
5320 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
5321 * 27_io/basic_ifstream/1.cc: New.
5322 * 27_io/basic_ifstream/2.cc: New.
5323 * 27_io/basic_ifstream/3.cc: New.
5324 * 27_io/basic_ifstream/4.cc: New.
5325 * 27_io/basic_ifstream/cons/char/1.cc: New.
5326 * 27_io/basic_ifstream/open/char/1.cc: New.
5327 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
5328 * 27_io/basic_ios/1.cc: New.
5329 * 27_io/basic_ios/2.cc: New.
5330 * 27_io/basic_ios/3.cc: New.
5331 * 27_io/basic_ios/4.cc: New.
5332 * 27_io/basic_ios/clear/char/1.cc: New.
5333 * 27_io/basic_ios/cons/char/1.cc: New.
5334 * 27_io/basic_ios/cons/char/2.cc: New.
5335 * 27_io/basic_ios/cons/char/3.cc: New.
5336 * 27_io/basic_ios/copyfmt/char/1.cc: New.
5337 * 27_io/basic_ios/copyfmt/char/2.cc: New.
5338 * 27_io/basic_ios/exceptions/char/1.cc: New.
5339 * 27_io/basic_ios/locales/char/1.cc: New.
5340 * 27_io/basic_iostream/1.cc: New.
5341 * 27_io/basic_iostream/2.cc: New.
5342 * 27_io/basic_iostream/3.cc: New.
5343 * 27_io/basic_iostream/4.cc: New.
5344 * 27_io/basic_istream/1.cc: New.
5345 * 27_io/basic_istream/2.cc: New.
5346 * 27_io/basic_istream/3.cc: New.
5347 * 27_io/basic_istream/4.cc: New.
5348 * 27_io/basic_istream/exceptions/char/9561.cc: New.
5349 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
5350 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
5351 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
5352 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
5353 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
5354 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
5355 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
5356 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
5357 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
5358 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
5359 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
5360 * 27_io/basic_istream/extractors_character/char/1.cc: New.
5361 * 27_io/basic_istream/extractors_character/char/2.cc: New.
5362 * 27_io/basic_istream/extractors_character/char/3.cc: New.
5363 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
5364 * 27_io/basic_istream/extractors_other/char/1.cc: New.
5365 * 27_io/basic_istream/extractors_other/char/2.cc: New.
5366 * 27_io/basic_istream/extractors_other/char/3.cc: New.
5367 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
5368 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
5369 * 27_io/basic_istream/get/char/1.cc: New.
5370 * 27_io/basic_istream/get/char/2.cc: New.
5371 * 27_io/basic_istream/getline/char/1.cc: New.
5372 * 27_io/basic_istream/getline/char/2.cc: New.
5373 * 27_io/basic_istream/getline/char/3.cc: New.
5374 * 27_io/basic_istream/ignore/char/1.cc: New.
5375 * 27_io/basic_istream/ignore/char/6360.cc: New.
5376 * 27_io/basic_istream/ignore/char/7220.cc: New.
5377 * 27_io/basic_istream/peek/char/1.cc: New.
5378 * 27_io/basic_istream/peek/char/6414.cc: New.
5379 * 27_io/basic_istream/putback/char/1.cc: New.
5380 * 27_io/basic_istream/read/char/1.cc: New.
5381 * 27_io/basic_istream/read/char/2.cc: New.
5382 * 27_io/basic_istream/read/char/3.cc: New.
5383 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
5384 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
5385 * 27_io/basic_istream/readsome/char/8258.cc: New.
5386 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
5387 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
5388 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
5389 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
5390 * 27_io/basic_istream/seekg/char/fstream.cc: New.
5391 * 27_io/basic_istream/seekg/char/sstream.cc: New.
5392 * 27_io/basic_istream/sentry/char/1.cc: New.
5393 * 27_io/basic_istream/sentry/char/2.cc: New.
5394 * 27_io/basic_istream/sentry/char/3.cc: New.
5395 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
5396 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
5397 * 27_io/basic_istream/tellg/char/1.cc: New.
5398 * 27_io/basic_istream/tellg/char/8348.cc: New.
5399 * 27_io/basic_istream/tellg/char/fstream.cc: New.
5400 * 27_io/basic_istream/tellg/char/sstream.cc: New.
5401 * 27_io/basic_istream/ws/char/1.cc: New.
5402 * 27_io/basic_istringstream/1.cc: New.
5403 * 27_io/basic_istringstream/2.cc: New.
5404 * 27_io/basic_istringstream/3.cc: New.
5405 * 27_io/basic_istringstream/4.cc: New.
5406 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
5407 * 27_io/basic_istringstream/str/char/1.cc: New.
5408 * 27_io/basic_ofstream/1.cc: New.
5409 * 27_io/basic_ofstream/2.cc: New.
5410 * 27_io/basic_ofstream/3.cc: New.
5411 * 27_io/basic_ofstream/4.cc: New.
5412 * 27_io/basic_ofstream/cons/char/2.cc: New.
5413 * 27_io/basic_ofstream/open/char/1.cc: New.
5414 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
5415 * 27_io/basic_ostream/1.cc: New.
5416 * 27_io/basic_ostream/2.cc: New.
5417 * 27_io/basic_ostream/3.cc: New.
5418 * 27_io/basic_ostream/4.cc: New.
5419 * 27_io/basic_ostream/cons/char/9827.cc: New.
5420 * 27_io/basic_ostream/endl/char/1.cc: New.
5421 * 27_io/basic_ostream/ends/char/1.cc: New.
5422 * 27_io/basic_ostream/ends/char/2.cc: New.
5423 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
5424 * 27_io/basic_ostream/flush/char/1.cc: New.
5425 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
5426 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
5427 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
5428 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
5429 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
5430 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
5431 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
5432 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
5433 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
5434 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
5435 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
5436 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
5437 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
5438 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
5439 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
5440 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
5441 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
5442 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
5443 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
5444 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
5445 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
5446 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
5447 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
5448 * 27_io/basic_ostream/sentry/char/1.cc: New.
5449 * 27_io/basic_ostream/sentry/char/2.cc: New.
5450 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
5451 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
5452 * 27_io/basic_ostream/tellp/char/1.cc: New.
5453 * 27_io/basic_ostream/tellp/char/2.cc: New.
5454 * 27_io/basic_ostringstream/1.cc: New.
5455 * 27_io/basic_ostringstream/2.cc: New.
5456 * 27_io/basic_ostringstream/3.cc: New.
5457 * 27_io/basic_ostringstream/4.cc: New.
5458 * 27_io/basic_ostringstream/cons/char/3.cc: New.
5459 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
5460 * 27_io/basic_ostringstream/str/char/1.cc: New.
5461 * 27_io/basic_ostringstream/str/char/2.cc: New.
5462 * 27_io/basic_streambuf/1.cc: New.
5463 * 27_io/basic_streambuf/2.cc: New.
5464 * 27_io/basic_streambuf/3.cc: New.
5465 * 27_io/basic_streambuf/cons/char/1.cc: New.
5466 * 27_io/basic_streambuf/imbue/char/1.cc: New.
5467 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
5468 * 27_io/basic_streambuf/overflow/char/1.cc: New.
5469 * 27_io/basic_streambuf/overflow/char/2.cc: New.
5470 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
5471 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
5472 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
5473 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
5474 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
5475 * 27_io/basic_streambuf/sputn/char/1.cc: New.
5476 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
5477 * 27_io/basic_streambuf/sync/char/1057.cc: New.
5478 * 27_io/basic_stringbuf/1.cc: New.
5479 * 27_io/basic_stringbuf/2.cc: New.
5480 * 27_io/basic_stringbuf/3.cc: New.
5481 * 27_io/basic_stringbuf/4.cc: New.
5482 * 27_io/basic_stringbuf/5.cc: New.
5483 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
5484 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
5485 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
5486 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
5487 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
5488 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
5489 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
5490 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
5491 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
5492 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
5493 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
5494 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
5495 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
5496 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
5497 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
5498 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
5499 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
5500 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
5501 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
5502 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
5503 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
5504 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
5505 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
5506 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
5507 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
5508 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
5509 * 27_io/basic_stringbuf/str/char/1.cc: New.
5510 * 27_io/basic_stringbuf/str/char/2.cc: New.
5511 * 27_io/basic_stringbuf/str/char/3.cc: New.
5512 * 27_io/basic_stringbuf/str/char/3955.cc: New.
5513 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
5514 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
5515 * 27_io/basic_stringstream/1.cc: New.
5516 * 27_io/basic_stringstream/2.cc: New.
5517 * 27_io/basic_stringstream/3.cc: New.
5518 * 27_io/basic_stringstream/4.cc: New.
5519 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
5520 * 27_io/basic_stringstream/str/char/1.cc: New.
5521 * 27_io/basic_stringstream/str/char/2.cc: New.
5522 * 27_io/basic_stringstream/str/char/3.cc: New.
5523 * 27_io/basic_stringstream/str/char/4.cc: New.
5524 * 27_io/fpos/1.cc: New.
5525 * 27_io/fpos/2.cc: New.
5526 * 27_io/fpos/3.cc: New.
5527 * 27_io/ios_base/callbacks/1.cc: New.
5528 * 27_io/ios_base/state/1.cc: New.
5529 * 27_io/ios_base/storage/1.cc: New.
5530 * 27_io/ios_base/storage/2.cc: New.
5531 * 27_io/ios_base/storage/3.cc: New.
5532 * 27_io/ios_base/sync_with_stdio/1.cc: New.
5533 * 27_io/ios_base/sync_with_stdio/2.cc: New.
5534 * 27_io/manipulators/adjustfield/char/1.cc: New.
5535 * 27_io/manipulators/adjustfield/char/2.cc: New.
5536 * 27_io/manipulators/basefield/char/1.cc: New.
5537 * 27_io/manipulators/standard/char/1.cc: New.
5538 * 27_io/manipulators/standard/char/2.cc: New.
5539 * 27_io/objects/char/1.cc: New.
5540 * 27_io/objects/char/2.cc: New.
5541 * 27_io/objects/char/2523-1_xin.cc: New.
5542 * 27_io/objects/char/2523-1_xin.in: New.
5543 * 27_io/objects/char/2523-2_xin.cc: New.
5544 * 27_io/objects/char/2523-2_xin.in: New.
5545 * 27_io/objects/char/3045.cc: New.
5546 * 27_io/objects/char/3647.cc: New.
5547 * 27_io/objects/char/3_xin.cc: New.
5548 * 27_io/objects/char/3_xin.in: New.
5549 * 27_io/objects/char/4_xin.cc: New.
5550 * 27_io/objects/char/4_xin.in: New.
5551 * 27_io/objects/char/5268.cc: New.
5552 * 27_io/objects/char/5280_xin.cc: New.
5553 * 27_io/objects/char/5280_xin.in: New.
5554 * 27_io/objects/char/6548_xin.cc: New.
5555 * 27_io/objects/char/6548_xin.in: New.
5556 * 27_io/objects/char/6648-1_xin.cc: New.
5557 * 27_io/objects/char/6648-1_xin.in: New.
5558 * 27_io/objects/char/6648-2_xin.cc: New.
5559 * 27_io/objects/char/6648-2_xin.in: New.
5560 * 27_io/objects/char/7744_xin.cc: New.
5561 * 27_io/objects/char/7744_xin.in: New.
5562 * 27_io/objects/wchar_t/1.cc: New.
5563 * 27_io/types/1.cc: New.
5564 * 27_io/types/2.cc: New.
5565 * data/filebuf_members-1.tst: New.
5566 * data/filebuf_members-1.txt: New.
5567 * data/filebuf_virtuals-1.tst: New.
5568 * data/filebuf_virtuals-1.txt: New.
5569 * data/filebuf_virtuals-2.tst: New.
5570 * data/filebuf_virtuals-3.tst: New.
5571 * data/ifstream_members-1.tst: New.
5572 * data/ifstream_members-1.txt: New.
5573 * data/ios_base_members_static-1.tst: New.
5574 * data/istream_extractor_other-1.tst: New.
5575 * data/istream_extractor_other-1.txt: New.
5576 * data/istream_extractor_other-2.tst: New.
5577 * data/istream_seeks-1.tst: New.
5578 * data/istream_seeks-1.txt: New.
5579 * data/istream_seeks-2.tst: New.
5580 * data/istream_seeks-3.tst: New.
5581 * data/istream_unformatted-1.tst: New.
5582 * data/istream_unformatted-1.txt: New.
5583 * data/ofstream_members-1.tst: New.
5584 * data/ostream_inserter_char-1.tst: New.
5585 * data/ostream_inserter_char-1.txt: New.
5586 * data/ostream_inserter_other-1.tst: New.
5587 * data/ostream_inserter_other-2.tst: New.
5588 * data/ostream_seeks-1.tst: New.
5590 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5592 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
5593 requirement that __mode must be strict input or output.
5595 * include/std/std_streambuf.h (basic_streambuf::setp): Set
5598 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
5599 output string shouldn't core.
5600 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
5602 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
5604 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
5607 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
5609 * testsuite/data: New directory.
5610 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
5611 to copy files from the testsuite data directory.
5612 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
5613 testfiles containing _xin, which now means this is an interactive
5614 test and should be run with the interactive dejagnu hooks.
5615 * testsuite/Makefile.am: Remove testsuite_* files.
5616 * testsuite/Makefile.in: Regenerate.
5618 2003-04-09 Zack Weinberg <zack@codesourcery.com>
5620 * docs/html/install.html: Document complete list of locales
5621 required by test suite. Document procedure for installing
5622 said locales under Debian. Solicit instructions for other
5625 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
5627 * include/bits/sstream.tcc (overflow): Make sure operands of min
5628 and max have the same type.
5630 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
5633 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
5636 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
5638 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
5639 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
5640 Don't set _M_out_end.
5641 (basic_filebuf::overflow): Replace _M_out_buf_size() with
5642 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
5643 * include/bits/sstream.tcc (basic_stringbuf::overflow):
5644 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
5645 * include/bits/streambuf.tcc (basic_streambuf::sputc):
5646 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
5647 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
5648 _M_out_end - _M_out_cur.
5649 (__copy_streambufs): Likewise.
5650 * include/std/std_fstream.h (_M_set_determinate): Set
5653 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
5655 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
5656 _M_convert_to_external, _M_really_overflow, seekoff): Fix
5657 test for synced buffer.
5658 * include/std/std_fstream.h (sync): Likewise.
5659 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5660 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
5662 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
5664 * include/std/std_sstream.h (basic_istringstream): Adjust
5666 (basic_ostringstream): Same.
5667 (basic_stringstream): Same.
5668 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
5669 (basic_ofstream): Same.
5670 (basic_fstream): Same.
5671 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
5672 that does not call init.
5673 * include/std/std_istream.h (basic_istream): Same.
5674 (basic_iostream): Construct istream, ostream uninitialized, use
5675 init to initialize just once. Add protected ctor that does not
5678 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
5679 Nathan Myers <ncm@cantrip.org>
5682 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
5684 (basic_filebuf<>::showmanyc): Use the information provided
5685 by codecvt and __basic_file<>::showmanyc_helper to implement
5686 a non-trivial showmanyc.
5687 * config/io/basic_file_stdio.h
5688 (__basic_file<>::showmanyc_helper): New, declare.
5689 * config/io/basic_file_stdio.cc
5690 (__basic_file<>::showmanyc_helper): Define.
5691 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
5692 (__basic_file<char>::open): Don't call fcntl().
5693 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
5694 GLIBCPP_CHECK_POLL): New macros.
5695 * configure.in: Call here.
5696 * acconfig.h: Add #undefs for the corresponding symbols.
5697 * aclocal.m4: Regenerate.
5698 * configure: Regenerate.
5699 * config.h.in: Regenerate.
5701 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
5703 * config/linker-map.gnu: Remove string export restrictions.
5705 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
5707 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
5708 find_first_of, find_last_of and find_last_not_of tests.
5709 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
5710 tests here, new file.
5711 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
5712 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
5713 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
5714 wchar_t find_first_of tests here, new file.
5715 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
5717 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
5719 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
5720 wchar_t find_last_of tests here.
5721 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
5722 wchar_t find_last_not_of tests here.
5724 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
5726 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
5727 Correct return value.
5729 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
5732 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
5733 * include/std/std_complex.h (norm): Use faster,
5734 less accurate computation for builtin float types under --fast-math.
5736 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
5738 * testsuite/testsuite_hooks.h: Fix warning nits.
5740 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
5742 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
5743 Only .set mips2 for the o32 ABI.
5745 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
5747 * testsuite/21_strings/char_traits/requirements/char/1.cc:
5748 Test char not wchar_t.
5750 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5752 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
5753 Correct size, taking into account sizeof(wchar_t).
5755 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
5757 Reshuffle 21_strings testsuite.
5758 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
5759 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
5760 element_access.cc, operations.cc, char_traits_requirements.cc,
5761 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
5762 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
5763 wchar_t tests as follows.
5764 * 21_strings/basic_string/append/char/1.cc: New.
5765 * 21_strings/basic_string/append/wchar_t/1.cc: New.
5766 * 21_strings/basic_string/assign/char/1.cc: New.
5767 * 21_strings/basic_string/assign/char/2.cc: New.
5768 * 21_strings/basic_string/assign/char/3.cc: New.
5769 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
5770 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
5771 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
5772 * 21_strings/basic_string/capacity/1.cc: New.
5773 * 21_strings/basic_string/capacity/char/1.cc: New.
5774 * 21_strings/basic_string/capacity/char/2.cc: New.
5775 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
5776 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
5777 * 21_strings/basic_string/compare/char/1.cc: New.
5778 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
5779 * 21_strings/basic_string/cons/char/1.cc: New.
5780 * 21_strings/basic_string/cons/char/2.cc: New.
5781 * 21_strings/basic_string/cons/char/3.cc: New.
5782 * 21_strings/basic_string/cons/char/4.cc: New.
5783 * 21_strings/basic_string/cons/char/5.cc: New.
5784 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
5785 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
5786 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
5787 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
5788 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
5789 * 21_strings/basic_string/element_access/char/1.cc: New.
5790 * 21_strings/basic_string/element_access/char/2.cc: New.
5791 * 21_strings/basic_string/element_access/char/3.cc: New.
5792 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
5793 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
5794 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
5795 * 21_strings/basic_string/find/char/1.cc: New.
5796 * 21_strings/basic_string/find/wchar_t/1.cc: New.
5797 * 21_strings/basic_string/insert/char/1.cc: New.
5798 * 21_strings/basic_string/insert/char/2.cc: New.
5799 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
5800 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
5801 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
5802 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
5803 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
5804 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
5805 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
5806 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
5807 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
5808 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
5809 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
5810 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
5811 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
5812 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
5813 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
5814 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
5815 * 21_strings/basic_string/operators/char/1.cc: New.
5816 * 21_strings/basic_string/operators/char/2.cc: New.
5817 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
5818 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
5819 * 21_strings/basic_string/replace/char/1.cc: New.
5820 * 21_strings/basic_string/replace/char/2.cc: New.
5821 * 21_strings/basic_string/replace/char/3.cc: New.
5822 * 21_strings/basic_string/replace/char/4.cc: New.
5823 * 21_strings/basic_string/replace/char/5.cc: New.
5824 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
5825 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
5826 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
5827 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
5828 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
5829 * 21_strings/basic_string/rfind/char/1.cc: New.
5830 * 21_strings/basic_string/rfind/char/2.cc: New.
5831 * 21_strings/basic_string/rfind/char/3.cc: New.
5832 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
5833 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
5834 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
5835 * 21_strings/basic_string/substr/char/1.cc: New.
5836 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
5837 * 21_strings/c_strings/char/1.cc: New.
5838 * 21_strings/c_strings/char/2.cc: New.
5839 * 21_strings/c_strings/wchar_t/1.cc: New.
5840 * 21_strings/c_strings/wchar_t/2.cc: New.
5841 * 21_strings/char_traits/requirements/char/1.cc: New.
5842 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
5843 * 21_strings/char_traits/typedefs/char/1.cc: New.
5845 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
5846 Petur Runolfsson <peturr02@ru.is>
5849 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
5850 basic_filebuf<wchar_t>::_M_underflow_common):
5851 if (gptr() < egptr()) return *gptr().
5852 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
5854 * testsuite/27_io/filebuf_members.cc (test_04): Minor
5855 changes: unlink fifo before making it, fix spelling error.
5857 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
5859 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
5860 * testsuite/Makefile.in: Regenerate.
5861 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
5864 2003-03-17 Petur Runolfsson <peturr02@ru.is>
5867 * include/bits/fstream.tcc (basic_filebuf::close):
5868 Always close file, even when write fails.
5869 * testsuite/27_io/filebuf_members.cc (test_07): New test.
5871 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
5873 * libsupc++/Makefile.am (C_COMPILE): Remove.
5874 (LTCOMPILE): Likewise.
5875 * libsupc++/Makefile.in: Regenerate.
5877 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5879 * testsuite/23_containers/bitset_members.cc: Add test variable.
5880 * testsuite/23_containers/map_insert.cc: Same.
5881 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
5882 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
5883 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
5884 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
5885 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
5886 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
5887 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
5888 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
5889 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
5890 * testsuite/27_io/istream_exception.cc: Same.
5891 * testsuite/27_io/filebuf_virtuals.cc: Same.
5892 * testsuite/27_io/stringbuf_virtuals.cc: Same.
5893 * testsuite/27_io/ostream_inserter_arith.cc: Same.
5894 * testsuite/26_numerics/valarray_operators.cc: Same.
5895 * testsuite/26_numerics/slice.cc: Same.
5896 * testsuite/26_numerics/slice_array_assignment.cc: Same.
5897 * testsuite/24_iterators/istream_iterator.cc: Same.
5898 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
5900 2003-03-14 Petur Runolfsson <peturr02@ru.is>
5904 * config/locale/generic/ctype_members.cc,
5905 * config/locale/gnu/ctype_members.cc
5906 (ctype<wchar_t>::do_widen(char)): Cast argument to
5907 unsigned char before passing to btowc.
5908 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
5909 Convert characters with btowc instead of mbsrtowcs.
5910 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
5912 Convert characters with wctob instead of wcsrtombs.
5913 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
5914 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
5915 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
5917 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
5919 * include/stdc++.h: New.
5920 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
5921 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
5922 * include/Makefile.in: Regenerate.
5923 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
5924 (--cxxflags): Put -g -O2 here.
5925 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
5927 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
5929 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
5930 missing named locale.
5932 2003-03-14 Andreas Schwab <schwab@suse.de>
5934 * configure.in: Only append to makefiles that are newly created to
5935 avoid multiple multi-do/multi-clean rules.
5936 * configure: Rebuilt.
5938 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
5940 * docs/html/configopts.html, docs/html/documentation.html,
5941 docs/html/explanations.html, docs/html/install.html,
5942 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
5943 invalid XHTML and make page header style consistent.
5945 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
5947 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
5948 * docs/html/faq/index.txt: Regenerate.
5949 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
5951 2003-03-12 Andreas Schwab <schwab@suse.de>
5953 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
5954 glibcpp_toolexeclibdir.
5955 * aclocal.m4, configure: Rebuilt.
5957 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
5959 * docs/html/faq/index.html: Update text about location of headers.
5960 * docs/html/faq/index.txt: Regenerate.
5962 2003-03-11 Carlo Wood <carlo@alinoe.com>
5964 * include/bits/demangle.h: Prepend accessors of
5965 class qualifier with 'get_' in order to fix warnings
5966 when compiling with -Wshadow.
5968 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
5970 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
5972 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
5974 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
5975 report lack of setenv().
5977 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5979 * config/io/basic_file_stdio.cc: include <unistd.h>.
5981 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
5982 Nathan Myers <ncm@cantrip.org>
5985 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
5986 seekoff, seekpos): Add a boolean parameter __stdio.
5987 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
5988 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
5989 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
5991 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
5992 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
5993 * include/std/std_fstream.h (sync): Likewise.
5994 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
5995 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
5996 libstdc++/8399 commit involving isatty(0).
5997 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
5998 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
5999 * configure.in: Remove call.
6000 * aclocal.m4: Regenerate.
6001 * config.h.in: Regenerate.
6002 * configure: Regenerate.
6003 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
6005 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
6008 * include/bits/fstream.tcc (overflow): don't write EOF to file.
6009 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
6011 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
6014 * include/bits/basic_ios.h (_M_setstate): New.
6015 * include/bits/ostream.tcc (operator<<): Use it.
6016 * include/bits/istream.tcc (operator>>): Use it.
6017 * include/std/std_ostream.h (operator<<): Make friends.
6018 * include/std/std_istream.h (operator>>): Make friends.
6019 * testsuite/27_io/ostream_exception.cc,
6020 testsuite/27_io/istream_exception.cc: New tests.
6022 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
6024 * include/bits/locale_facets.tcc: Fix typo.
6026 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
6028 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
6030 * config/locale/generic/c_locale.cc
6031 (locale::facet::_S_create_c_locale): Throw runtime exception when
6032 unsupported language is specified.
6033 * testsuite/testsuite_hooks.h
6034 (run_test_wrapped_generic_locale_exception_catcher): New function.
6035 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
6036 Suppress runtime exception thrown by generic implementation.
6037 (run_tests_wrapped_env): Likewise.
6038 (run_test_wrapped_generic_locale_exception_catcher): New function.
6039 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
6040 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
6041 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
6042 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
6043 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
6044 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
6045 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
6046 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
6047 * testsuite/22_locale/facet/2.cc: New test wrap.
6048 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
6049 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
6050 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
6051 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
6052 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
6053 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
6054 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
6055 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
6056 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
6057 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
6058 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
6059 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
6060 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
6061 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
6062 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
6063 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
6064 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
6065 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
6066 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
6067 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
6068 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
6069 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
6070 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
6071 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
6072 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
6073 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
6074 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
6075 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
6076 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
6077 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
6078 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
6079 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
6080 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
6081 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
6082 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
6083 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
6084 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
6085 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
6086 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
6087 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
6088 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
6089 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
6090 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
6091 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
6092 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
6093 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
6094 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
6095 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
6096 * testsuite/27_io/ios_members.cc: New test wrap.
6097 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
6099 * testsuite/27_io/streambuf_members.cc: New test wrap.
6100 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
6102 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
6103 Petur Runolfsson <peturr02@ru.is>
6106 * include/bits/streambuf.tcc (__copy_streambufs): Use
6107 sgetn-sputn only when sputn cannot fail, otherwise fall back
6108 to safe snextc-sputc.
6109 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
6111 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
6113 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
6114 locale cache for truename and falsename.
6116 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
6118 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
6119 _M_word_size initialization.
6121 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
6123 * include/bits/fstream.tcc (_M_convert_to_external):
6124 Set __elen to zero if codecvt::out eventually fails.
6126 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
6129 * include/bits/fstream.tcc (_M_really_overflow): Check
6130 for _M_convert_to_external possible failures.
6131 * include/std/std_fstream.h (sync): Check _M_really_overflow
6132 return value and return -1 in case of failure.
6133 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
6135 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
6138 * include/bits/istream.tcc (operator>>(_CharT*),
6139 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
6140 * testsuite/27_io/stringstream.cc (test02): Add.
6142 * include/bits/istream.tcc (operator>>(_CharT*)):
6143 Assign a char_type to *__s.
6145 2003-03-07 Petur Runolfsson <peturr02@ru.is>
6148 * include/bits/locale_facets.tcc
6149 (collate::do_compare, collate::do_transform):
6150 Handle nul characters in input.
6151 * testsuite/22_locale/collate/compare/char/3.cc: New test.
6152 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
6153 * testsuite/22_locale/collate/transform/char/3.cc: New test.
6154 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
6156 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
6158 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
6160 * testsuite/27_io/ostream_fail.cc: New test.
6162 2003-03-07 Matthias Klose <doko@debian.org>
6164 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
6165 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
6166 * Makefile.in: Regenerate.
6167 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
6169 AM_MAKEFLAGS: Pass gxx_include_dir.
6170 * libsupc++/Makefile.in: Regenerate.
6172 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
6174 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
6175 mask. Test setting small-numbered pword and iword slots. Test
6176 behavior at limit of numeric_limits::max. Check that values are
6177 still good after failures.
6179 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
6181 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
6182 (ios_base::ios_base): Set _M_word, _M_word_size.
6183 (ios_base::~ios_base): Remove redundant test.
6184 * testsuite/27_io/ios_base_storage.cc (test03): New.
6186 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
6188 * src/strstream.cc, include/bits/basic_string.tcc: Remove
6189 incorrect whitespace added in my previous change.
6191 2003-03-05 Carlo Wood <carlo@alinoe.com>
6193 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
6194 _S_initialized() in order to allow debugging libraries to detect
6195 when the std streams are initialized from an overloaded operator
6198 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
6200 * libsupc++/demangle.h: Move to..
6201 * include/bits/demangle.h: ...here.
6202 * src/demangle.cc: Adjust include.
6203 * include/Makefile.am (bits_headers): Add.
6204 * include/Makefile.in: Regenerate.
6206 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
6208 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
6210 * config/linker-map.gnu: Filter typeinfo and vtable info.
6212 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
6214 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
6215 new failure. Throw exception if badbit and exception mask when ix
6216 >= numeric_limits<int>::max().
6218 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
6220 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
6221 min and max have the same type.
6222 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
6224 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
6226 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
6227 * include/Makefile.in: Regenerate.
6229 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
6231 * testsuite/abi_check.cc (report_symbol_info): Add version info.
6233 * config/linker-map.gnu: Hide more stuff.
6234 * include/Makefile.am: Cleanups.
6235 * include/Makefile.in: Regenerate.
6237 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
6239 * config/locale/generic/messages_members.h (messages::messages):
6240 Remove name from unused parameter.
6242 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
6244 * src/Makefile.am (sources): Add demangle.cc.
6247 * src/Makefile.in: Regenerate.
6248 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
6249 * libsupc++/Makefile.in: Regenerate.
6251 * testsuite/testsuite_hooks.h
6252 (__gnu_cxx_test::verify_demangle): New.
6253 * testsuite/testsuite_hooks.cc: Define.
6255 2003-02-27 Carlo Wood <carlo@alinoe.com>
6257 * src/demangle.cc: New.
6258 * libsupc++/demangle.h: New.
6260 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
6261 Carlo Wood <carlo@alinoe.com>
6263 * testsuite/demangle/abi_examples/01.cc: New.
6264 * testsuite/demangle/abi_examples/02.cc: New.
6265 * testsuite/demangle/abi_examples/03.cc: New.
6266 * testsuite/demangle/abi_examples/04.cc: New.
6267 * testsuite/demangle/abi_examples/05.cc: New.
6268 * testsuite/demangle/abi_examples/06.cc: New.
6269 * testsuite/demangle/abi_examples/07.cc: New.
6270 * testsuite/demangle/abi_examples/08.cc: New.
6271 * testsuite/demangle/abi_examples/09.cc: New.
6272 * testsuite/demangle/abi_examples/10.cc: New.
6273 * testsuite/demangle/abi_examples/11.cc: New.
6274 * testsuite/demangle/abi_examples/12.cc: New.
6275 * testsuite/demangle/abi_examples/13.cc: New.
6276 * testsuite/demangle/abi_examples/14.cc: New.
6277 * testsuite/demangle/abi_examples/15.cc: New.
6278 * testsuite/demangle/abi_examples/16.cc: New.
6279 * testsuite/demangle/abi_examples/17.cc: New.
6280 * testsuite/demangle/abi_examples/18.cc: New.
6281 * testsuite/demangle/abi_examples/19.cc: New.
6282 * testsuite/demangle/abi_examples/20.cc: New.
6283 * testsuite/demangle/abi_examples/21.cc: New.
6284 * testsuite/demangle/abi_examples/22.cc: New.
6285 * testsuite/demangle/abi_examples/23.cc: New.
6286 * testsuite/demangle/abi_examples/24.cc: New.
6287 * testsuite/demangle/abi_examples/25.cc: New.
6288 * testsuite/demangle/abi_examples/26.cc: New.
6289 * testsuite/demangle/abi_text/01.cc: New.
6290 * testsuite/demangle/abi_text/02.cc: New.
6291 * testsuite/demangle/abi_text/03.cc: New.
6292 * testsuite/demangle/abi_text/04.cc: New.
6293 * testsuite/demangle/abi_text/05.cc: New.
6294 * testsuite/demangle/abi_text/06.cc: New.
6295 * testsuite/demangle/abi_text/07.cc: New.
6296 * testsuite/demangle/abi_text/08.cc: New.
6297 * testsuite/demangle/abi_text/09.cc: New.
6298 * testsuite/demangle/abi_text/10.cc: New.
6299 * testsuite/demangle/abi_text/11.cc: New.
6300 * testsuite/demangle/abi_text/12.cc: New.
6301 * testsuite/demangle/abi_text/13.cc: New.
6302 * testsuite/demangle/abi_text/14.cc: New.
6303 * testsuite/demangle/regression/3111-1.cc: New.
6304 * testsuite/demangle/regression/3111-2.cc: New.
6305 * testsuite/demangle/regression/7986-01.cc: New.
6306 * testsuite/demangle/regression/7986-02.cc: New.
6307 * testsuite/demangle/regression/7986-03.cc: New.
6308 * testsuite/demangle/regression/7986-04.cc: New.
6309 * testsuite/demangle/regression/7986-05.cc: New.
6310 * testsuite/demangle/regression/7986-06.cc: New.
6311 * testsuite/demangle/regression/7986-07.cc: New.
6312 * testsuite/demangle/regression/7986-08.cc: New.
6313 * testsuite/demangle/regression/7986-09.cc: New.
6314 * testsuite/demangle/regression/7986-10.cc: New.
6315 * testsuite/demangle/regression/7986-11.cc: New.
6316 * testsuite/demangle/regression/7986-12.cc: New.
6317 * testsuite/demangle/regression/7986.cc: New.
6318 * testsuite/demangle/regression/8897.cc: New.
6319 * testsuite/demangle/regression/cw-01.cc: New.
6320 * testsuite/demangle/regression/cw-02.cc: New.
6321 * testsuite/demangle/regression/cw-03.cc: New.
6322 * testsuite/demangle/regression/cw-04.cc: New.
6323 * testsuite/demangle/regression/cw-05.cc: New.
6324 * testsuite/demangle/regression/cw-06.cc: New.
6325 * testsuite/demangle/regression/cw-07.cc: New.
6326 * testsuite/demangle/regression/cw-08.cc: New.
6327 * testsuite/demangle/regression/cw-09.cc: New.
6328 * testsuite/demangle/regression/cw-10.cc: New.
6329 * testsuite/demangle/regression/cw-11.cc: New.
6330 * testsuite/demangle/regression/cw-12.cc: New.
6331 * testsuite/demangle/regression/cw-13.cc: New.
6332 * testsuite/demangle/regression/cw-14.cc: New.
6333 * testsuite/demangle/regression/old.cc: New.
6335 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
6337 * docs/doxygen/Intro.3: Update with new (proper) names.
6338 * docs/doxygen/TODO: Update.
6339 * docs/doxygen/run_doxygen: More comments, fix up man pages.
6340 Fake entries for standard typedefs.
6341 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
6342 * docs/html/documentation.html: Top-level man page is now called
6344 * include/std/std_limits.h: Doxygenate.
6346 2003-02-25 Scott Snyder <snyder@fnal.gov>
6349 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
6350 Correct documentation.
6351 * include/bits/stl_multimap.h (lower_bound, upper_bound,
6352 equal_range): Likewise.
6354 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
6358 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
6359 __bump is true (uflow), always increment the read pointer
6360 (_M_in_cur) before returning successfully.
6361 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
6363 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
6364 Nathan Myers <ncm@cantrip.org>
6366 PR libstdc++/9404, PR libstdc++/9701 (partial)
6367 (aka pptr == epptr implies overflow)
6368 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
6369 Consistently, _M_out_end points to the end of the buffer just
6371 (overflow): Tweak to use _M_out_buf_size().
6372 (_M_convert_to_external): The role of the old _M_out_end is
6373 now played by _M_out_lim.
6374 (_M_really_overflow): Likewise.
6375 (seekoff): Likewise.
6376 (setbuf): _M_out_end points to the end of the external buffer.
6377 * include/bits/sstream.tcc (overflow): Rewrote, taking into
6378 account the resolution of DR 169 (TC).
6379 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
6380 (seekpos): Use _M_string.capacity(); tweak.
6381 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
6382 * include/std/std_fstream.h (sync): The role of the old
6383 _M_out_end is now played by _M_out_lim.
6384 (_M_set_indeterminate): Use _M_set_determinate.
6385 (_M_set_determinate): _M_out_end is now _M_out_lim.
6386 (_M_is_indeterminate): Likewise.
6387 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
6388 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
6389 which have the information readily available as _M_string.capacity();
6390 for ate and app modes, pass the string size to _M_really_sync.
6391 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
6392 point to the end of the buffer (i.e., epptr) and to the string end,
6394 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
6395 which points to the right limit of the used put area.
6396 (_M_out_cur_move): The role of the old _M_out_end is now played
6398 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
6399 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
6401 (basic_streambuf()): Initialize _M_out_lim too.
6402 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
6403 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
6404 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
6406 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
6408 * testsuite/27_io/ios_base_storage.cc (main): Call
6411 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
6413 * include/bits/locale_facets.tcc (_M_convert_float): Replace
6414 numpunct facet accesses with data from __locale_cache.
6416 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6418 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
6419 * docs/html/faq/index.txt: Regenerate.
6421 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
6423 * config/linker-map.gnu: Also export locking symbols needed for the
6424 generic atomicity.h case.
6426 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6428 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6430 * configure: Rebuilt.
6432 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
6434 * include/bits/sstream.tcc (overflow): According to
6435 27.7.1.3, p5, actual output is performed by sputc(c).
6437 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
6440 * include/bits/stl_alloc.h: Remove all traces of assert().
6442 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6444 * include/std/std_sstream.h (str()): the size of the
6445 current string may be different from the initial one
6446 whenever _M_out_end > _M_out_beg.
6447 * testsuite/27_io/stringbuf_members.cc (test07): Add.
6449 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
6452 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
6454 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
6456 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
6457 * testsuite/27_io/ios_members.cc (test03): New.
6459 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
6461 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
6462 (basic_ios::_M_cache_facets): Move into above.
6463 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
6465 (basic_ios::imbue): Force locale cache to be built.
6466 (basic_ios::_M_init): Create and initialize locale cache.
6467 * include/bits/ios_base.h (__locale_cache_base): Declare.
6468 (ios_base::_M_locale_cache): New.
6469 (ios_base::_M_cache): Define.
6470 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
6472 (__locale_cache_base,__locale_cache<_CharT>): New classes.
6473 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
6474 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
6475 cache literal string, grouping flag, thousands separator.
6476 (__locale_cache<_CharT>::__locale_cache): New.
6477 (__locale_cache<_CharT>::_M_init): New.
6478 * src/ios.cc: Clear _M_locale_cache in constructor.
6479 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
6482 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6484 * src/locale-inst.cc: Do not include <cassert>.
6485 * src/locale.cc: Likewise.
6487 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6490 * include/std/std_fstream.h: Declare underflow and uflow
6491 specializations, change generic definitions to do nothing.
6492 * src/fstream.cc: Add underflow and uflow specializations.
6494 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
6497 * include/bits/fstream.tcc (_M_convert_to_external):
6498 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
6499 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
6501 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
6503 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
6504 * include/bits/basic_ios.tcc: Guard use of extern template.
6505 * include/std/std_iomanip.h: Same.
6506 * include/bits/streambuf.tcc: Same.
6507 * include/bits/stl_alloc.h: Same.
6508 * include/bits/locale_facets.tcc: Same.
6509 * include/bits/ostream.tcc: Same.
6510 * include/bits/istream.tcc: Same.
6511 * include/bits/fstream.tcc: Same.
6512 * include/bits/basic_string.tcc: Same.
6514 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
6516 * include/bits/ostream.tcc (sentry::sentry): Improve
6517 performance-wise the fix for libstdc++/9563.
6519 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
6521 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
6522 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
6523 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
6524 when we don't have static mutex initialization.
6525 (__exchange_and_add): Use _Atomic_add_mutex_once.
6526 * src/misc-inst.cc: Definitions of all the above.
6528 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
6531 * include/bits/ostream.tcc (sentry::sentry): Check
6532 the state of the stream after the preparation.
6533 * testsuite/27_io/ostream_sentry.cc (test02): Add.
6535 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
6537 * include/Makefile.am (stamp-std-precompile): Add rule.
6538 * include/Makefile.in: Regenerated.
6540 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
6541 Benjamin Kosnik <benjamin@redhat.com>
6543 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
6544 Add indexes into this array.
6545 (__num_base::_S_atoms): To _S_atoms_in.
6546 (num_put::_M_insert): Rename to _M_pad.
6547 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
6548 (num_put::_M_widen_int): Rename to _M_group_int.
6549 (num_put::_M_widen_float): Rename to _M_group_float.
6550 * include/bits/locale_facets.tcc (__int_to_char): New inline
6551 function and adapter functions.
6552 (num_put::_M_group_int): Streamline.
6553 (num_put::_M_group_float): Streamline.
6554 (num_put::_M_convert_int): Remove unused parameter names. Choose
6555 large enough buffer for text. Use __int_to_char instead of
6556 __convert_from_v. Formatted text is now at the end of the buffer.
6557 (num_put::_M_convert_float): Preliminary fixups.
6558 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
6559 (__int_to_char<unsigned long long>): Same.
6560 (__int_to_char<char, unsigned long>): New.
6561 (__int_to_char<char, unsigned long long>): New.
6562 (__int_to_char<wchar_t, unsigned long>): New.
6563 (__int_to_char<wchar_t, unsigned long long>): New.
6565 2003-02-11 Scott Snyder <snyder@fnal.gov>
6568 * include/bits/fstream.tcc (seekoff): Avoid operator+
6571 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6574 * include/ext/stdio_filebuf.h
6575 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
6576 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
6577 Change to take a __size parameter of type size_t, not
6578 of type (template parameter dependent) int_type.
6579 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
6580 size vars to size_t.
6581 * testsuite/ext/stdio_filebuf.cc: Add.
6583 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
6584 Petur Runolfsson <peturr02@ru.is>
6587 * include/bits/streambuf.tcc (__copy_streambufs):
6588 Don't conditionalize the copy to __testput.
6589 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
6591 2002-02-11 DJ Delorie <dj@redhat.com>
6593 * acinclude.m4: Check for native targets that can't link at
6594 this point in the build.
6595 * aclocal.m4: Regenerate.
6596 * configure: Regenerate.
6598 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6600 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
6602 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
6605 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
6607 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
6608 unsigned char platforms.
6610 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6613 * include/std/std_istream.h
6614 (basic_istream::sentry::operator bool()): Make const.
6615 * include/std/std_ostream.h
6616 (basic_ostream::sentry::operator bool()): Likewise.
6617 * testsuite/27_io/istream_sentry.cc (test03): Add.
6618 * testsuite/27_io/ostream_sentry.cc: Add.
6620 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
6623 Implement resolution of DR 231 (Ready)
6624 * include/bits/locale_facets.h (__num_base::_S_format_float):
6625 Change declaration: return void, remove __prec parameter.
6626 * src/locale.cc (__num_base::_S_format_float): Implement
6627 resolution of DR 231.
6628 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
6629 Tweak uses. Check for negative precision.
6630 * testsuite/22_locale/num_put/put/char/6.cc: Add
6631 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
6633 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
6635 * config/io/basic_file_libio.h: Fixups.
6636 * config/io/c_io_libio.h: Same.
6637 * libio/Makefile.am: Same.
6638 * libio/Makefile.in: Regenerated.
6640 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
6642 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
6643 Explicitly use the "C" locale.
6644 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
6646 2003-02-06 Petur Runolfsson <peturr02@ru.is>
6650 PR libstdc++/9028 (partial)
6656 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
6657 codecvt<wchar_t, char, mbstate_t>::do_length,
6658 codecvt<wchar_t, char, mbstate_t>::do_max_length):
6660 * config/locale/generic/codecvt_members.cc: ...here.
6661 * config/locale/gnu/codecvt_members.cc: ...and here.
6663 * config/locale/generic/codecvt_members.cc,
6664 * config/locale/gnu/codecvt_members.cc
6665 (codecvt<wchar_t, char, mbstate_t>::do_encoding
6666 codecvt<wchar_t, char, mbstate_t>::do_in,
6667 codecvt<wchar_t, char, mbstate_t>::do_length,
6668 codecvt<wchar_t, char, mbstate_t>::do_max_length,
6669 codecvt<wchar_t, char, mbstate_t>::do_out):
6670 New implementation that handles stateless encodings,
6673 * config/locale/generic/codecvt_members.cc,
6674 * config/locale/gnu/codecvt_members.cc,
6675 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
6676 * include/bits/codecvt.h,
6678 (codecvt::length, codecvt::do_length):
6679 Change type of first argument of length and do_length from
6680 'const state_type&' to 'state_type&' according to DR 75.
6682 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
6683 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
6684 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
6685 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
6686 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
6687 Cleanup and check for correct return value from encoding
6689 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
6690 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
6691 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
6692 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
6693 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
6694 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
6695 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
6696 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
6697 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
6698 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
6699 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
6700 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
6701 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
6702 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
6703 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
6704 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
6705 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
6706 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
6707 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
6708 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
6709 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
6710 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
6711 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
6712 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
6713 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
6714 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
6715 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
6716 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
6717 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
6718 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
6719 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
6720 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
6721 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
6722 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
6723 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
6724 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
6725 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
6727 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
6729 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
6730 (money_put::do_put): Same.
6732 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
6734 * include/bits/ios_base.h (ios_base): Document reserved storage.
6736 * include/bits/locale_facets.h: (struct __pad): Comment on
6738 (__verify_grouping): Same.
6739 (__add_grouping): Same.
6740 * include/bits/locale_facets.tcc (__verify_grouping): Move
6741 comments to declaration.
6742 (__add_grouping): Same.
6744 * include/bits/locale_facets.tcc:
6745 (__write<_CharT, _OutIter>): New function.
6746 (__write<_CharT>): New function specialization.
6747 (num_put::_M_insert): Remove explicit loop over iterator. Use
6749 (num_put::_M_widen_float): Remove __basefield.
6750 (num_put::_M_widen_int): Move __basefield to within grouping block.
6752 * include/bits/streambuf_iterator.h: Include <streambuf>.
6753 (ostreambuf_iterator::_M_put): Add.
6755 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
6757 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
6759 2003-02-04 Nathan Myers <ncm@cantrip.org>
6761 * testsuite/25_algorithms/min_max.cc (test02): Add.
6763 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6765 PR libstdc++/9439, PR libstdc++/9425
6766 * config/io/basic_file_stdio.cc
6767 (__basic_file<char>::seekoff, seekpos): Return -1L if
6769 * include/bits/fstream.tcc (basic_filebuf::seekoff):
6770 Check _M_file.seekoff return value; always return
6771 pos_type(off_type(-1)) in case of failure.
6772 (basic_filebuf::pbackfail): Check this->seekoff return
6773 value and return traits_type::eof() in case of failure.
6774 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
6776 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
6778 * include/std/std_ostream.h (ostream::_M_write): Declare.
6779 * ostream.tcc (ostream::_M_write): Define.
6780 (basic_ostream::write): Use it.
6781 (operator<<(basic_ostream, _CharT)): Ditto.
6782 (operator<<(basic_ostream, char)): Ditto.
6783 (operator<<(basic_ostream, _CharT*)): Ditto.
6784 (operator<<(basic_ostream, char*)): Ditto.
6785 (operator<<(basic_ostream, basic_string)): Ditto.
6787 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
6789 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
6791 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6793 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
6794 add HTML comment about updating links if numbering changes.
6796 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6799 * include/bits/streambuf.tcc (sputbackc): Access
6800 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
6801 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6803 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
6806 * include/bits/fstream.tcc (open): If the 'ate' repositioning
6807 operation fails, calls close _and_ returns a null pointer
6808 to indicate failure (27.8.1.3,4).
6809 * testsuite/27_io/filebuf_members.cc (test_06): Add.
6811 2003-02-04 Petur Runolfsson <peturr02@ru.is>
6813 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
6815 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
6817 * docs/html/27_io/howto.html: New section on stdio_filebuf.
6818 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
6819 * docs/html/documentation.html: Regenerate.
6821 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
6823 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
6824 * docs/html/17_intro/porting.html: Regenerate.
6826 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
6827 Phil Edwards <pme@gcc.gnu.org>
6829 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
6830 numeric_limits for bits-per-word values.
6831 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
6832 Use __builtin_popcountl instead.
6833 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
6834 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
6835 Use __builtin_ctzl instead.
6836 (_S_bit_count, _S_first_one): Remove.
6837 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
6838 * src/Makefile.am (sources): Remove bitset.cc.
6839 * src/bitset.cc: Delete file.
6840 * src/Makefile.in: Regenerate.
6842 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
6844 PR libstdc++/9527, PR libstdc++/8713
6845 * docs/html/install.html: Mention glibc version requirement.
6846 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
6847 with 3.2.1+ (formatting bugfixes).
6848 * docs/html/faq/index.txt: Regenerate.
6850 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
6853 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
6856 * include/bits/valarray_before.h (__not_equal_to): Use != instead
6859 * testsuite/26_numerics/valarray_operators.cc: New test.
6861 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
6863 * docs/html/faq/index.html: Correct link to libg++ information.
6864 * docs/html/faq/index.txt: Regenerated.
6866 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
6867 Benjamin Kosnik <bkoz@redhat.com>
6869 Const correctness issue:
6870 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
6871 * include/bits/locale_classes.h
6872 (locale::_Impl::_M_facets): Change type to const facet**.
6873 (locale::_Impl::_M_install_facet): Change declaration to
6875 (locale::facet::_M_references): Make mutable.
6876 (locale::facet::_M_add_reference): Declare const.
6877 (locale::facet::_M_remove_reference): Likewise.
6878 * include/bits/locale_facets.tcc
6879 (use_facet(const locale&)): Tweak for const facet** _M_facets.
6880 (has_facet(const locale&)): Likewise.
6882 (locale::facet::_M_add_reference): Adjust definition.
6883 (locale::facet::_M_remove_reference): Likewise.
6885 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
6886 const facet** _M_facets.
6887 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
6888 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
6889 (locale::_Impl::_M_install_facet): Adjust definition to take
6890 const facet* and for const facet** _M_facets.
6891 * testsuite/22_locale/locale/cons/8.cc: Add.
6893 2003-01-29 Mark Mitchell <mark@codesourcery.com>
6895 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
6896 Use __FLT_HAS_INIFINITY__ to initialize.
6897 (numeric_limits<float>::has_quiet_NaN): Likewise.
6898 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
6900 (numeric_limits<double>::has_quiet_NaN): Likewise.
6901 (numeric_limits<long double>::has_infinity): Use
6902 __LDBL_HAS_INIFINITY__ to initialize.
6903 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
6905 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
6908 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
6909 with bases which are very ambiguous.
6911 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
6913 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
6914 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
6915 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
6916 * src/Makefile.in: Regenerate.
6917 * libsupc++/Makefile.in: Regenerate.
6919 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
6921 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
6922 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
6923 version_specific_libs is enabled.
6924 * aclocal.m4, configure: Rebuilt.
6926 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
6928 * include/bits/valarray_meta.h: Remove, split into ...
6929 * include/bits/valarray_before.h: ... this, and ...
6930 * include/bits/valarray_after.h: ... this.
6931 * include/std/std_valarray.h: Adjust.
6932 * include/Makefile.am (bits_headers): Adjust.
6933 * include/Makefile.in: Regenerate.
6935 2003-01-24 Andreas Schwab <schwab@suse.de>
6937 * config/linker-map.gnu: Fix for size_t variance.
6939 2003-01-23 Petur Runolfsson <peturr02@ru.is>
6942 * include/std/std_streambuf.h
6943 (basic_streambuf::basic_streambuf,
6944 basic_streambuf::~basic_streambuf,
6945 basic_streambuf::getloc, basic_streambuf::imbue):
6946 Remove _M_buf_locale_init
6947 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
6948 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
6949 * testsuite/27_io/streambuf_members.cc (test08): Add.
6950 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
6952 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6954 Revert include ordering.
6955 * config/locale/generic/c_locale.h: Add include guards.
6956 * config/locale/gnu/c_locale.h: Same.
6957 * include/bits/locale_classes.h: Remove cctype include.
6958 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
6959 * include/std/std_fstream.h: Remove streambuf include.
6960 * include/std/std_sstream.h: Remove streambuf include.
6962 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
6964 * configure.in (libtool_VERSION): To 6:0:0.
6965 * configure: Regenerated.
6966 * config/linker-map.gnu: Clean.
6968 * src/misc-inst.cc: Remove instantiations.
6970 * include/bits/stl_alloc.h (__malloc_alloc_template):
6972 (__default_alloc_template): To __pool_alloc.
6973 * src/stl-inst.cc: Same.
6974 * include/backward/alloc.h: Update.
6975 * testsuite/ext/allocators.cc: Update.
6977 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
6978 really try to remove these if possible.
6979 * src/locale.cc (std): Same.
6981 * testsuite/abi_check.cc (check_version): Add.
6983 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6984 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
6985 Mark Mitchell <mark@codesourcery.com>
6988 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
6989 (basic_filebuf::underflow): Declare.
6992 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
6994 * include/bits/locale_facets.h: Move non-facet classes requiring
6996 * include/bits/locale_classes.h: New.
6997 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
6998 * include/bits/Makefile.in: Regenerate.
7000 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
7001 * config/locale/gnu/c_locale.h: ...here.
7002 * config/locale/generic/c_locale.h: Same.
7004 * include/bits/locale_facets.tcc: Move declarations to...
7005 * include/bits/locale_facets.h: ...here.
7006 * include/bits/basic_ios.h: Tweak includes accordingly.
7007 * include/std/std_sstream.h: Add streambuf include.
7008 * include/std/std_fstream.h: Ditto.
7009 * include/std/std_locale.h: Add locale_classes.h include.
7010 * include/std/std_iosfwd.h: Tweak.
7011 * src/concept-inst.cc: Add iterator include.
7013 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
7014 bits as unexported in the future.
7016 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
7018 Reshuffle 22_locale testsuite.
7019 * 22_locale/(codecvt.cc money_get.cc
7020 codecvt_members_char_char.cc money_get_members_char.cc
7021 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
7022 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
7023 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
7024 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
7025 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
7026 money_put_members_char.cc ctor_copy_dtor.cc
7027 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
7028 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
7029 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
7030 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
7031 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
7032 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
7033 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
7034 operators.cc ctype_widen_char.cc static_members.cc
7035 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
7036 global_templates.cc time_get_members_wchar_t.cc, members.cc,
7037 time_put.cc, messages_byname.cc, time_put_members_char.cc,
7038 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
7039 Split up into individual test cases...
7040 * 22_locale/codecvt/1.cc: New.
7041 * 22_locale/codecvt/2.cc: New.
7042 * 22_locale/codecvt/always_noconv/char/1.cc: New.
7043 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
7044 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
7045 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
7046 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
7047 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
7048 * 22_locale/codecvt/encoding/char/1.cc: New.
7049 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
7050 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
7051 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
7052 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
7053 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
7054 * 22_locale/codecvt/in/char/1.cc: New.
7055 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
7056 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
7057 * 22_locale/codecvt/in/wchar_t/1.cc: New.
7058 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
7059 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
7060 * 22_locale/codecvt/length/char/1.cc: New.
7061 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
7062 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
7063 * 22_locale/codecvt/length/wchar_t/1.cc: New.
7064 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
7065 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
7066 * 22_locale/codecvt/max_length/char/1.cc: New.
7067 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
7068 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
7069 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
7070 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
7071 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
7072 * 22_locale/codecvt/out/char/1.cc: New.
7073 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
7074 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
7075 * 22_locale/codecvt/out/wchar_t/1.cc: New.
7076 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
7077 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
7078 * 22_locale/codecvt/unicode/char.cc: New.
7079 * 22_locale/codecvt/unicode/wchar_t.cc: New.
7080 * 22_locale/codecvt/unshift/char/1.cc: New.
7081 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
7082 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
7083 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
7084 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
7085 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
7086 * 22_locale/collate/1.cc: New.
7087 * 22_locale/collate/2.cc: New.
7088 * 22_locale/collate/compare/char/1.cc: New.
7089 * 22_locale/collate/compare/char/2.cc: New.
7090 * 22_locale/collate/compare/char/wrapped_env.cc: New.
7091 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
7092 * 22_locale/collate/compare/wchar_t/1.cc: New.
7093 * 22_locale/collate/compare/wchar_t/2.cc: New.
7094 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
7095 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
7096 * 22_locale/collate/hash/char/1.cc: New.
7097 * 22_locale/collate/hash/char/2.cc: New.
7098 * 22_locale/collate/hash/char/wrapped_env.cc: New.
7099 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
7100 * 22_locale/collate/hash/wchar_t/1.cc: New.
7101 * 22_locale/collate/hash/wchar_t/2.cc: New.
7102 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
7103 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
7104 * 22_locale/collate/transform/char/2.cc: New.
7105 * 22_locale/collate/transform/char/wrapped_env.cc: New.
7106 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
7107 * 22_locale/collate/transform/wchar_t/2.cc: New.
7108 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
7109 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
7110 * 22_locale/collate_byname/1.cc: New.
7111 * 22_locale/ctype/1.cc: New.
7112 * 22_locale/ctype/2.cc: New.
7113 * 22_locale/ctype/cons/char/1.cc: New.
7114 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
7115 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
7116 * 22_locale/ctype/is/char/1.cc: New.
7117 * 22_locale/ctype/is/char/2.cc: New.
7118 * 22_locale/ctype/is/char/3.cc: New.
7119 * 22_locale/ctype/is/char/wrapped_env.cc: New.
7120 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
7121 * 22_locale/ctype/is/wchar_t/1.cc: New.
7122 * 22_locale/ctype/is/wchar_t/2.cc: New.
7123 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
7124 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
7125 * 22_locale/ctype/narrow/char/1.cc: New.
7126 * 22_locale/ctype/narrow/char/2.cc: New.
7127 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
7128 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
7129 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
7130 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
7131 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
7132 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
7133 * 22_locale/ctype/scan/char/1.cc: New.
7134 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
7135 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
7136 * 22_locale/ctype/scan/wchar_t/1.cc: New.
7137 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
7138 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
7139 * 22_locale/ctype/to/char/1.cc: New.
7140 * 22_locale/ctype/to/char/wrapped_env.cc: New.
7141 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
7142 * 22_locale/ctype/to/wchar_t/1.cc: New.
7143 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
7144 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
7145 * 22_locale/ctype/widen/char/1.cc: New.
7146 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
7147 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
7148 * 22_locale/ctype/widen/wchar_t/1.cc: New.
7149 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
7150 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
7151 * 22_locale/facet/1.cc: New.
7152 * 22_locale/facet/2.cc: New.
7153 * 22_locale/global_templates/1.cc: New.
7154 * 22_locale/locale/cons/1.cc: New.
7155 * 22_locale/locale/cons/2.cc: New.
7156 * 22_locale/locale/cons/3.cc: New.
7157 * 22_locale/locale/cons/4.cc: New.
7158 * 22_locale/locale/cons/5.cc: New.
7159 * 22_locale/locale/cons/6.cc: New.
7160 * 22_locale/locale/cons/7.cc: New.
7161 * 22_locale/locale/global_locale_objects/1.cc: New.
7162 * 22_locale/locale/global_locale_objects/2.cc: New.
7163 * 22_locale/locale/global_locale_objects/3.cc: New.
7164 * 22_locale/locale/operations/1.cc: New.
7165 * 22_locale/locale/operations/2.cc: New.
7166 * 22_locale/messages/1.cc: New.
7167 * 22_locale/messages/2.cc: New.
7168 * 22_locale/messages/members/char/1.cc: New.
7169 * 22_locale/messages/members/char/2.cc: New.
7170 * 22_locale/messages/members/char/3.cc: New.
7171 * 22_locale/messages/members/char/wrapped_env.cc: New.
7172 * 22_locale/messages/members/char/wrapped_locale.cc: New.
7173 * 22_locale/messages_byname/1.cc: New.
7174 * 22_locale/money_get/1.cc: New.
7175 * 22_locale/money_get/2.cc: New.
7176 * 22_locale/money_get/get/char/1.cc: New.
7177 * 22_locale/money_get/get/char/2.cc: New.
7178 * 22_locale/money_get/get/char/3.cc: New.
7179 * 22_locale/money_get/get/char/4.cc: New.
7180 * 22_locale/money_get/get/char/5.cc: New.
7181 * 22_locale/money_get/get/char/6.cc: New.
7182 * 22_locale/money_get/get/char/7.cc: New.
7183 * 22_locale/money_get/get/char/8.cc: New.
7184 * 22_locale/money_get/get/char/wrapped_env.cc: New.
7185 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
7186 * 22_locale/money_get/get/wchar_t/1.cc: New.
7187 * 22_locale/money_get/get/wchar_t/2.cc: New.
7188 * 22_locale/money_get/get/wchar_t/3.cc: New.
7189 * 22_locale/money_get/get/wchar_t/4.cc: New.
7190 * 22_locale/money_get/get/wchar_t/5.cc: New.
7191 * 22_locale/money_get/get/wchar_t/6.cc: New.
7192 * 22_locale/money_get/get/wchar_t/7.cc: New.
7193 * 22_locale/money_get/get/wchar_t/8.cc: New.
7194 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
7195 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
7196 * 22_locale/money_put/1.cc: New.
7197 * 22_locale/money_put/2.cc: New.
7198 * 22_locale/money_put/put/char/1.cc: New.
7199 * 22_locale/money_put/put/char/2.cc: New.
7200 * 22_locale/money_put/put/char/3.cc: New.
7201 * 22_locale/money_put/put/char/4.cc: New.
7202 * 22_locale/money_put/put/char/5.cc: New.
7203 * 22_locale/money_put/put/char/6.cc: New.
7204 * 22_locale/money_put/put/char/wrapped_env.cc: New.
7205 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
7206 * 22_locale/money_put/put/wchar_t/1.cc: New.
7207 * 22_locale/money_put/put/wchar_t/2.cc: New.
7208 * 22_locale/money_put/put/wchar_t/3.cc: New.
7209 * 22_locale/money_put/put/wchar_t/4.cc: New.
7210 * 22_locale/money_put/put/wchar_t/5.cc: New.
7211 * 22_locale/money_put/put/wchar_t/6.cc: New.
7212 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
7213 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
7214 * 22_locale/moneypunct/1.cc: New.
7215 * 22_locale/moneypunct/2.cc: New.
7216 * 22_locale/moneypunct/3.cc: New.
7217 * 22_locale/moneypunct/members/char/1.cc: New.
7218 * 22_locale/moneypunct/members/char/2.cc: New.
7219 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
7220 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
7221 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
7222 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
7223 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
7224 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
7225 * 22_locale/moneypunct_byname/1.cc: New.
7226 * 22_locale/num_get/1.cc: New.
7227 * 22_locale/num_get/2.cc: New.
7228 * 22_locale/num_get/get/char/1.cc: New.
7229 * 22_locale/num_get/get/char/2.cc: New.
7230 * 22_locale/num_get/get/char/3.cc: New.
7231 * 22_locale/num_get/get/char/4.cc: New.
7232 * 22_locale/num_get/get/char/5.cc: New.
7233 * 22_locale/num_get/get/char/6.cc: New.
7234 * 22_locale/num_get/get/char/wrapped_env.cc: New.
7235 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
7236 * 22_locale/num_get/get/wchar_t/1.cc: New.
7237 * 22_locale/num_get/get/wchar_t/2.cc: New.
7238 * 22_locale/num_get/get/wchar_t/3.cc: New.
7239 * 22_locale/num_get/get/wchar_t/4.cc: New.
7240 * 22_locale/num_get/get/wchar_t/5.cc: New.
7241 * 22_locale/num_get/get/wchar_t/6.cc: New.
7242 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
7243 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
7244 * 22_locale/num_put/1.cc: New.
7245 * 22_locale/num_put/2.cc: New.
7246 * 22_locale/num_put/put/char/1.cc: New.
7247 * 22_locale/num_put/put/char/2.cc: New.
7248 * 22_locale/num_put/put/char/3.cc: New.
7249 * 22_locale/num_put/put/char/4.cc: New.
7250 * 22_locale/num_put/put/char/5.cc: New.
7251 * 22_locale/num_put/put/char/wrapped_env.cc: New.
7252 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
7253 * 22_locale/num_put/put/wchar_t/1.cc: New.
7254 * 22_locale/num_put/put/wchar_t/2.cc: New.
7255 * 22_locale/num_put/put/wchar_t/3.cc: New.
7256 * 22_locale/num_put/put/wchar_t/4.cc: New.
7257 * 22_locale/num_put/put/wchar_t/5.cc: New.
7258 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
7259 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
7260 * 22_locale/numpunct/1.cc: New.
7261 * 22_locale/numpunct/2.cc: New.
7262 * 22_locale/numpunct/members/char/1.cc: New.
7263 * 22_locale/numpunct/members/char/2.cc: New.
7264 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
7265 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
7266 * 22_locale/numpunct/members/wchar_t/1.cc: New.
7267 * 22_locale/numpunct/members/wchar_t/2.cc: New.
7268 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
7269 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
7270 * 22_locale/numpunct_byname/1.cc: New.
7271 * 22_locale/numpunct_byname/2.cc: New.
7272 * 22_locale/time_get/1.cc: New.
7273 * 22_locale/time_get/2.cc: New.
7274 * 22_locale/time_get/date_order/char/1.cc: New.
7275 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
7276 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
7277 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
7278 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
7279 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
7280 * 22_locale/time_get/get_date/char/1.cc: New.
7281 * 22_locale/time_get/get_date/char/2.cc: New.
7282 * 22_locale/time_get/get_date/char/3.cc: New.
7283 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
7284 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
7285 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
7286 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
7287 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
7288 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
7289 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
7290 * 22_locale/time_get/get_monthname/char/1.cc: New.
7291 * 22_locale/time_get/get_monthname/char/2.cc: New.
7292 * 22_locale/time_get/get_monthname/char/3.cc: New.
7293 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
7294 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
7295 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
7296 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
7297 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
7298 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
7299 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
7300 * 22_locale/time_get/get_time/char/1.cc: New.
7301 * 22_locale/time_get/get_time/char/2.cc: New.
7302 * 22_locale/time_get/get_time/char/3.cc: New.
7303 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
7304 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
7305 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
7306 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
7307 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
7308 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
7309 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
7310 * 22_locale/time_get/get_weekday/char/1.cc: New.
7311 * 22_locale/time_get/get_weekday/char/2.cc: New.
7312 * 22_locale/time_get/get_weekday/char/3.cc: New.
7313 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
7314 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
7315 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
7316 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
7317 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
7318 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
7319 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
7320 * 22_locale/time_get/get_year/char/1.cc: New.
7321 * 22_locale/time_get/get_year/char/3.cc: New.
7322 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
7323 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
7324 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
7325 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
7326 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
7327 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
7328 * 22_locale/time_put/1.cc: New.
7329 * 22_locale/time_put/2.cc: New.
7330 * 22_locale/time_put/put/char/1.cc: New.
7331 * 22_locale/time_put/put/char/10.cc: New.
7332 * 22_locale/time_put/put/char/2.cc: New.
7333 * 22_locale/time_put/put/char/3.cc: New.
7334 * 22_locale/time_put/put/char/4.cc: New.
7335 * 22_locale/time_put/put/char/5.cc: New.
7336 * 22_locale/time_put/put/char/6.cc: New.
7337 * 22_locale/time_put/put/char/7.cc: New.
7338 * 22_locale/time_put/put/char/8.cc: New.
7339 * 22_locale/time_put/put/char/9.cc: New.
7340 * 22_locale/time_put/put/char/wrapped_env.cc: New.
7341 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
7342 * 22_locale/time_put/put/wchar_t/1.cc: New.
7343 * 22_locale/time_put/put/wchar_t/10.cc: New.
7344 * 22_locale/time_put/put/wchar_t/2.cc: New.
7345 * 22_locale/time_put/put/wchar_t/3.cc: New.
7346 * 22_locale/time_put/put/wchar_t/4.cc: New.
7347 * 22_locale/time_put/put/wchar_t/5.cc: New.
7348 * 22_locale/time_put/put/wchar_t/6.cc: New.
7349 * 22_locale/time_put/put/wchar_t/7.cc: New.
7350 * 22_locale/time_put/put/wchar_t/8.cc: New.
7351 * 22_locale/time_put/put/wchar_t/9.cc: New.
7352 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
7353 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
7355 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
7357 * config/locale/generic/messages_members.h
7358 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
7359 unqualified members of base clasess.
7361 2003-01-16 Mark Mitchell <mark@codesourcery.com>
7362 Jeffrey Oldham <oldham@codesourcery.com>
7364 * config/locale/gnu/messages_members.h: Use this-> to refer to
7365 unqualified members of base clasess.
7366 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
7367 * include/bits/codecvt.h: Likewise.
7368 * include/bits/deque.tcc: Likewise.
7369 * include/bits/fstream.tcc: Likewise.
7370 * include/bits/istream.tcc: Likewise.
7371 * include/bits/list.tcc: Likewise.
7372 * include/bits/locale_facets.h: Likewise.
7373 * include/bits/ostream.tcc: Likewise.
7374 * include/bits/sstream.tcc: Likewise.
7375 * include/bits/stl_bvector.h: Likewise.
7376 * include/bits/stl_deque.h: Likewise.
7377 * include/bits/stl_list.h: Likewise.
7378 * include/bits/stl_tree.h: Likewise.
7379 * include/bits/stl_vector.h: Likewise.
7380 * include/bits/vector.tcc: Likewise.
7381 * include/ext/ropeimpl.h: Likewise.
7382 * include/ext/stdio_filebuf.h: Likewise.
7383 * include/ext/stl_rope.h: Likewise.
7384 * include/std/std_fstream.h: Likewise.
7385 * include/std/std_sstream.h: Likewise.
7387 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
7389 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
7391 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
7393 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
7394 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
7395 * aclocal.m4: Regenerate.
7396 * configure: Regenerate.
7397 * testsuite/Makefile.am (all-local): Add conditional rule to
7398 generate testsuite_wchar_t.
7399 * testsuite/Makefile.in: Regenerate.
7400 * testsuite/lib/libstdc++-v3-dg.exp
7401 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
7402 testsuite_wchar_t is not present in the build directory.
7403 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
7404 Remove setulimit bits.
7405 * testsuite/26_numerics/complex_value.cc: Set to noopts.
7406 * testsuite/Makefile.am (CLEANFILES): Add.
7407 * testsuite/Makefile.in: Regenerate.
7409 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
7411 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
7414 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
7416 Further conform g++'s __vmi_class_type_info to the C++ ABI
7418 * libsupc++/cxxabi.h
7419 (__vmi_class_type_info::__flags_masks): Remove enumerations not
7420 required by the specification.
7422 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
7424 Renames, namespaces for testsuite utilities.
7425 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
7426 (gnu_allocator_tracker): Rename to allocation_tracker.
7427 (gnu_new_allocator): Rename to tracker_alloc.
7428 (__set_testsuite_memlimit): Rename to set_memory_limits.
7429 (gnu_assignment_operator): Rename to assignment_operator.
7430 (gnu_destructor): Rename to destructor.
7431 (gnu_copy_tracker): Rename to copy_tracker.
7432 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
7433 (run_tests_wrapped_locale): New.
7434 (run_tests_wrapped_env): New.
7435 * testsuite/testsuite_hooks.cc: Same.
7436 (class locale_data): Add.
7437 (class enviornment_variable): Add.
7438 (class not_found): Add.
7439 * testsuite/testsuite_allocator.h: Same.
7440 * testsuite/testsuite_allocator.cc: Same.
7441 * testsuite/23_containers/deque_ctor.cc
7442 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
7444 Change gnu_new_allocator to tracker_alloc.
7445 Change gnu_counting_struct to counter.
7446 Change gnu_copy_tracker to copy_tracker.
7447 Change gnu_copy_constructor to copy_constructor.
7448 Change gnu_assignment_operator to assignment_operator.
7450 * testsuite/23_containers/vector_capacity.cc: Same.
7451 * testsuite/23_containers/vector_ctor.cc (test01): Same.
7452 * testsuite/23_containers/list_modifiers.cc: Change
7453 gnu_copy_tracker to copy_tracker.
7454 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
7455 __set_testsuite_memlimit to set_memory_limits.
7456 * testsuite/21_strings/insert.cc (main): Same.
7457 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
7458 * testsuite/27_io/stringstream.cc: Same.
7459 * testsuite/27_io/stringbuf.cc: Same.
7460 * testsuite/27_io/streambuf.cc: Same.
7461 * testsuite/27_io/ostream.cc: Same.
7462 * testsuite/27_io/istream.cc: Same.
7463 * testsuite/27_io/fstream.cc: Same.
7464 * testsuite/lib/libstdc++-v3-dg.exp
7465 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
7466 three levels deeper in glob patterns.
7468 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
7470 * docs/doxygen/tables.html: Finished now.
7471 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
7472 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
7475 * include/bits/deque.tcc, include/bits/stl_alloc.h,
7476 include/bits/stl_deque.h, include/bits/stl_list.h,
7477 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
7480 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
7482 * configure.in: Revert.
7483 * configure: Regenerate.
7485 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
7487 * include/Makefile.am (install-data-local): Prepend
7488 $(DESTDIR) to destination paths in all (un)installation
7489 commands. Use ${c_base_builddir} and ${std_builddir}
7490 as destination subdirectories to achieve consistency with
7491 preceding mkinstalldirs commands. No effect because both
7492 variables contain "." only.
7493 * include/Makefile.in: Regenerate.
7495 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
7497 * include/Makefile.am (stamp-*): Add checks for existing stamps.
7498 * include/Makefile.in: Regenerate.
7500 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
7501 * aclocal.m4: Regenerate.
7503 * configure.in: Don't add new multi-do rules every time the
7504 directory is reconfigured.
7505 * configure: Regenerate.
7507 2003-01-08 Brad Spencer <spencer@infointeractive.com>
7508 Nathan Myers <ncm@cantrip.org>
7510 * src/Makefile.am (stamp-debug): Clean.
7511 * src/Makefile.in: Regenerate.
7513 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
7516 * Makefile.am (distclean-multi): Fix.
7517 * Makefile.in: Regenerate.
7519 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
7521 * include/bits/locale_facets.h (messages): Move ctor, dtor
7523 (__timepunct): Same.
7524 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
7525 definitions. Conditionalize for GNU systems.
7526 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
7528 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
7529 definitions. Conditionalize for GNU systems.
7530 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
7532 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
7533 * src/locale.cc: Define.
7534 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
7536 * config/locale/gnu/time_members.h: Use it.
7537 * config/locale/gnu/messages_members.h: Use it.
7538 * config/linker-map.gnu: Add locale::facets details.
7539 * include/Makefile.am (target_headers_extra): Add time_members.h.
7540 * include/Makefile.in: Regenerate.
7541 * acinclude.m4: Export CTIME_H.
7542 * aclocal.m4: Regenerate.
7543 * configure: Regnerate.
7545 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7548 (codecvt<char, char, mbstate_t>::do_in, do_out):
7549 Tweak parameters to avoid unused parameter warnings.
7551 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
7554 * include/bits/locale_facets.cc (num_put::_M_convert_float):
7555 Limit __prec to digits10 + 2, not digits10 + 1, taking into
7556 account the possibility of %{g,G} conversion specifiers
7557 inside _S_format_float.
7558 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
7560 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7562 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
7563 libstdc++-v3-list-sourcefiles): Additionally handle files one
7564 level deeper in glob patterns.
7566 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
7567 * testsuite/27_io/istream_extractor_arith/01.cc,
7568 testsuite/27_io/istream_extractor_arith/02.cc,
7569 testsuite/27_io/istream_extractor_arith/03.cc,
7570 testsuite/27_io/istream_extractor_arith/06.cc,
7571 testsuite/27_io/istream_extractor_arith/07.cc,
7572 testsuite/27_io/istream_extractor_arith/08.cc,
7573 testsuite/27_io/istream_extractor_arith/09.cc,
7574 testsuite/27_io/istream_extractor_arith/10.cc,
7575 testsuite/27_io/istream_extractor_arith/11.cc,
7576 testsuite/27_io/istream_extractor_arith/12.cc,
7577 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
7578 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
7581 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
7585 (codecvt<char, char, mbstate_t>::do_in, do_out):
7586 Implement the resolution of DR19 (TC).
7587 * testsuite/22_locale/codecvt_members_char_char.cc
7590 2003-01-02 Jason Merrill <jason@redhat.com>
7592 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
7593 *__mem is also an output.
7594 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.