]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
jcf-parse.c (java_parse_file): Write otable and atable.
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
530ce551
PC
12003-10-01 Paolo Carlini <pcarlini@unitus.it>
2
3 * include/bits/locale_facets.tcc (time_put::put): Minor
4 tweak to the previous commit.
5
52a16d08
PC
62003-10-01 Paolo Carlini <pcarlini@unitus.it>
7
8 PR libstdc++/12439
9 * include/bits/locale_facets.tcc (time_put::put): Deal
10 with the three issues pointed out by the PR.
11 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
12 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
13 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
14 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
15 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
16
ae7c3ba5
PC
172003-09-30 Paolo Carlini <pcarlini@unitus.it>
18
19 * include/bits/stl_algo.h: Minor cosmetic reformattings.
20
cbc6c296
PC
212003-09-30 Paolo Carlini <pcarlini@unitus.it>
22
23 * include/bits/stl_algo.h (search_n): Tweak, to spare the
24 first --__n.
25
2ea247d3
PC
262003-09-30 Paolo Carlini <pcarlini@unitus.it>
27
28 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
29 qualify exception name.
30
155f6fbb
PC
312003-09-30 Paolo Carlini <pcarlini@unitus.it>
32
33 PR libstdc++/12438
34 * include/bits/locale_facets.tcc (locale::combine): Don't
35 leak memory if _M_replace_facet throws.
36 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
37
38 * include/bits/locale_classes.h (locale::locale(const locale&,
39 _Facet*)): Tweak, use consistently _M_remove_reference.
40
70863cbd
PC
412003-09-30 Paolo Carlini <pcarlini@unitus.it>
42
43 PR libstdc++/12352 (cont)
44 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
45 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
46 calls fail.
47 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
48 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
49 !_M_caches, !_M_names.
50
51ac684e
RO
512003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
52
53 * configure.host: Handle Solaris 2.5 micro releases explicitly.
54 Remove wildcards from Solaris 2.6, 7-9: there were no
55 micro releases.
56 Treat Solaris 10 and up like 7-9.
57
6821a40b
PC
582003-09-29 Paolo Carlini <pcarlini@unitus.it>
59
60 * include/bits/stl_algo.h (search_n): Improve the previous
61 fix as suggested by Martin.
62
e5012ba5
PC
632003-09-29 Paolo Carlini <pcarlini@unitus.it>
64
65 PR libstdc++/12296
66 * include/bits/istream.tcc (peek): Set eofbit if sgetc
67 returns eof.
68 * testsuite/27_io/basic_istream/peek/char/12296.cc:
69 New, from the PR.
70
712003-09-29 Nathan Myers <ncm@cantrip.org>
72 Paolo Carlini <pcarlini@unitus.it>
73
74 PR libstdc++/11400
75 * include/bits/stl_algo.h (search_n):
76 Use iterator_traits<>::difference_type for __n.
77 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
78
6cd6aed7
PC
792003-09-29 Paolo Carlini <pcarlini@unitus.it>
80
81 * testsuite/22_locale/locale/cons/12352.cc:
82 Use __attribute__((unused)) for test.
83
33b16690
UW
842003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
85
86 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
87 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
88 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
89
2d07c3f5
BS
902003-09-26 Brad Spencer <spencer@infointeractive.com>
91
92 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
93 Explicitly qualify exceptions.
94 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
95 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
96 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
97 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
98
91675f9d
PC
992003-09-25 Paolo Carlini <pcarlini@unitus.it>
100
101 PR libstdc++/12352
102 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
103 size_t)): Don't leak if memory allocations for _M_facets,
104 _M_caches, and _M_names fail.
105 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
106 (locale::_Impl::_M_replace_categories(const _Impl*,
107 category)): Ditto.
108 (locale::_Impl::_M_install_facet(const locale::id*,
109 const facet*)): Ditto.
110 * include/bits/locale_classes.h (locale::locale(const locale&,
111 _Facet*)): Don't leak memory.
112 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
113
114 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
115 bool)): Qualify with std:: strcpy, tweak.
116 * include/bits/locale_classes.h
117 (locale::_Impl::_M_check_same_name): Qualify strcmp.
118
2b1be54b
BS
1192003-09-25 Brad Spencer <spencer@infointeractive.com>
120
121 PR libstdc++/6072
775ee48e
BK
122 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
123 wcstof, iswblank.
2b1be54b
BS
124 * aclocal.m4: Regenerate.
125 * config.h.in: Regenerate.
126 * configure: Regenerate.
127 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
128 * config/io/basic_file_stdio.cc: Guard unistd.h.
129 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
130 * include/c_std/std_cwchar.h: Same.
131 * include/c_std/std_cwctype.h: Same.
132
465ad0c7
BK
1332003-09-25 Benjamin Kosnik <bkoz@redhat.com>
134
775ee48e 135 PR libstdc++/11065
465ad0c7
BK
136 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
137 * config/locale/generic/ctype_members.cc: Same.
138 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
139 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
140
141 * config/os/generic/ctype_inline.h: Update.
142
7b865c36
UW
1432003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
144
145 * src/Makefile.am (version_dep): New variable.
146 (libstdc___la_DEPENDENCIES): Use it to add dependency on
147 libstdc++-symbol.ver only when using symbol versioning.
148 * src/Makefile.in: Regenerate.
149
11f10e6b
BK
1502003-09-23 Benjamin Kosnik <bkoz@redhat.com>
151
152 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
153 * testsuite/testsuite_hooks.h: Same.
154 * testsuite/*/*.cc: Same.
155
89ec0c4b
PR
1562003-09-22 Petur Runolfsson <peturr02@ru.is>
157
158 * include/bits/istream.tcc (basic_istream::read,
159 basic_istream::readsome, basic_istream::putback,
160 basic_istream::unget, operator>>(basic_istream, CharT)):
161 Avoid redundant setstate(failbit) calls when sentry::operator bool()
162 returns false.
163
dc25fbc7
CW
1642003-09-22 Carlo Wood <carlo@alinoe.com>
165
166 PR libstdc++/12365
167 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
168 char const*, int, int)): Remove unused identifier
169 cv_qualifier for overloaded constructor.
170
b2bc3339
BK
1712003-09-18 Benjamin Kosnik <bkoz@redhat.com>
172
173 PR libstdc++/11504
174 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
175 WARN_FLAGS, remove -Wno-format.
176 * aclocal.m4: Regenerate.
177 * configure: Regenerate.
178
0b5ce4f1
PR
1792003-09-18 Petur Runolfsson <peturr02@ru.is>
180
181 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
182 * config/io/basic_file_stdio.h: Same.
183 * include/std/std_fstream.h (__ctype_type): Delete.
184 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
185
43892f8c
BK
1862003-09-17 Benjamin Kosnik <bkoz@redhat.com>
187
188 PR libstdc++/12239
189 * configure.host (abi_baseline_pair): Error out on solaris2
190 configurations without a minor version number.
191
4bc8ae23
PE
1922003-09-13 Phil Edwards <phil@codesourcery.com>
193
194 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
195 if man pages are on.
196 * docs/doxygen/user.cfg.in: And here.
197
dbc66058
DJ
1982003-09-10 Daniel Jacobowitz <drow@mvista.com>
199 Andreas Jaeger <aj@suse.de>
200
201 PR libstdc++/12189
202 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
203 abi_check if cross compiling.
204 * aclocal.m4: Regenerated.
205 * configure: Regenerated.
206
520abf69
JO
2072003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
208
209 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
210 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
211 (__cxa_vec_new3): Likewise.
212
8c8dec01
PR
2132003-09-10 Petur Runolfsson <peturr02@ru.is>
214
215 * include/bits/fstream.tcc (basic_filebuf::seekoff):
216 Use codecvt::length to handle variable-width stateless encodings
217 correctly.
218 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
219 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
220
80e46d77
AM
2212003-09-10 Alan Modra <amodra@bigpond.net.au>
222
223 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
224 rather than or'ing.
225
e517f636
AM
2262003-09-09 Alan Modra <amodra@bigpond.net.au>
227
228 * configure: Regenerate.
229
263594d2
DE
2302003-09-09 David Edelsohn <edelsohn@gnu.org>
231
232 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
233 qualifier from _S_synced_with_stdio.
234
2352003-09-09 Bernardo Innocenti <bernie@develer.com>
e7f115de
BI
236
237 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
238
f1813b69
PR
2392003-09-04 Petur Runolfsson <peturr02@ru.is>
240
241 PR libstdc++/9028
242 * include/bits/fstream.tcc
243 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
244 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
245 _M_ext_buf_size, _M_ext_next and _M_ext_end.
246 (basic_filebuf::underflow): Handle variable-width stateless
247 encodings (codecvt::encoding() == 0), including UTF-8.
248 * include/std/std_fstream.h (basic_filebuf):
249 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
250 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
251 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
252 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
253 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
254 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
255 * testsuite/27_io/objects/wchar_t/12.cc: New test.
256 * testsuite/27_io/objects/wchar_t/13.cc: New test.
257
7976070c
JW
2582003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
259
260 * docs/html/faq/index.html: Note that a namespace alias can't be
261 used when specialising templates in extension namespace.
262 * docs/html/faq/index.txt: Regenerate.
263
149639d4
PR
2642003-09-03 Petur Runolfsson <peturr02@ru.is>
265
266 PR libstdc++/12048
267 * include/ext/stdio_sync_filebuf.h
268 (stdio_sync_filebuf::_M_unget_buf): Declare it.
269 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
270 (stdio_sync_filebuf::uflow): Store the returned character in
271 _M_unget_buf.
272 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
273 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
274 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
275 _M_unget_buf, if any, else eof().
276 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
277 _M_unget_buf, if any, else eof().
278 * testsuite/27_io/objects/char/12048.cc: Rename to...
279 * testsuite/27_io/objects/char/12048-1.cc: ...this.
280 * testsuite/27_io/objects/char/12048-2.cc: New test.
281 * testsuite/27_io/objects/char/12048-3.cc: New test.
282 * testsuite/27_io/objects/char/12048-4.cc: New test.
283 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
284 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
285 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
286 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
287 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
288 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
289 * testsuite/ext/stdio_sync_filebuf_char.cc
290 (test02, test03, test04, test05): New tests.
291 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
292 (test02, test03, test04, test05): New tests.
293
2942003-09-03 Petur Runolfsson <peturr02@ru.is>
295
296 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
297 stringbuf or strstreambuf. Fix typos.
298
3660e02f
PE
2992003-09-02 Phil Edwards <phil@codesourcery.com>
300
301 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
302 appropriately.
303 * config.h.in: Add _GLIBCXX_HOSTED.
304 * libsupc++/eh_term_handler.cc: Test it here; initialize
305 __terminate_handler to std::abort if freestanding.
306 * aclocal.m4, configure: Regenerated.
307 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
308
a3aff86a
NM
3092003-08-29 Nathan Myers <ncm@cantrip.org>
310
311 PR libstdc++/11990
312 * include/bits/locale_facets.tcc (__pad): delete dead code.
313
f5cf58dd
AM
3142003-08-28 Alan Modra <amodra@bigpond.net.au>
315
316 * configure.ac: Test $with_cross_host against $build_alias, not $build.
317 * configure: Regenerate.
318
3bedd161
PR
3192003-08-27 Petur Runolfsson <peturr02@ru.is>
320
321 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
322 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
323
ca618b60
PE
3242003-08-27 Phil Edwards <pme@gcc.gnu.org>
325
326 * Makefile.am: Remove trailing whitespace. Remove needless
327 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
328 * include/Makefile.am: Likewise.
329 * libmath/Makefile.am: Likewise.
330 * libsupc++/Makefile.am: Likewise.
331 * po/Makefile.am: Likewise.
332 * src/Makefile.am: Likewise.
333 * testsuite/Makefile.am: Likewise.
334
335 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
336 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
337 testsuite/Makefile.in: Regenerated.
338
37e0ff11
PE
3392003-08-27 Phil Edwards <pme@gcc.gnu.org>
340
341 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
342 includedir.
343 * aclocal.m4, configure: Regenerate.
344
72730fdb
DJ
3452003-08-27 Daniel Jacobowitz <drow@mvista.com>
346
347 * acinclude.m4: Include no-executables.m4.
348 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
349 * aclocal.m4: Regenerated.
350 * configure: Regenerated.
351
ec0d7421
DJ
3522003-08-27 Daniel Jacobowitz <drow@mvista.com>
353
354 * acinclude.m4: Don't call AC_ISC_POSIX.
355 * aclocal.m4: Regenerated.
356 * configure: Regenerated.
357
92eabea2
PE
3582003-08-27 Phil Edwards <pme@gcc.gnu.org>
359
360 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
361 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
362 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
363 used elsewhere in this file.
364 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
365 * configure.ac: ...called here to expand all conditionals.
366 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
367 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
368 (install-freestanding-headers): New target, a subset of
369 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
370
371 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
372 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
373 src/Makefile.in, testsuite/Makefile.in: Regenerated.
374
a43d13fb
PE
3752003-08-26 Phil Edwards <pme@gcc.gnu.org>
376
377 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
378 pathnames from generated tag file.
379
82ba99d5
PE
3802003-08-26 Phil Edwards <pme@gcc.gnu.org>
381
382 * Makefile.am: Add comment.
383 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
384 SUBDIRS variables.
385 * configure.ac: Use them both here, instead of hardcoded lists.
386
387 * fragment.am: Add STAMP varaible.
388 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
389 instead of @LN_S@.
390 (stamp-*): Move file creation rule outside of 'if' branches to
391 ensure the stamp-* files are actually updated. Use $(STAMP).
392 * src/Makefile.am: Remove now-nonexistant variable.
393 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
394 for -prefer-pic.
395 * po/Makefile.am: Include same fragment as all the others.
396
397 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
398 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
399
73780bfe
LR
4002003-08-26 Loren J. Rittle <ljrittle@acm.org>
401
402 * testsuite/data/cin_unget-1.txt: New.
403 * testsuite/27_io/objects/char/12048.cc: New.
404
7e2055ec
ZW
4052003-08-25 Zack Weinberg <zack@codesourcery.com>
406
407 * config/os/hpux/os_defines.h: Unconditionally define
408 _GLIBCXX_GTHREAD_USE_WEAK to 0.
409
a6f3e253
GK
4102003-08-19 Geoffrey Keating <geoffk@apple.com>
411
412 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
413 crosses to Darwin targets.
414 * configure: Regenerate.
415
1b391ba9
PR
4162003-08-19 Petur Runolfsson <peturr02@ru.is>
417
7e2055ec
ZW
418 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
419
77e862fa
PE
4202003-08-17 Phil Edwards <pme@gcc.gnu.org>
421
422 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
423 in the patch from 3 minutes ago. Boy, is my face red.
424 * configure: At least I remembered to regenerate this.
425
0df3f383
PE
4262003-08-17 Phil Edwards <pme@gcc.gnu.org>
427
428 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
429 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
430 things from the top level.
431 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
432 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
433 (currently unused). Strip the fake-VPATH shell fragment from
434 automake-generated rules, if present.
435 * linkage.m4: Add comment.
436
437 * fragment.am: New file, containing factored-out common settings.
438 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
439 * Makefile.am: Include fragment.am. Remove common variables.
440 * include/Makefile.am: Likewise.
441 * libmath/Makefile.am: Likewise.
442 * libsupc++/Makefile.am: Likewise.
443 * po/Makefile.am: Likewise. Print rules during check.
444 * src/Makefile.am: Likewise.
445 * testsuite/Makefile.am: Likewise.
446
447 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
448 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
449 src/Makefile.in, testsuite/Makefile.in: Regenerate.
450
e885821f
JL
4512003-08-11 John Levon <levon@movementarian.org>
452
453 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
454 remaining places for the name change from GLIBCPP_FORCE_NEW
455 to GLIBCXX_FORCE_NEW
456
2803847d
BK
4572003-08-11 Benjamin Kosnik <bkoz@redhat.com>
458
459 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
7e2055ec 460 typedefs to num_*.
2803847d
BK
461 * include/bits/basic_ios.tcc: Same.
462 * include/bits/istream.tcc: Same.
463 * include/bits/locale_facets.h: Same.
464 * include/bits/ostream.tcc: Same.
465 * include/std/std_istream.h: Same.
466 * include/std/std_ostream.h: Same.
467 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
468
469 * include/ext/rope: Remove build warning.
7e2055ec 470
51c1f3c9
AJ
4712003-08-11 Andreas Jaeger <aj@suse.de>
472
473 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
474 to make SMP-safe.
475 * include/Makefile.in: Regenerated.
476
f6dda651
PE
4772003-08-11 Phil Edwards <pme@gcc.gnu.org>
478
479 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
480 when calling AC_PROG_CC.
481 * aclocal.m4, configure: Regenerate.
482
fbe057bb
PE
4832003-08-11 Phil Edwards <pme@gcc.gnu.org>
484
485 * acinclude.m4: Properly quote variable which will be expanded
486 inside makefiles. Use CXX instead of CC to extract compiler info.
487 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
488 correct form in PACKAGE.
489 * aclocal.m4, configure: Regenerate.
490
258e7dbc
BK
4912003-08-08 Benjamin Kosnik <bkoz@redhat.com>
492
493 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
494 (check-abi-verbose): Same.
495 * testsuite/testsuite_performance.h (report_performance): Same.
7e2055ec 496
3e083bea
LR
4972003-08-08 Loren J. Rittle <ljrittle@acm.org>
498
499 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
500
5a9ed693
DG
5012003-08-07 Doug Gregor <dgregor@apple.com>
502
7e2055ec
ZW
503 * include/bits/char_traits.h (char_traits::not_eof): Match operand
504 types in ? :.
5a9ed693 505
4e9ebd4b
BI
5062003-08-07 Bernardo Innocenti <bernie@develer.com>
507
508 PR libstdc++/11784
509 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
510 Replace variants with new BSET-based version.
7e2055ec 511
a9ebaa2b
CW
5122003-08-07 Carlo Wood <carlo@alinoe.com>
513
0df3f383 514 * include/bits/demangle.h: Do not use cctype functions that depend
a9ebaa2b 515 on locale.
7e2055ec 516
8b171e55
PE
5172003-08-05 Phil Edwards <pme@gcc.gnu.org>
518
519 * configure.in: Rename...
520 * configure.ac: ...to this.
521 * docs/html/17_intro/porting.texi: Update name.
522
523 * docs/html/17_intro/porting.html: Regenerate.
524 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
525 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
526 testsuite/Makefile.in: Regenerate (picks up new dependancy).
527
1260d70f
PE
5282003-08-05 Phil Edwards <pme@gcc.gnu.org>
529
530 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
531 pipe, open the window to let out the fumes, redo the option-handling
532 logic to properly execute the detection test.
533 * aclocal.m4, configure: Regenerate.
534
ff66d28f
PE
5352003-08-04 Phil Edwards <pme@gcc.gnu.org>
536
537 Convert to new autotools.
538 * acconfig.h: Update with correct names.
539 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
540 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
541 * configure.in: Update. Split hardcoded cross-configury settings
542 out to...
543 * crossconfig.m4: ...here. New file. Contents untouched.
544 * acinclude.m4: Reorganize and rewrite as needed. Split large
545 chunks out to...
546 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
547 Contents untouched.
548 * scripts/testsuite_flags.in: Update.
549
550 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
551 variables (already generated by automake).
552 * include/Makefile.am: Ditto.
553 * libmath/Makefile.am: Ditto.
554 * libsupc++/Makefile.am: Ditto.
555 * po/Makefile.am: Ditto.
556 * src/Makefile.am: Ditto.
557
558 * aclocal.m4: Regenerate using new versions.
559 * config.h.in: Ditto.
560 * configure: Ditto.
561 * Makefile.in: Ditto.
562 * include/Makefile.in: Ditto.
563 * libmath/Makefile.in: Ditto.
564 * libsupc++/Makefile.in: Ditto.
565 * po/Makefile.in: Ditto.
566 * src/Makefile.in: Ditto.
567 * testsuite/Makefile.in: Ditto.
568
5e7c251d
PE
5692003-08-04 Phil Edwards <pme@gcc.gnu.org>
570
571 * po/libstdc++.pot: Re-extract/regenerate.
572
caf21254
PE
5732003-08-04 Phil Edwards <pme@gcc.gnu.org>
574
575 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
576 Remove unneeded variable assignments. Leave them for automake.
577 * testsuite/lib/libstdc++-v3.exp: Rename...
578 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
579 accordingly.
580 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
581 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
582 names accordingly.
583
f7ab5fa4
PE
5842003-08-04 Phil Edwards <pme@gcc.gnu.org>
585
586 * docs/doxygen/guide.html: run_doxygen uses bash.
587 * docs/doxygen/mainpage.html: We'll be shipping tag files.
588 * docs/doxygen/run_doxygen: Tweaks and improvements.
589 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
590 * docs/html/install.html: Update autoconf/automake requirements.
591 * docs/html/test.html: Add section describing DejaGNU support.
592 * docs/html/17_intro/confdeps.dot: New file, generates...
593 * docs/html/17_intro/confdeps.png: ...this new file.
594 * docs/html/Makefile: Generated here.
595 * docs/html/17_intro/configury.html: New file.
596
b3f2a032
PE
5972003-07-31 Phil Edwards <pme@gcc.gnu.org>
598
599 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
600 * testsuite/lib/libstdc++-v3.exp: ...to this.
601 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
602
e64a227a
DG
6032003-07-31 Doug Gregor <dgregor@apple.com>
604
605 Add user specialization tests.
606 * testsuite/23_containers/deque/1.cc: New.
607 * testsuite/23_containers/list/1.cc: New.
608 * testsuite/23_containers/map/1.cc: New.
609 * testsuite/23_containers/multimap/1.cc: New.
610 * testsuite/23_containers/multiset/1.cc: New.
611 * testsuite/23_containers/set/1.cc: New.
612 * testsuite/23_containers/vector/1.cc: New.
7e2055ec 613
17472bb6
BK
6142003-07-31 Benjamin Kosnik <bkoz@redhat.com>
615
616 Reshuffle 23_containers testsuite.
7e2055ec 617 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
17472bb6
BK
618 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
619 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
620 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
621 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
622 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
623 vector_resize.cc: Split into...
624 * 23_containers/bitset/cons/1.cc: New.
625 * 23_containers/bitset/cons/6282.cc: New.
626 * 23_containers/bitset/count/6124.cc: New.
627 * 23_containers/bitset/operations/1.cc: New.
628 * 23_containers/bitset/operations/2.cc: New.
629 * 23_containers/bitset/test/1.cc: New.
630 * 23_containers/bitset/to_ulong/1.cc: New.
631 * 23_containers/deque/cons/1.cc: New.
632 * 23_containers/deque/cons/2.cc: New.
633 * 23_containers/deque/operators/1.cc: New.
634 * 23_containers/list/capacity/1.cc: New.
635 * 23_containers/list/cons/1.cc: New.
636 * 23_containers/list/cons/2.cc: New.
637 * 23_containers/list/cons/3.cc: New.
638 * 23_containers/list/cons/4.cc: New.
639 * 23_containers/list/cons/5.cc: New.
640 * 23_containers/list/cons/6.cc: New.
641 * 23_containers/list/cons/7.cc: New.
642 * 23_containers/list/cons/8.cc: New.
643 * 23_containers/list/cons/9.cc: New.
644 * 23_containers/list/modifiers/1.cc: New.
645 * 23_containers/list/modifiers/2.cc: New.
646 * 23_containers/list/modifiers/3.cc: New.
647 * 23_containers/list/operators/1.cc: New.
648 * 23_containers/list/operators/2.cc: New.
649 * 23_containers/list/operators/3.cc: New.
650 * 23_containers/list/operators/4.cc: New.
651 * 23_containers/map/insert/1.cc: New.
652 * 23_containers/map/operators/1.cc: New.
653 * 23_containers/map/operators/1_neg.cc: New.
654 * 23_containers/multiset/insert/1.cc: New.
655 * 23_containers/priority_queue/members/7161.cc: New.
656 * 23_containers/queue/members/7157.cc: New.
657 * 23_containers/set/operators/1_neg.cc: New.
658 * 23_containers/stack/members/7158.cc: New.
659 * 23_containers/vector/bool/1.cc: New.
660 * 23_containers/vector/bool/6886.cc: New.
661 * 23_containers/vector/capacity/1.cc: New.
662 * 23_containers/vector/capacity/2.cc: New.
663 * 23_containers/vector/capacity/8230.cc: New.
664 * 23_containers/vector/cons/1.cc: New.
665 * 23_containers/vector/cons/2.cc: New.
666 * 23_containers/vector/cons/3.cc: New.
667 * 23_containers/vector/cons/4.cc: New.
668 * 23_containers/vector/cons/6513.cc: New.
669 * 23_containers/vector/element_access/1.cc: New.
670 * 23_containers/vector/modifiers/1.cc: New.
671 * 23_containers/vector/modifiers/2.cc: New.
672 * 23_containers/vector/resize/1.cc: New.
7e2055ec 673
515aab7c
RO
6742003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
675
676 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
677 dg-options.
678 * testsuite/thread/pthread2.cc: Likewise.
679 * testsuite/thread/pthread3.cc: Likewise.
680 * testsuite/thread/pthread4.cc: Likewise.
681 * testsuite/thread/pthread5.cc: Likewise.
682 * testsuite/thread/pthread6.cc: Likewise.
683 * testsuite/thread/pthread7-rope.cc: Likewise.
684
1051c718
PE
6852003-07-30 Phil Edwards <pme@gcc.gnu.org>
686
687 * include/bits/c++config: Partial reversion (comment placement) of
688 previous patch.
689
5f697f7a
BK
6902003-07-30 Benjamin Kosnik <bkoz@redhat.com>
691
692 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
693 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
694 (_GLIBCXX_AT_AT): Remove.
695 (__USE_MALLOC): Remove.
696 * include/std/std_fstream.h: Modify.
697 * include/bits/basic_ios.h: Same.
698 * include/bits/valarray_array.h: Same.
699 * include/c_std/std_cmath.h: Same.
700 * include/c_std/cmath.tcc: Same.
701 * include/std/std_vector.h: Same.
702 * include/std/std_string.h: Same.
703 * include/std/std_stack.h: Same.
704 * include/std/std_queue.h: Same.
705 * include/std/std_list.h: Same.
706 * include/std/std_deque.h: Same.
707 * include/std/std_streambuf.h: Same.
708 * include/std/std_sstream.h: Same.
709 * include/std/std_ostream.h: Same.
710 * include/std/std_istream.h: Same.
711 * include/bits/valarray_array.tcc: Same, format.
712
713 * include/c/std_cctype.h: Fix include guards.
714 * include/c/std_cerrno.h: Same.
715 * include/c/std_cfloat.h: Same.
716 * include/c/std_climits.h: Same.
717 * include/c/std_clocale.h: Same.
718 * include/c/std_cmath.h: Same.
719 * include/c/std_csetjmp.h: Same.
720 * include/c/std_csignal.h: Same.
721 * include/c/std_cstdarg.h: Same.
722 * include/c/std_cstddef.h: Same.
723 * include/c/std_cstdio.h: Same.
724 * include/c/std_cstdlib.h: Same.
725 * include/c/std_cstring.h: Same.
726 * include/c/std_ctime.h: Same.
727 * include/c/std_cwchar.h: Same.
728 * include/c/std_cwctype.h: Same.
729 * include/c_std/cmath.tcc: Same.
730 * include/c_std/std_cmath.h: Same.
7e2055ec 731
b4c70e89
GB
7322003-07-30 Gawain Bolton <gp.bolton@computer.org>
733
7e2055ec 734 PR libstdc++/11504.
b4c70e89
GB
735 * include/bits/stl_tree.h: Replace C-style casts with C++-style
736 casts. Changes to avoid casting away constness. Eliminate
737 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
738 initialization lists. Move out implementation of __black_count()
739 to...
7e2055ec
ZW
740 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
741 Rename_Rb_tree_base_iterator::_M_increment() to
742 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
743 _Rb_tree_decrement.
744 * config/linker-map.gnu: Add and change symbols here.
b4c70e89 745
48b3222d
JW
7462003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
747
748 * docs/html/22_locale/howto.html: Use locale::classic() instead
749 of locale("C").
750
cb584bcf
BK
7512003-07-28 Benjamin Kosnik <bkoz@redhat.com>
752
753 * testsuite/testsuite_hooks.h: Remove list include.
754 (func_callback): Define as unique type, not std::list.
755 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
756 * testsuite/libstdc++-v3.dg/dg.exp: Same.
757 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
7e2055ec 758 * testsuite/23_containers/bitset_ctor.cc:
cb584bcf
BK
759 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
760 * testsuite/18_support/numeric_limits.cc: Same.
761 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
762 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
763 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
764 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
765 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
766 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
767 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
768 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
769 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
770 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
771 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
772 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
773 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
774 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
775 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
776 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
777 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
778 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
779 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
780 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
7e2055ec
ZW
781 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
782 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
783 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
784 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
785 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
786 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
787 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
788 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
789 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
790 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
cb584bcf
BK
791 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
792 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
793 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
794 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
795 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
796 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
797 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
798 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
799 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
800 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
801 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
802 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
803 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
804 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
805 * testsuite/23_containers/bitset_ctor.cc: Same.
806 * testsuite/23_containers/bitset_shift.cc: Same.
807 * testsuite/23_containers/vector_ctor.cc: Same.
808 * testsuite/23_containers/vector_element_access.cc: Same.
809 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
810 * testsuite/24_iterators/iterator.cc: Same.
811 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
812 * testsuite/25_algorithms/lower_bound.cc: Same.
813 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
814 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
815 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
816 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
817 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
818 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
819 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
820 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
821 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
822 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
7e2055ec
ZW
823 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
824 Same.
825
1cb1de7e
PE
8262003-07-28 Phil Edwards <pme@gcc.gnu.org>
827
828 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
829 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
830 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
831 GLIBCPP to GLIBCXX (and explain as needed).
832
6dfe0fc9
PE
8332003-07-28 Phil Edwards <pme@gcc.gnu.org>
834
835 * README: Update.
836
2cb1c928
PE
8372003-07-28 Phil Edwards <pme@gcc.gnu.org>
838
839 * testsuite/22_locale/messages/members/char/1.cc,
840 testsuite/22_locale/messages/members/char/2.cc,
841 testsuite/22_locale/messages/members/char/3.cc,
842 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
843 the origin of LOCALEDIR.
844 * testsuite/lib/libstdc++-v3.exp: New file.
845
b66ea7d4
BK
8462003-07-25 Benjamin Kosnik <bkoz@redhat.com>
847
848 * include/bits/char_traits.h: Update copyright, tweak.
e884d397 849 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
b66ea7d4
BK
850 std types.
851
d5ff4e3f
MA
8522003-07-24 Matt Austern <austern@apple.com>
853
854 * /include/bits/char_traits.h (class char_traits): Put all the
855 real work into the new class template __gnu_cxx::char_traits.
856 Gave generic definitions for member functions. Types are taken
857 from the new class template __gnu_cxx::_Char_types.
858 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
859 file. Test of std::char_traits<short>, which serves as a test of
860 the char_traits primary template.
861
aecf642c
BK
8622003-07-24 Benjamin Kosnik <bkoz@redhat.com>
863
864 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
865
8662003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
d7541133 867
7e2055ec
ZW
868 * testsuite/23_containers/map_operators.cc: Conform to
869 container requirement as value must be Assignable.
d7541133 870
118545ec
AO
8712003-07-23 Alexandre Oliva <aoliva@redhat.com>
872
873 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
874 tests not only generation of pch files, but also their use.
875 * aclocal.m4, configure: Rebuilt.
876
ff89cb01
SE
8772003-07-23 Steve Ellcey <sje@cup.hp.com>
878
879 * config/cpu/hppa/atomicity.h: Change
880 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
881 to match misc-inst.cc
882
1143680e
SE
8832003-07-23 Steve Ellcey <sje@cup.hp.com>
884
885 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
886 * include/c_std/std_cctype.h: Ditto.
887 * include/c_std/std_cerrno.h: Ditto.
888 * include/c_std/std_cfloat.h: Ditto.
889 * include/c_std/std_climits.h: Ditto.
890 * include/c_std/std_clocale.h: Ditto.
891 * include/c_std/std_cmath.h: Ditto.
892 * include/c_std/std_csetjmp.h: Ditto.
893 * include/c_std/std_csignal.h: Ditto.
894 * include/c_std/std_cstdarg.h: Ditto.
895 * include/c_std/std_cstddef.h: Ditto.
896 * include/c_std/std_cstdio.h: Ditto.
897 * include/c_std/std_cstdlib.h: Ditto.
898 * include/c_std/std_cstring.h: Ditto.
899 * include/c_std/std_ctime.h: Ditto.
900 * include/c_std/std_cwchar.h: Ditto.
901 * include/c_std/std_cwctype.h: Ditto.
902 * include/std/std_algorithm.h: Ditto.
903 * include/std/std_bitset.h: Ditto.
904 * include/std/std_complex.h: Ditto.
905 * include/std/std_deque.h: Ditto.
906 * include/std/std_fstream.h: Ditto.
907 * include/std/std_functional.h: Ditto.
908 * include/std/std_iomanip.h: Ditto.
909 * include/std/std_ios.h: Ditto.
910 * include/std/std_iosfwd.h: Ditto.
911 * include/std/std_iostream.h: Ditto.
912 * include/std/std_istream.h: Ditto.
913 * include/std/std_iterator.h: Ditto.
914 * include/std/std_limits.h: Ditto.
915 * include/std/std_list.h: Ditto.
916 * include/std/std_locale.h: Ditto.
917 * include/std/std_map.h: Ditto.
918 * include/std/std_memory.h: Ditto.
919 * include/std/std_numeric.h: Ditto.
920 * include/std/std_ostream.h: Ditto.
921 * include/std/std_queue.h: Ditto.
922 * include/std/std_set.h: Ditto.
923 * include/std/std_sstream.h: Ditto.
924 * include/std/std_stack.h: Ditto.
925 * include/std/std_stdexcept.h: Ditto.
926 * include/std/std_streambuf.h: Ditto.
927 * include/std/std_string.h: Ditto.
928 * include/std/std_utility.h: Ditto.
929 * include/std/std_valarray.h: Ditto.
930 * include/std/std_vector.h: Ditto.
931
3988d179
DG
9322003-07-22 Doug Gregor <dgregor@apple.com>
933
934 * include/bits/basic_string.h (basic_string::insert): Deprecate
935 GNU extension.
936
5dfda042
BK
9372003-07-21 Benjamin Kosnik <bkoz@redhat.com>
938
939 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
940 paths for libio.
941 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
942 (test03): Include typeinfo for bad_cast.
943 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
944 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
945 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
946
3988d179 9472003-07-21 Doug Gregor <dgregor@apple.com>
f345c6b5
DG
948
949 * include/bits/boost_concept_check.h:
7e2055ec
ZW
950 (_EqualityComparableConcept::__constraints): Remove != from the
951 list of constraints; it is not listed in Table 28 of the C++98
952 standard.
f345c6b5 953
2d5f9af2
AJ
9542003-07-18 Andreas Jaeger <aj@suse.de>
955
956 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
957 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
958 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
959 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
960
fea4065d 9612003-07-17 Benjamin Kosnik <bkoz@redhat.com>
7e2055ec 962
fea4065d
BK
963 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
964 * config/locale/generic/messages_members.h: Tweaks.
965 * config/locale/generic/monetary_members.cc
966 (moneypunct::_M_initialize_moneypunct): Use cache.
967 (moneypunct::~moneypunct): Delete cache.
968 * config/locale/generic/time_members.cc:
969 (__timepunct::_M_initialize_timepunct): Use cache.
970 * config/locale/generic/time_members.h:
971 (__timepunct::~__timepunct): Delete cache.
972 (__timepunct::__timepunct): Set cache.
973 * config/locale/gnu/messages_members.h: Tweaks.
974 * config/locale/gnu/monetary_members.cc:
975 (moneypunct::_M_initialize_moneypunct): Use cache.
976 (moneypunct::~moneypunct): Delete cache.
977 * config/locale/gnu/time_members.cc:
978 (__timepunct::_M_initialize_timepunct): Use cache.
979 * config/locale/gnu/time_members.h:
980 (__timepunct::~__timepunct): Delete cache.
981 (__timepunct::__timepunct): Set cache.
982 * include/bits/locale_facets.h (__timepunct_cache): New.
983 (__moneypunct_cache): New.
984 * include/bits/locale_facets.tcc: Tweak.
985 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
986 * src/locale-inst.cc: Instantiate caches.
987 * src/globals.cc: Add "C" caches.
988 * src/localename.cc: Use external "C" caches.
989
83a279e4
PE
9902003-07-17 Phil Edwards <pme@gcc.gnu.org>
991
992 * docs/doxygen/guide.html: Fix typo.
993
db5eed18
BK
9942003-07-16 Benjamin Kosnik <bkoz@redhat.com>
995
996 * include/ext/pod_char_traits.h: Add state template argument.
997
7942afdc
BK
9982003-07-16 Benjamin Kosnik <bkoz@redhat.com>
999
1000 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1001 (num_get::_M_convert_int): To _M_insert_int.
7e2055ec 1002 (num_get::_M_convert_float): To _M_insert_float.
7942afdc
BK
1003 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1004 Use caches for ctype, num_get.
1005 (num_get::_M_extract_int): Same.
1006 (num_get::get(bool)): Same.
1007 (__verify_grouping): Use size_t.
1008 * src/locale-inst.cc: Update.
1009 * src/locale.cc: Adjust _S_atoms_in.
1010
1ef4a5d4
PE
10112003-07-16 Phil Edwards <pme@gcc.gnu.org>
1012
1013 * docs/doxygen/mainpage.html: Move building/writing instructions...
1014 * docs/doxygen/guide.html: ...to here. New file.
1015
dced0d12
JW
10162003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1017
1018 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1019 * docs/html/faq/index.html: Same.
1020 * docs/html/faq/index.txt: Regenerate.
1021
e50344b9
PC
10222003-07-16 Paolo Carlini <pcarlini@unitus.it>
1023
1024 PR libstdc++/11528
1025 * include/bits/locale_facets.tcc (money_get::do_get):
1026 Strip only _leading_ zeros.
1027 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1028 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1029
94b7906a
GP
10302003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1031
1032 * include/ext/hash_map (class hash_multimap): Remove extra
1033 semicolons from __glibcxx_class_requires3 entries.
1034 * include/ext/hash_set (class hash_set): Ditto.
1035 (class hash_multiset): Ditto.
1036
73a530bd
PR
10372003-07-15 Petur Runolfsson <peturr02@ru.is>
1038
1039 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1040 Change last parameter from int_type to size_t.
1041
119dbb1f
JQ
10422003-07-15 Jerry Quinn <jlquinn@optonline.net>
1043
1044 * include/bits/stl_algo.h (includes, set_union, set_intersection,
7e2055ec
ZW
1045 set_difference, set_symmetric_difference, max_element, min_element,
1046 next_permutation, prev_permutation, find_first_of, find_end):
1047 Document.
119dbb1f 1048 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
7e2055ec 1049 restrictions in docs.
119dbb1f 1050 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
7e2055ec 1051 Document.
119dbb1f
JQ
1052 * docs/doxygen/doxygroups.cc (setoperations): New group.
1053
284f19bf
JQ
10542003-07-15 Jerry Quinn <jlquinn@optonline.net>
1055
7e2055ec 1056 * include/bits/basic_string.h: Document public functions.
284f19bf
JQ
1057 * docs/doxygen/TODO: Update c21 todo.
1058
709e7c9f
JQ
10592003-07-15 Jerry Quinn <jlquinn@optonline.net>
1060
1061 * include/bits/stl_list.h: Document more functions.
1062 * docs/doxygen/TODO: Update c23 todo.
1063
f45e487d
PC
10642003-07-14 Paolo Carlini <pcarlini@unitus.it>
1065
1066 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1067 qualification.
1068
f088510d
PC
10692003-07-14 Paolo Carlini <pcarlini@unitus.it>
1070
1071 * include/bits/stl_tempbuf.h: Qualify free with std::.
1072 * src/locale.cc: Include <cstdlib>, qualify getenv.
1073
2def5b76
PC
10742003-07-14 Paolo Carlini <pcarlini@unitus.it>
1075
1076 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1077 <cstdio>. Qualify names.
1078 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1079
bda243ec
PC
10802003-07-14 Paolo Carlini <pcarlini@unitus.it>
1081 Nathan C. Myers <ncm-nospam@cantrip.org>
1082
1083 PR libstdc++/11378
1084 * include/std/std_fstream.h (xsputn): Declare only.
1085 * include/bits/fstream.tcc (xsputn): Define, optimize for the
7e2055ec 1086 always_noconv() case: when __n is sufficiently large flush
bda243ec
PC
1087 the buffer and issue a direct write, if possible combining the
1088 two with writev in __basic_file<>::xsputn_2.
1089 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1090 New, declare.
1091 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1092 Define.
1093 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1094 the availability of writev in <sys/uio.h>.
1095 * configure.in: Call here.
1096 * acconfig.h: Add undef for the corresponding symbol.
1097 * aclocal.m4: Regenerate.
1098 * configure: Regenerate.
1099 * config.h.in: Regenerate.
1100 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1101
1102 * include/std/std_fstream.h (sync): Constify a variable.
1103
c573d965
BK
11042003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1105
1106 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1107 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
7e2055ec 1108
3ad249b9
GDR
11092003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1110
1111 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1112 <cstring> and <cstdlib>. Qualify names.
1113
f2ffecb1
MM
11142003-07-13 Mark Mitchell <mark@codesourcery.com>
1115
1116 * config/locale/generic/c_locale.h: Include <cstdlib> and
1117 <cstring>.
1118 * include/bits/boost_concept_check.h: Add this-> to unqualified
1119 method calls.
1120 * include/bits/deque.tcc: Likewise.
1121 * include/bits/locale_facets.h : Likewise.
1122 * include/bits/ostream.tcc: Likewise.
1123 * include/bits/stl_algo.h: Likewise.
1124 * include/bits/stl_bvector.h: Likewise.
1125 * include/bits/stl_deque.h: Likewise.
1126 * include/bits/stl_list.h: Likewise.
1127 * include/bits/stl_tree.h: Likewise.
1128 * include/bits/stl_vector.h: Likewise.
1129 * include/bits/vector.tcc: Likewise.
1130 * include/ext/rope: Likewise.
1131 * include/ext/ropeimpl.h: Likewise.
1132 * include/ext/stdio_filebuf.h: Likewise.
1133
e2fcbaa3
JQ
11342003-07-11 Jerry Quinn <jlquinn@optonline.net>
1135
1136 * include/bits/basic_ios.h (copyfmt): Document.
1137 * include/bits/ios_base.h (event, event_callback, register_callback,
1138 xalloc, iword, pword): Document.
1139 (imbue, ~ios_base): Update docs on callbacks.
1140
58579a27
PE
11412003-07-11 Phil Edwards <pme@gcc.gnu.org>
1142
1143 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1144 warning messages if the environment cannot support symbol versioning.
1145 (port_specific_symbol_file): It's plural, add an 's' on the end.
1146 * configure.host: Likewise.
1147 * src/Makefile.am: Likewise.
1148 * config/linker-map.gnu: Remove one semicolon, heh.
1149 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1150 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1151 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1152
cde63840
BK
11532003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1154
1155 * include/bits/locale_facets.tcc: Use function object for
7e2055ec 1156 __use_cache instead of template function. Partially specialize for
cde63840
BK
1157 __numpunct<_CharT>.
1158 * include/bits/locale_classes.h: Update friend declaration for
1159 __use_cache.
1160 (_M_install_cache): No throw exception specs.
1161 * src/locale.cc: Remove __use_cache specializations.
1162 * include/ext/pod_char_traits.h (length): Tweak.
1163 * include/bits/locale_facets.h (__numpunct_cache): Remove
1164 char_type typedef.
1165 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1166 (pod_long): Remove.
1167 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1168 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1169 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1170 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1171 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1172 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
7e2055ec 1173
e7f042e4
JQ
11742003-07-09 Jerry Quinn <jlquinn@optonline.net>
1175
1176 * src/ios.cc (_M_grow_words): Fix spelling.
1177
ca1c7011
GB
11782003-07-09 Gawain Bolton <gp.bolton@computer.org>
1179
1180 * include/bits/stl_tree.h: Move larger member functions in
1181 _Rb_tree_base_iterator and _Rb_tree_node to...
1182 * src/stl_tree.cc: Here.
1183 * src/Makefile.in: Add stl_tree.cc.
1184 * src/Makefile.in: Regenerated.
1185 * config/linker-map.gnu: Add symbols here.
1186
9e7facfd
BK
11872003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1188
1189 * testsuite/ext/pod_char_traits.cc: New.
1190 * include/ext/pod_char_traits.h: New.
1191 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1192 * include/Makefile.in: Regenerate.
1193 * docs/html/21_strings/howto.html: Update.
7e2055ec 1194
e55dc371
GB
11952003-07-08 Gawain Bolton <gp.bolton@computer.org>
1196
1197 * testsuite/performance/list_create_fill_sort.cc: New.
1198
c094e9b9
BK
11992003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1200
1201 * config/locale/generic/numeric_members.cc: Correct type info.
1202 * config/locale/gnu/numeric_members.cc: Same.
1203 * include/bits/locale_facets.h: Same.
7e2055ec 1204
c094e9b9
BK
1205 * include/bits/char_traits.h: Correct spacing.
1206
1207 * src/locale.cc: Wrap to 80 col.
7e2055ec 1208
a8784c4c
PC
12092003-07-07 Paolo Carlini <pcarlini@unitus.it>
1210
1211 * include/std/std_complex.h: Partially revert last
1212 changes: cmath functions must not be qualified.
1213
313dd504
PE
12142003-07-06 Phil Edwards <pme@gcc.gnu.org>
1215
1216 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1217 2.11 with globbing backport fix.
1218 * aclocal.m4, configure: Regenerated.
1219
6623b2f2
PC
12202003-07-06 Paolo Carlini <pcarlini@unitus.it>
1221
1222 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1223 if output is at all possible (!_M_reading), cannot be active.
1224
1225 * include/std/std_fstream.h: Tweak comments to doxygen style.
1226
391cfc46
PC
12272003-07-06 Paolo Carlini <pcarlini@unitus.it>
1228
1229 * include/bits/locale_classes.h: Fully qualify standard
1230 functions with std::, thus avoiding Koenig lookup.
1231 * include/bits/locale_facets.tcc: Likewise.
1232 * src/locale.cc: Likewise.
1233 * src/localename.cc: Likewise.
1234
48166869
PE
12352003-07-06 Phil Edwards <pme@gcc.gnu.org>
1236
1237 * include/bits/allocator_traits.h: Fix doxygen markup.
1238 * include/ext/mt_allocator.h: Likewise.
1239
aaa4a229
PE
12402003-07-06 Phil Edwards <pme@gcc.gnu.org>
1241
1242 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1243
e6b7a69a
PE
12442003-07-05 Phil Edwards <pme@gcc.gnu.org>
1245
1246 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1247 requirement. Add port_specific_symbol_file variable.
1248 * configure.host: Add docs for port_specific_symbol_file.
1249 Clean up try_cpu block for x86.
1250 * config/linker-map.gnu: No more "last symbol can't have a
1251 semicolon" kaka. Add hook for port-specific symbols.
1252 * src/Makefile.am: Remove trailing whitespace.
1253 (libstdc++-symbol.ver): Detect the presence of port-specific
1254 symbols, and add them accordingly.
1255
1256 * docs/html/17_intro/porting.texi: Bring up to date.
1257
1258 * src/Makefile.in, aclocal.m4, configure,
1259 docs/html/17_intro/porting.html: Regenerated.
1260
ac3d7b44
PE
12612003-07-05 Phil Edwards <pme@gcc.gnu.org>
1262
1263 * scripts/create_testsuite_files: New file.
1264 * testsuite/Makefile.am (all-local, check-performance): Use it.
1265 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1266 * testsuite/Makefile.in: Regenerated.
1267
1268 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1269 files at the end.
1270 * testsuite/performance/fstream_seek_write.cc: Likewise.
1271 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1272 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1273 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1274
e3d51be2
GB
12752003-07-05 Gawain Bolton <gp.bolton@computer.org>
1276
1277 * include/bits/stl_list.h: Performance and memory usage
c094e9b9
BK
1278 improvements. In particular, the behaviour of the constructor and
1279 destructor as the list header node is no longer dynamically
1280 allocated/de-allocated.
e3d51be2
GB
1281 * include/bits/list.tcc: Likewise.
1282
eb9a4231
PC
12832003-07-05 Paolo Carlini <pcarlini@unitus.it>
1284
1285 * include/std/std_complex.h: Fully qualify standard
1286 functions with std::, thus avoiding Koenig lookup.
1287 * include/std/std_memory.h: Likewise.
1288 * include/std/std_valarray.h: Likewise.
1289
f92c5313
GB
12902003-07-05 Gawain Bolton <gp.bolton@computer.org>
1291
1292 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
7e2055ec 1293 variable for grandparent and use const
f92c5313 1294
8b87d3fa
DB
12952003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1296
1297 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1298 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1299 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1300 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1301 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1302 * testsuite/27_io/objects/char/7.cc: Ditto
1303 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1304
a8cad3e1
PC
13052003-07-05 Paolo Carlini <pcarlini@unitus.it>
1306
1307 * include/std/std_bitset.h: Fully qualify standard
1308 functions with std::, thus avoiding Koenig lookup.
1309
1310 * include/std/std_fstream.h: Change comment to doxygen style.
1311
2778669a
PE
13122003-07-05 Phil Edwards <pme@gcc.gnu.org>
1313
1314 * include/std/std_limits.h: More CPP->CXX changes.
1315 * scripts/check_survey.in: Likewise.
1316
3d7c150e
BK
13172003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1318
1319 Move from CPP to CXX.
1320 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1321 * testsuite/Makefile.am: Same.
1322 * testsuite/Makefile.in: Regenerate.
1323 * po/Makefile.am: Same.
7e2055ec 1324 * po/Makefile.in: Regenerate.
3d7c150e 1325 * libsupc++/Makefile.am: Same.
7e2055ec 1326 * libsupc++/Makefile.in: Regenerate.
3d7c150e 1327 * libmath/Makefile.am: Same.
7e2055ec 1328 * libmath/Makefile.in: Regenerate.
3d7c150e 1329 * include/Makefile.am: Same.
7e2055ec 1330 * include/Makefile.in: Regenerate.
3d7c150e 1331 * src/Makefile.am: Same.
7e2055ec 1332 * src/Makefile.in: Regenerate.
3d7c150e
BK
1333 * acconfig.h: Same.
1334 * configure.host: Same.
1335 * configure.in: Same.
1336 * configure: Regenerate.
1337 * acinclude.m4: Same.
1338 * aclocal.m4: Same.
1339 * src: Change all files in this directory.
1340 * testsuite: Same.
1341 * include: Same, standardize include guards.
1342 * config: Same.
1343 * libsupc++: Same.
7e2055ec 1344
e6cc3a24
ZW
13452003-07-04 Zack Weinberg <zack@codesourcery.com>
1346
1347 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1348 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1349 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1350 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1351 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1352 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1353 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1354 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1355 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1356 XFAIL on all targets.
1357
d542f114
BK
13582003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1359
1360 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1361 * aclocal.m4: Regenerate.
1362 * configure: Regenerate.
e6cc3a24 1363
d542f114
BK
13642003-07-04 Jerry Quinn <jlquinn@optonline.net>
1365
1366 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1367 to the top.
1368
69ef29fd 13692003-07-04 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24
ZW
1370 Petur Runolfsson <peturr02@ru.is>
1371
69ef29fd
BK
1372 * config/io/basic_file_stdio.cc: Revert.
1373
5b5bf717
PC
13742003-07-04 Paolo Carlini <pcarlini@unitus.it>
1375
1376 * include/bits/deque.tcc: Fully qualify standard
1377 functions with std::, thus avoiding Koenig lookup.
1378 * include/bits/gslice_array.h: Likewise.
1379 * include/bits/indirect_array.h: Likewise.
1380 * include/bits/list.tcc: Likewise.
1381 * include/bits/mask_array.h: Likewise.
1382 * include/bits/slice_array.h: Likewise.
1383
7f6dd1ca
GB
13842003-07-04 Gawain Bolton <gbolton@free.fr>
1385
1386 * include/bits/stl_tree.h: Performance and memory usage
1387 improvements.
1388
8c90b13a
L
13892003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1390
1391 * Makefile.am: Replace PWD with PWD_COMMAND.
1392 * Makefile.in: Regenerated.
1393 * docs/html/Makefile: Likewise.
1394
2f805868
PC
13952003-07-04 Paolo Carlini <pcarlini@unitus.it>
1396
1397 * include/bits/valarray_array.h: Fully qualify standard
1398 functions with std::, thus avoiding Koenig lookup.
1399 * include/bits/vector.tcc: Likewise.
1400
a30335e9
BK
14012003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1402
1403 * include/Makefile.am: Update target_ to host_.
1404 * include/Makefile.in: Regenerate.
1405 * src/Makefile.am: Same.
1406 * src/Makefile.in: Regenerate.
1407
1408 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
e6cc3a24 1409
d8d81f62
BK
14102003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1411
1412 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1413 --enable-libstdcxx-debug-flags.
1414 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1415 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1416 * aclocal.m4: Regenerate.
1417 * configure: Same.
1418 * docs/html/configopts.html: Update.
e6cc3a24 1419
10ef4e2e
PC
14202003-07-04 Paolo Carlini <pcarlini@unitus.it>
1421
1422 Revert the fix for libstdc++/11378.
1423
ac2c48d7
PC
14242003-07-04 Paolo Carlini <pcarlini@unitus.it>
1425
1426 PR libstdc++/11378
1427 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1428 provided always_noconv(), issue directly _M_file.xsputn.
1429 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1430
9dd90ac6
PC
14312003-07-04 Paolo Carlini <pcarlini@unitus.it>
1432
1433 * include/bits/stl_list.h: Fully qualify standard
1434 functions with std::, thus avoiding Koenig lookup.
1435 * include/bits/stl_queue.h: Likewise.
1436 * include/bits/stl_raw_storage_iter.h: Likewise.
1437 * include/bits/stl_tempbuf.h: Likewise.
1438 * include/bits/stl_tree.h: Likewise.
1439 * include/bits/stl_uninitialized.h: Likewise.
1440 * include/bits/stl_vector.h: Likewise.
e6cc3a24 1441 * include/ext/rope: Change includes order.
9dd90ac6 1442
1b33b6b2
BK
14432003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1444
1445 * configure.host (fpos_include_dir): Fix.
1446
369b78b0
PC
14472003-07-04 Paolo Carlini <pcarlini@unitus.it>
1448
1449 * include/bits/stl_heap.h: Fully qualify standard
1450 functions with std::, thus avoiding Koenig lookup.
1451 * include/bits/stl_iterator_base_funcs.h: Likewise.
1452
1453 * include/bits/stl_algo.h: Qualify __iterator_category too.
1454 * include/bits/stl_algobase.h: Likewise.
1455 * include/bits/stl_bvector.h: Likewise.
1456
1457 * include/bits/stl_algo.h: Don't qualify the pair type.
1458
cc5112c9
BK
14592003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1460
1461 * include/Makefile.am (target_headers): Add fpos.h
1462 (bits_headers): Remove.
1463 * include/Makefile.in: Regenerate.
1464 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1465 * configure: Regenerate.
1466 * configure.host: Add fpos_include_dir.
1467 * config/os/gnu-linux/fpos.h: New.
e6cc3a24
ZW
1468 * config/os/generic/fpos.h: Add.
1469 * include/bits/fpos.h: Remove.
cc5112c9
BK
1470
1471 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1472
1473 * include/bits/fstream.tcc: Tweaks.
1474 * include/std/std_fstream.h: Same.
e6cc3a24 1475
cc5112c9
BK
1476 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1477 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1478 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1479 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1480 * testsuite/27_io/fpos/1.cc: New.
e6cc3a24 1481
cc5112c9
BK
14822003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1483 Petur Runolfsson <peturr02@ru.is>
e6cc3a24 1484
cc5112c9
BK
1485 * include/std/std_streambuf.h: Remove _M_pos.
1486 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1487 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1488 use fread/fwrite instead of read/write.
1489 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1490 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1491 before reading again.
1492 * testsuite/27_io/objects/char/6.cc: Tweak.
e6cc3a24 1493
304d79dc
DE
14942003-07-03 David Edelsohn <edelsohn@gnu.org>
1495
1496 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1497 _GLIBCPP_USE_WCHAR_T.
1498
41ba4c46
PC
14992003-07-02 Paolo Carlini <pcarlini@unitus.it>
1500
1501 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1502 __n1 and __off1.
1503
da73f9de
PC
15042003-07-02 Paolo Carlini <pcarlini@unitus.it>
1505
1506 * include/bits/stl_bvector.h: Fully qualify standard
1507 functions with std::, thus avoiding Koenig lookup.
1508 * include/bits/stl_construct.h: Likewise.
1509 * include/bits/stl_deque.h: Likewise.
1510
1c380095
PC
15112003-07-02 Paolo Carlini <pcarlini@unitus.it>
1512
1513 * testsuite/22_locale/num_put/put/char/7.cc: Include
1514 <testsuite_hooks.h>, tweak.
1515 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1516
f9f4d1e1
PE
15172003-07-01 Phil Edwards <pme@gcc.gnu.org>
1518
1519 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1520 check* targets, but not libs/programs).
1521 * testsuite/Makefile.in: Regenerate.
1522
b7693a46
RS
15232003-07-01 Roger Sayle <roger@eyesopen.com>
1524
1525 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1526 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1527 * aclocal.m4: Regenerate.
1528 * configure: Regenerate.
1529
a5b1b26c
BK
15302003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1531
1532 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1533 * aclocal.m4: Regenerated.
1534 * configure: Regenerated.
e6cc3a24 1535
f64f3e74
PC
15362003-07-01 Paolo Carlini <pcarlini@unitus.it>
1537
1538 PR libstdc++/11389
1539 * include/bits/fstream.tcc (underflow): For encoding() == 0
1540 don't read more than __buflen chars.
1541 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1542 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1543 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1544 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1545
5ee78c21
JQ
15462003-07-01 Jerry Quinn <jlquinn@optonline.net>
1547
1548 * 22_locale/num_put/put/char/7.cc: New.
1549 * 22_locale/num_put/put/wchar_t/7.cc: New.
1550
e97ee22e
JQ
15512003-06-30 Jerry Quinn <jlquinn@optonline.net>
1552
1553 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1554 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1555
7d6a0993
BK
15562003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1557
1558 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1559 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1560 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1561 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1562 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1563 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1564 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1565 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1566 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1567 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1568 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1569 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1570 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1571 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1572 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1573 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1574 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1575 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1576 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1577 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1578 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1579 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1580 * data/seekoff-1.tst: Remove.
1581 * data/seekoff-1io.tst: New.
1582 * data/seekoff-1out.tst: New.
1583 * data/seekoff-2.tst: Remove.
1584 * data/seekoff-2io.tst: New.
1585 * data/seekoff-2out.tst: New.
1586 * data/seekoff.txt
1587 * data/seekpos-1.tst: Remove.
1588 * data/seekpos-1io.tst: New.
1589 * data/seekpos-1out.tst: New.
1590 * data/seekpos-2.tst: Remove.
1591 * data/seekpos-2io.tst: New.
1592 * data/seekpos-2out.tst: New.
1593 * data/seekpos.txt: New.
1594
a5b1b26c 15952003-06-30 Jerry Quinn <jlquinn@optonline.net>
cf0cad09
JQ
1596
1597 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1598 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1599 here.
1600
884a757a
PC
16012003-06-30 Paolo Carlini <pcarlini@unitus.it>
1602
1603 * include/bits/stl_algobase.h: Fully qualify standard
1604 functions with std::, thus avoiding Koenig lookup.
1605
5892c641 16062003-06-30 Doug Gregor <dgregor@apple.com>
e6cc3a24 1607
5892c641 1608 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
e6cc3a24 1609 subscripting empty string.
5892c641 1610
7685a26d
PE
16112003-06-30 Phil Edwards <pme@gcc.gnu.org>
1612
1613 * testsuite/Makefile.am (check-am): Do not override.
1614 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1615 * testsuite/Makefile.in: Regenerate.
1616
e6cc3a24
ZW
16172003-06-30 Doug Gregor <dgregor@apple.com>
1618
d147b75b
DG
1619 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1620 Don't initialize an insert_iterator with a singular iterator.
1621
44f0760e 16222003-06-30 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1623
44f0760e
BK
1624 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1625 * aclocal.m4: Regenerate.
1626 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1627 GLIBCPP_ENABLE_PCH, default to yes.
1628 * configure: Regenerate.
1629 * docs/html/configopts.html: Add --enable-pch.
e6cc3a24 1630
e37f7da7
PE
16312003-06-30 Phil Edwards <pme@gcc.gnu.org>
1632
1633 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1634 (libstdc++-v3-init): Also set LD_RUN_PATH.
1635
cd16e04b
PC
16362003-06-30 Paolo Carlini <pcarlini@unitus.it>
1637
fbfcbadc
PC
1638 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1639 from here to filebuf and stringbuf.
cd16e04b
PC
1640 (~basic_streambuf()): Don't set _M_mode.
1641 (basic_streambuf()): Don't set _M_mode.
1642 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1643 (~basic_filebuf()): Clean up.
1644 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1645 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1646 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1647 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1648 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1649 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1650 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1651
16522003-06-30 Paolo Carlini <pcarlini@unitus.it>
1653
1654 * include/std/std_fstream.h (_M_underflow): Remove.
1655 (uflow): Remove, inherited from streambuf.
1656 (underflow): Only declare.
e6cc3a24 1657 * include/bits/fstream.tcc (_M_underflow): Rename to
cd16e04b
PC
1658 underflow, to which is equivalent for __bump == false,
1659 simplify.
1660 * include/std/std_sstream.h (_M_underflow): Remove.
1661 (uflow): Remove, inherited from streambuf.
1662 (underflow): Only declare.
e6cc3a24 1663 * include/bits/sstream.tcc (_M_underflow): Rename to
cd16e04b
PC
1664 underflow, to which is equivalent for __bump == false,
1665 simplify.
1666
c868f37e
PC
16672003-06-29 Paolo Carlini <pcarlini@unitus.it>
1668
fbfcbadc
PC
1669 * include/bits/stl_algo.h: Fully qualify standard functions
1670 with std::, thus avoiding Koenig lookup.
c868f37e 1671
165f54e0
PC
16722003-06-29 Paolo Carlini <pcarlini@unitus.it>
1673
1674 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1675 Improve type correctness-wise.
1676 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1677 Likewise.
1678 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1679 Likewise.
1680 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1681 Likewise.
1682
90319d16
PC
16832003-06-29 Paolo Carlini <pcarlini@unitus.it>
1684
1685 * include/std/std_streambuf.h (uflow): According to
1686 27.5.2.4.3,p16, don't check gptr() < egptr().
1687
b417ae14
PC
16882003-06-28 Paolo Carlini <pcarlini@unitus.it>
1689
1690 PR libstdc++/9875
1691 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1692 (seekpos): Likewise.
1693 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1694 New test.
1695 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1696 New test.
1697
f1a22109
BK
16982003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1699
1700 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1701 output name to libstdc++-v3-performance.sum.
1702 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1703 * testsuite/Makefile.in: Regenerate.
e6cc3a24 1704
f1a22109
BK
17052003-06-27 Matthias Klose <doko@debian.org>
1706
1707 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1708 output of abi-check in libstdc++-v3-abi.sum.
1709 * testsuite/Makefile.in: Regenerate.
1710
2e8a523f
KW
17112003-06-27 Krister Walfridsson <cato@df.lth.se>
1712
1713 * config/os/bsd/netbsd/ctype_noninline.h
1714 (_C_ctype_): Declare.
1715 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1716 (ctype<char>::ctype): Use classic_table.
1717
3461133d
PC
17182003-06-27 Paolo Carlini <pcarlini@unitus.it>
1719 Nathan C. Myers <ncm-nospam@cantrip.org>
1720
1721 PR libstdc++/9178
1722 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1723 the worst-case number of external bytes for a given get area.
1724 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1725
17262003-06-27 Paolo Carlini <pcarlini@unitus.it>
1727 Petur Runolfsson <peturr02@ru.is>
1728
1729 PR libstdc++/11305
1730 * include/bits/fstream.tcc (overflow): Properly estimate the
1731 worst-case number of external bytes for a given put area
1732 (by using codecvt::max_length()).
1733 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1734 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1735 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1736 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1737
5648db54
NS
17382003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1739
1740 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1741
215f9e28
BK
17422003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1743
1744 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1745 to the imbued locale.
1746 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1747 _M_getloc.
1748 (num_put::_M_convert_float): Use.
1749
17502003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1751 Jerry Quinn <jlquinn@optonline.net>
1752
1753 * config/linker-map.gnu: Add __numpunct_cache.
1754 * config/locale/gnu/numeric_members.cc
1755 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1756 all elements for "C" locale.
1757 (numpunct::~numpunct): Delete _M_data.
e6cc3a24 1758 * config/locale/generic/numeric_members.cc: Same.
215f9e28
BK
1759 * include/bits/basic_ios.tcc
1760 (basic_ios::init): Remove __locale_cache bits.
1761 (basic_ios::_M_cache_locale): Same.
e6cc3a24 1762 * include/bits/ios_base.h: Same. Tweaks.
215f9e28
BK
1763 * include/bits/locale_classes.h: Tweaks. Reorder classes.
1764 (__use_cache): Make friends with _Impl, locale.
1765 (_Impl::_M_caches): Add.
1766 (_Impl::_M_install_cache): Add.
1767 * include/bits/locale_facets.h (__numpunct_cache): New.
1768 (numpunct): Encapsulate data members in __numpunct_cache member,
1769 _M_data. Adjust virtuals.
e6cc3a24 1770 (numpunct::numpunct): New ctor for the same.
215f9e28 1771 (__locale_cache_base): Remove.
e6cc3a24 1772 (__locale_cache): Remove.
215f9e28
BK
1773 * include/bits/locale_facets.tcc (__use_cache): New function,
1774 specializations.
1775 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1776 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1777 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1778 * src/locale-inst.cc: Same. Add __numpunct_cache.
1779 * src/locale.cc: Tweak inlines.
1780 (__use_cache): Define specializations.
1781 * src/localename.cc: Use global bits.
1782 (_Impl::~Impl): Deal with __numpunct_cache destruction.
1783 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1784 (_Impl::_M_init_facet): Take into account __numpunct_cache.
1785 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1786 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1787
8370378a 17882003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 1789 Paolo Carlini <pcarlini@unitus.it>
8370378a
NM
1790
1791 * testsuite/performance/filebuf_copy.cc: New, testing char
1792 by char file copy.
1793
2cfe4e68 17942003-06-26 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1795 Nathan C. Myers <ncm-nospam@cantrip.org>
2cfe4e68
PC
1796
1797 * include/bits/fstream.tcc (_M_underflow): When the actual
1798 end of file is reached, set 'uncommitted' mode to allow a
1799 next write without an intervening seek (see C++98 27.8.1.1,2
1800 and C89 7.9.5.3).
1801 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1802
29d9ed97
NM
18032003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
1804
1805 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1806 sputc): Move inline, from here...
1807 * include/std/std_streambuf.h: ... to here.
1808
1809 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1810 sputbackc, sungetc, sputc): Use __builtin_expect.
1811
c1a62440
PE
18122003-06-24 Phil Edwards <pme@gcc.gnu.org>
1813
1814 * docs/doxygen/mainpage.html: Use a useful title.
1815
cdc1242a
BK
18162003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1817
1818 * docs/html/documentation.html: Remove assignment info.
1819 * docs/html/17_intro/contribute.html: Edits.
1820 * docs/html/17_intro/libstdc++-assign.tx: Remove.
1821
1822 * docs/html/test.html: Update.
1823
1824 * README: Update.
e6cc3a24 1825
1b6f0a56 18262003-06-24 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1827 Ulrich Drepper <drepper@redhat.com>
1b6f0a56
BK
1828
1829 * testsuite/testsuite_performance.h: Tweak mallinfo.
1830
71b46021 18312003-06-24 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1832 Nathan C. Myers <ncm-nospam@cantrip.org>
71b46021
PC
1833
1834 * include/std/std_fstream.h (_M_filepos): Remove.
1835 (_M_reading, _M_writing): New, encode the various I/O modes:
1836 'read', 'write' and 'uncommitted'.
1837 (sync): If there is something to flush, do it, then go to
1838 'uncommitted' mode.
1839 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1840 with three different cases: __off > 0 (upon underflow),
1841 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1842 seekoff/pos).
1843 (_M_underflow): Don't call overflow, set _M_reading to true
1844 on success, tweak.
1845 (pbackfail): Set _M_reading to true on pback creation, tweak.
1846 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1847 set _M_writing to true on success, tweak.
1848 (seekoff): Simplify, set _M_reading, _M_writing to false, call
1849 _M_set_buffer(-1) ('uncommitted').
1850 (open, close, setbuf): Set _M_reading, _M_writing to false and
1851 call _M_set_buffer(-1), tweak.
1852 (basic_filebuf): Don't set _M_buf_unified.
1853 (_M_destroy_internal_buffer): Don't call setg and setp.
1854 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1855 _M_writing and _M_set_buffer(-1).
1856 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1857 _M_out_lim, _M_buf_unified): Remove.
1858 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
e6cc3a24 1859 (setp): Don't set _M_out_lim.
71b46021
PC
1860 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1861 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1862 upon open the mode is 'uncommitted' and therefore the put area
1863 pointers are null.
1864 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1865 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1866 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1867 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1868 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1869 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1870 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1871 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1872 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1873 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1874 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1875 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1876 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1877 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1878 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1879 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1880 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1881 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1882 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1883 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1884
1885 * include/bits/fstream.tcc (showmanyc): Use only the
1886 documented derivation interface to basic_streambuf (gptr(),
1887 setg(), etc.) to work right with user specializations.
1888 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1889 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1890 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1891 Likewise.
1892 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1893 xsgetn): Likewise.
1894
9eb6e1d3
LR
18952003-06-23 Loren J. Rittle <ljrittle@acm.org>
1896
1897 * configure.host (freebsd*): Set abi_baseline_pair.
1898 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1899 (at or near first release) to 3.3.
1900 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1901 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1902 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1903
3d57d7ba 1904 * include/ext/mt_allocator.h: Portability.
d1a2c4d6 1905 * testsuite/testsuite_performance.h: Likewise.
3d57d7ba 1906
c89c30dd
BK
19072003-06-23 Benjamin Kosnik <bkoz@redhat.com>
1908
1909 * docs/html/17_intro/libstdc++-assign.txt: Update address.
1910
1911 * testsuite/performance/ifstream_getline.cc: Fix.
e6cc3a24 1912
c89c30dd 19132003-06-23 Doug Gregor <dgregor@apple.com>
2b491e3a 1914
e6cc3a24
ZW
1915 * include/bits/boost_concept_check.h: Don't use _D or _R for type
1916 names.
2b491e3a 1917
1b170b55
PC
19182003-06-22 Paolo Carlini <pcarlini@unitus.it>
1919 Nathan C. Myers <ncm-nospam@cantrip.org>
1920
1921 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1922 is now used only for filebuf, when _M_buf_unified is true.
1923 epgtr() plays the role of _M_out_lim but it's only updated
1924 upon overflow, underflow, uflow, seekoff/pos.
1925 * include/bits/sstream.tcc (_M_underflow): New, implements
1926 stringbuf::underflow and uflow.
1927 (seekoff, seekpos): Tweak, use _M_update_egptr.
1928 * include/std/std_sstream.h (str): Rewrote, deal correctly
1929 with the new logic, in particular, when pptr() > egptr().
1930 (_M_sync): When __testout && !__testin set all the get area
1931 pointers to the current string end.
1932 (_M_update_egptr): New, internal function updating egptr()
1933 to the actual string end.
1934 (_M_underflow): New, declare.
1935 (underflow): Dispatch to _M_underflow(false).
1936 (uflow): Dispatch to _M_underflow(true).
1937
1938 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1939 seekpos): Use only the documented derivation interface to
1940 basic_streambuf (gptr(), setg(), etc.) to work right with
1941 user specializations.
1942 * include/std/std_sstream.h (str, _M_sync): Likewise.
1943
8dbe14be
DG
19442003-06-20 Doug Gregor <dgregor@apple.com>
1945
1b170b55
PC
1946 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1947 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1948 dereference end iterator.
1949 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1950 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1951 index equal to the length of a string.
1952 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1953 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1954 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1955 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1956 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1957 * testsuite/23_containers/list_modifiers.cc: Don't dereference
1958 singular reverse iterator.
1959 * testsuite/23_containers/vector_bool.cc: Don't increment singular
1960 iterator.
1961 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
8dbe14be 1962
bdb0f0f5
DG
19632003-06-20 Doug Gregor <dgregor@apple.com>
1964
e6cc3a24 1965 * include/bits/basic_string.h (basic_string::replace): Dispatch
bdb0f0f5
DG
1966 _InputIterator version based on _Is_integer.
1967 * include/bits/basic_string.tcc (basic_string::replace):
1968 Renamed replace(iterator, iterator, size_type, _CharT) to
1969 _M_replace_aux.
1970 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1971 Test basic_string::assign(_InputIterator, _InputIterator),
1972 which calls basic_string::replace(iterator, iterator,
1973 _Input_iterator, _InputIterator).
1974
f5a6463e
BK
19752003-06-20 Benjamin Kosnik <bkoz@redhat.com>
1976
1977 * testsuite/testsuite_performance.h (resource_counter): Don't use
1978 mallinfo at the moment.
1979
bbdfb3e8
MK
19802003-06-20 Matthias Klose <doko@debian.org>
1981
1982 * configure.host: Set try_cpu to target_cpu for existing
1983 baseline files.
1984
97460e9a
AJ
19852003-06-19 Andreas Jaeger <aj@suse.de>
1986
1987 * testsuite/Makefile.am (extract_symvers): Revert accidental
1988 change.
1989 * testsuite/Makefile.in: Regenerate.
1990
1991 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1992 * configure: Regenerated.
1993
50af15ec
PC
19942003-06-19 Paolo Carlini <pcarlini@unitus.it>
1995
1996 * include/std/std_sstream.h (_M_sync): Make non virtual.
1997
ce4f8c6b
BK
19982003-06-18 Benjamin Kosnik <bkoz@redhat.com>
1999
2000 * testsuite/testsuite_performance.h (time_counter): New.
2001 (resource_counter): New.
2002 (report_performance): New.
2003 (start_counters): New.
2004 (stop_counters): New.
97460e9a 2005 (clear_counters): New.
ce4f8c6b
BK
2006 * testsuite/performance/allocator.cc: Instrument.
2007 * testsuite/performance/cout_insert_int.cc: Same.
2008 * testsuite/performance/complex_norm.cc: Same.
2009 * testsuite/performance/filebuf_sputc.cc: New.
2010 * testsuite/performance/fstream_seek_write.cc: Same.
2011 * testsuite/performance/ifstream_getline.cc: Same.
2012 * testsuite/performance/map_create_fill.cc: Same.
2013 * testsuite/performance/ofstream_insert_float.cc: Same.
2014 * testsuite/performance/ofstream_insert_int.cc: Same.
97460e9a 2015 * testsuite/performance/string_append.cc: Convert.
ce4f8c6b
BK
2016 * scripts/check_performance: New.
2017 * testsuite/Makefile.am (check-performance): New.
2018 (CLEANFILES): Add.
97460e9a 2019
b82a33d2 20202003-06-18 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 2021 Benjamin Kosnik <bkoz@redhat.com>
b82a33d2
PC
2022
2023 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2024 * include/bits/fstream.tcc (setbuf): Tweak.
2025
4c526d09
PC
20262003-06-18 Paolo Carlini <pcarlini@unitus.it>
2027
2028 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2029 _M_out_lim, therefore _M_move_out_cur boils down to simply
2030 updating _M_out_cur.
2031 (seekpos): Likewise, clean up.
2032
c1b74c21 20332003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 2034 Paolo Carlini <pcarlini@unitus.it>
c1b74c21
NM
2035
2036 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2037 simply equivalent to the unbuffered case (0, 0) as far as
2038 _M_buf_size is concerned.
2039
a1af4623
AJ
20402003-06-18 Andreas Jaeger <aj@suse.de>
2041
2042 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2043 directory.
2044 (baseline_file): Use baseline_dir.
2045 (baseline_dir): New.
2046 (mkinstalldirs): New.
2047
2048 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2049 filename from baseline_dir.
2050
2051 * testsuite/Makefile.in: Regenerated.
2052 * Makefile.in: Regenerated.
2053 * aclocal.m4: Regenerated.
2054 * configure: Regenerated.
2055
2f934953
BK
20562003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2057
2058 * configure.in: Missed check_survey bit.
2059 * configure: Regenerated.
2060
0676e930
BK
20612003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2062
2063 * scripts: New.
2064 * config/abi/extract_symvers: Move to...
2065 * scripts/extract_symvers: ...here.
2066 * mkcheck.in: Move to..
2067 * scripts/check_survey.in: ...here.
2068 * testsuite_flags.in: Move to..
2069 * scripts/testsuite_flags.in: ...here.
2070 * configure.in: Change check and testsuite_flags locations.
2071 * configure: Regenerate.
2072 * testsuite/Makefile.am (current_symbols.txt): Change location.
2073 * testsuite/Makefile.in: Regenerate.
2074 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2075 location of testsuite_flags.
2076 * Makefile.am (check-script): Move..
2077 (check-script-install): Move...
a1af4623 2078 * testsuite/Makefile.am: ... here.
0676e930 2079 * testsuite/Makefile.in: Regenerate.
a1af4623
AJ
2080 * Makefile.in: Regenerate.
2081
82620aaf
BK
20822003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2083
2084 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2085
c4c064e7
BK
20862003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2087
2088 * Makefile.am (check-abi): Move...
2089 (new-abi-baseline): Move...
2090 * testsuite/Makefile.am: ...here.
2091 (new-abi-baseline): Conditionalize.
2092 (check-abi): Conditionalize.
2093 (check-abi-verbose): New.
2094 * Makefile.in: Regenerate.
a1af4623 2095 * testsuite/Makefile.in: Regenerate.
c4c064e7
BK
2096 * configure.in: Consolidate testsuite configure bits.
2097 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2098 * configure: Regenerate.
a1af4623 2099 * aclocal.m4: Regenerate.
c4c064e7
BK
2100 * testsuite/abi_check.cc: Add --check-verbose.
2101 Only output detailed information if --check-verbose.
2102
e7bb3511 21032003-06-16 Andreas Jaeger <aj@suse.de>
a1af4623 2104
e6cc3a24 2105 * testsuite/abi_check.cc: Create summary report.
a1af4623 2106
8363b773
PC
21072003-06-16 Paolo Carlini <pcarlini@unitus.it>
2108
2109 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2110 for systems with BUFSIZ != 8192.
2111 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2112 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2113 Minor tweaks.
2114
5ab481e0
BK
21152003-06-16 Andreas Jaeger <aj@suse.de>
2116
2117 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2118 check-abi multilib aware.
2119 * aclocal.m4: Regenerate.
2120 * configure: Regenerate.
a1af4623 2121
5ab481e0 21222003-06-16 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 2123 Andreas Jaeger <aj@suse.de>
5ab481e0
BK
2124
2125 * configure.host: Set x86_64 abi_baseline pair correctly.
2126
0bad3b7c
PC
21272003-06-16 Paolo Carlini <pcarlini@unitus.it>
2128
2129 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
e6cc3a24 2130 fix for missing seeks between gets and puts into...
0bad3b7c
PC
2131 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2132 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2133 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2134 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2135 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2136 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
a1af4623 2137
dc4add82
RH
21382003-06-15 Richard Henderson <rth@redhat.com>
2139
2140 * config/linker-map.gnu: Export virtual function thunks for
2141 64-bit systems too.
2142
ef16a298
BK
21432003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2144
2145 * config/abi/i686-pc-linux-gnu: To..
2146 * config/abi/i486-linux-gnu: ...this.
2147 * config/abi/alphaev67-unknown-linux-gnu: To..
2148 * config/abi/alpha-linux-gnu: ...this.
2149 * config/abi/ia64-unknown-linux-gnu: To...
2150 * config/abi/ia64-linux-gnu: ...this.
2151 * config/abi/x86_64-unknown-linux-gnu: To...
2152 * config/abi/x86_64-linux-gnu: ...this.
2153 * config/abi/i386-unknown-freebsd4: To...
2154 * config/abi/i386-freebsd4: ...this.
5ab481e0
BK
2155 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2156 CXXABI.
ef16a298
BK
2157 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2158 Simplify cpu bits so that abi_baseline_pair can use the same
2159 cpu configuration.
2160 * acinclude.m4: Same.
2161 * aclocal.m4: Regenerate.
2162 * configure.in: Can't get enable_abi_check to yes unless native.
2163 * configure: Regenerate.
2164
ed242935
PC
21652003-06-13 Paolo Carlini <pcarlini@unitus.it>
2166
2167 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2168 fix for missing seeks between gets and puts into...
2169 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2170 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2171 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2172 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2173 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2174 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2175 for missing seeks between gets and puts.
2176 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2177 * testsuite/data/seekoff-1.tst: New.
2178 * testsuite/data/seekoff-2.tst: New.
2179 * testsuite/data/seekpos-1.tst: New.
2180 * testsuite/data/seekpos-2.tst: New.
2181
ca566e4c
NM
21822003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2183
2184 Avoid multi-processor bus contention on increment/decrement-and-
a1af4623 2185 test of the reference count in the empty-string object, by comparing
e6cc3a24
ZW
2186 addresses first, and never touching the reference count of the empty-
2187 string object.
ca566e4c
NM
2188 * include/bits/basic_string.h:
2189 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2190 members.
a1af4623 2191 (_Rep::_S_empty_rep()): New accessor.
ca566e4c
NM
2192 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2193 a base class _Rep_base.
2194 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2195 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2196 since no longer must increment its refcount.
2197 * include/bits/basic_string.tcc:
a1af4623 2198 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
e6cc3a24
ZW
2199 return immediately. The former might be unnecessary. The latter
2200 prevents begin() and end() from cloning it unnecessarily.
ca566e4c
NM
2201 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2202 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2203 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2204 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2205 (_M_mutate): Check for the empty string and treat it as shared.
e6cc3a24
ZW
2206 This is necessary here because _M_mutate is sometimes called with
2207 all-zero arguments; in all other uses of _M_is_shared, the test comes
2208 out right anyhow.
a1af4623 2209
c37514ff
BK
22102003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2211
2212 * src/allocator-inst.cc: Explicitly instantiate.
2213 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2214 Tweaks.
2215 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
a1af4623 2216
58ac1d7f
BK
22172003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2218
2219 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2220 * aclocal.m4: Regenerate.
2221 * Makefile.am (SUBDIRS): Remove libio.
2222 * Makefile.in: Regenerate.
2223 * configure.in: Same.
2224 * configure: Regenerate.
2225 * config/io/basic_file_libio.cc: Remove.
a1af4623 2226 * config/io/basic_file_libio.h: Remove.
58ac1d7f 2227 * config/io/c_io_libio_codecvt.c: Remove.
a1af4623 2228 * config/io/c_io_libio.h: Remove.
58ac1d7f
BK
2229 * libio/*: Remove.
2230 * src/Makefile.am: Same.
2231 * src/Makefile.in: Regenerate.
a1af4623 2232 * docs/html/configopts.html: Edits.
58ac1d7f 2233 * docs/html/explanations.html: Edits.
a1af4623 2234
1ff9402d
BK
22352003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2236
2237 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2238 (__malloc_alloc): Same.
2239 (__pool_alloc): Same.
2240 (__new_alloc): Same.
2241 Rename to..
2242 * include/bits/allocator.h: ...this.
2243 * include/bits/stl_deque.h: Modify comment.
2244 * include/bits/stl_tree.h: Modify include.
2245 * include/std/std_memory.h: Same.
2246 * include/ext/rope: Same.
a1af4623 2247 * include/ext/slist: Same.
1ff9402d
BK
2248 * include/std/std_vector.h: Same.
2249 * include/std/std_stack.h: Same.
2250 * include/std/std_queue.h: Same.
2251 * include/std/std_list.h: Same.
2252 * include/std/std_deque.h: Same.
2253 * include/backward/alloc.h: Same.
2254 * include/ext/debug_allocator.h: New.
a1af4623
AJ
2255 * include/ext/malloc_allocator.h: New.
2256 * include/ext/pool_allocator.h: New.
1ff9402d
BK
2257 * include/ext/new_allocator.h: New.
2258 * include/bits/pthread_allocimpl.h: Remove.
a1af4623 2259 * include/bits/stl_pthread_alloc.h: Remove.
1ff9402d
BK
2260 * include/Makefile.am (ext_headers): Add.
2261 * include/Makefile.in: Regenerate.
2262 * src/stl-inst.cc: Use __gnu_cxx namespace.
2263 * src/stl-inst.cc: Move to...
2264 * src/allocator-inst.cc: Here.
2265 * src/Makefile.am (sources): Update.
2266 * src/Makefile.in: Regenerate.
2267 * config/linker-map.gnu: Remove __pool_alloc bits.
2268 * testsuite/ext/headers.cc: Add.
2269 * testsuite/ext/allocators.cc: Fixup.
a1af4623 2270
1ff9402d 22712003-06-11 Stefan Olsson <stefan@snon.net>
e6cc3a24 2272