]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
combine.c (try_combine): Set JUMP_LABEL for newly created unconditional jump.
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
515aab7c
RO
12003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2
3 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
4 dg-options.
5 * testsuite/thread/pthread2.cc: Likewise.
6 * testsuite/thread/pthread3.cc: Likewise.
7 * testsuite/thread/pthread4.cc: Likewise.
8 * testsuite/thread/pthread5.cc: Likewise.
9 * testsuite/thread/pthread6.cc: Likewise.
10 * testsuite/thread/pthread7-rope.cc: Likewise.
11
1051c718
PE
122003-07-30 Phil Edwards <pme@gcc.gnu.org>
13
14 * include/bits/c++config: Partial reversion (comment placement) of
15 previous patch.
16
5f697f7a
BK
172003-07-30 Benjamin Kosnik <bkoz@redhat.com>
18
19 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
20 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
21 (_GLIBCXX_AT_AT): Remove.
22 (__USE_MALLOC): Remove.
23 * include/std/std_fstream.h: Modify.
24 * include/bits/basic_ios.h: Same.
25 * include/bits/valarray_array.h: Same.
26 * include/c_std/std_cmath.h: Same.
27 * include/c_std/cmath.tcc: Same.
28 * include/std/std_vector.h: Same.
29 * include/std/std_string.h: Same.
30 * include/std/std_stack.h: Same.
31 * include/std/std_queue.h: Same.
32 * include/std/std_list.h: Same.
33 * include/std/std_deque.h: Same.
34 * include/std/std_streambuf.h: Same.
35 * include/std/std_sstream.h: Same.
36 * include/std/std_ostream.h: Same.
37 * include/std/std_istream.h: Same.
38 * include/bits/valarray_array.tcc: Same, format.
39
40 * include/c/std_cctype.h: Fix include guards.
41 * include/c/std_cerrno.h: Same.
42 * include/c/std_cfloat.h: Same.
43 * include/c/std_climits.h: Same.
44 * include/c/std_clocale.h: Same.
45 * include/c/std_cmath.h: Same.
46 * include/c/std_csetjmp.h: Same.
47 * include/c/std_csignal.h: Same.
48 * include/c/std_cstdarg.h: Same.
49 * include/c/std_cstddef.h: Same.
50 * include/c/std_cstdio.h: Same.
51 * include/c/std_cstdlib.h: Same.
52 * include/c/std_cstring.h: Same.
53 * include/c/std_ctime.h: Same.
54 * include/c/std_cwchar.h: Same.
55 * include/c/std_cwctype.h: Same.
56 * include/c_std/cmath.tcc: Same.
57 * include/c_std/std_cmath.h: Same.
58
b4c70e89
GB
592003-07-30 Gawain Bolton <gp.bolton@computer.org>
60
61 PR libstdc++/11504.
62 * include/bits/stl_tree.h: Replace C-style casts with C++-style
63 casts. Changes to avoid casting away constness. Eliminate
64 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
65 initialization lists. Move out implementation of __black_count()
66 to...
67 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
68 Rename_Rb_tree_base_iterator::_M_increment() to
69 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
70 _Rb_tree_decrement.
71 * config/linker-map.gnu: Add and change symbols here.
72
48b3222d
JW
732003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
74
75 * docs/html/22_locale/howto.html: Use locale::classic() instead
76 of locale("C").
77
cb584bcf
BK
782003-07-28 Benjamin Kosnik <bkoz@redhat.com>
79
80 * testsuite/testsuite_hooks.h: Remove list include.
81 (func_callback): Define as unique type, not std::list.
82 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
83 * testsuite/libstdc++-v3.dg/dg.exp: Same.
84 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
85 * testsuite/23_containers/bitset_ctor.cc:
86 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
87 * testsuite/18_support/numeric_limits.cc: Same.
88 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
89 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
90 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
91 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
92 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
93 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
94 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
95 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
96 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
97 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
98 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
99 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
100 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
101 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
102 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
103 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
104 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
105 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
106 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
107 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
108 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
109 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
110 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
111 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
112 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
113 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
114 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
115 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
116 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
117 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
118 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
119 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
120 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
121 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
122 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
123 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
124 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
125 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
126 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
127 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
128 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
129 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
130 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
131 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
132 * testsuite/23_containers/bitset_ctor.cc: Same.
133 * testsuite/23_containers/bitset_shift.cc: Same.
134 * testsuite/23_containers/vector_ctor.cc: Same.
135 * testsuite/23_containers/vector_element_access.cc: Same.
136 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
137 * testsuite/24_iterators/iterator.cc: Same.
138 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
139 * testsuite/25_algorithms/lower_bound.cc: Same.
140 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
141 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
142 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
143 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
144 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
145 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
146 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
147 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
148 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
149 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
150 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
151 Same.
152
1cb1de7e
PE
1532003-07-28 Phil Edwards <pme@gcc.gnu.org>
154
155 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
156 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
157 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
158 GLIBCPP to GLIBCXX (and explain as needed).
159
6dfe0fc9
PE
1602003-07-28 Phil Edwards <pme@gcc.gnu.org>
161
162 * README: Update.
163
2cb1c928
PE
1642003-07-28 Phil Edwards <pme@gcc.gnu.org>
165
166 * testsuite/22_locale/messages/members/char/1.cc,
167 testsuite/22_locale/messages/members/char/2.cc,
168 testsuite/22_locale/messages/members/char/3.cc,
169 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
170 the origin of LOCALEDIR.
171 * testsuite/lib/libstdc++-v3.exp: New file.
172
b66ea7d4
BK
1732003-07-25 Benjamin Kosnik <bkoz@redhat.com>
174
175 * include/bits/char_traits.h: Update copyright, tweak.
e884d397 176 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
b66ea7d4
BK
177 std types.
178
d5ff4e3f
MA
1792003-07-24 Matt Austern <austern@apple.com>
180
181 * /include/bits/char_traits.h (class char_traits): Put all the
182 real work into the new class template __gnu_cxx::char_traits.
183 Gave generic definitions for member functions. Types are taken
184 from the new class template __gnu_cxx::_Char_types.
185 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
186 file. Test of std::char_traits<short>, which serves as a test of
187 the char_traits primary template.
188
aecf642c
BK
1892003-07-24 Benjamin Kosnik <bkoz@redhat.com>
190
191 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
192
1932003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
d7541133
NM
194
195 * testsuite/23_containers/map_operators.cc: Conform to
196 container requirement as value must be Assignable.
197
118545ec
AO
1982003-07-23 Alexandre Oliva <aoliva@redhat.com>
199
200 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
201 tests not only generation of pch files, but also their use.
202 * aclocal.m4, configure: Rebuilt.
203
ff89cb01
SE
2042003-07-23 Steve Ellcey <sje@cup.hp.com>
205
206 * config/cpu/hppa/atomicity.h: Change
207 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
208 to match misc-inst.cc
209
1143680e
SE
2102003-07-23 Steve Ellcey <sje@cup.hp.com>
211
212 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
213 * include/c_std/std_cctype.h: Ditto.
214 * include/c_std/std_cerrno.h: Ditto.
215 * include/c_std/std_cfloat.h: Ditto.
216 * include/c_std/std_climits.h: Ditto.
217 * include/c_std/std_clocale.h: Ditto.
218 * include/c_std/std_cmath.h: Ditto.
219 * include/c_std/std_csetjmp.h: Ditto.
220 * include/c_std/std_csignal.h: Ditto.
221 * include/c_std/std_cstdarg.h: Ditto.
222 * include/c_std/std_cstddef.h: Ditto.
223 * include/c_std/std_cstdio.h: Ditto.
224 * include/c_std/std_cstdlib.h: Ditto.
225 * include/c_std/std_cstring.h: Ditto.
226 * include/c_std/std_ctime.h: Ditto.
227 * include/c_std/std_cwchar.h: Ditto.
228 * include/c_std/std_cwctype.h: Ditto.
229 * include/std/std_algorithm.h: Ditto.
230 * include/std/std_bitset.h: Ditto.
231 * include/std/std_complex.h: Ditto.
232 * include/std/std_deque.h: Ditto.
233 * include/std/std_fstream.h: Ditto.
234 * include/std/std_functional.h: Ditto.
235 * include/std/std_iomanip.h: Ditto.
236 * include/std/std_ios.h: Ditto.
237 * include/std/std_iosfwd.h: Ditto.
238 * include/std/std_iostream.h: Ditto.
239 * include/std/std_istream.h: Ditto.
240 * include/std/std_iterator.h: Ditto.
241 * include/std/std_limits.h: Ditto.
242 * include/std/std_list.h: Ditto.
243 * include/std/std_locale.h: Ditto.
244 * include/std/std_map.h: Ditto.
245 * include/std/std_memory.h: Ditto.
246 * include/std/std_numeric.h: Ditto.
247 * include/std/std_ostream.h: Ditto.
248 * include/std/std_queue.h: Ditto.
249 * include/std/std_set.h: Ditto.
250 * include/std/std_sstream.h: Ditto.
251 * include/std/std_stack.h: Ditto.
252 * include/std/std_stdexcept.h: Ditto.
253 * include/std/std_streambuf.h: Ditto.
254 * include/std/std_string.h: Ditto.
255 * include/std/std_utility.h: Ditto.
256 * include/std/std_valarray.h: Ditto.
257 * include/std/std_vector.h: Ditto.
258
3988d179
DG
2592003-07-22 Doug Gregor <dgregor@apple.com>
260
261 * include/bits/basic_string.h (basic_string::insert): Deprecate
262 GNU extension.
263
5dfda042
BK
2642003-07-21 Benjamin Kosnik <bkoz@redhat.com>
265
266 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
267 paths for libio.
268 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
269 (test03): Include typeinfo for bad_cast.
270 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
271 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
272 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
273
3988d179 2742003-07-21 Doug Gregor <dgregor@apple.com>
f345c6b5
DG
275
276 * include/bits/boost_concept_check.h:
277 (_EqualityComparableConcept::__constraints): Remove != from the
278 list of constraints; it is not listed in Table 28 of the C++98
279 standard.
280
2d5f9af2
AJ
2812003-07-18 Andreas Jaeger <aj@suse.de>
282
283 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
284 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
285 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
286 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
287
fea4065d
BK
2882003-07-17 Benjamin Kosnik <bkoz@redhat.com>
289
290 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
291 * config/locale/generic/messages_members.h: Tweaks.
292 * config/locale/generic/monetary_members.cc
293 (moneypunct::_M_initialize_moneypunct): Use cache.
294 (moneypunct::~moneypunct): Delete cache.
295 * config/locale/generic/time_members.cc:
296 (__timepunct::_M_initialize_timepunct): Use cache.
297 * config/locale/generic/time_members.h:
298 (__timepunct::~__timepunct): Delete cache.
299 (__timepunct::__timepunct): Set cache.
300 * config/locale/gnu/messages_members.h: Tweaks.
301 * config/locale/gnu/monetary_members.cc:
302 (moneypunct::_M_initialize_moneypunct): Use cache.
303 (moneypunct::~moneypunct): Delete cache.
304 * config/locale/gnu/time_members.cc:
305 (__timepunct::_M_initialize_timepunct): Use cache.
306 * config/locale/gnu/time_members.h:
307 (__timepunct::~__timepunct): Delete cache.
308 (__timepunct::__timepunct): Set cache.
309 * include/bits/locale_facets.h (__timepunct_cache): New.
310 (__moneypunct_cache): New.
311 * include/bits/locale_facets.tcc: Tweak.
312 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
313 * src/locale-inst.cc: Instantiate caches.
314 * src/globals.cc: Add "C" caches.
315 * src/localename.cc: Use external "C" caches.
316
83a279e4
PE
3172003-07-17 Phil Edwards <pme@gcc.gnu.org>
318
319 * docs/doxygen/guide.html: Fix typo.
320
db5eed18
BK
3212003-07-16 Benjamin Kosnik <bkoz@redhat.com>
322
323 * include/ext/pod_char_traits.h: Add state template argument.
324
7942afdc
BK
3252003-07-16 Benjamin Kosnik <bkoz@redhat.com>
326
327 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
328 (num_get::_M_convert_int): To _M_insert_int.
329 (num_get::_M_convert_float): To _M_insert_float.
330 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
331 Use caches for ctype, num_get.
332 (num_get::_M_extract_int): Same.
333 (num_get::get(bool)): Same.
334 (__verify_grouping): Use size_t.
335 * src/locale-inst.cc: Update.
336 * src/locale.cc: Adjust _S_atoms_in.
337
1ef4a5d4
PE
3382003-07-16 Phil Edwards <pme@gcc.gnu.org>
339
340 * docs/doxygen/mainpage.html: Move building/writing instructions...
341 * docs/doxygen/guide.html: ...to here. New file.
342
dced0d12
JW
3432003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
344
345 * docs/html/ext/howto.html: Update URL for SGI STL docs.
346 * docs/html/faq/index.html: Same.
347 * docs/html/faq/index.txt: Regenerate.
348
e50344b9
PC
3492003-07-16 Paolo Carlini <pcarlini@unitus.it>
350
351 PR libstdc++/11528
352 * include/bits/locale_facets.tcc (money_get::do_get):
353 Strip only _leading_ zeros.
354 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
355 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
356
94b7906a
GP
3572003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
358
359 * include/ext/hash_map (class hash_multimap): Remove extra
360 semicolons from __glibcxx_class_requires3 entries.
361 * include/ext/hash_set (class hash_set): Ditto.
362 (class hash_multiset): Ditto.
363
73a530bd
PR
3642003-07-15 Petur Runolfsson <peturr02@ru.is>
365
366 * include/bits/char_traits.h (char_traits<wchar_t>::move):
367 Change last parameter from int_type to size_t.
368
119dbb1f
JQ
3692003-07-15 Jerry Quinn <jlquinn@optonline.net>
370
371 * include/bits/stl_algo.h (includes, set_union, set_intersection,
372 set_difference, set_symmetric_difference, max_element, min_element,
373 next_permutation, prev_permutation, find_first_of, find_end):
374 Document.
375 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
376 restrictions in docs.
377 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
378 Document.
379 * docs/doxygen/doxygroups.cc (setoperations): New group.
380
284f19bf
JQ
3812003-07-15 Jerry Quinn <jlquinn@optonline.net>
382
383 * include/bits/basic_string.h: Document public functions.
384 * docs/doxygen/TODO: Update c21 todo.
385
709e7c9f
JQ
3862003-07-15 Jerry Quinn <jlquinn@optonline.net>
387
388 * include/bits/stl_list.h: Document more functions.
389 * docs/doxygen/TODO: Update c23 todo.
390
f45e487d
PC
3912003-07-14 Paolo Carlini <pcarlini@unitus.it>
392
393 * config/locale/gnu/c_locale.h (__convert_from_v): One more
394 qualification.
395
f088510d
PC
3962003-07-14 Paolo Carlini <pcarlini@unitus.it>
397
398 * include/bits/stl_tempbuf.h: Qualify free with std::.
399 * src/locale.cc: Include <cstdlib>, qualify getenv.
400
2def5b76
PC
4012003-07-14 Paolo Carlini <pcarlini@unitus.it>
402
403 * config/locale/gnu/c_locale.h (__convert_from_v): Include
404 <cstdio>. Qualify names.
405 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
406
bda243ec
PC
4072003-07-14 Paolo Carlini <pcarlini@unitus.it>
408 Nathan C. Myers <ncm-nospam@cantrip.org>
409
410 PR libstdc++/11378
411 * include/std/std_fstream.h (xsputn): Declare only.
412 * include/bits/fstream.tcc (xsputn): Define, optimize for the
413 always_noconv() case: when __n is sufficiently large flush
414 the buffer and issue a direct write, if possible combining the
415 two with writev in __basic_file<>::xsputn_2.
416 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
417 New, declare.
418 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
419 Define.
420 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
421 the availability of writev in <sys/uio.h>.
422 * configure.in: Call here.
423 * acconfig.h: Add undef for the corresponding symbol.
424 * aclocal.m4: Regenerate.
425 * configure: Regenerate.
426 * config.h.in: Regenerate.
427 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
428
429 * include/std/std_fstream.h (sync): Constify a variable.
430
c573d965
BK
4312003-07-14 Benjamin Kosnik <bkoz@redhat.com>
432
433 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
434 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
435
3ad249b9
GDR
4362003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
437
438 * config/locale/gnu/c_locale.h (__convert_from_v): Include
439 <cstring> and <cstdlib>. Qualify names.
440
f2ffecb1
MM
4412003-07-13 Mark Mitchell <mark@codesourcery.com>
442
443 * config/locale/generic/c_locale.h: Include <cstdlib> and
444 <cstring>.
445 * include/bits/boost_concept_check.h: Add this-> to unqualified
446 method calls.
447 * include/bits/deque.tcc: Likewise.
448 * include/bits/locale_facets.h : Likewise.
449 * include/bits/ostream.tcc: Likewise.
450 * include/bits/stl_algo.h: Likewise.
451 * include/bits/stl_bvector.h: Likewise.
452 * include/bits/stl_deque.h: Likewise.
453 * include/bits/stl_list.h: Likewise.
454 * include/bits/stl_tree.h: Likewise.
455 * include/bits/stl_vector.h: Likewise.
456 * include/bits/vector.tcc: Likewise.
457 * include/ext/rope: Likewise.
458 * include/ext/ropeimpl.h: Likewise.
459 * include/ext/stdio_filebuf.h: Likewise.
460
e2fcbaa3
JQ
4612003-07-11 Jerry Quinn <jlquinn@optonline.net>
462
463 * include/bits/basic_ios.h (copyfmt): Document.
464 * include/bits/ios_base.h (event, event_callback, register_callback,
465 xalloc, iword, pword): Document.
466 (imbue, ~ios_base): Update docs on callbacks.
467
58579a27
PE
4682003-07-11 Phil Edwards <pme@gcc.gnu.org>
469
470 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
471 warning messages if the environment cannot support symbol versioning.
472 (port_specific_symbol_file): It's plural, add an 's' on the end.
473 * configure.host: Likewise.
474 * src/Makefile.am: Likewise.
475 * config/linker-map.gnu: Remove one semicolon, heh.
476 * scripts/extract_symvers: Don't assume useful 'export' syntax.
477 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
478 * aclocal.m4, configure, src/Makefile.in: Regenerated.
479
cde63840
BK
4802003-07-09 Benjamin Kosnik <bkoz@redhat.com>
481
482 * include/bits/locale_facets.tcc: Use function object for
483 __use_cache instead of template function. Partially specialize for
484 __numpunct<_CharT>.
485 * include/bits/locale_classes.h: Update friend declaration for
486 __use_cache.
487 (_M_install_cache): No throw exception specs.
488 * src/locale.cc: Remove __use_cache specializations.
489 * include/ext/pod_char_traits.h (length): Tweak.
490 * include/bits/locale_facets.h (__numpunct_cache): Remove
491 char_type typedef.
492 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
493 (pod_long): Remove.
494 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
495 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
496 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
497 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
498 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
499 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
500
e7f042e4
JQ
5012003-07-09 Jerry Quinn <jlquinn@optonline.net>
502
503 * src/ios.cc (_M_grow_words): Fix spelling.
504
ca1c7011
GB
5052003-07-09 Gawain Bolton <gp.bolton@computer.org>
506
507 * include/bits/stl_tree.h: Move larger member functions in
508 _Rb_tree_base_iterator and _Rb_tree_node to...
509 * src/stl_tree.cc: Here.
510 * src/Makefile.in: Add stl_tree.cc.
511 * src/Makefile.in: Regenerated.
512 * config/linker-map.gnu: Add symbols here.
513
9e7facfd
BK
5142003-07-08 Benjamin Kosnik <bkoz@redhat.com>
515
516 * testsuite/ext/pod_char_traits.cc: New.
517 * include/ext/pod_char_traits.h: New.
518 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
519 * include/Makefile.in: Regenerate.
520 * docs/html/21_strings/howto.html: Update.
ca1c7011 521
e55dc371
GB
5222003-07-08 Gawain Bolton <gp.bolton@computer.org>
523
524 * testsuite/performance/list_create_fill_sort.cc: New.
525
c094e9b9
BK
5262003-07-08 Benjamin Kosnik <bkoz@redhat.com>
527
528 * config/locale/generic/numeric_members.cc: Correct type info.
529 * config/locale/gnu/numeric_members.cc: Same.
530 * include/bits/locale_facets.h: Same.
531
532 * include/bits/char_traits.h: Correct spacing.
533
534 * src/locale.cc: Wrap to 80 col.
535
a8784c4c
PC
5362003-07-07 Paolo Carlini <pcarlini@unitus.it>
537
538 * include/std/std_complex.h: Partially revert last
539 changes: cmath functions must not be qualified.
540
313dd504
PE
5412003-07-06 Phil Edwards <pme@gcc.gnu.org>
542
543 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
544 2.11 with globbing backport fix.
545 * aclocal.m4, configure: Regenerated.
546
6623b2f2
PC
5472003-07-06 Paolo Carlini <pcarlini@unitus.it>
548
549 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
550 if output is at all possible (!_M_reading), cannot be active.
551
552 * include/std/std_fstream.h: Tweak comments to doxygen style.
553
391cfc46
PC
5542003-07-06 Paolo Carlini <pcarlini@unitus.it>
555
556 * include/bits/locale_classes.h: Fully qualify standard
557 functions with std::, thus avoiding Koenig lookup.
558 * include/bits/locale_facets.tcc: Likewise.
559 * src/locale.cc: Likewise.
560 * src/localename.cc: Likewise.
561
48166869
PE
5622003-07-06 Phil Edwards <pme@gcc.gnu.org>
563
564 * include/bits/allocator_traits.h: Fix doxygen markup.
565 * include/ext/mt_allocator.h: Likewise.
566
aaa4a229
PE
5672003-07-06 Phil Edwards <pme@gcc.gnu.org>
568
569 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
570
e6b7a69a
PE
5712003-07-05 Phil Edwards <pme@gcc.gnu.org>
572
573 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
574 requirement. Add port_specific_symbol_file variable.
575 * configure.host: Add docs for port_specific_symbol_file.
576 Clean up try_cpu block for x86.
577 * config/linker-map.gnu: No more "last symbol can't have a
578 semicolon" kaka. Add hook for port-specific symbols.
579 * src/Makefile.am: Remove trailing whitespace.
580 (libstdc++-symbol.ver): Detect the presence of port-specific
581 symbols, and add them accordingly.
582
583 * docs/html/17_intro/porting.texi: Bring up to date.
584
585 * src/Makefile.in, aclocal.m4, configure,
586 docs/html/17_intro/porting.html: Regenerated.
587
ac3d7b44
PE
5882003-07-05 Phil Edwards <pme@gcc.gnu.org>
589
590 * scripts/create_testsuite_files: New file.
591 * testsuite/Makefile.am (all-local, check-performance): Use it.
592 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
593 * testsuite/Makefile.in: Regenerated.
594
595 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
596 files at the end.
597 * testsuite/performance/fstream_seek_write.cc: Likewise.
598 * testsuite/performance/ofstream_insert_float.cc: Likewise.
599 * testsuite/performance/ofstream_insert_int.cc: Likewise.
600 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
601
e3d51be2
GB
6022003-07-05 Gawain Bolton <gp.bolton@computer.org>
603
604 * include/bits/stl_list.h: Performance and memory usage
c094e9b9
BK
605 improvements. In particular, the behaviour of the constructor and
606 destructor as the list header node is no longer dynamically
607 allocated/de-allocated.
e3d51be2
GB
608 * include/bits/list.tcc: Likewise.
609
eb9a4231
PC
6102003-07-05 Paolo Carlini <pcarlini@unitus.it>
611
612 * include/std/std_complex.h: Fully qualify standard
613 functions with std::, thus avoiding Koenig lookup.
614 * include/std/std_memory.h: Likewise.
615 * include/std/std_valarray.h: Likewise.
616
f92c5313
GB
6172003-07-05 Gawain Bolton <gp.bolton@computer.org>
618
619 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
620 variable for grandparent and use const
621
8b87d3fa
DB
6222003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
623
624 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
625 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
626 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
627 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
628 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
629 * testsuite/27_io/objects/char/7.cc: Ditto
630 * testsuite/27_io/objects/char/9661-1.cc: Ditto
631
a8cad3e1
PC
6322003-07-05 Paolo Carlini <pcarlini@unitus.it>
633
634 * include/std/std_bitset.h: Fully qualify standard
635 functions with std::, thus avoiding Koenig lookup.
636
637 * include/std/std_fstream.h: Change comment to doxygen style.
638
2778669a
PE
6392003-07-05 Phil Edwards <pme@gcc.gnu.org>
640
641 * include/std/std_limits.h: More CPP->CXX changes.
642 * scripts/check_survey.in: Likewise.
643
3d7c150e
BK
6442003-07-04 Benjamin Kosnik <bkoz@redhat.com>
645
646 Move from CPP to CXX.
647 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
648 * testsuite/Makefile.am: Same.
649 * testsuite/Makefile.in: Regenerate.
650 * po/Makefile.am: Same.
651 * po/Makefile.in: Regenerate.
652 * libsupc++/Makefile.am: Same.
653 * libsupc++/Makefile.in: Regenerate.
654 * libmath/Makefile.am: Same.
655 * libmath/Makefile.in: Regenerate.
656 * include/Makefile.am: Same.
657 * include/Makefile.in: Regenerate.
658 * src/Makefile.am: Same.
659 * src/Makefile.in: Regenerate.
660 * acconfig.h: Same.
661 * configure.host: Same.
662 * configure.in: Same.
663 * configure: Regenerate.
664 * acinclude.m4: Same.
665 * aclocal.m4: Same.
666 * src: Change all files in this directory.
667 * testsuite: Same.
668 * include: Same, standardize include guards.
669 * config: Same.
670 * libsupc++: Same.
671
e6cc3a24
ZW
6722003-07-04 Zack Weinberg <zack@codesourcery.com>
673
674 * testsuite/22_locale/collate/compare/wchar_t/2.cc
675 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
676 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
677 * testsuite/22_locale/collate/hash/wchar_t/2.cc
678 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
679 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
680 * testsuite/22_locale/collate/transform/wchar_t/2.cc
681 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
682 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
683 XFAIL on all targets.
684
d542f114
BK
6852003-07-04 Benjamin Kosnik <bkoz@redhat.com>
686
687 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
688 * aclocal.m4: Regenerate.
689 * configure: Regenerate.
e6cc3a24 690
d542f114
BK
6912003-07-04 Jerry Quinn <jlquinn@optonline.net>
692
693 * include/bits/locale_facets.tcc (__int_to_char): Move common case
694 to the top.
695
69ef29fd 6962003-07-04 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24
ZW
697 Petur Runolfsson <peturr02@ru.is>
698
69ef29fd
BK
699 * config/io/basic_file_stdio.cc: Revert.
700
5b5bf717
PC
7012003-07-04 Paolo Carlini <pcarlini@unitus.it>
702
703 * include/bits/deque.tcc: Fully qualify standard
704 functions with std::, thus avoiding Koenig lookup.
705 * include/bits/gslice_array.h: Likewise.
706 * include/bits/indirect_array.h: Likewise.
707 * include/bits/list.tcc: Likewise.
708 * include/bits/mask_array.h: Likewise.
709 * include/bits/slice_array.h: Likewise.
710
7f6dd1ca
GB
7112003-07-04 Gawain Bolton <gbolton@free.fr>
712
713 * include/bits/stl_tree.h: Performance and memory usage
714 improvements.
715
8c90b13a
L
7162003-07-04 H.J. Lu <hongjiu.lu@intel.com>
717
718 * Makefile.am: Replace PWD with PWD_COMMAND.
719 * Makefile.in: Regenerated.
720 * docs/html/Makefile: Likewise.
721
2f805868
PC
7222003-07-04 Paolo Carlini <pcarlini@unitus.it>
723
724 * include/bits/valarray_array.h: Fully qualify standard
725 functions with std::, thus avoiding Koenig lookup.
726 * include/bits/vector.tcc: Likewise.
727
a30335e9
BK
7282003-07-04 Benjamin Kosnik <bkoz@redhat.com>
729
730 * include/Makefile.am: Update target_ to host_.
731 * include/Makefile.in: Regenerate.
732 * src/Makefile.am: Same.
733 * src/Makefile.in: Regenerate.
734
735 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
e6cc3a24 736
d8d81f62
BK
7372003-07-04 Benjamin Kosnik <bkoz@redhat.com>
738
739 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
740 --enable-libstdcxx-debug-flags.
741 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
742 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
743 * aclocal.m4: Regenerate.
744 * configure: Same.
745 * docs/html/configopts.html: Update.
e6cc3a24 746
10ef4e2e
PC
7472003-07-04 Paolo Carlini <pcarlini@unitus.it>
748
749 Revert the fix for libstdc++/11378.
750
ac2c48d7
PC
7512003-07-04 Paolo Carlini <pcarlini@unitus.it>
752
753 PR libstdc++/11378
754 * include/std/std_fstream.h (xsputn): In the unbuffered case,
755 provided always_noconv(), issue directly _M_file.xsputn.
756 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
757
9dd90ac6
PC
7582003-07-04 Paolo Carlini <pcarlini@unitus.it>
759
760 * include/bits/stl_list.h: Fully qualify standard
761 functions with std::, thus avoiding Koenig lookup.
762 * include/bits/stl_queue.h: Likewise.
763 * include/bits/stl_raw_storage_iter.h: Likewise.
764 * include/bits/stl_tempbuf.h: Likewise.
765 * include/bits/stl_tree.h: Likewise.
766 * include/bits/stl_uninitialized.h: Likewise.
767 * include/bits/stl_vector.h: Likewise.
e6cc3a24 768 * include/ext/rope: Change includes order.
9dd90ac6 769
1b33b6b2
BK
7702003-07-04 Benjamin Kosnik <bkoz@redhat.com>
771
772 * configure.host (fpos_include_dir): Fix.
773
369b78b0
PC
7742003-07-04 Paolo Carlini <pcarlini@unitus.it>
775
776 * include/bits/stl_heap.h: Fully qualify standard
777 functions with std::, thus avoiding Koenig lookup.
778 * include/bits/stl_iterator_base_funcs.h: Likewise.
779
780 * include/bits/stl_algo.h: Qualify __iterator_category too.
781 * include/bits/stl_algobase.h: Likewise.
782 * include/bits/stl_bvector.h: Likewise.
783
784 * include/bits/stl_algo.h: Don't qualify the pair type.
785
cc5112c9
BK
7862003-07-03 Benjamin Kosnik <bkoz@redhat.com>
787
788 * include/Makefile.am (target_headers): Add fpos.h
789 (bits_headers): Remove.
790 * include/Makefile.in: Regenerate.
791 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
792 * configure: Regenerate.
793 * configure.host: Add fpos_include_dir.
794 * config/os/gnu-linux/fpos.h: New.
e6cc3a24
ZW
795 * config/os/generic/fpos.h: Add.
796 * include/bits/fpos.h: Remove.
cc5112c9
BK
797
798 * config/io/c_io_stdio.h: Remove fpos_t typedef.
799
800 * include/bits/fstream.tcc: Tweaks.
801 * include/std/std_fstream.h: Same.
e6cc3a24 802
cc5112c9
BK
803 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
804 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
805 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
806 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
807 * testsuite/27_io/fpos/1.cc: New.
e6cc3a24 808
cc5112c9
BK
8092003-07-03 Benjamin Kosnik <bkoz@redhat.com>
810 Petur Runolfsson <peturr02@ru.is>
e6cc3a24 811
cc5112c9
BK
812 * include/std/std_streambuf.h: Remove _M_pos.
813 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
814 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
815 use fread/fwrite instead of read/write.
816 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
817 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
818 before reading again.
819 * testsuite/27_io/objects/char/6.cc: Tweak.
e6cc3a24 820
304d79dc
DE
8212003-07-03 David Edelsohn <edelsohn@gnu.org>
822
823 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
824 _GLIBCPP_USE_WCHAR_T.
825
41ba4c46
PC
8262003-07-02 Paolo Carlini <pcarlini@unitus.it>
827
828 * include/bits/basic_string.tcc (_M_replace_aux): Constify
829 __n1 and __off1.
830
da73f9de
PC
8312003-07-02 Paolo Carlini <pcarlini@unitus.it>
832
833 * include/bits/stl_bvector.h: Fully qualify standard
834 functions with std::, thus avoiding Koenig lookup.
835 * include/bits/stl_construct.h: Likewise.
836 * include/bits/stl_deque.h: Likewise.
837
1c380095
PC
8382003-07-02 Paolo Carlini <pcarlini@unitus.it>
839
840 * testsuite/22_locale/num_put/put/char/7.cc: Include
841 <testsuite_hooks.h>, tweak.
842 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
843
f9f4d1e1
PE
8442003-07-01 Phil Edwards <pme@gcc.gnu.org>
845
846 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
847 check* targets, but not libs/programs).
848 * testsuite/Makefile.in: Regenerate.
849
b7693a46
RS
8502003-07-01 Roger Sayle <roger@eyesopen.com>
851
852 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
853 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
854 * aclocal.m4: Regenerate.
855 * configure: Regenerate.
856
a5b1b26c
BK
8572003-07-01 Benjamin Kosnik <bkoz@redhat.com>
858
859 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
860 * aclocal.m4: Regenerated.
861 * configure: Regenerated.
e6cc3a24 862
f64f3e74
PC
8632003-07-01 Paolo Carlini <pcarlini@unitus.it>
864
865 PR libstdc++/11389
866 * include/bits/fstream.tcc (underflow): For encoding() == 0
867 don't read more than __buflen chars.
868 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
869 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
870 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
871 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
872
5ee78c21
JQ
8732003-07-01 Jerry Quinn <jlquinn@optonline.net>
874
875 * 22_locale/num_put/put/char/7.cc: New.
876 * 22_locale/num_put/put/wchar_t/7.cc: New.
877
e97ee22e
JQ
8782003-06-30 Jerry Quinn <jlquinn@optonline.net>
879
880 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
881 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
882
7d6a0993
BK
8832003-06-30 Benjamin Kosnik <bkoz@redhat.com>
884
885 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
886 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
887 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
888 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
889 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
890 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
891 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
892 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
893 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
894 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
895 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
896 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
897 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
898 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
899 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
900 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
901 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
902 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
903 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
904 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
905 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
906 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
907 * data/seekoff-1.tst: Remove.
908 * data/seekoff-1io.tst: New.
909 * data/seekoff-1out.tst: New.
910 * data/seekoff-2.tst: Remove.
911 * data/seekoff-2io.tst: New.
912 * data/seekoff-2out.tst: New.
913 * data/seekoff.txt
914 * data/seekpos-1.tst: Remove.
915 * data/seekpos-1io.tst: New.
916 * data/seekpos-1out.tst: New.
917 * data/seekpos-2.tst: Remove.
918 * data/seekpos-2io.tst: New.
919 * data/seekpos-2out.tst: New.
920 * data/seekpos.txt: New.
921
a5b1b26c 9222003-06-30 Jerry Quinn <jlquinn@optonline.net>
cf0cad09
JQ
923
924 * src/locale.cc (__use_cache<numpunct>): Move from here ...
925 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
926 here.
927
884a757a
PC
9282003-06-30 Paolo Carlini <pcarlini@unitus.it>
929
930 * include/bits/stl_algobase.h: Fully qualify standard
931 functions with std::, thus avoiding Koenig lookup.
932
5892c641 9332003-06-30 Doug Gregor <dgregor@apple.com>
e6cc3a24 934
5892c641 935 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
e6cc3a24 936 subscripting empty string.
5892c641 937
7685a26d
PE
9382003-06-30 Phil Edwards <pme@gcc.gnu.org>
939
940 * testsuite/Makefile.am (check-am): Do not override.
941 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
942 * testsuite/Makefile.in: Regenerate.
943
e6cc3a24
ZW
9442003-06-30 Doug Gregor <dgregor@apple.com>
945
d147b75b
DG
946 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
947 Don't initialize an insert_iterator with a singular iterator.
948
44f0760e 9492003-06-30 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 950
44f0760e
BK
951 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
952 * aclocal.m4: Regenerate.
953 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
954 GLIBCPP_ENABLE_PCH, default to yes.
955 * configure: Regenerate.
956 * docs/html/configopts.html: Add --enable-pch.
e6cc3a24 957
e37f7da7
PE
9582003-06-30 Phil Edwards <pme@gcc.gnu.org>
959
960 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
961 (libstdc++-v3-init): Also set LD_RUN_PATH.
962
cd16e04b
PC
9632003-06-30 Paolo Carlini <pcarlini@unitus.it>
964
fbfcbadc
PC
965 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
966 from here to filebuf and stringbuf.
cd16e04b
PC
967 (~basic_streambuf()): Don't set _M_mode.
968 (basic_streambuf()): Don't set _M_mode.
969 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
970 (~basic_filebuf()): Clean up.
971 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
972 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
973 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
974 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
975 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
976 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
977 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
978
9792003-06-30 Paolo Carlini <pcarlini@unitus.it>
980
981 * include/std/std_fstream.h (_M_underflow): Remove.
982 (uflow): Remove, inherited from streambuf.
983 (underflow): Only declare.
e6cc3a24 984 * include/bits/fstream.tcc (_M_underflow): Rename to
cd16e04b
PC
985 underflow, to which is equivalent for __bump == false,
986 simplify.
987 * include/std/std_sstream.h (_M_underflow): Remove.
988 (uflow): Remove, inherited from streambuf.
989 (underflow): Only declare.
e6cc3a24 990 * include/bits/sstream.tcc (_M_underflow): Rename to
cd16e04b
PC
991 underflow, to which is equivalent for __bump == false,
992 simplify.
993
c868f37e
PC
9942003-06-29 Paolo Carlini <pcarlini@unitus.it>
995
fbfcbadc
PC
996 * include/bits/stl_algo.h: Fully qualify standard functions
997 with std::, thus avoiding Koenig lookup.
c868f37e 998
165f54e0
PC
9992003-06-29 Paolo Carlini <pcarlini@unitus.it>
1000
1001 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1002 Improve type correctness-wise.
1003 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1004 Likewise.
1005 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1006 Likewise.
1007 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1008 Likewise.
1009
90319d16
PC
10102003-06-29 Paolo Carlini <pcarlini@unitus.it>
1011
1012 * include/std/std_streambuf.h (uflow): According to
1013 27.5.2.4.3,p16, don't check gptr() < egptr().
1014
b417ae14
PC
10152003-06-28 Paolo Carlini <pcarlini@unitus.it>
1016
1017 PR libstdc++/9875
1018 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1019 (seekpos): Likewise.
1020 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1021 New test.
1022 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1023 New test.
1024
f1a22109
BK
10252003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1026
1027 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1028 output name to libstdc++-v3-performance.sum.
1029 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1030 * testsuite/Makefile.in: Regenerate.
e6cc3a24 1031
f1a22109
BK
10322003-06-27 Matthias Klose <doko@debian.org>
1033
1034 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1035 output of abi-check in libstdc++-v3-abi.sum.
1036 * testsuite/Makefile.in: Regenerate.
1037
2e8a523f
KW
10382003-06-27 Krister Walfridsson <cato@df.lth.se>
1039
1040 * config/os/bsd/netbsd/ctype_noninline.h
1041 (_C_ctype_): Declare.
1042 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1043 (ctype<char>::ctype): Use classic_table.
1044
3461133d
PC
10452003-06-27 Paolo Carlini <pcarlini@unitus.it>
1046 Nathan C. Myers <ncm-nospam@cantrip.org>
1047
1048 PR libstdc++/9178
1049 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1050 the worst-case number of external bytes for a given get area.
1051 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1052
10532003-06-27 Paolo Carlini <pcarlini@unitus.it>
1054 Petur Runolfsson <peturr02@ru.is>
1055
1056 PR libstdc++/11305
1057 * include/bits/fstream.tcc (overflow): Properly estimate the
1058 worst-case number of external bytes for a given put area
1059 (by using codecvt::max_length()).
1060 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1061 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1062 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1063 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1064
5648db54
NS
10652003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1066
1067 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1068
215f9e28
BK
10692003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1070
1071 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1072 to the imbued locale.
1073 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1074 _M_getloc.
1075 (num_put::_M_convert_float): Use.
1076
10772003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1078 Jerry Quinn <jlquinn@optonline.net>
1079
1080 * config/linker-map.gnu: Add __numpunct_cache.
1081 * config/locale/gnu/numeric_members.cc
1082 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1083 all elements for "C" locale.
1084 (numpunct::~numpunct): Delete _M_data.
e6cc3a24 1085 * config/locale/generic/numeric_members.cc: Same.
215f9e28
BK
1086 * include/bits/basic_ios.tcc
1087 (basic_ios::init): Remove __locale_cache bits.
1088 (basic_ios::_M_cache_locale): Same.
e6cc3a24 1089 * include/bits/ios_base.h: Same. Tweaks.
215f9e28
BK
1090 * include/bits/locale_classes.h: Tweaks. Reorder classes.
1091 (__use_cache): Make friends with _Impl, locale.
1092 (_Impl::_M_caches): Add.
1093 (_Impl::_M_install_cache): Add.
1094 * include/bits/locale_facets.h (__numpunct_cache): New.
1095 (numpunct): Encapsulate data members in __numpunct_cache member,
1096 _M_data. Adjust virtuals.
e6cc3a24 1097 (numpunct::numpunct): New ctor for the same.
215f9e28 1098 (__locale_cache_base): Remove.
e6cc3a24 1099 (__locale_cache): Remove.
215f9e28
BK
1100 * include/bits/locale_facets.tcc (__use_cache): New function,
1101 specializations.
1102 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1103 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1104 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1105 * src/locale-inst.cc: Same. Add __numpunct_cache.
1106 * src/locale.cc: Tweak inlines.
1107 (__use_cache): Define specializations.
1108 * src/localename.cc: Use global bits.
1109 (_Impl::~Impl): Deal with __numpunct_cache destruction.
1110 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1111 (_Impl::_M_init_facet): Take into account __numpunct_cache.
1112 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1113 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1114
8370378a 11152003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 1116 Paolo Carlini <pcarlini@unitus.it>
8370378a
NM
1117
1118 * testsuite/performance/filebuf_copy.cc: New, testing char
1119 by char file copy.
1120
2cfe4e68 11212003-06-26 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1122 Nathan C. Myers <ncm-nospam@cantrip.org>
2cfe4e68
PC
1123
1124 * include/bits/fstream.tcc (_M_underflow): When the actual
1125 end of file is reached, set 'uncommitted' mode to allow a
1126 next write without an intervening seek (see C++98 27.8.1.1,2
1127 and C89 7.9.5.3).
1128 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1129
29d9ed97
NM
11302003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
1131
1132 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1133 sputc): Move inline, from here...
1134 * include/std/std_streambuf.h: ... to here.
1135
1136 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1137 sputbackc, sungetc, sputc): Use __builtin_expect.
1138
c1a62440
PE
11392003-06-24 Phil Edwards <pme@gcc.gnu.org>
1140
1141 * docs/doxygen/mainpage.html: Use a useful title.
1142
cdc1242a
BK
11432003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1144
1145 * docs/html/documentation.html: Remove assignment info.
1146 * docs/html/17_intro/contribute.html: Edits.
1147 * docs/html/17_intro/libstdc++-assign.tx: Remove.
1148
1149 * docs/html/test.html: Update.
1150
1151 * README: Update.
e6cc3a24 1152
1b6f0a56 11532003-06-24 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1154 Ulrich Drepper <drepper@redhat.com>
1b6f0a56
BK
1155
1156 * testsuite/testsuite_performance.h: Tweak mallinfo.
1157
71b46021 11582003-06-24 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1159 Nathan C. Myers <ncm-nospam@cantrip.org>
71b46021
PC
1160
1161 * include/std/std_fstream.h (_M_filepos): Remove.
1162 (_M_reading, _M_writing): New, encode the various I/O modes:
1163 'read', 'write' and 'uncommitted'.
1164 (sync): If there is something to flush, do it, then go to
1165 'uncommitted' mode.
1166 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1167 with three different cases: __off > 0 (upon underflow),
1168 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1169 seekoff/pos).
1170 (_M_underflow): Don't call overflow, set _M_reading to true
1171 on success, tweak.
1172 (pbackfail): Set _M_reading to true on pback creation, tweak.
1173 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1174 set _M_writing to true on success, tweak.
1175 (seekoff): Simplify, set _M_reading, _M_writing to false, call
1176 _M_set_buffer(-1) ('uncommitted').
1177 (open, close, setbuf): Set _M_reading, _M_writing to false and
1178 call _M_set_buffer(-1), tweak.
1179 (basic_filebuf): Don't set _M_buf_unified.
1180 (_M_destroy_internal_buffer): Don't call setg and setp.
1181 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1182 _M_writing and _M_set_buffer(-1).
1183 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1184 _M_out_lim, _M_buf_unified): Remove.
1185 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
e6cc3a24 1186 (setp): Don't set _M_out_lim.
71b46021
PC
1187 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1188 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1189 upon open the mode is 'uncommitted' and therefore the put area
1190 pointers are null.
1191 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1192 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1193 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1194 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1195 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1196 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1197 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1198 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1199 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1200 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1201 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1202 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1203 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1204 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1205 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1206 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1207 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1208 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1209 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1210 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1211
1212 * include/bits/fstream.tcc (showmanyc): Use only the
1213 documented derivation interface to basic_streambuf (gptr(),
1214 setg(), etc.) to work right with user specializations.
1215 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1216 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1217 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1218 Likewise.
1219 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1220 xsgetn): Likewise.
1221
9eb6e1d3
LR
12222003-06-23 Loren J. Rittle <ljrittle@acm.org>
1223
1224 * configure.host (freebsd*): Set abi_baseline_pair.
1225 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1226 (at or near first release) to 3.3.
1227 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1228 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1229 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1230
3d57d7ba 1231 * include/ext/mt_allocator.h: Portability.
d1a2c4d6 1232 * testsuite/testsuite_performance.h: Likewise.
3d57d7ba 1233
c89c30dd
BK
12342003-06-23 Benjamin Kosnik <bkoz@redhat.com>
1235
1236 * docs/html/17_intro/libstdc++-assign.txt: Update address.
1237
1238 * testsuite/performance/ifstream_getline.cc: Fix.
e6cc3a24 1239
c89c30dd 12402003-06-23 Doug Gregor <dgregor@apple.com>
2b491e3a 1241
e6cc3a24
ZW
1242 * include/bits/boost_concept_check.h: Don't use _D or _R for type
1243 names.
2b491e3a 1244
1b170b55
PC
12452003-06-22 Paolo Carlini <pcarlini@unitus.it>
1246 Nathan C. Myers <ncm-nospam@cantrip.org>
1247
1248 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1249 is now used only for filebuf, when _M_buf_unified is true.
1250 epgtr() plays the role of _M_out_lim but it's only updated
1251 upon overflow, underflow, uflow, seekoff/pos.
1252 * include/bits/sstream.tcc (_M_underflow): New, implements
1253 stringbuf::underflow and uflow.
1254 (seekoff, seekpos): Tweak, use _M_update_egptr.
1255 * include/std/std_sstream.h (str): Rewrote, deal correctly
1256 with the new logic, in particular, when pptr() > egptr().
1257 (_M_sync): When __testout && !__testin set all the get area
1258 pointers to the current string end.
1259 (_M_update_egptr): New, internal function updating egptr()
1260 to the actual string end.
1261 (_M_underflow): New, declare.
1262 (underflow): Dispatch to _M_underflow(false).
1263 (uflow): Dispatch to _M_underflow(true).
1264
1265 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1266 seekpos): Use only the documented derivation interface to
1267 basic_streambuf (gptr(), setg(), etc.) to work right with
1268 user specializations.
1269 * include/std/std_sstream.h (str, _M_sync): Likewise.
1270
8dbe14be
DG
12712003-06-20 Doug Gregor <dgregor@apple.com>
1272
1b170b55
PC
1273 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1274 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1275 dereference end iterator.
1276 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1277 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1278 index equal to the length of a string.
1279 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1280 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1281 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1282 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1283 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1284 * testsuite/23_containers/list_modifiers.cc: Don't dereference
1285 singular reverse iterator.
1286 * testsuite/23_containers/vector_bool.cc: Don't increment singular
1287 iterator.
1288 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
8dbe14be 1289
bdb0f0f5
DG
12902003-06-20 Doug Gregor <dgregor@apple.com>
1291
e6cc3a24 1292 * include/bits/basic_string.h (basic_string::replace): Dispatch
bdb0f0f5
DG
1293 _InputIterator version based on _Is_integer.
1294 * include/bits/basic_string.tcc (basic_string::replace):
1295 Renamed replace(iterator, iterator, size_type, _CharT) to
1296 _M_replace_aux.
1297 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1298 Test basic_string::assign(_InputIterator, _InputIterator),
1299 which calls basic_string::replace(iterator, iterator,
1300 _Input_iterator, _InputIterator).
1301
f5a6463e
BK
13022003-06-20 Benjamin Kosnik <bkoz@redhat.com>
1303
1304 * testsuite/testsuite_performance.h (resource_counter): Don't use
1305 mallinfo at the moment.
1306
bbdfb3e8
MK
13072003-06-20 Matthias Klose <doko@debian.org>
1308
1309 * configure.host: Set try_cpu to target_cpu for existing
1310 baseline files.
1311
97460e9a
AJ
13122003-06-19 Andreas Jaeger <aj@suse.de>
1313
1314 * testsuite/Makefile.am (extract_symvers): Revert accidental
1315 change.
1316 * testsuite/Makefile.in: Regenerate.
1317
1318 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1319 * configure: Regenerated.
1320
50af15ec
PC
13212003-06-19 Paolo Carlini <pcarlini@unitus.it>
1322
1323 * include/std/std_sstream.h (_M_sync): Make non virtual.
1324
ce4f8c6b
BK
13252003-06-18 Benjamin Kosnik <bkoz@redhat.com>
1326
1327 * testsuite/testsuite_performance.h (time_counter): New.
1328 (resource_counter): New.
1329 (report_performance): New.
1330 (start_counters): New.
1331 (stop_counters): New.
97460e9a 1332 (clear_counters): New.
ce4f8c6b
BK
1333 * testsuite/performance/allocator.cc: Instrument.
1334 * testsuite/performance/cout_insert_int.cc: Same.
1335 * testsuite/performance/complex_norm.cc: Same.
1336 * testsuite/performance/filebuf_sputc.cc: New.
1337 * testsuite/performance/fstream_seek_write.cc: Same.
1338 * testsuite/performance/ifstream_getline.cc: Same.
1339 * testsuite/performance/map_create_fill.cc: Same.
1340 * testsuite/performance/ofstream_insert_float.cc: Same.
1341 * testsuite/performance/ofstream_insert_int.cc: Same.
97460e9a 1342 * testsuite/performance/string_append.cc: Convert.
ce4f8c6b
BK
1343 * scripts/check_performance: New.
1344 * testsuite/Makefile.am (check-performance): New.
1345 (CLEANFILES): Add.
97460e9a 1346
b82a33d2 13472003-06-18 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1348 Benjamin Kosnik <bkoz@redhat.com>
b82a33d2
PC
1349
1350 * include/std/std_sstream.h (setbuf): Check __n >= 0.
1351 * include/bits/fstream.tcc (setbuf): Tweak.
1352
4c526d09
PC
13532003-06-18 Paolo Carlini <pcarlini@unitus.it>
1354
1355 * include/bits/sstream.tcc (seekoff): We can't seek beyond
1356 _M_out_lim, therefore _M_move_out_cur boils down to simply
1357 updating _M_out_cur.
1358 (seekpos): Likewise, clean up.
1359
c1b74c21 13602003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 1361 Paolo Carlini <pcarlini@unitus.it>
c1b74c21
NM
1362
1363 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
1364 simply equivalent to the unbuffered case (0, 0) as far as
1365 _M_buf_size is concerned.
1366
a1af4623
AJ
13672003-06-18 Andreas Jaeger <aj@suse.de>
1368
1369 * testsuite/Makefile.am (new-abi-baseline): Create baseline
1370 directory.
1371 (baseline_file): Use baseline_dir.
1372 (baseline_dir): New.
1373 (mkinstalldirs): New.
1374
1375 * acinclude.m4: Rename baseline_file to baseline_dir, strip
1376 filename from baseline_dir.
1377
1378 * testsuite/Makefile.in: Regenerated.
1379 * Makefile.in: Regenerated.
1380 * aclocal.m4: Regenerated.
1381 * configure: Regenerated.
1382
2f934953
BK
13832003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1384
1385 * configure.in: Missed check_survey bit.
1386 * configure: Regenerated.
1387
0676e930
BK
13882003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1389
1390 * scripts: New.
1391 * config/abi/extract_symvers: Move to...
1392 * scripts/extract_symvers: ...here.
1393 * mkcheck.in: Move to..
1394 * scripts/check_survey.in: ...here.
1395 * testsuite_flags.in: Move to..
1396 * scripts/testsuite_flags.in: ...here.
1397 * configure.in: Change check and testsuite_flags locations.
1398 * configure: Regenerate.
1399 * testsuite/Makefile.am (current_symbols.txt): Change location.
1400 * testsuite/Makefile.in: Regenerate.
1401 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1402 location of testsuite_flags.
1403 * Makefile.am (check-script): Move..
1404 (check-script-install): Move...
a1af4623 1405 * testsuite/Makefile.am: ... here.
0676e930 1406 * testsuite/Makefile.in: Regenerate.
a1af4623
AJ
1407 * Makefile.in: Regenerate.
1408
82620aaf
BK
14092003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1410
1411 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
1412
c4c064e7
BK
14132003-06-16 Benjamin Kosnik <bkoz@redhat.com>
1414
1415 * Makefile.am (check-abi): Move...
1416 (new-abi-baseline): Move...
1417 * testsuite/Makefile.am: ...here.
1418 (new-abi-baseline): Conditionalize.
1419 (check-abi): Conditionalize.
1420 (check-abi-verbose): New.
1421 * Makefile.in: Regenerate.
a1af4623 1422 * testsuite/Makefile.in: Regenerate.
c4c064e7
BK
1423 * configure.in: Consolidate testsuite configure bits.
1424 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
1425 * configure: Regenerate.
a1af4623 1426 * aclocal.m4: Regenerate.
c4c064e7
BK
1427 * testsuite/abi_check.cc: Add --check-verbose.
1428 Only output detailed information if --check-verbose.
1429
e7bb3511 14302003-06-16 Andreas Jaeger <aj@suse.de>
a1af4623 1431
e6cc3a24 1432 * testsuite/abi_check.cc: Create summary report.
a1af4623 1433
8363b773
PC
14342003-06-16 Paolo Carlini <pcarlini@unitus.it>
1435
1436 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
1437 for systems with BUFSIZ != 8192.
1438 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1439 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
1440 Minor tweaks.
1441
5ab481e0
BK
14422003-06-16 Andreas Jaeger <aj@suse.de>
1443
1444 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
1445 check-abi multilib aware.
1446 * aclocal.m4: Regenerate.
1447 * configure: Regenerate.
a1af4623 1448
5ab481e0 14492003-06-16 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1450 Andreas Jaeger <aj@suse.de>
5ab481e0
BK
1451
1452 * configure.host: Set x86_64 abi_baseline pair correctly.
1453
0bad3b7c
PC
14542003-06-16 Paolo Carlini <pcarlini@unitus.it>
1455
1456 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
e6cc3a24 1457 fix for missing seeks between gets and puts into...
0bad3b7c
PC
1458 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
1459 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
1460 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
1461 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
1462 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
1463 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
a1af4623 1464
dc4add82
RH
14652003-06-15 Richard Henderson <rth@redhat.com>
1466
1467 * config/linker-map.gnu: Export virtual function thunks for
1468 64-bit systems too.
1469
ef16a298
BK
14702003-06-13 Benjamin Kosnik <bkoz@redhat.com>
1471
1472 * config/abi/i686-pc-linux-gnu: To..
1473 * config/abi/i486-linux-gnu: ...this.
1474 * config/abi/alphaev67-unknown-linux-gnu: To..
1475 * config/abi/alpha-linux-gnu: ...this.
1476 * config/abi/ia64-unknown-linux-gnu: To...
1477 * config/abi/ia64-linux-gnu: ...this.
1478 * config/abi/x86_64-unknown-linux-gnu: To...
1479 * config/abi/x86_64-linux-gnu: ...this.
1480 * config/abi/i386-unknown-freebsd4: To...
1481 * config/abi/i386-freebsd4: ...this.
5ab481e0
BK
1482 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
1483 CXXABI.
ef16a298
BK
1484 * configure.host: abi_baseline_triplet to abi_baseline_pair.
1485 Simplify cpu bits so that abi_baseline_pair can use the same
1486 cpu configuration.
1487 * acinclude.m4: Same.
1488 * aclocal.m4: Regenerate.
1489 * configure.in: Can't get enable_abi_check to yes unless native.
1490 * configure: Regenerate.
1491
ed242935
PC
14922003-06-13 Paolo Carlini <pcarlini@unitus.it>
1493
1494 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
1495 fix for missing seeks between gets and puts into...
1496 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
1497 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
1498 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
1499 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
1500 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
1501 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
1502 for missing seeks between gets and puts.
1503 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
1504 * testsuite/data/seekoff-1.tst: New.
1505 * testsuite/data/seekoff-2.tst: New.
1506 * testsuite/data/seekpos-1.tst: New.
1507 * testsuite/data/seekpos-2.tst: New.
1508
ca566e4c
NM
15092003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
1510
1511 Avoid multi-processor bus contention on increment/decrement-and-
a1af4623 1512 test of the reference count in the empty-string object, by comparing
e6cc3a24
ZW
1513 addresses first, and never touching the reference count of the empty-
1514 string object.
ca566e4c
NM
1515 * include/bits/basic_string.h:
1516 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
1517 members.
a1af4623 1518 (_Rep::_S_empty_rep()): New accessor.
ca566e4c
NM
1519 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
1520 a base class _Rep_base.
1521 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
1522 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
1523 since no longer must increment its refcount.
1524 * include/bits/basic_string.tcc:
a1af4623 1525 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
e6cc3a24
ZW
1526 return immediately. The former might be unnecessary. The latter
1527 prevents begin() and end() from cloning it unnecessarily.
ca566e4c
NM
1528 (_S_construct(_InIterator, _InIterator, const _Alloc&,
1529 input_iterator_tag), _S_construct(_InIterator, _InIterator,
1530 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
1531 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
1532 (_M_mutate): Check for the empty string and treat it as shared.
e6cc3a24
ZW
1533 This is necessary here because _M_mutate is sometimes called with
1534 all-zero arguments; in all other uses of _M_is_shared, the test comes
1535 out right anyhow.
a1af4623 1536
c37514ff
BK
15372003-06-12 Benjamin Kosnik <bkoz@redhat.com>
1538
1539 * src/allocator-inst.cc: Explicitly instantiate.
1540 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
1541 Tweaks.
1542 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
a1af4623 1543
58ac1d7f
BK
15442003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1545
1546 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
1547 * aclocal.m4: Regenerate.
1548 * Makefile.am (SUBDIRS): Remove libio.
1549 * Makefile.in: Regenerate.
1550 * configure.in: Same.
1551 * configure: Regenerate.
1552 * config/io/basic_file_libio.cc: Remove.
a1af4623 1553 * config/io/basic_file_libio.h: Remove.
58ac1d7f 1554 * config/io/c_io_libio_codecvt.c: Remove.
a1af4623 1555 * config/io/c_io_libio.h: Remove.
58ac1d7f
BK
1556 * libio/*: Remove.
1557 * src/Makefile.am: Same.
1558 * src/Makefile.in: Regenerate.
a1af4623 1559 * docs/html/configopts.html: Edits.
58ac1d7f 1560 * docs/html/explanations.html: Edits.
a1af4623 1561
1ff9402d
BK
15622003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1563
1564 * include/bits/stl_alloc.h (__debug_alloc): Move out.
1565 (__malloc_alloc): Same.
1566 (__pool_alloc): Same.
1567 (__new_alloc): Same.
1568 Rename to..
1569 * include/bits/allocator.h: ...this.
1570 * include/bits/stl_deque.h: Modify comment.
1571 * include/bits/stl_tree.h: Modify include.
1572 * include/std/std_memory.h: Same.
1573 * include/ext/rope: Same.
a1af4623 1574 * include/ext/slist: Same.
1ff9402d
BK
1575 * include/std/std_vector.h: Same.
1576 * include/std/std_stack.h: Same.
1577 * include/std/std_queue.h: Same.
1578 * include/std/std_list.h: Same.
1579 * include/std/std_deque.h: Same.
1580 * include/backward/alloc.h: Same.
1581 * include/ext/debug_allocator.h: New.
a1af4623
AJ
1582 * include/ext/malloc_allocator.h: New.
1583 * include/ext/pool_allocator.h: New.
1ff9402d
BK
1584 * include/ext/new_allocator.h: New.
1585 * include/bits/pthread_allocimpl.h: Remove.
a1af4623 1586 * include/bits/stl_pthread_alloc.h: Remove.
1ff9402d
BK
1587 * include/Makefile.am (ext_headers): Add.
1588 * include/Makefile.in: Regenerate.
1589 * src/stl-inst.cc: Use __gnu_cxx namespace.
1590 * src/stl-inst.cc: Move to...
1591 * src/allocator-inst.cc: Here.
1592 * src/Makefile.am (sources): Update.
1593 * src/Makefile.in: Regenerate.
1594 * config/linker-map.gnu: Remove __pool_alloc bits.
1595 * testsuite/ext/headers.cc: Add.
1596 * testsuite/ext/allocators.cc: Fixup.
a1af4623 1597
1ff9402d 15982003-06-11 Stefan Olsson <stefan@snon.net>
e6cc3a24 1599